{"version":3,"sources":["node_modules/auth0-js/dist/auth0.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oDAAoD;AACpD,CAAC,4BAA4B;;AAE7B;;AAEA;AACA,mBAAmB,YAAY,EAAE;AACjC;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA,iCAAiC,WAAW;;AAE5C;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA,oBAAoB,qBAAqB;AACzC;;AAEA;AACA;AACA;;AAEA,8BAA8B,UAAU;;AAExC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;;AAEA,EAAE;AACF,EAAE;;AAEF;AACA;AACA,2FAA2F,cAAc;AACzG,4CAA4C,aAAa;;AAEzD;AACA;AACA;AACA,gCAAgC,cAAc;;AAE9C,kEAAkE,cAAc;AAChF,qEAAqE,cAAc;;AAEnF;AACA,iCAAiC,cAAc;AAC/C;AACA,uCAAuC,cAAc;;AAErD,2DAA2D,cAAc;AACzE,+DAA+D,cAAc;;AAE7E;AACA;AACA,oBAAoB,cAAc,EAAE;AACpC,2EAA2E,cAAc;;AAEzF,yGAAyG,cAAc;;AAEvH;AACA,6CAA6C,cAAc;;AAE3D,8DAA8D,cAAc;;AAE5E;AACA;AACA,uEAAuE,cAAc;AACrF;;AAEA;AACA;;AAEA;;;AAGA;AACA,yCAAyC,cAAc;AACvD,qCAAqC,cAAc;AACnD,8CAA8C,cAAc;AAC5D,0CAA0C,cAAc;;AAExD;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,UAAU,kBAAkB,wBAAwB,kBAAkB;AACtE;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,iBAAiB;AACrC;AACA;;AAEA,+EAA+E,qCAAqC,EAAE;;AAEtH;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,kCAAkC,+CAA+C;AACjF,GAAG;AACH;;AAEA;AACA;AACA;AACA,WAAW;AACX,GAAG;AACH,gBAAgB;AAChB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA,IAAI;AACJ;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB,EAAE;AACzC;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,cAAc;AACd,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,sDAAsD;AACtD,GAAG;AACH,iDAAiD;AACjD,GAAG;AACH,uDAAuD;AACvD,GAAG;AACH;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,+BAA+B,kBAAkB;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;AAKA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,qBAAqB,QAAQ,WAAW;AACxC,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,4CAA4C,mBAAmB;AAC/D,EAAE;AACF;AACA;AACA,EAAE;AACF;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,EAAE;AACxC;AACA,yDAAyD;AACzD;AACA;AACA;AACA,kHAAkH,EAAE;AACpH;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,wCAAwC,WAAW;AACnD;AACA;AACA;;AAEA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,uDAAuD;AACvD;AACA;AACA,kGAAkG,iCAAiC;AACnI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,kBAAkB;AAC1C;AACA;AACA;AACA,uDAAuD,YAAY;AACnE;AACA;AACA;AACA;AACA,gCAAgC,aAAa;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,0GAA0G;AAChI;AACA,kCAAkC,gCAAgC;AAClE,kBAAkB,wDAAwD;AAC1E;AACA;AACA;AACA,iCAAiC,0BAA0B;AAC3D,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B,iBAAiB,EAAE;AAClD;AACA,4BAA4B,iCAAiC;AAC7D;AACA,wBAAwB,+BAA+B;AACvD;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,oDAAoD;AACpD;;AAEA,wBAAwB,gHAAgH;AACxI,uBAAuB,+GAA+G;AACtI,yBAAyB,iHAAiH;AAC1I,wBAAwB,gHAAgH;AACxI,yBAAyB,iHAAiH;AAC1I,yBAAyB,iHAAiH;AAC1I,0BAA0B,kHAAkH;;AAE5I;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA,iEAAiE,oBAAoB;AACrF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,kBAAkB,eAAe;AACjC;AACA,aAAa,aAAa;AAC1B;AACA;;AAEA;AACA,sBAAsB,sBAAsB;AAC5C,mCAAmC,OAAO;AAC1C,2BAA2B,UAAU;AACrC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,iCAAiC;AACjC,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,qCAAqC;AACrC,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,iCAAiC;AACjC,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA,qCAAqC;AACrC,MAAM;AACN;AACA;;AAEA;AACA,uCAAuC,cAAc;AACrD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN,aAAa,iBAAiB;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA,sBAAsB,IAAI;AAC1B;;AAEA;AACA;AACA,qCAAqC,sBAAsB;AAC3D;;AAEA;AACA,oBAAoB,eAAe;AACnC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,2BAA2B,WAAW;AACtC;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,wBAAwB,gBAAgB;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;;AAEA,2BAA2B;AAC3B,8BAA8B,UAAU,EAAE;AAC1C,wEAAwE,UAAU,EAAE;AACpF;AACA;AACA,sBAAsB;AACtB,UAAU;AACV;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yCAAyC;AACzC,6BAA6B,6BAA6B;AAC1D;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ,wBAAwB;AACxB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,cAAc;AACd;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,cAAc;AACd;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,QAAQ;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,oBAAoB,SAAS;AAC7B;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;;AAEA,4BAA4B,gBAAgB;AAC5C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB,mBAAmB;AACvC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA,cAAc;AACd;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA,kDAAkD,EAAE;AACpD;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA,mDAAmD,EAAE;AACrD;AACA,UAAU;AACV;;AAEA;AACA,oBAAoB,mBAAmB;AACvC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,mBAAmB,OAAO,WAAW,aAAa;AAClD;;AAEA,oBAAoB,kBAAkB;AACtC;AACA;;AAEA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;AACA,6BAA6B,sBAAsB;AACnD;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,wBAAwB,gBAAgB;AACxC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd,iCAAiC;AACjC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,iEAAiE;AACtF,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA,oBAAoB,oBAAoB;AACxC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,oBAAoB,oBAAoB;AACxC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,4CAA4C;AAC5C;AACA,UAAU;AACV;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,iCAAiC;AACjC;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,yCAAyC,gCAAgC;;AAEzE;AACA,wCAAwC;;AAExC;AACA,gBAAgB;;AAEhB;AACA;AACA;AACA,wBAAwB;AACxB;;AAEA;AACA;AACA,oBAAoB,kBAAkB;AACtC;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;AACA,kCAAkC;AAClC;AACA;AACA;;AAEA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA,mCAAmC,QAAQ;AAC3C;AACA;;AAEA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,wBAAwB;AACxB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA,oBAAoB,iBAAiB;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,aAAa;AACb;;AAEA;AACA;;AAEA;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;;AAEA;AACA;AACA,4CAA4C,SAAS;AACrD;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,yCAAyC,iBAAiB;AAC1D;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,kBAAkB,gBAAgB;AAClC;AACA;AACA,MAAM;AACN;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,gBAAgB,kBAAkB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,kBAAkB,gBAAgB;AAClC;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,kBAAkB,iBAAiB;AACnC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,0BAA0B;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,wBAAwB,2BAA2B,sGAAsG,mBAAmB,EAAE,mBAAmB,6HAA6H,EAAE,eAAe;;AAE/U,yDAAyD,iFAAiF,WAAW,wHAAwH,gBAAgB,WAAW,yBAAyB,SAAS,wBAAwB,4BAA4B,cAAc,SAAS,8BAA8B,EAAE,qBAAqB,UAAU,EAAE,SAAS,EAAE,8JAA8J,EAAE,kDAAkD,SAAS,kBAAkB,iBAAiB,EAAE,mBAAmB,sBAAsB,8BAA8B,aAAa,EAAE,sBAAsB,eAAe,WAAW,EAAE,mBAAmB,MAAM,yDAAyD,EAAE,UAAU,uBAAuB,EAAE,EAAE,GAAG;;AAEr+B,kDAAkD,gBAAgB,gEAAgE,wDAAwD,6DAA6D,sDAAsD,kHAAkH;;AAE/Z,uCAAuC,uDAAuD,uCAAuC,SAAS,OAAO,kBAAkB,EAAE,aAAa;;AAEtL;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA,8DAA8D;AAC9D;;AAEA;AACA,wBAAwB,+BAA+B;AACvD;AACA;AACA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,yBAAyB,iCAAiC;AAC1D;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,OAAO;AACpB;AACA;;;AAGA;AACA;AACA;AACA;AACA,sBAAsB;;AAEtB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,8CAA8C;AACzD;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,2BAA2B,sGAAsG,mBAAmB,EAAE,mBAAmB,6HAA6H,EAAE,eAAe;;;AAG/U;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,cAAc,QAAQ;AAClC,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA,gFAAgF;AAChF;;AAEA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,SAAS;AACrB,cAAc,QAAQ;AACtB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,4CAA4C;AAC5C,MAAM;AACN;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;;AAEA;AACA,gEAAgE;;AAEhE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA,uBAAuB;;AAEvB;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,aAAa;AACb;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,kCAAkC;AAClC,QAAQ;AACR,MAAM;AACN;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB,oDAAoD;AACrE;AACA;AACA,YAAY,cAAc;AAC1B,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,yBAAyB;AACvC;AACA;AACA;AACA,YAAY,cAAc;AAC1B,YAAY,sCAAsC;AAClD,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;AACA,IAAI;;;AAGJ,iEAAiE;AACjE;AACA;AACA;AACA;AACA;AACA,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA,kCAAkC;;AAElC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA,sBAAsB;AACtB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,6CAA6C,iBAAiB;AAC9D;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,OAAO;AACpB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,YAAY;AAChC;AACA;AACA;AACA;AACA,mBAAmB,aAAa;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,aAAa;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,cAAc;AAC1B,aAAa,QAAQ;AACrB;AACA;AACA;;;AAGA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA,IAAI;;;AAGJ;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,YAAY,SAAS;AACrB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;;AAEA,0BAA0B;;AAE1B;AACA;;AAEA;AACA;;AAEA;AACA;AACA,QAAQ;AACR;AACA;;AAEA;AACA;AACA;AACA,GAAG;;;AAGH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,MAAM;AACN,IAAI;;;AAGJ;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4CAA4C;AAC5C;AACA;AACA,YAAY,OAAO;AACnB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA,gCAAgC;;AAEhC;;AAEA;AACA;AACA;;AAEA,mBAAmB;;AAEnB;AACA;AACA;AACA;AACA,IAAI,kBAAkB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;;;AAGA;AACA,uCAAuC;;AAEvC;AACA;AACA,0BAA0B;;AAE1B;AACA;AACA;AACA;AACA;AACA,kEAAkE;;AAElE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,mCAAmC,qHAAqH;;AAExJ,gCAAgC,6JAA6J;;AAE7L,kCAAkC,2HAA2H;;AAE7J,mCAAmC,uDAAuD;;AAE1F,yDAAyD,iFAAiF,WAAW,wHAAwH,gBAAgB,WAAW,yBAAyB,SAAS,wBAAwB,4BAA4B,cAAc,SAAS,8BAA8B,EAAE,qBAAqB,UAAU,EAAE,SAAS,EAAE,8JAA8J,EAAE,kDAAkD,SAAS,kBAAkB,iBAAiB,EAAE,mBAAmB,sBAAsB,8BAA8B,aAAa,EAAE,sBAAsB,eAAe,WAAW,EAAE,mBAAmB,MAAM,yDAAyD,EAAE,UAAU,uBAAuB,EAAE,EAAE,GAAG;;AAEr+B,kDAAkD,gBAAgB,gEAAgE,wDAAwD,6DAA6D,sDAAsD,kHAAkH;;AAE/Z,uCAAuC,uDAAuD,uCAAuC,SAAS,OAAO,kBAAkB,EAAE,aAAa;;AAEtL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,wEAAwE,aAAa;AACrF;AACA;;AAEA;AACA;AACA;AACA,MAAM;;AAEN;AACA;AACA;;AAEA,+OAA+O,kBAAkB;AACjQ;AACA;;AAEA;AACA;AACA;;AAEA;AACA,wBAAwB,+BAA+B;AACvD;AACA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;AACA;;AAEA;;AAEA;;AAEA,wBAAwB,2BAA2B,sGAAsG,mBAAmB,EAAE,mBAAmB,6HAA6H,EAAE,eAAe;;AAE/U,yDAAyD,iFAAiF,WAAW,wHAAwH,gBAAgB,WAAW,yBAAyB,SAAS,wBAAwB,4BAA4B,cAAc,SAAS,8BAA8B,EAAE,qBAAqB,UAAU,EAAE,SAAS,EAAE,8JAA8J,EAAE,kDAAkD,SAAS,kBAAkB,iBAAiB,EAAE,mBAAmB,sBAAsB,8BAA8B,aAAa,EAAE,sBAAsB,eAAe,WAAW,EAAE,mBAAmB,MAAM,yDAAyD,EAAE,UAAU,uBAAuB,EAAE,EAAE,GAAG;;AAEr+B,kDAAkD,gBAAgB,gEAAgE,wDAAwD,6DAA6D,sDAAsD,kHAAkH;;AAE/Z,uCAAuC,uDAAuD,uCAAuC,SAAS,OAAO,kBAAkB,EAAE,aAAa;;AAEtL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;;;;;;;;;;AAUA;AACA;AACA;;;;;AAKA;AACA;AACA;;;AAGA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,0BAA0B,+BAA+B;AACzD;AACA;AACA;AACA,MAAM;AACN;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,0CAA0C,aAAa;AACvD;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB;AAClB;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,0CAA0C,aAAa;AACvD;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C,yCAAyC;AACzC;AACA;AACA;AACA;AACA;AACA,kBAAkB,aAAa;AAC/B,+BAA+B;AAC/B;AACA;AACA;AACA;AACA;AACA,kBAAkB,aAAa,iBAAiB;AAChD;AACA;AACA;AACA;AACA,2BAA2B,aAAa;AACxC,+BAA+B;AAC/B;AACA;AACA;AACA;AACA,2BAA2B,aAAa,iBAAiB;AACzD;AACA,YAAY,eAAe;AAC3B,YAAY,OAAO;AACnB;AACA;;;AAGA;AACA;AACA,2BAA2B;;AAE3B;AACA;AACA,gCAAgC;;AAEhC;AACA;AACA;;AAEA;;AAEA;AACA,8BAA8B;AAC9B;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB;;AAEpB,qBAAqB;;AAErB;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,4BAA4B;;AAE5B;AACA;AACA,sHAAsH;;AAEtH;AACA,yCAAyC;AACzC,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN,uBAAuB;AACvB,MAAM;;;AAGN;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,gBAAgB;AAChC;AACA,YAAY,cAAc;AAC1B,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yEAAyE,mBAAmB;AAC5F;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,UAAU;AACtB,YAAY,cAAc;AAC1B,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,SAAS;AACrB;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;;;AAGH;AACA;AACA;AACA;;AAEA;AACA,iDAAiD;;AAEjD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,aAAa,QAAQ;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,SAAS;AACrB,aAAa,QAAQ;AACrB;AACA;;;AAGA;AACA;AACA;AACA;;AAEA,0BAA0B;;AAE1B,+BAA+B;;AAE/B;;AAEA;AACA;;AAEA;AACA,mBAAmB;;AAEnB;AACA;AACA;AACA,MAAM;AACN;AACA,GAAG;;;AAGH;AACA;AACA;AACA;AACA;AACA;;AAEA,uBAAuB;;;AAGvB;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;;;AAGA;;AAEA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,IAAI,EAAE;;AAEN;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,mBAAmB;AACzB;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;;;AAGJ,yDAAyD;;AAEzD;AACA;AACA;;AAEA,8FAA8F;;AAE9F;AACA;AACA;;AAEA;AACA,IAAI;;;AAGJ;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;;;AAGJ,8BAA8B;AAC9B;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,8EAA8E,kBAAkB;AAChG;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY,SAAS;AACrB,aAAa;AACb;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,EAAE;AACF;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,mCAAmC,SAAS;AAC5C;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,cAAc,SAAS;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,sBAAsB,SAAS;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA,8BAA8B;;AAE9B;AACA,2CAA2C,UAAU;AACrD;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,kBAAkB,gBAAgB;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,kBAAkB;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;AACA,yBAAyB;;AAEzB;AACA;;AAEA;AACA;AACA;AACA;;AAEA,gBAAgB;;AAEhB;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,qBAAqB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,MAAM;AAClB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,kBAAkB,sBAAsB;AACxC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,oBAAoB;AACpB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,IAAI,IAAI;AACR;;AAEA;AACA;AACA,2EAA2E,IAAI;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB,YAAY,IAAI;AAChB;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,kBAAkB,iBAAiB;AACnC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,qBAAqB;AACrB;AACA,wCAAwC;AACxC,4CAA4C;AAC5C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA,SAAS,sBAAsB;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,gCAAgC,EAAE;AAClC;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,cAAc;AACd;AACA;AACA,KAAK;;AAEL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;;AAEA;AACA;AACA,oEAAoE;AACpE;AACA;AACA,yCAAyC;AACzC;AACA,sEAAsE;AACtE;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,4DAA4D;AAC5D;;AAEA,UAAU,oBAAoB;AAC9B;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;;AAEA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;;AAEA;AACA;;AAEA,4BAA4B;AAC5B,EAAE;AACF,EAAE;;AAEF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,0BAA0B;AAC1B;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,sJAAsJ,cAAc,OAAO,YAAY,gCAAgC,sBAAsB,qBAAqB,cAAc,4BAA4B,8CAA8C,4DAA4D,uCAAuC,0CAA0C,mDAAmD,gIAAgI,uIAAuI,aAAa,iBAAiB,kBAAkB,eAAe,qBAAqB,aAAa,YAAY,IAAI,iDAAiD,KAAK,qBAAqB,gBAAgB,qCAAqC,oBAAoB,eAAe,MAAM,qBAAqB,aAAa,0BAA0B,GAAG,gBAAgB,SAAS,cAAc,wDAAwD,kBAAkB,gBAAgB,eAAe,2BAA2B,8DAA8D,iBAAiB,aAAa,gBAAgB,yDAAyD,8BAA8B,wBAAwB,IAAI,iDAAiD,2DAA2D,MAAM,KAAK,SAAS,YAAY,OAAO,8CAA8C,cAAc,aAAa,kBAAkB,8EAA8E,+EAA+E,cAAc,aAAa,cAAc,GAAG,6CAA6C,cAAc,6BAA6B,IAAI,qBAAqB,+BAA+B,aAAa,kBAAkB,GAAG,SAAS,UAAU,MAAM,sBAAsB,KAAK,gBAAgB,gBAAgB,wEAAwE,oEAAoE,MAAM,aAAa,IAAI,UAAU,SAAS,mBAAmB,UAAU,SAAS,cAAc,wCAAwC,gBAAgB,0EAA0E,gBAAgB,+CAA+C,oBAAoB,gCAAgC,kEAAkE,cAAc,gCAAgC,iBAAiB,0CAA0C,WAAW,uCAAuC,0BAA0B,oBAAoB,kCAAkC,MAAM,IAAI,QAAQ,SAAS,UAAU,gGAAgG,SAAS,sEAAsE,QAAQ,cAAc,6DAA6D,iBAAiB,gBAAgB,iYAAiY,0CAA0C,YAAY,4BAA4B,6BAA6B,sCAAsC,4CAA4C,UAAU,2BAA2B,IAAI,UAAU,SAAS,UAAU,6DAA6D,iEAAiE,eAAe,eAAe,2CAA2C,0CAA0C,YAAY,MAAM,iCAAiC,wCAAwC,mBAAmB,yGAAyG,yCAAyC,WAAW,uBAAuB,2BAA2B,aAAa,2BAA2B,GAAG,GAAG,gBAAgB,cAAc,0GAA0G,0GAA0G,mCAAmC,IAAI,cAAc,QAAQ,aAAa,QAAQ,GAAG,SAAS,SAAS,oBAAoB,6IAA6I,KAAK,qCAAqC,yBAAyB,iCAAiC,2BAA2B,+BAA+B,sCAAsC,SAAS,EAAE,aAAa,sCAAsC,QAAQ,EAAE,cAAc,GAAG,GAAG,4CAA4C,6BAA6B,oBAAoB,WAAW,gCAAgC,uBAAuB,IAAI,+BAA+B,sBAAsB,2DAA2D,EAAE,kCAAkC,kBAAkB,gBAAgB,6BAA6B,KAAK,wBAAwB,KAAK,iCAAiC,aAAa,kBAAkB,wCAAwC,SAAS,6BAA6B,SAAS,4FAA4F,gBAAgB,MAAM,WAAW,IAAI,+CAA+C,UAAU,0CAA0C,aAAa,eAAe,IAAI,OAAO,0BAA0B,mBAAmB,MAAM,8BAA8B,MAAM,mTAAmT,OAAO,UAAU,iBAAiB,MAAM,4CAA4C,gDAAgD,UAAU,wCAAwC,sCAAsC,WAAW,uFAAuF,6BAA6B,cAAc,mBAAmB,MAAM,iDAAiD,OAAO,WAAW,WAAW,mBAAmB,cAAc,sFAAsF,qCAAqC,qCAAqC,mBAAmB,oBAAoB,mCAAmC,kBAAkB,mBAAmB,mDAAmD,0DAA0D,kBAAkB,yCAAyC,yBAAyB,mBAAmB,uDAAuD,sBAAsB,8BAA8B,oBAAoB,wDAAwD,gCAAgC,IAAI,wDAAwD,iBAAiB,IAAI,yBAAyB,6BAA6B,kBAAkB,iCAAiC,qDAAqD,kBAAkB,yBAAyB,qCAAqC,oBAAoB,iBAAiB,IAAI,iBAAiB,wBAAwB,YAAY,UAAU,sBAAsB,wCAAwC,IAAI,KAAK,8BAA8B,0DAA0D,kBAAkB,mBAAmB,4BAA4B,IAAI,oDAAoD,0BAA0B,aAAa,sBAAsB,wCAAwC,IAAI,yDAAyD,kBAAkB,mBAAmB,4BAA4B,IAAI,8CAA8C,wBAAwB,WAAW,sBAAsB,IAAI,kDAAkD,SAAS,yCAAyC,mBAAmB,iDAAiD,sCAAsC,iBAAiB,0CAA0C,qBAAqB,sFAAsF,sBAAsB,2IAA2I,MAAM,YAAY,IAAI,+BAA+B,+BAA+B,uBAAuB,kBAAkB,yBAAyB,oCAAoC,kBAAkB,EAAE,mBAAmB,gCAAgC,0CAA0C,kBAAkB,oCAAoC,oBAAoB,4CAA4C,sBAAsB,6CAA6C,wCAAwC,qBAAqB,kCAAkC,+BAA+B,qBAAqB,0CAA0C,EAAE,gBAAgB,SAAS,WAAW,oBAAoB,MAAM,2BAA2B,4DAA4D,YAAY,cAAc,wBAAwB,KAAK,wBAAwB,UAAU,cAAc,8BAA8B,gBAAgB,KAAK,kEAAkE,GAAG,8BAA8B,oBAAoB,mCAAmC,+BAA+B,uFAAuF,KAAK,KAAK,sBAAsB,MAAM,uBAAuB,iGAAiG,wFAAwF,yFAAyF,iHAAiH,wBAAwB,+DAA+D,+IAA+I,kBAAkB,yBAAyB,qCAAqC,EAAE,iEAAiE,kBAAkB,oBAAoB,QAAQ,+CAA+C,sBAAsB,uCAAuC,UAAU,iBAAiB,IAAI,kHAAkH,eAAe,qCAAqC,mBAAmB,UAAU,WAAW,WAAW,kBAAkB,mBAAmB,8CAA8C,OAAO,sBAAsB,YAAY,WAAW,0BAA0B,mBAAmB,MAAM,mBAAmB,eAAe,uBAAuB,qBAAqB,IAAI,YAAY,iEAAiE,+BAA+B,qBAAqB,QAAQ,0EAA0E,gBAAgB,oBAAoB,qBAAqB,oBAAoB,YAAY,MAAM,kBAAkB,2GAA2G,aAAa,mBAAmB,oCAAoC,0FAA0F,0BAA0B,OAAO,EAAE,8CAA8C,gGAAgG,SAAS,8EAA8E,KAAK,OAAO,EAAE,yBAAyB,4CAA4C,SAAS,6CAA6C,0BAA0B,OAAO,EAAE,8CAA8C,uEAAuE,SAAS,4IAA4I,oBAAoB,4BAA4B,KAAK,aAAa,6BAA6B,KAAK,aAAa,6BAA6B,KAAK,aAAa,cAAc,wDAAwD,gBAAgB,yBAAyB,oBAAoB,cAAc,UAAU,sBAAsB,cAAc,UAAU,oIAAoI,cAAc,UAAU,cAAc,iHAAiH,gBAAgB,WAAW,gBAAgB,WAAW,gBAAgB,WAAW,gBAAgB,YAAY,cAAc,kBAAkB,QAAQ,4HAA4H,cAAc,YAAY,KAAK,YAAY,SAAS,cAAc,cAAc,SAAS,cAAc,2FAA2F,gCAAgC,qDAAqD,gCAAgC,SAAS,gCAAgC,2BAA2B,mCAAmC,kCAAkC,iCAAiC,8BAA8B,iCAAiC,UAAU,iHAAiH,gCAAgC,UAAU,oCAAoC,gCAAgC,KAAK,cAAc,YAAY,YAAY,WAAW,KAAK,kFAAkF,mDAAmD,WAAW,sBAAsB,6EAA6E,mCAAmC,kCAAkC,iCAAiC,8BAA8B,gCAAgC,mBAAmB,KAAK,iBAAiB,uBAAuB,iCAAiC,wEAAwE,sCAAsC,MAAM,aAAa,iBAAiB,mBAAmB,iBAAiB,kBAAkB,MAAM,wCAAwC,KAAK,kBAAkB,4BAA4B,OAAO,EAAE,2BAA2B,gMAAgM,qHAAqH,8BAA8B,yBAAyB,4BAA4B,WAAW,qCAAqC,MAAM,eAAe,KAAK,mBAAmB,UAAU,KAAK,WAAW,yBAAyB,qCAAqC,YAAY,SAAS,mBAAmB,qCAAqC,oCAAoC,qFAAqF,eAAe,KAAK,2CAA2C,UAAU,KAAK,WAAW,4CAA4C,oCAAoC,WAAW,4BAA4B,mBAAmB,MAAM,uCAAuC,gBAAgB,cAAc,SAAS,+CAA+C,6DAA6D,iCAAiC,uCAAuC,IAAI,8CAA8C,eAAe,WAAW,SAAS,yCAAyC,WAAW,MAAM,cAAc,MAAM,sCAAsC,QAAQ,oEAAoE,sCAAsC,iCAAiC,cAAc,OAAO,QAAQ,QAAQ,MAAM,oCAAoC,gDAAgD,kCAAkC,iCAAiC,OAAO,QAAQ,QAAQ,QAAQ,KAAK,6BAA6B,qFAAqF,2DAA2D,sCAAsC,cAAc,cAAc,iBAAiB,sEAAsE,iBAAiB,+CAA+C,gEAAgE,mBAAmB,SAAS,mHAAmH,oGAAoG,MAAM,YAAY,KAAK,OAAO,EAAE,wDAAwD,iEAAiE,SAAS,eAAe,mHAAmH,iCAAiC,qBAAqB,cAAc,qBAAqB,UAAU,gIAAgI,+BAA+B,sCAAsC,+BAA+B,kCAAkC,2CAA2C,gBAAgB,OAAO,2CAA2C,MAAM,QAAQ,SAAS,mBAAmB,kCAAkC,iDAAiD,MAAM,aAAa,iBAAiB,iBAAiB,kBAAkB,MAAM,+BAA+B,KAAK,0DAA0D,yDAAyD,KAAK,oIAAoI,eAAe,+BAA+B,UAAU,8BAA8B,4BAA4B,mCAAmC,mCAAmC,iBAAiB,iBAAiB,aAAa,qCAAqC,KAAK,OAAO,iCAAiC,SAAS,kCAAkC,uEAAuE,6BAA6B,UAAU,qFAAqF,qCAAqC,MAAM,2DAA2D,qGAAqG,mBAAmB,iCAAiC,eAAe,iCAAiC,8CAA8C,kCAAkC,UAAU,oCAAoC,gCAAgC,SAAS,gCAAgC,sLAAsL,uBAAuB,4BAA4B,uBAAuB,uBAAuB,oBAAoB,mCAAmC,kCAAkC,iCAAiC,+BAA+B,yqBAAyqB,aAAa,MAAM,wGAAwG,qCAAqC,gDAAgD,iCAAiC,0DAA0D,gEAAgE,yBAAyB,aAAa,8DAA8D,kCAAkC,qCAAqC,gCAAgC,6DAA6D,WAAW,KAAK,aAAa,mHAAmH,sFAAsF,wCAAwC,6CAA6C,iIAAiI,yBAAyB,gFAAgF,MAAM,sBAAsB,oFAAoF,uCAAuC,+BAA+B,QAAQ,IAAI,yBAAyB,eAAe,sBAAsB,SAAS,sBAAsB,YAAY,MAAM,yBAAyB,MAAM,mBAAmB,SAAS,6BAA6B,qCAAqC,yBAAyB,+BAA+B,iCAAiC,uCAAuC,IAAI,8CAA8C,eAAe,WAAW,SAAS,yCAAyC,WAAW,MAAM,cAAc,MAAM,sCAAsC,QAAQ,oEAAoE,mCAAmC,mEAAmE,sCAAsC,SAAS,KAAK,UAAU,kBAAkB,eAAe,iBAAiB,8DAA8D,6CAA6C,+BAA+B,gBAAgB,IAAI,UAAU,iBAAiB,IAAI,6CAA6C,sBAAsB,IAAI,8BAA8B,WAAW,6CAA6C,IAAI,uBAAuB,UAAU,OAAO,QAAQ,2BAA2B,MAAM,qDAAqD,4BAA4B,gCAAgC,iBAAiB,iCAAiC,gCAAgC,wBAAwB,KAAK,sBAAsB,SAAS,qCAAqC,iDAAiD,kBAAkB,sBAAsB,kCAAkC,kBAAkB,IAAI,KAAK,iDAAiD,uBAAuB,6CAA6C,YAAY,yBAAyB,0DAA0D,gCAAgC,UAAU,8BAA8B,UAAU,wBAAwB,iCAAiC,aAAa,oCAAoC,uBAAuB,MAAM,4BAA4B,sBAAsB,oDAAoD,kCAAkC,wCAAwC,mCAAmC,wCAAwC,+BAA+B,wDAAwD,oCAAoC,yBAAyB,YAAY,gCAAgC,2FAA2F,KAAK,iMAAiM,SAAS,gCAAgC,4BAA4B,6BAA6B,kCAAkC,6BAA6B,kCAAkC,6BAA6B,UAAU,+BAA+B,4BAA4B,UAAU,+BAA+B,6BAA6B,UAAU,+BAA+B,gCAAgC,UAAU,+BAA+B,4BAA4B,kBAAkB,SAAS,0BAA0B,gCAAgC,mCAAmC,UAAU,oDAAoD,oCAAoC,UAAU,oDAAoD,wCAAwC,YAAY,SAAS,8CAA8C,kCAAkC,iCAAiC,iCAAiC,SAAS,oBAAoB,SAAS,iCAAiC,4BAA4B,qDAAqD,gCAAgC,2BAA2B,kCAAkC,2BAA2B,iCAAiC,2BAA2B,6BAA6B,UAAU,yBAAyB,kCAAkC,UAAU,yBAAyB,kCAAkC,UAAU,8BAA8B,gCAAgC,UAAU,iCAAiC,mCAAmC,UAAU,iCAAiC,4CAA4C,gBAAgB,2CAA2C,kCAAkC,+BAA+B,iBAAiB,8EAA8E,qCAAqC,6BAA6B,UAAU,oBAAoB,KAAK,uCAAuC,2BAA2B,gBAAgB,KAAK,EAAE,oFAAoF,SAAS,WAAW,oDAAoD,MAAM,KAAK,IAAI,gCAAgC,kDAAkD,KAAK,qBAAqB,oDAAoD,mBAAmB,oCAAoC,iBAAiB,iDAAiD,+DAA+D,cAAc,EAAE,KAAK,WAAW,qIAAqI,KAAK,WAAW,qIAAqI,2GAA2G,0HAA0H,6BAA6B,yBAAyB,6BAA6B,uEAAuE,qBAAqB,QAAQ,SAAS,gDAAgD,gBAAgB,sDAAsD,aAAa,uKAAuK,8BAA8B,yCAAyC,mBAAmB,gCAAgC,QAAQ,WAAW,4BAA4B,UAAU,wBAAwB,QAAQ,WAAW,EAAE,qBAAqB,gBAAgB,WAAW,kBAAkB,IAAI,0BAA0B,wBAAwB,+BAA+B,UAAU,0BAA0B,gCAAgC,MAAM,+FAA+F,yBAAyB,yCAAyC,KAAK,iBAAiB,iEAAiE,+BAA+B,QAAQ,WAAW,gCAAgC,KAAK,IAAI,6DAA6D,SAAS,aAAa,YAAY,8BAA8B,WAAW,WAAW,KAAK,gBAAgB,cAAc,aAAa,oCAAoC,kCAAkC,MAAM,QAAQ,WAAW,cAAc,8BAA8B,UAAU,QAAQ,MAAM,gBAAgB,YAAY,MAAM,8EAA8E,mBAAmB,6BAA6B,MAAM,0JAA0J,UAAU,WAAW,wCAAwC,WAAW,KAAK,uWAAuW,IAAI,UAAU,gBAAgB,wGAAwG,qDAAqD,iCAAiC,sCAAsC,6BAA6B,sGAAsG,kBAAkB,gBAAgB,sBAAsB,gCAAgC,2BAA2B,UAAU,+DAA+D,0BAA0B,mFAAmF,6BAA6B,mBAAmB,wJAAwJ,IAAI,mCAAmC,gDAAgD,kBAAkB,sBAAsB,eAAe,2EAA2E,qBAAqB,uCAAuC,0CAA0C,mBAAmB,yBAAyB,QAAQ,IAAI,kJAAkJ,+LAA+L,cAAc,iBAAiB,4CAA4C,cAAc,kFAAkF,iBAAiB,WAAW,iCAAiC,SAAS,iCAAiC,yDAAyD,YAAY,cAAc,mBAAmB,iBAAiB,WAAW,KAAK,wBAAwB,yBAAyB,SAAS,UAAU,oBAAoB,QAAQ,iBAAiB,cAAc,SAAS,0BAA0B,qFAAqF,2CAA2C,gBAAgB,aAAa,6GAA6G,YAAY,WAAW,KAAK,WAAW,+EAA+E,+FAA+F,qEAAqE,iDAAiD,kBAAkB,+EAA+E,wCAAwC,EAAE,gBAAgB,cAAc,2BAA2B,uCAAuC,cAAc,QAAQ,iGAAiG,uCAAuC,iBAAiB,wDAAwD,iBAAiB,+CAA+C,kBAAkB,gBAAgB,SAAS,oBAAoB,SAAS,iBAAiB,0BAA0B,iBAAiB,+BAA+B,8DAA8D,iFAAiF,gEAAgE,UAAU,qGAAqG,sBAAsB,EAAE,cAAc,wBAAwB,8BAA8B,sCAAsC,cAAc,mDAAmD,cAAc,qDAAqD,wDAAwD,iBAAiB,cAAc,kBAAkB,wBAAwB,YAAY,kBAAkB,YAAY,kBAAkB,YAAY,GAAG,GAAG,aAAa,4BAA4B,0BAA0B,cAAc,iBAAiB,cAAc,YAAY,8WAA8W,wJAAwJ,mCAAmC,2GAA2G,qBAAqB,4EAA4E,oRAAoR,+IAA+I,sCAAsC,sBAAsB,sEAAsE,8GAA8G,4HAA4H,+GAA+G,uJAAuJ,2GAA2G,yEAAyE,oGAAoG,qDAAqD,MAAM,+GAA+G,4EAA4E,yCAAyC,iCAAiC,sKAAsK,wFAAwF,kDAAkD,0GAA0G,oGAAoG,+BAA+B,4FAA4F,+DAA+D,YAAY,+BAA+B,4FAA4F,oEAAoE,aAAa,wJAAwJ,wCAAwC,gPAAgP,yBAAyB,GAAG,4CAA4C,iBAAiB,wDAAwD,gCAAgC,8BAA8B,6GAA6G,iBAAiB,QAAQ,0BAA0B,qCAAqC,kFAAkF,QAAQ,+BAA+B,oBAAoB,QAAQ,GAAG,OAAO,mBAAmB,uEAAuE,6DAA6D,mCAAmC,EAAE,oBAAoB,SAAS,GAAG,gCAAgC,uBAAuB,8DAA8D,IAAI,6CAA6C,SAAS,0DAA0D,QAAQ,4BAA4B,0CAA0C,mDAAmD,4HAA4H,wFAAwF,aAAa,uBAAuB,gCAAgC,YAAY;;AAEp5wC;AACA;;AAEA,kBAAkB,yBAAyB;AAC3C;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA,kBAAkB,yBAAyB;AAC3C;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA,kBAAkB,mBAAmB;AACrC;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA,IAAI;AACJ;;AAEA;AACA,oBAAoB;;AAEpB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA,qJAAqJ,yDAAyD;AAC9M,6DAA6D,gBAAgB;AAC7E;AACA;AACA,YAAY,OAAO,8BAA8B,gBAAgB;AACjE,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,kCAAkC,yBAAyB;AAC3D;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,sCAAsC;;AAExD;;AAEA;AACA;AACA,UAAU;;AAEV;AACA;AACA;AACA,+BAA+B,yBAAyB;AACxD;AACA,UAAU;AACV;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA,IAAI;;AAEJ,iCAAiC,gBAAgB;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA,qJAAqJ,yDAAyD;AAC9M,6DAA6D,gBAAgB;AAC7E;AACA;AACA;AACA,YAAY,OAAO,8BAA8B,gBAAgB;AACjE,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB;AACA;AACA,wCAAwC,GAAG,QAAQ,GAAG;AACtD;AACA;AACA;AACA;AACA;AACA,sCAAsC,IAAI,QAAQ,GAAG;AACrD;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0FAA0F;AAC1F,MAAM;AACN;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,oCAAoC,QAAQ;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,WAAW;AACnB;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,yCAAyC,SAAS,EAAE;;AAEpD;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;;AAEV,mCAAmC,6BAA6B;;AAEhE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,qCAAqC,QAAQ;AAC7C;AACA;AACA,YAAY;AACZ;AACA;AACA,cAAc;AACd;AACA;AACA;;AAEA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,aAAa;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,oBAAoB;AAC7C,gBAAgB;AAChB,cAAc;AACd;AACA;;AAEA;AACA;AACA,kBAAkB,gBAAgB,EAAE;AACpC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,mBAAmB,WAAW;AAC9B,UAAU;AACV;AACA;AACA,qBAAqB,WAAW;AAChC,YAAY;AACZ;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,iBAAiB;AAC7B,2BAA2B,wCAAwC;AACnE;AACA;AACA,gBAAgB,gBAAgB,EAAE,YAAY;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,gCAAgC,2BAA2B,EAAE;AAC7D,QAAQ;AACR;AACA,gCAAgC,2BAA2B,EAAE;AAC7D;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,WAAW;AACX;;AAEA;AACA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,wEAAwE;AACxE;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA,0CAA0C;AAC1C;AACA,MAAM;AACN,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,kJAAkJ;AACrK,YAAY,OAAO,0NAA0N;AAC7O,YAAY,OAAO,uDAAuD;AAC1E,YAAY,OAAO,mFAAmF;AACtG,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,YAAY,kBAAkB;AAC9B,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,uBAAuB,2BAA2B;AAClD;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,gBAAgB,KAAK,YAAY;AACrD;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,gBAAgB,KAAK,yBAAyB;AAClE;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;;AAEA,gIAAgI;AAChI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA,IAAI;;AAEJ;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,wDAAwD;;AAExD,yEAAyE;;AAEzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY,OAAO,iDAAiD;AACpE,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA,YAAY,SAAS;AACrB;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,gBAAgB,KAAK,YAAY;AACrD;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,oBAAoB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;;AAEA;AACA,gBAAgB,kBAAkB;AAClC;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA;AACA,MAAM;AACN;AACA,oDAAoD;AACpD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,mDAAmD;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ,UAAU;AACV,QAAQ;AACR;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA,YAAY;AACZ;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,eAAe;AAC3B,YAAY,YAAY;AACxB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB;AACA;AACA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,eAAe;AAC3B,YAAY,YAAY;AACxB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB;AACA;AACA;AACA,8DAA8D;;AAE9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,gBAAgB;;AAEhB;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,oJAAoJ;AACvK,YAAY,OAAO,0NAA0N;AAC7O,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,MAAM;AAClB,YAAY,QAAQ;AACpB,YAAY,OAAO;AACnB,YAAY,OAAO,gGAAgG;AACnH,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,gBAAgB,uDAAuD;AACvE,kBAAkB,yDAAyD;AAC3E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR,eAAe,gEAAgE;AAC/E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ,2DAA2D;AACnE;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA,gBAAgB,SAAS;AACzB;;AAEA,gBAAgB,MAAM;AACtB;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,oFAAoF;AACpF;AACA;AACA;AACA;AACA,wBAAwB,eAAe;AACvC,YAAY,eAAe,kBAAkB,eAAe;AAC5D;AACA;AACA;AACA,qBAAqB,6BAA6B;AAClD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,OAAO;AACP,IAAI;AACJ;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY,OAAO;AACnB,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,8DAA8D;AAC9D;AACA;AACA;AACA;AACA,wBAAwB,eAAe;AACvC,YAAY,eAAe,kBAAkB,eAAe;AAC5D;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY,OAAO,gEAAgE,gBAAgB;AACnG,YAAY,OAAO;AACnB,YAAY,kBAAkB;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,kFAAkF;AAClF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,iEAAiE;AACjE;AACA;AACA;AACA;AACA,UAAU;AACV;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,oJAAoJ;AACvK,YAAY,OAAO,0NAA0N;AAC7O,YAAY,OAAO,uDAAuD;AAC1E,YAAY,OAAO,mFAAmF;AACtG,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,YAAY,kBAAkB;AAC9B,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,aAAa;AACnC,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C,wBAAwB;AACrE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,oJAAoJ;AACvK,YAAY,OAAO,uDAAuD;AAC1E,YAAY,OAAO,mFAAmF;AACtG,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,qBAAqB;AACjC,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB,6CAA6C;AACpE;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,uBAAuB;AACnC,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,wCAAwC,gBAAgB;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,kJAAkJ;AACrK,YAAY,OAAO,0NAA0N;AAC7O,YAAY,OAAO,uDAAuD;AAC1E,YAAY,OAAO,mFAAmF;AACtG,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,cAAc;AAC1B,YAAY;AACZ,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB;;AAEA;AACA;AACA,YAAY,SAAS;AACrB;;AAEA;AACA;AACA;AACA;AACA;AACA,8CAA8C,gBAAgB;AAC9D,oMAAoM,yDAAyD;AAC7P;AACA;AACA,qCAAqC,qDAAqD,8BAA8B,wDAAwD;AAChL,YAAY,OAAO,8BAA8B,gBAAgB;AACjE,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA,YAAY,SAAS;AACrB;;AAEA;AACA;AACA,gIAAgI,gBAAgB;AAChJ;AACA;AACA,YAAY,OAAO,8BAA8B,gBAAgB;AACjE,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC,YAAY,yBAAyB;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,qBAAqB,8BAA8B;AACnD;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,SAAS;AACrB;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,sBAAsB;AAClC,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,QAAQ;AACR;;AAEA;AACA,IAAI;AACJ;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,YAAY;AACxB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB,YAAY,OAAO;AACnB,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB,2DAA2D;AAC/E;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB,2DAA2D;AAC/E;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA,QAAQ;AACR;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB,2DAA2D;AAC/E;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qBAAqB,yDAAyD;;AAE9E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,SAAS;AACrB;AACA;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;AACA;AACA;;AAEA;;AAEA;AACA;AACA,YAAY,gCAAgC;AAC5C,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,eAAe;AAC3B,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB,2DAA2D;AAC/E,eAAe,sDAAsD;AACrE,kBAAkB;AAClB;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,uBAAuB;AACnC,YAAY;AACZ;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB,2DAA2D;AAC/E,eAAe;AACf;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,oJAAoJ;AACvK,YAAY,OAAO,uJAAuJ;AAC1K,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,gBAAgB,uDAAuD;AACvE,kBAAkB,yDAAyD;AAC3E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR,eAAe,gEAAgE;AAC/E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO,kJAAkJ;AACrK,YAAY,OAAO,uJAAuJ;AAC1K,YAAY,OAAO,uDAAuD;AAC1E,YAAY,OAAO,mFAAmF;AACtG,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,UAAU;AACV,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,kBAAkB,yDAAyD;AAC3E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,QAAQ;AACpB,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;;AAEJ;AACA;AACA,wBAAwB;;AAExB;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,cAAc;AAC1B,qCAAqC,qDAAqD,8BAA8B,wDAAwD;AAChL;AACA;AACA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,kBAAkB,yDAAyD;AAC3E,kBAAkB,yDAAyD;AAC3E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,cAAc;AAC1B,6EAA6E,mEAAmE,8BAA8B,wDAAwD;AACtO;AACA;AACA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,kBAAkB,yDAAyD;AAC3E,kBAAkB,yDAAyD;AAC3E,eAAe,sDAAsD;AACrE;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,kBAAkB,yDAAyD;AAC3E,mBAAmB,0DAA0D;AAC7E;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,oBAAoB,YAAY,KAAK,gCAAgC;AACrE;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,cAAc;AAC1B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,kBAAkB,yDAAyD;AAC3E,kBAAkB,yDAAyD;AAC3E,oBAAoB,2DAA2D;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA,UAAU,mBAAmB;AAC7B;AACA;AACA,YAAY,QAAQ;AACpB,YAAY,SAAS;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,yDAAyD;AAC9E;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA,4BAA4B,aAAa;AACzC;AACA;AACA;AACA;AACA;AACA,yBAAyB,aAAa;AACtC;AACA;AACA;AACA;AACA;AACA,yBAAyB,aAAa;AACtC;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,iBAAiB;AAC7B,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,SAAS;AACrB;AACA;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;AACA;AACA;;AAEA;;AAEA;AACA;AACA,YAAY,gCAAgC;AAC5C,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,mBAAmB;AAC/B,YAAY;AACZ,qEAAqE,mEAAmE,8BAA8B,wDAAwD;AAC9N;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,oBAAoB;AACpB;AACA;AACA,qBAAqB,yDAAyD;;AAE9E;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,SAAS;AACrB;AACA;AACA;AACA;;AAEA,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;;AAEA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB;AACA;AACA;AACA;AACA;AACA,MAAM,4DAA4D;AAClE;AACA,gBAAgB,uDAAuD;AACvE,eAAe,sDAAsD;AACrE;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,YAAY,MAAM;AAClB,YAAY,OAAO;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA,sDAAsD,qBAAqB;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA,YAAY,8BAA8B;AAC1C,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB,YAAY;AACZ;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;;AAE9E;;AAEA;AACA;AACA;AACA,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;AACA,YAAY,OAAO;AACnB,YAAY,OAAO;AACnB,YAAY,aAAa;AACzB,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,IAAI;AACJ,qBAAqB,yDAAyD;AAC9E;;AAEA;;AAEA;AACA;AACA,YAAY,gCAAgC;AAC5C,4BAA4B,qBAAqB;AACjD;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA,+CAA+C,cAAc;;AAE7D,CAAC","file":"scripts.0389bb7eeeac57881b41.js","sourcesContent":["/**\n * auth0-js v9.22.1\n * Author: Auth0\n * Date: 2023-07-18\n * License: MIT\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define(['exports'], factory) :\n\t(global = global || self, factory(global.auth0 = {}));\n}(this, (function (exports) { 'use strict';\n\n\tvar commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n\tfunction createCommonjsModule(fn, module) {\n\t\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n\t}\n\n\tfunction getCjsExportFromNamespace (n) {\n\t\treturn n && n['default'] || n;\n\t}\n\n\tvar urlJoin = createCommonjsModule(function (module) {\n\t(function (name, context, definition) {\n\t if ( module.exports) module.exports = definition();\n\t else context[name] = definition();\n\t})('urljoin', commonjsGlobal, function () {\n\n\t function normalize (strArray) {\n\t var resultArray = [];\n\t if (strArray.length === 0) { return ''; }\n\n\t if (typeof strArray[0] !== 'string') {\n\t throw new TypeError('Url must be a string. Received ' + strArray[0]);\n\t }\n\n\t // If the first part is a plain protocol, we combine it with the next part.\n\t if (strArray[0].match(/^[^/:]+:\\/*$/) && strArray.length > 1) {\n\t var first = strArray.shift();\n\t strArray[0] = first + strArray[0];\n\t }\n\n\t // There must be two or three slashes in the file protocol, two slashes in anything else.\n\t if (strArray[0].match(/^file:\\/\\/\\//)) {\n\t strArray[0] = strArray[0].replace(/^([^/:]+):\\/*/, '$1:///');\n\t } else {\n\t strArray[0] = strArray[0].replace(/^([^/:]+):\\/*/, '$1://');\n\t }\n\n\t for (var i = 0; i < strArray.length; i++) {\n\t var component = strArray[i];\n\n\t if (typeof component !== 'string') {\n\t throw new TypeError('Url must be a string. Received ' + component);\n\t }\n\n\t if (component === '') { continue; }\n\n\t if (i > 0) {\n\t // Removing the starting slashes for each component but the first.\n\t component = component.replace(/^[\\/]+/, '');\n\t }\n\t if (i < strArray.length - 1) {\n\t // Removing the ending slashes for each component but the last.\n\t component = component.replace(/[\\/]+$/, '');\n\t } else {\n\t // For the last component we will combine multiple slashes to a single one.\n\t component = component.replace(/[\\/]+$/, '/');\n\t }\n\n\t resultArray.push(component);\n\n\t }\n\n\t var str = resultArray.join('/');\n\t // Each input component is now separated by a single slash except the possible first plain protocol part.\n\n\t // remove trailing slash before parameters or hash\n\t str = str.replace(/\\/(\\?|&|#[^!])/g, '$1');\n\n\t // replace ? in parameters with &\n\t var parts = str.split('?');\n\t str = parts.shift() + (parts.length > 0 ? '?': '') + parts.join('&');\n\n\t return str;\n\t }\n\n\t return function () {\n\t var input;\n\n\t if (typeof arguments[0] === 'object') {\n\t input = arguments[0];\n\t } else {\n\t input = [].slice.call(arguments);\n\t }\n\n\t return normalize(input);\n\t };\n\n\t});\n\t});\n\n\t/* eslint complexity: [2, 18], max-statements: [2, 33] */\n\tvar shams = function hasSymbols() {\n\t\tif (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }\n\t\tif (typeof Symbol.iterator === 'symbol') { return true; }\n\n\t\tvar obj = {};\n\t\tvar sym = Symbol('test');\n\t\tvar symObj = Object(sym);\n\t\tif (typeof sym === 'string') { return false; }\n\n\t\tif (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }\n\t\tif (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }\n\n\t\t// temp disabled per https://github.com/ljharb/object.assign/issues/17\n\t\t// if (sym instanceof Symbol) { return false; }\n\t\t// temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4\n\t\t// if (!(symObj instanceof Symbol)) { return false; }\n\n\t\t// if (typeof Symbol.prototype.toString !== 'function') { return false; }\n\t\t// if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }\n\n\t\tvar symVal = 42;\n\t\tobj[sym] = symVal;\n\t\tfor (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop\n\t\tif (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }\n\n\t\tif (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }\n\n\t\tvar syms = Object.getOwnPropertySymbols(obj);\n\t\tif (syms.length !== 1 || syms[0] !== sym) { return false; }\n\n\t\tif (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }\n\n\t\tif (typeof Object.getOwnPropertyDescriptor === 'function') {\n\t\t\tvar descriptor = Object.getOwnPropertyDescriptor(obj, sym);\n\t\t\tif (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }\n\t\t}\n\n\t\treturn true;\n\t};\n\n\tvar origSymbol = typeof Symbol !== 'undefined' && Symbol;\n\n\n\tvar hasSymbols = function hasNativeSymbols() {\n\t\tif (typeof origSymbol !== 'function') { return false; }\n\t\tif (typeof Symbol !== 'function') { return false; }\n\t\tif (typeof origSymbol('foo') !== 'symbol') { return false; }\n\t\tif (typeof Symbol('bar') !== 'symbol') { return false; }\n\n\t\treturn shams();\n\t};\n\n\tvar test = {\n\t\tfoo: {}\n\t};\n\n\tvar $Object = Object;\n\n\tvar hasProto = function hasProto() {\n\t\treturn { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);\n\t};\n\n\t/* eslint no-invalid-this: 1 */\n\n\tvar ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';\n\tvar slice = Array.prototype.slice;\n\tvar toStr = Object.prototype.toString;\n\tvar funcType = '[object Function]';\n\n\tvar implementation = function bind(that) {\n\t var target = this;\n\t if (typeof target !== 'function' || toStr.call(target) !== funcType) {\n\t throw new TypeError(ERROR_MESSAGE + target);\n\t }\n\t var args = slice.call(arguments, 1);\n\n\t var bound;\n\t var binder = function () {\n\t if (this instanceof bound) {\n\t var result = target.apply(\n\t this,\n\t args.concat(slice.call(arguments))\n\t );\n\t if (Object(result) === result) {\n\t return result;\n\t }\n\t return this;\n\t } else {\n\t return target.apply(\n\t that,\n\t args.concat(slice.call(arguments))\n\t );\n\t }\n\t };\n\n\t var boundLength = Math.max(0, target.length - args.length);\n\t var boundArgs = [];\n\t for (var i = 0; i < boundLength; i++) {\n\t boundArgs.push('$' + i);\n\t }\n\n\t bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);\n\n\t if (target.prototype) {\n\t var Empty = function Empty() {};\n\t Empty.prototype = target.prototype;\n\t bound.prototype = new Empty();\n\t Empty.prototype = null;\n\t }\n\n\t return bound;\n\t};\n\n\tvar functionBind = Function.prototype.bind || implementation;\n\n\tvar src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);\n\n\tvar undefined$1;\n\n\tvar $SyntaxError = SyntaxError;\n\tvar $Function = Function;\n\tvar $TypeError = TypeError;\n\n\t// eslint-disable-next-line consistent-return\n\tvar getEvalledConstructor = function (expressionSyntax) {\n\t\ttry {\n\t\t\treturn $Function('\"use strict\"; return (' + expressionSyntax + ').constructor;')();\n\t\t} catch (e) {}\n\t};\n\n\tvar $gOPD = Object.getOwnPropertyDescriptor;\n\tif ($gOPD) {\n\t\ttry {\n\t\t\t$gOPD({}, '');\n\t\t} catch (e) {\n\t\t\t$gOPD = null; // this is IE 8, which has a broken gOPD\n\t\t}\n\t}\n\n\tvar throwTypeError = function () {\n\t\tthrow new $TypeError();\n\t};\n\tvar ThrowTypeError = $gOPD\n\t\t? (function () {\n\t\t\ttry {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties\n\t\t\t\targuments.callee; // IE 8 does not throw here\n\t\t\t\treturn throwTypeError;\n\t\t\t} catch (calleeThrows) {\n\t\t\t\ttry {\n\t\t\t\t\t// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')\n\t\t\t\t\treturn $gOPD(arguments, 'callee').get;\n\t\t\t\t} catch (gOPDthrows) {\n\t\t\t\t\treturn throwTypeError;\n\t\t\t\t}\n\t\t\t}\n\t\t}())\n\t\t: throwTypeError;\n\n\tvar hasSymbols$1 = hasSymbols();\n\tvar hasProto$1 = hasProto();\n\n\tvar getProto = Object.getPrototypeOf || (\n\t\thasProto$1\n\t\t\t? function (x) { return x.__proto__; } // eslint-disable-line no-proto\n\t\t\t: null\n\t);\n\n\tvar needsEval = {};\n\n\tvar TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined$1 : getProto(Uint8Array);\n\n\tvar INTRINSICS = {\n\t\t'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,\n\t\t'%Array%': Array,\n\t\t'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,\n\t\t'%ArrayIteratorPrototype%': hasSymbols$1 && getProto ? getProto([][Symbol.iterator]()) : undefined$1,\n\t\t'%AsyncFromSyncIteratorPrototype%': undefined$1,\n\t\t'%AsyncFunction%': needsEval,\n\t\t'%AsyncGenerator%': needsEval,\n\t\t'%AsyncGeneratorFunction%': needsEval,\n\t\t'%AsyncIteratorPrototype%': needsEval,\n\t\t'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,\n\t\t'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,\n\t\t'%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined$1 : BigInt64Array,\n\t\t'%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined$1 : BigUint64Array,\n\t\t'%Boolean%': Boolean,\n\t\t'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,\n\t\t'%Date%': Date,\n\t\t'%decodeURI%': decodeURI,\n\t\t'%decodeURIComponent%': decodeURIComponent,\n\t\t'%encodeURI%': encodeURI,\n\t\t'%encodeURIComponent%': encodeURIComponent,\n\t\t'%Error%': Error,\n\t\t'%eval%': eval, // eslint-disable-line no-eval\n\t\t'%EvalError%': EvalError,\n\t\t'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,\n\t\t'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,\n\t\t'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,\n\t\t'%Function%': $Function,\n\t\t'%GeneratorFunction%': needsEval,\n\t\t'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,\n\t\t'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,\n\t\t'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,\n\t\t'%isFinite%': isFinite,\n\t\t'%isNaN%': isNaN,\n\t\t'%IteratorPrototype%': hasSymbols$1 && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined$1,\n\t\t'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,\n\t\t'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,\n\t\t'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$1 || !getProto ? undefined$1 : getProto(new Map()[Symbol.iterator]()),\n\t\t'%Math%': Math,\n\t\t'%Number%': Number,\n\t\t'%Object%': Object,\n\t\t'%parseFloat%': parseFloat,\n\t\t'%parseInt%': parseInt,\n\t\t'%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,\n\t\t'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,\n\t\t'%RangeError%': RangeError,\n\t\t'%ReferenceError%': ReferenceError,\n\t\t'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,\n\t\t'%RegExp%': RegExp,\n\t\t'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,\n\t\t'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$1 || !getProto ? undefined$1 : getProto(new Set()[Symbol.iterator]()),\n\t\t'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,\n\t\t'%String%': String,\n\t\t'%StringIteratorPrototype%': hasSymbols$1 && getProto ? getProto(''[Symbol.iterator]()) : undefined$1,\n\t\t'%Symbol%': hasSymbols$1 ? Symbol : undefined$1,\n\t\t'%SyntaxError%': $SyntaxError,\n\t\t'%ThrowTypeError%': ThrowTypeError,\n\t\t'%TypedArray%': TypedArray,\n\t\t'%TypeError%': $TypeError,\n\t\t'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,\n\t\t'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,\n\t\t'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,\n\t\t'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,\n\t\t'%URIError%': URIError,\n\t\t'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,\n\t\t'%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,\n\t\t'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet\n\t};\n\n\tif (getProto) {\n\t\ttry {\n\t\t\tnull.error; // eslint-disable-line no-unused-expressions\n\t\t} catch (e) {\n\t\t\t// https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229\n\t\t\tvar errorProto = getProto(getProto(e));\n\t\t\tINTRINSICS['%Error.prototype%'] = errorProto;\n\t\t}\n\t}\n\n\tvar doEval = function doEval(name) {\n\t\tvar value;\n\t\tif (name === '%AsyncFunction%') {\n\t\t\tvalue = getEvalledConstructor('async function () {}');\n\t\t} else if (name === '%GeneratorFunction%') {\n\t\t\tvalue = getEvalledConstructor('function* () {}');\n\t\t} else if (name === '%AsyncGeneratorFunction%') {\n\t\t\tvalue = getEvalledConstructor('async function* () {}');\n\t\t} else if (name === '%AsyncGenerator%') {\n\t\t\tvar fn = doEval('%AsyncGeneratorFunction%');\n\t\t\tif (fn) {\n\t\t\t\tvalue = fn.prototype;\n\t\t\t}\n\t\t} else if (name === '%AsyncIteratorPrototype%') {\n\t\t\tvar gen = doEval('%AsyncGenerator%');\n\t\t\tif (gen && getProto) {\n\t\t\t\tvalue = getProto(gen.prototype);\n\t\t\t}\n\t\t}\n\n\t\tINTRINSICS[name] = value;\n\n\t\treturn value;\n\t};\n\n\tvar LEGACY_ALIASES = {\n\t\t'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],\n\t\t'%ArrayPrototype%': ['Array', 'prototype'],\n\t\t'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],\n\t\t'%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],\n\t\t'%ArrayProto_keys%': ['Array', 'prototype', 'keys'],\n\t\t'%ArrayProto_values%': ['Array', 'prototype', 'values'],\n\t\t'%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],\n\t\t'%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],\n\t\t'%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],\n\t\t'%BooleanPrototype%': ['Boolean', 'prototype'],\n\t\t'%DataViewPrototype%': ['DataView', 'prototype'],\n\t\t'%DatePrototype%': ['Date', 'prototype'],\n\t\t'%ErrorPrototype%': ['Error', 'prototype'],\n\t\t'%EvalErrorPrototype%': ['EvalError', 'prototype'],\n\t\t'%Float32ArrayPrototype%': ['Float32Array', 'prototype'],\n\t\t'%Float64ArrayPrototype%': ['Float64Array', 'prototype'],\n\t\t'%FunctionPrototype%': ['Function', 'prototype'],\n\t\t'%Generator%': ['GeneratorFunction', 'prototype'],\n\t\t'%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],\n\t\t'%Int8ArrayPrototype%': ['Int8Array', 'prototype'],\n\t\t'%Int16ArrayPrototype%': ['Int16Array', 'prototype'],\n\t\t'%Int32ArrayPrototype%': ['Int32Array', 'prototype'],\n\t\t'%JSONParse%': ['JSON', 'parse'],\n\t\t'%JSONStringify%': ['JSON', 'stringify'],\n\t\t'%MapPrototype%': ['Map', 'prototype'],\n\t\t'%NumberPrototype%': ['Number', 'prototype'],\n\t\t'%ObjectPrototype%': ['Object', 'prototype'],\n\t\t'%ObjProto_toString%': ['Object', 'prototype', 'toString'],\n\t\t'%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],\n\t\t'%PromisePrototype%': ['Promise', 'prototype'],\n\t\t'%PromiseProto_then%': ['Promise', 'prototype', 'then'],\n\t\t'%Promise_all%': ['Promise', 'all'],\n\t\t'%Promise_reject%': ['Promise', 'reject'],\n\t\t'%Promise_resolve%': ['Promise', 'resolve'],\n\t\t'%RangeErrorPrototype%': ['RangeError', 'prototype'],\n\t\t'%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],\n\t\t'%RegExpPrototype%': ['RegExp', 'prototype'],\n\t\t'%SetPrototype%': ['Set', 'prototype'],\n\t\t'%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],\n\t\t'%StringPrototype%': ['String', 'prototype'],\n\t\t'%SymbolPrototype%': ['Symbol', 'prototype'],\n\t\t'%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],\n\t\t'%TypedArrayPrototype%': ['TypedArray', 'prototype'],\n\t\t'%TypeErrorPrototype%': ['TypeError', 'prototype'],\n\t\t'%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],\n\t\t'%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],\n\t\t'%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],\n\t\t'%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],\n\t\t'%URIErrorPrototype%': ['URIError', 'prototype'],\n\t\t'%WeakMapPrototype%': ['WeakMap', 'prototype'],\n\t\t'%WeakSetPrototype%': ['WeakSet', 'prototype']\n\t};\n\n\n\n\tvar $concat = functionBind.call(Function.call, Array.prototype.concat);\n\tvar $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);\n\tvar $replace = functionBind.call(Function.call, String.prototype.replace);\n\tvar $strSlice = functionBind.call(Function.call, String.prototype.slice);\n\tvar $exec = functionBind.call(Function.call, RegExp.prototype.exec);\n\n\t/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */\n\tvar rePropName = /[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g;\n\tvar reEscapeChar = /\\\\(\\\\)?/g; /** Used to match backslashes in property paths. */\n\tvar stringToPath = function stringToPath(string) {\n\t\tvar first = $strSlice(string, 0, 1);\n\t\tvar last = $strSlice(string, -1);\n\t\tif (first === '%' && last !== '%') {\n\t\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected closing `%`');\n\t\t} else if (last === '%' && first !== '%') {\n\t\t\tthrow new $SyntaxError('invalid intrinsic syntax, expected opening `%`');\n\t\t}\n\t\tvar result = [];\n\t\t$replace(string, rePropName, function (match, number, quote, subString) {\n\t\t\tresult[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;\n\t\t});\n\t\treturn result;\n\t};\n\t/* end adaptation */\n\n\tvar getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {\n\t\tvar intrinsicName = name;\n\t\tvar alias;\n\t\tif (src(LEGACY_ALIASES, intrinsicName)) {\n\t\t\talias = LEGACY_ALIASES[intrinsicName];\n\t\t\tintrinsicName = '%' + alias[0] + '%';\n\t\t}\n\n\t\tif (src(INTRINSICS, intrinsicName)) {\n\t\t\tvar value = INTRINSICS[intrinsicName];\n\t\t\tif (value === needsEval) {\n\t\t\t\tvalue = doEval(intrinsicName);\n\t\t\t}\n\t\t\tif (typeof value === 'undefined' && !allowMissing) {\n\t\t\t\tthrow new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\talias: alias,\n\t\t\t\tname: intrinsicName,\n\t\t\t\tvalue: value\n\t\t\t};\n\t\t}\n\n\t\tthrow new $SyntaxError('intrinsic ' + name + ' does not exist!');\n\t};\n\n\tvar getIntrinsic = function GetIntrinsic(name, allowMissing) {\n\t\tif (typeof name !== 'string' || name.length === 0) {\n\t\t\tthrow new $TypeError('intrinsic name must be a non-empty string');\n\t\t}\n\t\tif (arguments.length > 1 && typeof allowMissing !== 'boolean') {\n\t\t\tthrow new $TypeError('\"allowMissing\" argument must be a boolean');\n\t\t}\n\n\t\tif ($exec(/^%?[^%]*%?$/, name) === null) {\n\t\t\tthrow new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name');\n\t\t}\n\t\tvar parts = stringToPath(name);\n\t\tvar intrinsicBaseName = parts.length > 0 ? parts[0] : '';\n\n\t\tvar intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);\n\t\tvar intrinsicRealName = intrinsic.name;\n\t\tvar value = intrinsic.value;\n\t\tvar skipFurtherCaching = false;\n\n\t\tvar alias = intrinsic.alias;\n\t\tif (alias) {\n\t\t\tintrinsicBaseName = alias[0];\n\t\t\t$spliceApply(parts, $concat([0, 1], alias));\n\t\t}\n\n\t\tfor (var i = 1, isOwn = true; i < parts.length; i += 1) {\n\t\t\tvar part = parts[i];\n\t\t\tvar first = $strSlice(part, 0, 1);\n\t\t\tvar last = $strSlice(part, -1);\n\t\t\tif (\n\t\t\t\t(\n\t\t\t\t\t(first === '\"' || first === \"'\" || first === '`')\n\t\t\t\t\t|| (last === '\"' || last === \"'\" || last === '`')\n\t\t\t\t)\n\t\t\t\t&& first !== last\n\t\t\t) {\n\t\t\t\tthrow new $SyntaxError('property names with quotes must have matching quotes');\n\t\t\t}\n\t\t\tif (part === 'constructor' || !isOwn) {\n\t\t\t\tskipFurtherCaching = true;\n\t\t\t}\n\n\t\t\tintrinsicBaseName += '.' + part;\n\t\t\tintrinsicRealName = '%' + intrinsicBaseName + '%';\n\n\t\t\tif (src(INTRINSICS, intrinsicRealName)) {\n\t\t\t\tvalue = INTRINSICS[intrinsicRealName];\n\t\t\t} else if (value != null) {\n\t\t\t\tif (!(part in value)) {\n\t\t\t\t\tif (!allowMissing) {\n\t\t\t\t\t\tthrow new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');\n\t\t\t\t\t}\n\t\t\t\t\treturn void undefined$1;\n\t\t\t\t}\n\t\t\t\tif ($gOPD && (i + 1) >= parts.length) {\n\t\t\t\t\tvar desc = $gOPD(value, part);\n\t\t\t\t\tisOwn = !!desc;\n\n\t\t\t\t\t// By convention, when a data property is converted to an accessor\n\t\t\t\t\t// property to emulate a data property that does not suffer from\n\t\t\t\t\t// the override mistake, that accessor's getter is marked with\n\t\t\t\t\t// an `originalValue` property. Here, when we detect this, we\n\t\t\t\t\t// uphold the illusion by pretending to see that original data\n\t\t\t\t\t// property, i.e., returning the value rather than the getter\n\t\t\t\t\t// itself.\n\t\t\t\t\tif (isOwn && 'get' in desc && !('originalValue' in desc.get)) {\n\t\t\t\t\t\tvalue = desc.get;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvalue = value[part];\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tisOwn = src(value, part);\n\t\t\t\t\tvalue = value[part];\n\t\t\t\t}\n\n\t\t\t\tif (isOwn && !skipFurtherCaching) {\n\t\t\t\t\tINTRINSICS[intrinsicRealName] = value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn value;\n\t};\n\n\tvar callBind = createCommonjsModule(function (module) {\n\n\n\n\n\tvar $apply = getIntrinsic('%Function.prototype.apply%');\n\tvar $call = getIntrinsic('%Function.prototype.call%');\n\tvar $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);\n\n\tvar $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);\n\tvar $defineProperty = getIntrinsic('%Object.defineProperty%', true);\n\tvar $max = getIntrinsic('%Math.max%');\n\n\tif ($defineProperty) {\n\t\ttry {\n\t\t\t$defineProperty({}, 'a', { value: 1 });\n\t\t} catch (e) {\n\t\t\t// IE 8 has a broken defineProperty\n\t\t\t$defineProperty = null;\n\t\t}\n\t}\n\n\tmodule.exports = function callBind(originalFunction) {\n\t\tvar func = $reflectApply(functionBind, $call, arguments);\n\t\tif ($gOPD && $defineProperty) {\n\t\t\tvar desc = $gOPD(func, 'length');\n\t\t\tif (desc.configurable) {\n\t\t\t\t// original length, plus the receiver, minus any additional arguments (after the receiver)\n\t\t\t\t$defineProperty(\n\t\t\t\t\tfunc,\n\t\t\t\t\t'length',\n\t\t\t\t\t{ value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn func;\n\t};\n\n\tvar applyBind = function applyBind() {\n\t\treturn $reflectApply(functionBind, $apply, arguments);\n\t};\n\n\tif ($defineProperty) {\n\t\t$defineProperty(module.exports, 'apply', { value: applyBind });\n\t} else {\n\t\tmodule.exports.apply = applyBind;\n\t}\n\t});\n\tvar callBind_1 = callBind.apply;\n\n\tvar $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));\n\n\tvar callBound = function callBoundIntrinsic(name, allowMissing) {\n\t\tvar intrinsic = getIntrinsic(name, !!allowMissing);\n\t\tif (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {\n\t\t\treturn callBind(intrinsic);\n\t\t}\n\t\treturn intrinsic;\n\t};\n\n\tvar _nodeResolve_empty = {};\n\n\tvar _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({\n\t\t__proto__: null,\n\t\t'default': _nodeResolve_empty\n\t});\n\n\tvar semver = getCjsExportFromNamespace(_nodeResolve_empty$1);\n\n\tvar hasMap = typeof Map === 'function' && Map.prototype;\n\tvar mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;\n\tvar mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;\n\tvar mapForEach = hasMap && Map.prototype.forEach;\n\tvar hasSet = typeof Set === 'function' && Set.prototype;\n\tvar setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;\n\tvar setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;\n\tvar setForEach = hasSet && Set.prototype.forEach;\n\tvar hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;\n\tvar weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;\n\tvar hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;\n\tvar weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;\n\tvar hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;\n\tvar weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;\n\tvar booleanValueOf = Boolean.prototype.valueOf;\n\tvar objectToString = Object.prototype.toString;\n\tvar functionToString = Function.prototype.toString;\n\tvar $match = String.prototype.match;\n\tvar $slice = String.prototype.slice;\n\tvar $replace$1 = String.prototype.replace;\n\tvar $toUpperCase = String.prototype.toUpperCase;\n\tvar $toLowerCase = String.prototype.toLowerCase;\n\tvar $test = RegExp.prototype.test;\n\tvar $concat$1 = Array.prototype.concat;\n\tvar $join = Array.prototype.join;\n\tvar $arrSlice = Array.prototype.slice;\n\tvar $floor = Math.floor;\n\tvar bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;\n\tvar gOPS = Object.getOwnPropertySymbols;\n\tvar symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;\n\tvar hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';\n\t// ie, `has-tostringtag/shams\n\tvar toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')\n\t ? Symbol.toStringTag\n\t : null;\n\tvar isEnumerable = Object.prototype.propertyIsEnumerable;\n\n\tvar gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (\n\t [].__proto__ === Array.prototype // eslint-disable-line no-proto\n\t ? function (O) {\n\t return O.__proto__; // eslint-disable-line no-proto\n\t }\n\t : null\n\t);\n\n\tfunction addNumericSeparator(num, str) {\n\t if (\n\t num === Infinity\n\t || num === -Infinity\n\t || num !== num\n\t || (num && num > -1000 && num < 1000)\n\t || $test.call(/e/, str)\n\t ) {\n\t return str;\n\t }\n\t var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;\n\t if (typeof num === 'number') {\n\t var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)\n\t if (int !== num) {\n\t var intStr = String(int);\n\t var dec = $slice.call(str, intStr.length + 1);\n\t return $replace$1.call(intStr, sepRegex, '$&_') + '.' + $replace$1.call($replace$1.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');\n\t }\n\t }\n\t return $replace$1.call(str, sepRegex, '$&_');\n\t}\n\n\n\tvar inspectCustom = semver.custom;\n\tvar inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null;\n\n\tvar objectInspect = function inspect_(obj, options, depth, seen) {\n\t var opts = options || {};\n\n\t if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {\n\t throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');\n\t }\n\t if (\n\t has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'\n\t ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity\n\t : opts.maxStringLength !== null\n\t )\n\t ) {\n\t throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');\n\t }\n\t var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;\n\t if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {\n\t throw new TypeError('option \"customInspect\", if provided, must be `true`, `false`, or `\\'symbol\\'`');\n\t }\n\n\t if (\n\t has(opts, 'indent')\n\t && opts.indent !== null\n\t && opts.indent !== '\\t'\n\t && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)\n\t ) {\n\t throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');\n\t }\n\t if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {\n\t throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');\n\t }\n\t var numericSeparator = opts.numericSeparator;\n\n\t if (typeof obj === 'undefined') {\n\t return 'undefined';\n\t }\n\t if (obj === null) {\n\t return 'null';\n\t }\n\t if (typeof obj === 'boolean') {\n\t return obj ? 'true' : 'false';\n\t }\n\n\t if (typeof obj === 'string') {\n\t return inspectString(obj, opts);\n\t }\n\t if (typeof obj === 'number') {\n\t if (obj === 0) {\n\t return Infinity / obj > 0 ? '0' : '-0';\n\t }\n\t var str = String(obj);\n\t return numericSeparator ? addNumericSeparator(obj, str) : str;\n\t }\n\t if (typeof obj === 'bigint') {\n\t var bigIntStr = String(obj) + 'n';\n\t return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;\n\t }\n\n\t var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;\n\t if (typeof depth === 'undefined') { depth = 0; }\n\t if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {\n\t return isArray(obj) ? '[Array]' : '[Object]';\n\t }\n\n\t var indent = getIndent(opts, depth);\n\n\t if (typeof seen === 'undefined') {\n\t seen = [];\n\t } else if (indexOf(seen, obj) >= 0) {\n\t return '[Circular]';\n\t }\n\n\t function inspect(value, from, noIndent) {\n\t if (from) {\n\t seen = $arrSlice.call(seen);\n\t seen.push(from);\n\t }\n\t if (noIndent) {\n\t var newOpts = {\n\t depth: opts.depth\n\t };\n\t if (has(opts, 'quoteStyle')) {\n\t newOpts.quoteStyle = opts.quoteStyle;\n\t }\n\t return inspect_(value, newOpts, depth + 1, seen);\n\t }\n\t return inspect_(value, opts, depth + 1, seen);\n\t }\n\n\t if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable\n\t var name = nameOf(obj);\n\t var keys = arrObjKeys(obj, inspect);\n\t return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');\n\t }\n\t if (isSymbol(obj)) {\n\t var symString = hasShammedSymbols ? $replace$1.call(String(obj), /^(Symbol\\(.*\\))_[^)]*$/, '$1') : symToString.call(obj);\n\t return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;\n\t }\n\t if (isElement(obj)) {\n\t var s = '<' + $toLowerCase.call(String(obj.nodeName));\n\t var attrs = obj.attributes || [];\n\t for (var i = 0; i < attrs.length; i++) {\n\t s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);\n\t }\n\t s += '>';\n\t if (obj.childNodes && obj.childNodes.length) { s += '...'; }\n\t s += '';\n\t return s;\n\t }\n\t if (isArray(obj)) {\n\t if (obj.length === 0) { return '[]'; }\n\t var xs = arrObjKeys(obj, inspect);\n\t if (indent && !singleLineValues(xs)) {\n\t return '[' + indentedJoin(xs, indent) + ']';\n\t }\n\t return '[ ' + $join.call(xs, ', ') + ' ]';\n\t }\n\t if (isError(obj)) {\n\t var parts = arrObjKeys(obj, inspect);\n\t if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) {\n\t return '{ [' + String(obj) + '] ' + $join.call($concat$1.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';\n\t }\n\t if (parts.length === 0) { return '[' + String(obj) + ']'; }\n\t return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';\n\t }\n\t if (typeof obj === 'object' && customInspect) {\n\t if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && semver) {\n\t return semver(obj, { depth: maxDepth - depth });\n\t } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {\n\t return obj.inspect();\n\t }\n\t }\n\t if (isMap(obj)) {\n\t var mapParts = [];\n\t if (mapForEach) {\n\t mapForEach.call(obj, function (value, key) {\n\t mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));\n\t });\n\t }\n\t return collectionOf('Map', mapSize.call(obj), mapParts, indent);\n\t }\n\t if (isSet(obj)) {\n\t var setParts = [];\n\t if (setForEach) {\n\t setForEach.call(obj, function (value) {\n\t setParts.push(inspect(value, obj));\n\t });\n\t }\n\t return collectionOf('Set', setSize.call(obj), setParts, indent);\n\t }\n\t if (isWeakMap(obj)) {\n\t return weakCollectionOf('WeakMap');\n\t }\n\t if (isWeakSet(obj)) {\n\t return weakCollectionOf('WeakSet');\n\t }\n\t if (isWeakRef(obj)) {\n\t return weakCollectionOf('WeakRef');\n\t }\n\t if (isNumber(obj)) {\n\t return markBoxed(inspect(Number(obj)));\n\t }\n\t if (isBigInt(obj)) {\n\t return markBoxed(inspect(bigIntValueOf.call(obj)));\n\t }\n\t if (isBoolean(obj)) {\n\t return markBoxed(booleanValueOf.call(obj));\n\t }\n\t if (isString(obj)) {\n\t return markBoxed(inspect(String(obj)));\n\t }\n\t if (!isDate(obj) && !isRegExp(obj)) {\n\t var ys = arrObjKeys(obj, inspect);\n\t var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;\n\t var protoTag = obj instanceof Object ? '' : 'null prototype';\n\t var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr$1(obj), 8, -1) : protoTag ? 'Object' : '';\n\t var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';\n\t var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat$1.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');\n\t if (ys.length === 0) { return tag + '{}'; }\n\t if (indent) {\n\t return tag + '{' + indentedJoin(ys, indent) + '}';\n\t }\n\t return tag + '{ ' + $join.call(ys, ', ') + ' }';\n\t }\n\t return String(obj);\n\t};\n\n\tfunction wrapQuotes(s, defaultStyle, opts) {\n\t var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '\"' : \"'\";\n\t return quoteChar + s + quoteChar;\n\t}\n\n\tfunction quote(s) {\n\t return $replace$1.call(String(s), /\"/g, '"');\n\t}\n\n\tfunction isArray(obj) { return toStr$1(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isDate(obj) { return toStr$1(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isRegExp(obj) { return toStr$1(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isError(obj) { return toStr$1(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isString(obj) { return toStr$1(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isNumber(obj) { return toStr$1(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\tfunction isBoolean(obj) { return toStr$1(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }\n\n\t// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives\n\tfunction isSymbol(obj) {\n\t if (hasShammedSymbols) {\n\t return obj && typeof obj === 'object' && obj instanceof Symbol;\n\t }\n\t if (typeof obj === 'symbol') {\n\t return true;\n\t }\n\t if (!obj || typeof obj !== 'object' || !symToString) {\n\t return false;\n\t }\n\t try {\n\t symToString.call(obj);\n\t return true;\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isBigInt(obj) {\n\t if (!obj || typeof obj !== 'object' || !bigIntValueOf) {\n\t return false;\n\t }\n\t try {\n\t bigIntValueOf.call(obj);\n\t return true;\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tvar hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };\n\tfunction has(obj, key) {\n\t return hasOwn.call(obj, key);\n\t}\n\n\tfunction toStr$1(obj) {\n\t return objectToString.call(obj);\n\t}\n\n\tfunction nameOf(f) {\n\t if (f.name) { return f.name; }\n\t var m = $match.call(functionToString.call(f), /^function\\s*([\\w$]+)/);\n\t if (m) { return m[1]; }\n\t return null;\n\t}\n\n\tfunction indexOf(xs, x) {\n\t if (xs.indexOf) { return xs.indexOf(x); }\n\t for (var i = 0, l = xs.length; i < l; i++) {\n\t if (xs[i] === x) { return i; }\n\t }\n\t return -1;\n\t}\n\n\tfunction isMap(x) {\n\t if (!mapSize || !x || typeof x !== 'object') {\n\t return false;\n\t }\n\t try {\n\t mapSize.call(x);\n\t try {\n\t setSize.call(x);\n\t } catch (s) {\n\t return true;\n\t }\n\t return x instanceof Map; // core-js workaround, pre-v2.5.0\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isWeakMap(x) {\n\t if (!weakMapHas || !x || typeof x !== 'object') {\n\t return false;\n\t }\n\t try {\n\t weakMapHas.call(x, weakMapHas);\n\t try {\n\t weakSetHas.call(x, weakSetHas);\n\t } catch (s) {\n\t return true;\n\t }\n\t return x instanceof WeakMap; // core-js workaround, pre-v2.5.0\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isWeakRef(x) {\n\t if (!weakRefDeref || !x || typeof x !== 'object') {\n\t return false;\n\t }\n\t try {\n\t weakRefDeref.call(x);\n\t return true;\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isSet(x) {\n\t if (!setSize || !x || typeof x !== 'object') {\n\t return false;\n\t }\n\t try {\n\t setSize.call(x);\n\t try {\n\t mapSize.call(x);\n\t } catch (m) {\n\t return true;\n\t }\n\t return x instanceof Set; // core-js workaround, pre-v2.5.0\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isWeakSet(x) {\n\t if (!weakSetHas || !x || typeof x !== 'object') {\n\t return false;\n\t }\n\t try {\n\t weakSetHas.call(x, weakSetHas);\n\t try {\n\t weakMapHas.call(x, weakMapHas);\n\t } catch (s) {\n\t return true;\n\t }\n\t return x instanceof WeakSet; // core-js workaround, pre-v2.5.0\n\t } catch (e) {}\n\t return false;\n\t}\n\n\tfunction isElement(x) {\n\t if (!x || typeof x !== 'object') { return false; }\n\t if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {\n\t return true;\n\t }\n\t return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';\n\t}\n\n\tfunction inspectString(str, opts) {\n\t if (str.length > opts.maxStringLength) {\n\t var remaining = str.length - opts.maxStringLength;\n\t var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');\n\t return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;\n\t }\n\t // eslint-disable-next-line no-control-regex\n\t var s = $replace$1.call($replace$1.call(str, /(['\\\\])/g, '\\\\$1'), /[\\x00-\\x1f]/g, lowbyte);\n\t return wrapQuotes(s, 'single', opts);\n\t}\n\n\tfunction lowbyte(c) {\n\t var n = c.charCodeAt(0);\n\t var x = {\n\t 8: 'b',\n\t 9: 't',\n\t 10: 'n',\n\t 12: 'f',\n\t 13: 'r'\n\t }[n];\n\t if (x) { return '\\\\' + x; }\n\t return '\\\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));\n\t}\n\n\tfunction markBoxed(str) {\n\t return 'Object(' + str + ')';\n\t}\n\n\tfunction weakCollectionOf(type) {\n\t return type + ' { ? }';\n\t}\n\n\tfunction collectionOf(type, size, entries, indent) {\n\t var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');\n\t return type + ' (' + size + ') {' + joinedEntries + '}';\n\t}\n\n\tfunction singleLineValues(xs) {\n\t for (var i = 0; i < xs.length; i++) {\n\t if (indexOf(xs[i], '\\n') >= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t}\n\n\tfunction getIndent(opts, depth) {\n\t var baseIndent;\n\t if (opts.indent === '\\t') {\n\t baseIndent = '\\t';\n\t } else if (typeof opts.indent === 'number' && opts.indent > 0) {\n\t baseIndent = $join.call(Array(opts.indent + 1), ' ');\n\t } else {\n\t return null;\n\t }\n\t return {\n\t base: baseIndent,\n\t prev: $join.call(Array(depth + 1), baseIndent)\n\t };\n\t}\n\n\tfunction indentedJoin(xs, indent) {\n\t if (xs.length === 0) { return ''; }\n\t var lineJoiner = '\\n' + indent.prev + indent.base;\n\t return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\\n' + indent.prev;\n\t}\n\n\tfunction arrObjKeys(obj, inspect) {\n\t var isArr = isArray(obj);\n\t var xs = [];\n\t if (isArr) {\n\t xs.length = obj.length;\n\t for (var i = 0; i < obj.length; i++) {\n\t xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';\n\t }\n\t }\n\t var syms = typeof gOPS === 'function' ? gOPS(obj) : [];\n\t var symMap;\n\t if (hasShammedSymbols) {\n\t symMap = {};\n\t for (var k = 0; k < syms.length; k++) {\n\t symMap['$' + syms[k]] = syms[k];\n\t }\n\t }\n\n\t for (var key in obj) { // eslint-disable-line no-restricted-syntax\n\t if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n\t if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue\n\t if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {\n\t // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section\n\t continue; // eslint-disable-line no-restricted-syntax, no-continue\n\t } else if ($test.call(/[^\\w$]/, key)) {\n\t xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));\n\t } else {\n\t xs.push(key + ': ' + inspect(obj[key], obj));\n\t }\n\t }\n\t if (typeof gOPS === 'function') {\n\t for (var j = 0; j < syms.length; j++) {\n\t if (isEnumerable.call(obj, syms[j])) {\n\t xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));\n\t }\n\t }\n\t }\n\t return xs;\n\t}\n\n\tvar $TypeError$1 = getIntrinsic('%TypeError%');\n\tvar $WeakMap = getIntrinsic('%WeakMap%', true);\n\tvar $Map = getIntrinsic('%Map%', true);\n\n\tvar $weakMapGet = callBound('WeakMap.prototype.get', true);\n\tvar $weakMapSet = callBound('WeakMap.prototype.set', true);\n\tvar $weakMapHas = callBound('WeakMap.prototype.has', true);\n\tvar $mapGet = callBound('Map.prototype.get', true);\n\tvar $mapSet = callBound('Map.prototype.set', true);\n\tvar $mapHas = callBound('Map.prototype.has', true);\n\n\t/*\n\t * This function traverses the list returning the node corresponding to the\n\t * given key.\n\t *\n\t * That node is also moved to the head of the list, so that if it's accessed\n\t * again we don't need to traverse the whole list. By doing so, all the recently\n\t * used nodes can be accessed relatively quickly.\n\t */\n\tvar listGetNode = function (list, key) { // eslint-disable-line consistent-return\n\t\tfor (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {\n\t\t\tif (curr.key === key) {\n\t\t\t\tprev.next = curr.next;\n\t\t\t\tcurr.next = list.next;\n\t\t\t\tlist.next = curr; // eslint-disable-line no-param-reassign\n\t\t\t\treturn curr;\n\t\t\t}\n\t\t}\n\t};\n\n\tvar listGet = function (objects, key) {\n\t\tvar node = listGetNode(objects, key);\n\t\treturn node && node.value;\n\t};\n\tvar listSet = function (objects, key, value) {\n\t\tvar node = listGetNode(objects, key);\n\t\tif (node) {\n\t\t\tnode.value = value;\n\t\t} else {\n\t\t\t// Prepend the new node to the beginning of the list\n\t\t\tobjects.next = { // eslint-disable-line no-param-reassign\n\t\t\t\tkey: key,\n\t\t\t\tnext: objects.next,\n\t\t\t\tvalue: value\n\t\t\t};\n\t\t}\n\t};\n\tvar listHas = function (objects, key) {\n\t\treturn !!listGetNode(objects, key);\n\t};\n\n\tvar sideChannel = function getSideChannel() {\n\t\tvar $wm;\n\t\tvar $m;\n\t\tvar $o;\n\t\tvar channel = {\n\t\t\tassert: function (key) {\n\t\t\t\tif (!channel.has(key)) {\n\t\t\t\t\tthrow new $TypeError$1('Side channel does not contain ' + objectInspect(key));\n\t\t\t\t}\n\t\t\t},\n\t\t\tget: function (key) { // eslint-disable-line consistent-return\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapGet($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if ($Map) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $mapGet($m, key);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\t\treturn listGet($o, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\thas: function (key) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif ($wm) {\n\t\t\t\t\t\treturn $weakMapHas($wm, key);\n\t\t\t\t\t}\n\t\t\t\t} else if ($Map) {\n\t\t\t\t\tif ($m) {\n\t\t\t\t\t\treturn $mapHas($m, key);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif ($o) { // eslint-disable-line no-lonely-if\n\t\t\t\t\t\treturn listHas($o, key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tset: function (key, value) {\n\t\t\t\tif ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {\n\t\t\t\t\tif (!$wm) {\n\t\t\t\t\t\t$wm = new $WeakMap();\n\t\t\t\t\t}\n\t\t\t\t\t$weakMapSet($wm, key, value);\n\t\t\t\t} else if ($Map) {\n\t\t\t\t\tif (!$m) {\n\t\t\t\t\t\t$m = new $Map();\n\t\t\t\t\t}\n\t\t\t\t\t$mapSet($m, key, value);\n\t\t\t\t} else {\n\t\t\t\t\tif (!$o) {\n\t\t\t\t\t\t/*\n\t\t\t\t\t\t * Initialize the linked list as an empty node, so that we don't have\n\t\t\t\t\t\t * to special-case handling of the first node: we can always refer to\n\t\t\t\t\t\t * it as (previous node).next, instead of something like (list).head\n\t\t\t\t\t\t */\n\t\t\t\t\t\t$o = { key: {}, next: null };\n\t\t\t\t\t}\n\t\t\t\t\tlistSet($o, key, value);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\treturn channel;\n\t};\n\n\tvar replace = String.prototype.replace;\n\tvar percentTwenties = /%20/g;\n\n\tvar Format = {\n\t RFC1738: 'RFC1738',\n\t RFC3986: 'RFC3986'\n\t};\n\n\tvar formats = {\n\t 'default': Format.RFC3986,\n\t formatters: {\n\t RFC1738: function (value) {\n\t return replace.call(value, percentTwenties, '+');\n\t },\n\t RFC3986: function (value) {\n\t return String(value);\n\t }\n\t },\n\t RFC1738: Format.RFC1738,\n\t RFC3986: Format.RFC3986\n\t};\n\n\tvar has$1 = Object.prototype.hasOwnProperty;\n\tvar isArray$1 = Array.isArray;\n\n\tvar hexTable = (function () {\n\t var array = [];\n\t for (var i = 0; i < 256; ++i) {\n\t array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());\n\t }\n\n\t return array;\n\t}());\n\n\tvar compactQueue = function compactQueue(queue) {\n\t while (queue.length > 1) {\n\t var item = queue.pop();\n\t var obj = item.obj[item.prop];\n\n\t if (isArray$1(obj)) {\n\t var compacted = [];\n\n\t for (var j = 0; j < obj.length; ++j) {\n\t if (typeof obj[j] !== 'undefined') {\n\t compacted.push(obj[j]);\n\t }\n\t }\n\n\t item.obj[item.prop] = compacted;\n\t }\n\t }\n\t};\n\n\tvar arrayToObject = function arrayToObject(source, options) {\n\t var obj = options && options.plainObjects ? Object.create(null) : {};\n\t for (var i = 0; i < source.length; ++i) {\n\t if (typeof source[i] !== 'undefined') {\n\t obj[i] = source[i];\n\t }\n\t }\n\n\t return obj;\n\t};\n\n\tvar merge = function merge(target, source, options) {\n\t /* eslint no-param-reassign: 0 */\n\t if (!source) {\n\t return target;\n\t }\n\n\t if (typeof source !== 'object') {\n\t if (isArray$1(target)) {\n\t target.push(source);\n\t } else if (target && typeof target === 'object') {\n\t if ((options && (options.plainObjects || options.allowPrototypes)) || !has$1.call(Object.prototype, source)) {\n\t target[source] = true;\n\t }\n\t } else {\n\t return [target, source];\n\t }\n\n\t return target;\n\t }\n\n\t if (!target || typeof target !== 'object') {\n\t return [target].concat(source);\n\t }\n\n\t var mergeTarget = target;\n\t if (isArray$1(target) && !isArray$1(source)) {\n\t mergeTarget = arrayToObject(target, options);\n\t }\n\n\t if (isArray$1(target) && isArray$1(source)) {\n\t source.forEach(function (item, i) {\n\t if (has$1.call(target, i)) {\n\t var targetItem = target[i];\n\t if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {\n\t target[i] = merge(targetItem, item, options);\n\t } else {\n\t target.push(item);\n\t }\n\t } else {\n\t target[i] = item;\n\t }\n\t });\n\t return target;\n\t }\n\n\t return Object.keys(source).reduce(function (acc, key) {\n\t var value = source[key];\n\n\t if (has$1.call(acc, key)) {\n\t acc[key] = merge(acc[key], value, options);\n\t } else {\n\t acc[key] = value;\n\t }\n\t return acc;\n\t }, mergeTarget);\n\t};\n\n\tvar assign = function assignSingleSource(target, source) {\n\t return Object.keys(source).reduce(function (acc, key) {\n\t acc[key] = source[key];\n\t return acc;\n\t }, target);\n\t};\n\n\tvar decode = function (str, decoder, charset) {\n\t var strWithoutPlus = str.replace(/\\+/g, ' ');\n\t if (charset === 'iso-8859-1') {\n\t // unescape never throws, no try...catch needed:\n\t return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);\n\t }\n\t // utf-8\n\t try {\n\t return decodeURIComponent(strWithoutPlus);\n\t } catch (e) {\n\t return strWithoutPlus;\n\t }\n\t};\n\n\tvar encode = function encode(str, defaultEncoder, charset, kind, format) {\n\t // This code was originally written by Brian White (mscdex) for the io.js core querystring library.\n\t // It has been adapted here for stricter adherence to RFC 3986\n\t if (str.length === 0) {\n\t return str;\n\t }\n\n\t var string = str;\n\t if (typeof str === 'symbol') {\n\t string = Symbol.prototype.toString.call(str);\n\t } else if (typeof str !== 'string') {\n\t string = String(str);\n\t }\n\n\t if (charset === 'iso-8859-1') {\n\t return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {\n\t return '%26%23' + parseInt($0.slice(2), 16) + '%3B';\n\t });\n\t }\n\n\t var out = '';\n\t for (var i = 0; i < string.length; ++i) {\n\t var c = string.charCodeAt(i);\n\n\t if (\n\t c === 0x2D // -\n\t || c === 0x2E // .\n\t || c === 0x5F // _\n\t || c === 0x7E // ~\n\t || (c >= 0x30 && c <= 0x39) // 0-9\n\t || (c >= 0x41 && c <= 0x5A) // a-z\n\t || (c >= 0x61 && c <= 0x7A) // A-Z\n\t || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )\n\t ) {\n\t out += string.charAt(i);\n\t continue;\n\t }\n\n\t if (c < 0x80) {\n\t out = out + hexTable[c];\n\t continue;\n\t }\n\n\t if (c < 0x800) {\n\t out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);\n\t continue;\n\t }\n\n\t if (c < 0xD800 || c >= 0xE000) {\n\t out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);\n\t continue;\n\t }\n\n\t i += 1;\n\t c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));\n\t /* eslint operator-linebreak: [2, \"before\"] */\n\t out += hexTable[0xF0 | (c >> 18)]\n\t + hexTable[0x80 | ((c >> 12) & 0x3F)]\n\t + hexTable[0x80 | ((c >> 6) & 0x3F)]\n\t + hexTable[0x80 | (c & 0x3F)];\n\t }\n\n\t return out;\n\t};\n\n\tvar compact = function compact(value) {\n\t var queue = [{ obj: { o: value }, prop: 'o' }];\n\t var refs = [];\n\n\t for (var i = 0; i < queue.length; ++i) {\n\t var item = queue[i];\n\t var obj = item.obj[item.prop];\n\n\t var keys = Object.keys(obj);\n\t for (var j = 0; j < keys.length; ++j) {\n\t var key = keys[j];\n\t var val = obj[key];\n\t if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {\n\t queue.push({ obj: obj, prop: key });\n\t refs.push(val);\n\t }\n\t }\n\t }\n\n\t compactQueue(queue);\n\n\t return value;\n\t};\n\n\tvar isRegExp$1 = function isRegExp(obj) {\n\t return Object.prototype.toString.call(obj) === '[object RegExp]';\n\t};\n\n\tvar isBuffer = function isBuffer(obj) {\n\t if (!obj || typeof obj !== 'object') {\n\t return false;\n\t }\n\n\t return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));\n\t};\n\n\tvar combine = function combine(a, b) {\n\t return [].concat(a, b);\n\t};\n\n\tvar maybeMap = function maybeMap(val, fn) {\n\t if (isArray$1(val)) {\n\t var mapped = [];\n\t for (var i = 0; i < val.length; i += 1) {\n\t mapped.push(fn(val[i]));\n\t }\n\t return mapped;\n\t }\n\t return fn(val);\n\t};\n\n\tvar utils = {\n\t arrayToObject: arrayToObject,\n\t assign: assign,\n\t combine: combine,\n\t compact: compact,\n\t decode: decode,\n\t encode: encode,\n\t isBuffer: isBuffer,\n\t isRegExp: isRegExp$1,\n\t maybeMap: maybeMap,\n\t merge: merge\n\t};\n\n\tvar has$2 = Object.prototype.hasOwnProperty;\n\n\tvar arrayPrefixGenerators = {\n\t brackets: function brackets(prefix) {\n\t return prefix + '[]';\n\t },\n\t comma: 'comma',\n\t indices: function indices(prefix, key) {\n\t return prefix + '[' + key + ']';\n\t },\n\t repeat: function repeat(prefix) {\n\t return prefix;\n\t }\n\t};\n\n\tvar isArray$2 = Array.isArray;\n\tvar push = Array.prototype.push;\n\tvar pushToArray = function (arr, valueOrArray) {\n\t push.apply(arr, isArray$2(valueOrArray) ? valueOrArray : [valueOrArray]);\n\t};\n\n\tvar toISO = Date.prototype.toISOString;\n\n\tvar defaultFormat = formats['default'];\n\tvar defaults = {\n\t addQueryPrefix: false,\n\t allowDots: false,\n\t charset: 'utf-8',\n\t charsetSentinel: false,\n\t delimiter: '&',\n\t encode: true,\n\t encoder: utils.encode,\n\t encodeValuesOnly: false,\n\t format: defaultFormat,\n\t formatter: formats.formatters[defaultFormat],\n\t // deprecated\n\t indices: false,\n\t serializeDate: function serializeDate(date) {\n\t return toISO.call(date);\n\t },\n\t skipNulls: false,\n\t strictNullHandling: false\n\t};\n\n\tvar isNonNullishPrimitive = function isNonNullishPrimitive(v) {\n\t return typeof v === 'string'\n\t || typeof v === 'number'\n\t || typeof v === 'boolean'\n\t || typeof v === 'symbol'\n\t || typeof v === 'bigint';\n\t};\n\n\tvar sentinel = {};\n\n\tvar stringify = function stringify(\n\t object,\n\t prefix,\n\t generateArrayPrefix,\n\t commaRoundTrip,\n\t strictNullHandling,\n\t skipNulls,\n\t encoder,\n\t filter,\n\t sort,\n\t allowDots,\n\t serializeDate,\n\t format,\n\t formatter,\n\t encodeValuesOnly,\n\t charset,\n\t sideChannel$1\n\t) {\n\t var obj = object;\n\n\t var tmpSc = sideChannel$1;\n\t var step = 0;\n\t var findFlag = false;\n\t while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {\n\t // Where object last appeared in the ref tree\n\t var pos = tmpSc.get(object);\n\t step += 1;\n\t if (typeof pos !== 'undefined') {\n\t if (pos === step) {\n\t throw new RangeError('Cyclic object value');\n\t } else {\n\t findFlag = true; // Break while\n\t }\n\t }\n\t if (typeof tmpSc.get(sentinel) === 'undefined') {\n\t step = 0;\n\t }\n\t }\n\n\t if (typeof filter === 'function') {\n\t obj = filter(prefix, obj);\n\t } else if (obj instanceof Date) {\n\t obj = serializeDate(obj);\n\t } else if (generateArrayPrefix === 'comma' && isArray$2(obj)) {\n\t obj = utils.maybeMap(obj, function (value) {\n\t if (value instanceof Date) {\n\t return serializeDate(value);\n\t }\n\t return value;\n\t });\n\t }\n\n\t if (obj === null) {\n\t if (strictNullHandling) {\n\t return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;\n\t }\n\n\t obj = '';\n\t }\n\n\t if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {\n\t if (encoder) {\n\t var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);\n\t return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];\n\t }\n\t return [formatter(prefix) + '=' + formatter(String(obj))];\n\t }\n\n\t var values = [];\n\n\t if (typeof obj === 'undefined') {\n\t return values;\n\t }\n\n\t var objKeys;\n\t if (generateArrayPrefix === 'comma' && isArray$2(obj)) {\n\t // we need to join elements in\n\t if (encodeValuesOnly && encoder) {\n\t obj = utils.maybeMap(obj, encoder);\n\t }\n\t objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];\n\t } else if (isArray$2(filter)) {\n\t objKeys = filter;\n\t } else {\n\t var keys = Object.keys(obj);\n\t objKeys = sort ? keys.sort(sort) : keys;\n\t }\n\n\t var adjustedPrefix = commaRoundTrip && isArray$2(obj) && obj.length === 1 ? prefix + '[]' : prefix;\n\n\t for (var j = 0; j < objKeys.length; ++j) {\n\t var key = objKeys[j];\n\t var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];\n\n\t if (skipNulls && value === null) {\n\t continue;\n\t }\n\n\t var keyPrefix = isArray$2(obj)\n\t ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix\n\t : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');\n\n\t sideChannel$1.set(object, step);\n\t var valueSideChannel = sideChannel();\n\t valueSideChannel.set(sentinel, sideChannel$1);\n\t pushToArray(values, stringify(\n\t value,\n\t keyPrefix,\n\t generateArrayPrefix,\n\t commaRoundTrip,\n\t strictNullHandling,\n\t skipNulls,\n\t generateArrayPrefix === 'comma' && encodeValuesOnly && isArray$2(obj) ? null : encoder,\n\t filter,\n\t sort,\n\t allowDots,\n\t serializeDate,\n\t format,\n\t formatter,\n\t encodeValuesOnly,\n\t charset,\n\t valueSideChannel\n\t ));\n\t }\n\n\t return values;\n\t};\n\n\tvar normalizeStringifyOptions = function normalizeStringifyOptions(opts) {\n\t if (!opts) {\n\t return defaults;\n\t }\n\n\t if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {\n\t throw new TypeError('Encoder has to be a function.');\n\t }\n\n\t var charset = opts.charset || defaults.charset;\n\t if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n\t throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n\t }\n\n\t var format = formats['default'];\n\t if (typeof opts.format !== 'undefined') {\n\t if (!has$2.call(formats.formatters, opts.format)) {\n\t throw new TypeError('Unknown format option provided.');\n\t }\n\t format = opts.format;\n\t }\n\t var formatter = formats.formatters[format];\n\n\t var filter = defaults.filter;\n\t if (typeof opts.filter === 'function' || isArray$2(opts.filter)) {\n\t filter = opts.filter;\n\t }\n\n\t return {\n\t addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,\n\t allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,\n\t charset: charset,\n\t charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,\n\t delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,\n\t encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,\n\t encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,\n\t encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,\n\t filter: filter,\n\t format: format,\n\t formatter: formatter,\n\t serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,\n\t skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,\n\t sort: typeof opts.sort === 'function' ? opts.sort : null,\n\t strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling\n\t };\n\t};\n\n\tvar stringify_1 = function (object, opts) {\n\t var obj = object;\n\t var options = normalizeStringifyOptions(opts);\n\n\t var objKeys;\n\t var filter;\n\n\t if (typeof options.filter === 'function') {\n\t filter = options.filter;\n\t obj = filter('', obj);\n\t } else if (isArray$2(options.filter)) {\n\t filter = options.filter;\n\t objKeys = filter;\n\t }\n\n\t var keys = [];\n\n\t if (typeof obj !== 'object' || obj === null) {\n\t return '';\n\t }\n\n\t var arrayFormat;\n\t if (opts && opts.arrayFormat in arrayPrefixGenerators) {\n\t arrayFormat = opts.arrayFormat;\n\t } else if (opts && 'indices' in opts) {\n\t arrayFormat = opts.indices ? 'indices' : 'repeat';\n\t } else {\n\t arrayFormat = 'indices';\n\t }\n\n\t var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];\n\t if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {\n\t throw new TypeError('`commaRoundTrip` must be a boolean, or absent');\n\t }\n\t var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;\n\n\t if (!objKeys) {\n\t objKeys = Object.keys(obj);\n\t }\n\n\t if (options.sort) {\n\t objKeys.sort(options.sort);\n\t }\n\n\t var sideChannel$1 = sideChannel();\n\t for (var i = 0; i < objKeys.length; ++i) {\n\t var key = objKeys[i];\n\n\t if (options.skipNulls && obj[key] === null) {\n\t continue;\n\t }\n\t pushToArray(keys, stringify(\n\t obj[key],\n\t key,\n\t generateArrayPrefix,\n\t commaRoundTrip,\n\t options.strictNullHandling,\n\t options.skipNulls,\n\t options.encode ? options.encoder : null,\n\t options.filter,\n\t options.sort,\n\t options.allowDots,\n\t options.serializeDate,\n\t options.format,\n\t options.formatter,\n\t options.encodeValuesOnly,\n\t options.charset,\n\t sideChannel$1\n\t ));\n\t }\n\n\t var joined = keys.join(options.delimiter);\n\t var prefix = options.addQueryPrefix === true ? '?' : '';\n\n\t if (options.charsetSentinel) {\n\t if (options.charset === 'iso-8859-1') {\n\t // encodeURIComponent('✓'), the \"numeric entity\" representation of a checkmark\n\t prefix += 'utf8=%26%2310003%3B&';\n\t } else {\n\t // encodeURIComponent('✓')\n\t prefix += 'utf8=%E2%9C%93&';\n\t }\n\t }\n\n\t return joined.length > 0 ? prefix + joined : '';\n\t};\n\n\tvar has$3 = Object.prototype.hasOwnProperty;\n\tvar isArray$3 = Array.isArray;\n\n\tvar defaults$1 = {\n\t allowDots: false,\n\t allowPrototypes: false,\n\t allowSparse: false,\n\t arrayLimit: 20,\n\t charset: 'utf-8',\n\t charsetSentinel: false,\n\t comma: false,\n\t decoder: utils.decode,\n\t delimiter: '&',\n\t depth: 5,\n\t ignoreQueryPrefix: false,\n\t interpretNumericEntities: false,\n\t parameterLimit: 1000,\n\t parseArrays: true,\n\t plainObjects: false,\n\t strictNullHandling: false\n\t};\n\n\tvar interpretNumericEntities = function (str) {\n\t return str.replace(/&#(\\d+);/g, function ($0, numberStr) {\n\t return String.fromCharCode(parseInt(numberStr, 10));\n\t });\n\t};\n\n\tvar parseArrayValue = function (val, options) {\n\t if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {\n\t return val.split(',');\n\t }\n\n\t return val;\n\t};\n\n\t// This is what browsers will submit when the ✓ character occurs in an\n\t// application/x-www-form-urlencoded body and the encoding of the page containing\n\t// the form is iso-8859-1, or when the submitted form has an accept-charset\n\t// attribute of iso-8859-1. Presumably also with other charsets that do not contain\n\t// the ✓ character, such as us-ascii.\n\tvar isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')\n\n\t// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.\n\tvar charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')\n\n\tvar parseValues = function parseQueryStringValues(str, options) {\n\t var obj = { __proto__: null };\n\n\t var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\\?/, '') : str;\n\t var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;\n\t var parts = cleanStr.split(options.delimiter, limit);\n\t var skipIndex = -1; // Keep track of where the utf8 sentinel was found\n\t var i;\n\n\t var charset = options.charset;\n\t if (options.charsetSentinel) {\n\t for (i = 0; i < parts.length; ++i) {\n\t if (parts[i].indexOf('utf8=') === 0) {\n\t if (parts[i] === charsetSentinel) {\n\t charset = 'utf-8';\n\t } else if (parts[i] === isoSentinel) {\n\t charset = 'iso-8859-1';\n\t }\n\t skipIndex = i;\n\t i = parts.length; // The eslint settings do not allow break;\n\t }\n\t }\n\t }\n\n\t for (i = 0; i < parts.length; ++i) {\n\t if (i === skipIndex) {\n\t continue;\n\t }\n\t var part = parts[i];\n\n\t var bracketEqualsPos = part.indexOf(']=');\n\t var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;\n\n\t var key, val;\n\t if (pos === -1) {\n\t key = options.decoder(part, defaults$1.decoder, charset, 'key');\n\t val = options.strictNullHandling ? null : '';\n\t } else {\n\t key = options.decoder(part.slice(0, pos), defaults$1.decoder, charset, 'key');\n\t val = utils.maybeMap(\n\t parseArrayValue(part.slice(pos + 1), options),\n\t function (encodedVal) {\n\t return options.decoder(encodedVal, defaults$1.decoder, charset, 'value');\n\t }\n\t );\n\t }\n\n\t if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {\n\t val = interpretNumericEntities(val);\n\t }\n\n\t if (part.indexOf('[]=') > -1) {\n\t val = isArray$3(val) ? [val] : val;\n\t }\n\n\t if (has$3.call(obj, key)) {\n\t obj[key] = utils.combine(obj[key], val);\n\t } else {\n\t obj[key] = val;\n\t }\n\t }\n\n\t return obj;\n\t};\n\n\tvar parseObject = function (chain, val, options, valuesParsed) {\n\t var leaf = valuesParsed ? val : parseArrayValue(val, options);\n\n\t for (var i = chain.length - 1; i >= 0; --i) {\n\t var obj;\n\t var root = chain[i];\n\n\t if (root === '[]' && options.parseArrays) {\n\t obj = [].concat(leaf);\n\t } else {\n\t obj = options.plainObjects ? Object.create(null) : {};\n\t var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;\n\t var index = parseInt(cleanRoot, 10);\n\t if (!options.parseArrays && cleanRoot === '') {\n\t obj = { 0: leaf };\n\t } else if (\n\t !isNaN(index)\n\t && root !== cleanRoot\n\t && String(index) === cleanRoot\n\t && index >= 0\n\t && (options.parseArrays && index <= options.arrayLimit)\n\t ) {\n\t obj = [];\n\t obj[index] = leaf;\n\t } else if (cleanRoot !== '__proto__') {\n\t obj[cleanRoot] = leaf;\n\t }\n\t }\n\n\t leaf = obj;\n\t }\n\n\t return leaf;\n\t};\n\n\tvar parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {\n\t if (!givenKey) {\n\t return;\n\t }\n\n\t // Transform dot notation to bracket notation\n\t var key = options.allowDots ? givenKey.replace(/\\.([^.[]+)/g, '[$1]') : givenKey;\n\n\t // The regex chunks\n\n\t var brackets = /(\\[[^[\\]]*])/;\n\t var child = /(\\[[^[\\]]*])/g;\n\n\t // Get the parent\n\n\t var segment = options.depth > 0 && brackets.exec(key);\n\t var parent = segment ? key.slice(0, segment.index) : key;\n\n\t // Stash the parent if it exists\n\n\t var keys = [];\n\t if (parent) {\n\t // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties\n\t if (!options.plainObjects && has$3.call(Object.prototype, parent)) {\n\t if (!options.allowPrototypes) {\n\t return;\n\t }\n\t }\n\n\t keys.push(parent);\n\t }\n\n\t // Loop through children appending to the array until we hit depth\n\n\t var i = 0;\n\t while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {\n\t i += 1;\n\t if (!options.plainObjects && has$3.call(Object.prototype, segment[1].slice(1, -1))) {\n\t if (!options.allowPrototypes) {\n\t return;\n\t }\n\t }\n\t keys.push(segment[1]);\n\t }\n\n\t // If there's a remainder, just add whatever is left\n\n\t if (segment) {\n\t keys.push('[' + key.slice(segment.index) + ']');\n\t }\n\n\t return parseObject(keys, val, options, valuesParsed);\n\t};\n\n\tvar normalizeParseOptions = function normalizeParseOptions(opts) {\n\t if (!opts) {\n\t return defaults$1;\n\t }\n\n\t if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {\n\t throw new TypeError('Decoder has to be a function.');\n\t }\n\n\t if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {\n\t throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');\n\t }\n\t var charset = typeof opts.charset === 'undefined' ? defaults$1.charset : opts.charset;\n\n\t return {\n\t allowDots: typeof opts.allowDots === 'undefined' ? defaults$1.allowDots : !!opts.allowDots,\n\t allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults$1.allowPrototypes,\n\t allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults$1.allowSparse,\n\t arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults$1.arrayLimit,\n\t charset: charset,\n\t charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults$1.charsetSentinel,\n\t comma: typeof opts.comma === 'boolean' ? opts.comma : defaults$1.comma,\n\t decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults$1.decoder,\n\t delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults$1.delimiter,\n\t // eslint-disable-next-line no-implicit-coercion, no-extra-parens\n\t depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults$1.depth,\n\t ignoreQueryPrefix: opts.ignoreQueryPrefix === true,\n\t interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults$1.interpretNumericEntities,\n\t parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults$1.parameterLimit,\n\t parseArrays: opts.parseArrays !== false,\n\t plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults$1.plainObjects,\n\t strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults$1.strictNullHandling\n\t };\n\t};\n\n\tvar parse = function (str, opts) {\n\t var options = normalizeParseOptions(opts);\n\n\t if (str === '' || str === null || typeof str === 'undefined') {\n\t return options.plainObjects ? Object.create(null) : {};\n\t }\n\n\t var tempObj = typeof str === 'string' ? parseValues(str, options) : str;\n\t var obj = options.plainObjects ? Object.create(null) : {};\n\n\t // Iterate over the keys and setup the new object\n\n\t var keys = Object.keys(tempObj);\n\t for (var i = 0; i < keys.length; ++i) {\n\t var key = keys[i];\n\t var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');\n\t obj = utils.merge(obj, newObj, options);\n\t }\n\n\t if (options.allowSparse === true) {\n\t return obj;\n\t }\n\n\t return utils.compact(obj);\n\t};\n\n\tvar lib = {\n\t formats: formats,\n\t parse: parse,\n\t stringify: stringify_1\n\t};\n\n\tvar componentEmitter = createCommonjsModule(function (module) {\n\t/**\r\n\t * Expose `Emitter`.\r\n\t */\r\n\r\n\t{\r\n\t module.exports = Emitter;\r\n\t}\r\n\r\n\t/**\r\n\t * Initialize a new `Emitter`.\r\n\t *\r\n\t * @api public\r\n\t */\r\n\r\n\tfunction Emitter(obj) {\r\n\t if (obj) return mixin(obj);\r\n\t}\r\n\t/**\r\n\t * Mixin the emitter properties.\r\n\t *\r\n\t * @param {Object} obj\r\n\t * @return {Object}\r\n\t * @api private\r\n\t */\r\n\r\n\tfunction mixin(obj) {\r\n\t for (var key in Emitter.prototype) {\r\n\t obj[key] = Emitter.prototype[key];\r\n\t }\r\n\t return obj;\r\n\t}\r\n\r\n\t/**\r\n\t * Listen on the given `event` with `fn`.\r\n\t *\r\n\t * @param {String} event\r\n\t * @param {Function} fn\r\n\t * @return {Emitter}\r\n\t * @api public\r\n\t */\r\n\r\n\tEmitter.prototype.on =\r\n\tEmitter.prototype.addEventListener = function(event, fn){\r\n\t this._callbacks = this._callbacks || {};\r\n\t (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\r\n\t .push(fn);\r\n\t return this;\r\n\t};\r\n\r\n\t/**\r\n\t * Adds an `event` listener that will be invoked a single\r\n\t * time then automatically removed.\r\n\t *\r\n\t * @param {String} event\r\n\t * @param {Function} fn\r\n\t * @return {Emitter}\r\n\t * @api public\r\n\t */\r\n\r\n\tEmitter.prototype.once = function(event, fn){\r\n\t function on() {\r\n\t this.off(event, on);\r\n\t fn.apply(this, arguments);\r\n\t }\r\n\r\n\t on.fn = fn;\r\n\t this.on(event, on);\r\n\t return this;\r\n\t};\r\n\r\n\t/**\r\n\t * Remove the given callback for `event` or all\r\n\t * registered callbacks.\r\n\t *\r\n\t * @param {String} event\r\n\t * @param {Function} fn\r\n\t * @return {Emitter}\r\n\t * @api public\r\n\t */\r\n\r\n\tEmitter.prototype.off =\r\n\tEmitter.prototype.removeListener =\r\n\tEmitter.prototype.removeAllListeners =\r\n\tEmitter.prototype.removeEventListener = function(event, fn){\r\n\t this._callbacks = this._callbacks || {};\r\n\r\n\t // all\r\n\t if (0 == arguments.length) {\r\n\t this._callbacks = {};\r\n\t return this;\r\n\t }\r\n\r\n\t // specific event\r\n\t var callbacks = this._callbacks['$' + event];\r\n\t if (!callbacks) return this;\r\n\r\n\t // remove all handlers\r\n\t if (1 == arguments.length) {\r\n\t delete this._callbacks['$' + event];\r\n\t return this;\r\n\t }\r\n\r\n\t // remove specific handler\r\n\t var cb;\r\n\t for (var i = 0; i < callbacks.length; i++) {\r\n\t cb = callbacks[i];\r\n\t if (cb === fn || cb.fn === fn) {\r\n\t callbacks.splice(i, 1);\r\n\t break;\r\n\t }\r\n\t }\r\n\r\n\t // Remove event specific arrays for event types that no\r\n\t // one is subscribed for to avoid memory leak.\r\n\t if (callbacks.length === 0) {\r\n\t delete this._callbacks['$' + event];\r\n\t }\r\n\r\n\t return this;\r\n\t};\r\n\r\n\t/**\r\n\t * Emit `event` with the given args.\r\n\t *\r\n\t * @param {String} event\r\n\t * @param {Mixed} ...\r\n\t * @return {Emitter}\r\n\t */\r\n\r\n\tEmitter.prototype.emit = function(event){\r\n\t this._callbacks = this._callbacks || {};\r\n\r\n\t var args = new Array(arguments.length - 1)\r\n\t , callbacks = this._callbacks['$' + event];\r\n\r\n\t for (var i = 1; i < arguments.length; i++) {\r\n\t args[i - 1] = arguments[i];\r\n\t }\r\n\r\n\t if (callbacks) {\r\n\t callbacks = callbacks.slice(0);\r\n\t for (var i = 0, len = callbacks.length; i < len; ++i) {\r\n\t callbacks[i].apply(this, args);\r\n\t }\r\n\t }\r\n\r\n\t return this;\r\n\t};\r\n\r\n\t/**\r\n\t * Return array of callbacks for `event`.\r\n\t *\r\n\t * @param {String} event\r\n\t * @return {Array}\r\n\t * @api public\r\n\t */\r\n\r\n\tEmitter.prototype.listeners = function(event){\r\n\t this._callbacks = this._callbacks || {};\r\n\t return this._callbacks['$' + event] || [];\r\n\t};\r\n\r\n\t/**\r\n\t * Check if this emitter has `event` handlers.\r\n\t *\r\n\t * @param {String} event\r\n\t * @return {Boolean}\r\n\t * @api public\r\n\t */\r\n\r\n\tEmitter.prototype.hasListeners = function(event){\r\n\t return !! this.listeners(event).length;\r\n\t};\n\t});\n\n\tvar fastSafeStringify = stringify$1;\n\tstringify$1.default = stringify$1;\n\tstringify$1.stable = deterministicStringify;\n\tstringify$1.stableStringify = deterministicStringify;\n\n\tvar LIMIT_REPLACE_NODE = '[...]';\n\tvar CIRCULAR_REPLACE_NODE = '[Circular]';\n\n\tvar arr = [];\n\tvar replacerStack = [];\n\n\tfunction defaultOptions () {\n\t return {\n\t depthLimit: Number.MAX_SAFE_INTEGER,\n\t edgesLimit: Number.MAX_SAFE_INTEGER\n\t }\n\t}\n\n\t// Regular stringify\n\tfunction stringify$1 (obj, replacer, spacer, options) {\n\t if (typeof options === 'undefined') {\n\t options = defaultOptions();\n\t }\n\n\t decirc(obj, '', 0, [], undefined, 0, options);\n\t var res;\n\t try {\n\t if (replacerStack.length === 0) {\n\t res = JSON.stringify(obj, replacer, spacer);\n\t } else {\n\t res = JSON.stringify(obj, replaceGetterValues(replacer), spacer);\n\t }\n\t } catch (_) {\n\t return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]')\n\t } finally {\n\t while (arr.length !== 0) {\n\t var part = arr.pop();\n\t if (part.length === 4) {\n\t Object.defineProperty(part[0], part[1], part[3]);\n\t } else {\n\t part[0][part[1]] = part[2];\n\t }\n\t }\n\t }\n\t return res\n\t}\n\n\tfunction setReplace (replace, val, k, parent) {\n\t var propertyDescriptor = Object.getOwnPropertyDescriptor(parent, k);\n\t if (propertyDescriptor.get !== undefined) {\n\t if (propertyDescriptor.configurable) {\n\t Object.defineProperty(parent, k, { value: replace });\n\t arr.push([parent, k, val, propertyDescriptor]);\n\t } else {\n\t replacerStack.push([val, k, replace]);\n\t }\n\t } else {\n\t parent[k] = replace;\n\t arr.push([parent, k, val]);\n\t }\n\t}\n\n\tfunction decirc (val, k, edgeIndex, stack, parent, depth, options) {\n\t depth += 1;\n\t var i;\n\t if (typeof val === 'object' && val !== null) {\n\t for (i = 0; i < stack.length; i++) {\n\t if (stack[i] === val) {\n\t setReplace(CIRCULAR_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\t }\n\n\t if (\n\t typeof options.depthLimit !== 'undefined' &&\n\t depth > options.depthLimit\n\t ) {\n\t setReplace(LIMIT_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\n\t if (\n\t typeof options.edgesLimit !== 'undefined' &&\n\t edgeIndex + 1 > options.edgesLimit\n\t ) {\n\t setReplace(LIMIT_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\n\t stack.push(val);\n\t // Optimize for Arrays. Big arrays could kill the performance otherwise!\n\t if (Array.isArray(val)) {\n\t for (i = 0; i < val.length; i++) {\n\t decirc(val[i], i, i, stack, val, depth, options);\n\t }\n\t } else {\n\t var keys = Object.keys(val);\n\t for (i = 0; i < keys.length; i++) {\n\t var key = keys[i];\n\t decirc(val[key], key, i, stack, val, depth, options);\n\t }\n\t }\n\t stack.pop();\n\t }\n\t}\n\n\t// Stable-stringify\n\tfunction compareFunction (a, b) {\n\t if (a < b) {\n\t return -1\n\t }\n\t if (a > b) {\n\t return 1\n\t }\n\t return 0\n\t}\n\n\tfunction deterministicStringify (obj, replacer, spacer, options) {\n\t if (typeof options === 'undefined') {\n\t options = defaultOptions();\n\t }\n\n\t var tmp = deterministicDecirc(obj, '', 0, [], undefined, 0, options) || obj;\n\t var res;\n\t try {\n\t if (replacerStack.length === 0) {\n\t res = JSON.stringify(tmp, replacer, spacer);\n\t } else {\n\t res = JSON.stringify(tmp, replaceGetterValues(replacer), spacer);\n\t }\n\t } catch (_) {\n\t return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]')\n\t } finally {\n\t // Ensure that we restore the object as it was.\n\t while (arr.length !== 0) {\n\t var part = arr.pop();\n\t if (part.length === 4) {\n\t Object.defineProperty(part[0], part[1], part[3]);\n\t } else {\n\t part[0][part[1]] = part[2];\n\t }\n\t }\n\t }\n\t return res\n\t}\n\n\tfunction deterministicDecirc (val, k, edgeIndex, stack, parent, depth, options) {\n\t depth += 1;\n\t var i;\n\t if (typeof val === 'object' && val !== null) {\n\t for (i = 0; i < stack.length; i++) {\n\t if (stack[i] === val) {\n\t setReplace(CIRCULAR_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\t }\n\t try {\n\t if (typeof val.toJSON === 'function') {\n\t return\n\t }\n\t } catch (_) {\n\t return\n\t }\n\n\t if (\n\t typeof options.depthLimit !== 'undefined' &&\n\t depth > options.depthLimit\n\t ) {\n\t setReplace(LIMIT_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\n\t if (\n\t typeof options.edgesLimit !== 'undefined' &&\n\t edgeIndex + 1 > options.edgesLimit\n\t ) {\n\t setReplace(LIMIT_REPLACE_NODE, val, k, parent);\n\t return\n\t }\n\n\t stack.push(val);\n\t // Optimize for Arrays. Big arrays could kill the performance otherwise!\n\t if (Array.isArray(val)) {\n\t for (i = 0; i < val.length; i++) {\n\t deterministicDecirc(val[i], i, i, stack, val, depth, options);\n\t }\n\t } else {\n\t // Create a temporary object in the required way\n\t var tmp = {};\n\t var keys = Object.keys(val).sort(compareFunction);\n\t for (i = 0; i < keys.length; i++) {\n\t var key = keys[i];\n\t deterministicDecirc(val[key], key, i, stack, val, depth, options);\n\t tmp[key] = val[key];\n\t }\n\t if (typeof parent !== 'undefined') {\n\t arr.push([parent, k, val]);\n\t parent[k] = tmp;\n\t } else {\n\t return tmp\n\t }\n\t }\n\t stack.pop();\n\t }\n\t}\n\n\t// wraps replacer function to handle values we couldn't replace\n\t// and mark them as replaced value\n\tfunction replaceGetterValues (replacer) {\n\t replacer =\n\t typeof replacer !== 'undefined'\n\t ? replacer\n\t : function (k, v) {\n\t return v\n\t };\n\t return function (key, val) {\n\t if (replacerStack.length > 0) {\n\t for (var i = 0; i < replacerStack.length; i++) {\n\t var part = replacerStack[i];\n\t if (part[1] === key && part[0] === val) {\n\t val = part[2];\n\t replacerStack.splice(i, 1);\n\t break\n\t }\n\t }\n\t }\n\t return replacer.call(this, key, val)\n\t }\n\t}\n\n\tvar utils$1 = createCommonjsModule(function (module, exports) {\n\n\tfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n\tfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\n\tfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\n\tfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\t/**\n\t * Return the mime type for the given `str`.\n\t *\n\t * @param {String} str\n\t * @return {String}\n\t * @api private\n\t */\n\texports.type = function (string_) {\n\t return string_.split(/ *; */).shift();\n\t};\n\t/**\n\t * Return header field parameters.\n\t *\n\t * @param {String} str\n\t * @return {Object}\n\t * @api private\n\t */\n\n\n\texports.params = function (value) {\n\t var object = {};\n\n\t var _iterator = _createForOfIteratorHelper(value.split(/ *; */)),\n\t _step;\n\n\t try {\n\t for (_iterator.s(); !(_step = _iterator.n()).done;) {\n\t var string_ = _step.value;\n\t var parts = string_.split(/ *= */);\n\t var key = parts.shift();\n\n\t var _value = parts.shift();\n\n\t if (key && _value) object[key] = _value;\n\t }\n\t } catch (err) {\n\t _iterator.e(err);\n\t } finally {\n\t _iterator.f();\n\t }\n\n\t return object;\n\t};\n\t/**\n\t * Parse Link header fields.\n\t *\n\t * @param {String} str\n\t * @return {Object}\n\t * @api private\n\t */\n\n\n\texports.parseLinks = function (value) {\n\t var object = {};\n\n\t var _iterator2 = _createForOfIteratorHelper(value.split(/ *, */)),\n\t _step2;\n\n\t try {\n\t for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n\t var string_ = _step2.value;\n\t var parts = string_.split(/ *; */);\n\t var url = parts[0].slice(1, -1);\n\t var rel = parts[1].split(/ *= */)[1].slice(1, -1);\n\t object[rel] = url;\n\t }\n\t } catch (err) {\n\t _iterator2.e(err);\n\t } finally {\n\t _iterator2.f();\n\t }\n\n\t return object;\n\t};\n\t/**\n\t * Strip content related fields from `header`.\n\t *\n\t * @param {Object} header\n\t * @return {Object} header\n\t * @api private\n\t */\n\n\n\texports.cleanHeader = function (header, changesOrigin) {\n\t delete header['content-type'];\n\t delete header['content-length'];\n\t delete header['transfer-encoding'];\n\t delete header.host; // secuirty\n\n\t if (changesOrigin) {\n\t delete header.authorization;\n\t delete header.cookie;\n\t }\n\n\t return header;\n\t};\n\t/**\n\t * Check if `obj` is an object.\n\t *\n\t * @param {Object} object\n\t * @return {Boolean}\n\t * @api private\n\t */\n\n\n\texports.isObject = function (object) {\n\t return object !== null && _typeof(object) === 'object';\n\t};\n\t/**\n\t * Object.hasOwn fallback/polyfill.\n\t *\n\t * @type {(object: object, property: string) => boolean} object\n\t * @api private\n\t */\n\n\n\texports.hasOwn = Object.hasOwn || function (object, property) {\n\t if (object == null) {\n\t throw new TypeError('Cannot convert undefined or null to object');\n\t }\n\n\t return Object.prototype.hasOwnProperty.call(new Object(object), property);\n\t};\n\n\texports.mixin = function (target, source) {\n\t for (var key in source) {\n\t if (exports.hasOwn(source, key)) {\n\t target[key] = source[key];\n\t }\n\t }\n\t};\n\n\t});\n\tvar utils_1 = utils$1.type;\n\tvar utils_2 = utils$1.params;\n\tvar utils_3 = utils$1.parseLinks;\n\tvar utils_4 = utils$1.cleanHeader;\n\tvar utils_5 = utils$1.isObject;\n\tvar utils_6 = utils$1.hasOwn;\n\tvar utils_7 = utils$1.mixin;\n\n\tfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n\n\t/**\n\t * Module of mixed-in functions shared between node and client code\n\t */\n\n\n\tvar isObject = utils$1.isObject,\n\t hasOwn$1 = utils$1.hasOwn;\n\t/**\n\t * Expose `RequestBase`.\n\t */\n\n\n\tvar requestBase = RequestBase;\n\t/**\n\t * Initialize a new `RequestBase`.\n\t *\n\t * @api public\n\t */\n\n\tfunction RequestBase() {}\n\t/**\n\t * Clear previous timeout.\n\t *\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.clearTimeout = function () {\n\t clearTimeout(this._timer);\n\t clearTimeout(this._responseTimeoutTimer);\n\t clearTimeout(this._uploadTimeoutTimer);\n\t delete this._timer;\n\t delete this._responseTimeoutTimer;\n\t delete this._uploadTimeoutTimer;\n\t return this;\n\t};\n\t/**\n\t * Override default response body parser\n\t *\n\t * This function will be called to convert incoming data into request.body\n\t *\n\t * @param {Function}\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.parse = function (fn) {\n\t this._parser = fn;\n\t return this;\n\t};\n\t/**\n\t * Set format of binary response body.\n\t * In browser valid formats are 'blob' and 'arraybuffer',\n\t * which return Blob and ArrayBuffer, respectively.\n\t *\n\t * In Node all values result in Buffer.\n\t *\n\t * Examples:\n\t *\n\t * req.get('/')\n\t * .responseType('blob')\n\t * .end(callback);\n\t *\n\t * @param {String} val\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.responseType = function (value) {\n\t this._responseType = value;\n\t return this;\n\t};\n\t/**\n\t * Override default request body serializer\n\t *\n\t * This function will be called to convert data set via .send or .attach into payload to send\n\t *\n\t * @param {Function}\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.serialize = function (fn) {\n\t this._serializer = fn;\n\t return this;\n\t};\n\t/**\n\t * Set timeouts.\n\t *\n\t * - response timeout is time between sending request and receiving the first byte of the response. Includes DNS and connection time.\n\t * - deadline is the time from start of the request to receiving response body in full. If the deadline is too short large files may not load at all on slow connections.\n\t * - upload is the time since last bit of data was sent or received. This timeout works only if deadline timeout is off\n\t *\n\t * Value of 0 or false means no timeout.\n\t *\n\t * @param {Number|Object} ms or {response, deadline}\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.timeout = function (options) {\n\t if (!options || _typeof(options) !== 'object') {\n\t this._timeout = options;\n\t this._responseTimeout = 0;\n\t this._uploadTimeout = 0;\n\t return this;\n\t }\n\n\t for (var option in options) {\n\t if (hasOwn$1(options, option)) {\n\t switch (option) {\n\t case 'deadline':\n\t this._timeout = options.deadline;\n\t break;\n\n\t case 'response':\n\t this._responseTimeout = options.response;\n\t break;\n\n\t case 'upload':\n\t this._uploadTimeout = options.upload;\n\t break;\n\n\t default:\n\t console.warn('Unknown timeout option', option);\n\t }\n\t }\n\t }\n\n\t return this;\n\t};\n\t/**\n\t * Set number of retry attempts on error.\n\t *\n\t * Failed requests will be retried 'count' times if timeout or err.code >= 500.\n\t *\n\t * @param {Number} count\n\t * @param {Function} [fn]\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.retry = function (count, fn) {\n\t // Default to 1 if no count passed or true\n\t if (arguments.length === 0 || count === true) count = 1;\n\t if (count <= 0) count = 0;\n\t this._maxRetries = count;\n\t this._retries = 0;\n\t this._retryCallback = fn;\n\t return this;\n\t}; //\n\t// NOTE: we do not include ESOCKETTIMEDOUT because that is from `request` package\n\t// \n\t//\n\t// NOTE: we do not include EADDRINFO because it was removed from libuv in 2014\n\t// \n\t// \n\t//\n\t//\n\t// TODO: expose these as configurable defaults\n\t//\n\n\n\tvar ERROR_CODES = new Set(['ETIMEDOUT', 'ECONNRESET', 'EADDRINUSE', 'ECONNREFUSED', 'EPIPE', 'ENOTFOUND', 'ENETUNREACH', 'EAI_AGAIN']);\n\tvar STATUS_CODES = new Set([408, 413, 429, 500, 502, 503, 504, 521, 522, 524]); // TODO: we would need to make this easily configurable before adding it in (e.g. some might want to add POST)\n\t// const METHODS = new Set(['GET', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'TRACE']);\n\n\t/**\n\t * Determine if a request should be retried.\n\t * (Inspired by https://github.com/sindresorhus/got#retry)\n\t *\n\t * @param {Error} err an error\n\t * @param {Response} [res] response\n\t * @returns {Boolean} if segment should be retried\n\t */\n\n\tRequestBase.prototype._shouldRetry = function (error, res) {\n\t if (!this._maxRetries || this._retries++ >= this._maxRetries) {\n\t return false;\n\t }\n\n\t if (this._retryCallback) {\n\t try {\n\t var override = this._retryCallback(error, res);\n\n\t if (override === true) return true;\n\t if (override === false) return false; // undefined falls back to defaults\n\t } catch (err) {\n\t console.error(err);\n\t }\n\t } // TODO: we would need to make this easily configurable before adding it in (e.g. some might want to add POST)\n\n\t /*\n\t if (\n\t this.req &&\n\t this.req.method &&\n\t !METHODS.has(this.req.method.toUpperCase())\n\t )\n\t return false;\n\t */\n\n\n\t if (res && res.status && STATUS_CODES.has(res.status)) return true;\n\n\t if (error) {\n\t if (error.code && ERROR_CODES.has(error.code)) return true; // Superagent timeout\n\n\t if (error.timeout && error.code === 'ECONNABORTED') return true;\n\t if (error.crossDomain) return true;\n\t }\n\n\t return false;\n\t};\n\t/**\n\t * Retry request\n\t *\n\t * @return {Request} for chaining\n\t * @api private\n\t */\n\n\n\tRequestBase.prototype._retry = function () {\n\t this.clearTimeout(); // node\n\n\t if (this.req) {\n\t this.req = null;\n\t this.req = this.request();\n\t }\n\n\t this._aborted = false;\n\t this.timedout = false;\n\t this.timedoutError = null;\n\t return this._end();\n\t};\n\t/**\n\t * Promise support\n\t *\n\t * @param {Function} resolve\n\t * @param {Function} [reject]\n\t * @return {Request}\n\t */\n\n\n\tRequestBase.prototype.then = function (resolve, reject) {\n\t var _this = this;\n\n\t if (!this._fullfilledPromise) {\n\t var self = this;\n\n\t if (this._endCalled) {\n\t console.warn('Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises');\n\t }\n\n\t this._fullfilledPromise = new Promise(function (resolve, reject) {\n\t self.on('abort', function () {\n\t if (_this._maxRetries && _this._maxRetries > _this._retries) {\n\t return;\n\t }\n\n\t if (_this.timedout && _this.timedoutError) {\n\t reject(_this.timedoutError);\n\t return;\n\t }\n\n\t var error = new Error('Aborted');\n\t error.code = 'ABORTED';\n\t error.status = _this.status;\n\t error.method = _this.method;\n\t error.url = _this.url;\n\t reject(error);\n\t });\n\t self.end(function (error, res) {\n\t if (error) reject(error);else resolve(res);\n\t });\n\t });\n\t }\n\n\t return this._fullfilledPromise.then(resolve, reject);\n\t};\n\n\tRequestBase.prototype.catch = function (callback) {\n\t return this.then(undefined, callback);\n\t};\n\t/**\n\t * Allow for extension\n\t */\n\n\n\tRequestBase.prototype.use = function (fn) {\n\t fn(this);\n\t return this;\n\t};\n\n\tRequestBase.prototype.ok = function (callback) {\n\t if (typeof callback !== 'function') throw new Error('Callback required');\n\t this._okCallback = callback;\n\t return this;\n\t};\n\n\tRequestBase.prototype._isResponseOK = function (res) {\n\t if (!res) {\n\t return false;\n\t }\n\n\t if (this._okCallback) {\n\t return this._okCallback(res);\n\t }\n\n\t return res.status >= 200 && res.status < 300;\n\t};\n\t/**\n\t * Get request header `field`.\n\t * Case-insensitive.\n\t *\n\t * @param {String} field\n\t * @return {String}\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.get = function (field) {\n\t return this._header[field.toLowerCase()];\n\t};\n\t/**\n\t * Get case-insensitive header `field` value.\n\t * This is a deprecated internal API. Use `.get(field)` instead.\n\t *\n\t * (getHeader is no longer used internally by the superagent code base)\n\t *\n\t * @param {String} field\n\t * @return {String}\n\t * @api private\n\t * @deprecated\n\t */\n\n\n\tRequestBase.prototype.getHeader = RequestBase.prototype.get;\n\t/**\n\t * Set header `field` to `val`, or multiple fields with one object.\n\t * Case-insensitive.\n\t *\n\t * Examples:\n\t *\n\t * req.get('/')\n\t * .set('Accept', 'application/json')\n\t * .set('X-API-Key', 'foobar')\n\t * .end(callback);\n\t *\n\t * req.get('/')\n\t * .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })\n\t * .end(callback);\n\t *\n\t * @param {String|Object} field\n\t * @param {String} val\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\tRequestBase.prototype.set = function (field, value) {\n\t if (isObject(field)) {\n\t for (var key in field) {\n\t if (hasOwn$1(field, key)) this.set(key, field[key]);\n\t }\n\n\t return this;\n\t }\n\n\t this._header[field.toLowerCase()] = value;\n\t this.header[field] = value;\n\t return this;\n\t};\n\t/**\n\t * Remove header `field`.\n\t * Case-insensitive.\n\t *\n\t * Example:\n\t *\n\t * req.get('/')\n\t * .unset('User-Agent')\n\t * .end(callback);\n\t *\n\t * @param {String} field field name\n\t */\n\n\n\tRequestBase.prototype.unset = function (field) {\n\t delete this._header[field.toLowerCase()];\n\t delete this.header[field];\n\t return this;\n\t};\n\t/**\n\t * Write the field `name` and `val`, or multiple fields with one object\n\t * for \"multipart/form-data\" request bodies.\n\t *\n\t * ``` js\n\t * request.post('/upload')\n\t * .field('foo', 'bar')\n\t * .end(callback);\n\t *\n\t * request.post('/upload')\n\t * .field({ foo: 'bar', baz: 'qux' })\n\t * .end(callback);\n\t * ```\n\t *\n\t * @param {String|Object} name name of field\n\t * @param {String|Blob|File|Buffer|fs.ReadStream} val value of field\n\t * @param {String} options extra options, e.g. 'blob'\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.field = function (name, value, options) {\n\t // name should be either a string or an object.\n\t if (name === null || undefined === name) {\n\t throw new Error('.field(name, val) name can not be empty');\n\t }\n\n\t if (this._data) {\n\t throw new Error(\".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()\");\n\t }\n\n\t if (isObject(name)) {\n\t for (var key in name) {\n\t if (hasOwn$1(name, key)) this.field(key, name[key]);\n\t }\n\n\t return this;\n\t }\n\n\t if (Array.isArray(value)) {\n\t for (var i in value) {\n\t if (hasOwn$1(value, i)) this.field(name, value[i]);\n\t }\n\n\t return this;\n\t } // val should be defined now\n\n\n\t if (value === null || undefined === value) {\n\t throw new Error('.field(name, val) val can not be empty');\n\t }\n\n\t if (typeof value === 'boolean') {\n\t value = String(value);\n\t } //fix https://github.com/visionmedia/superagent/issues/1680\n\n\n\t if (options) this._getFormData().append(name, value, options);else this._getFormData().append(name, value);\n\t return this;\n\t};\n\t/**\n\t * Abort the request, and clear potential timeout.\n\t *\n\t * @return {Request} request\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.abort = function () {\n\t if (this._aborted) {\n\t return this;\n\t }\n\n\t this._aborted = true;\n\t if (this.xhr) this.xhr.abort(); // browser\n\n\t if (this.req) {\n\t // Node v13 has major differences in `abort()`\n\t // https://github.com/nodejs/node/blob/v12.x/lib/internal/streams/end-of-stream.js\n\t // https://github.com/nodejs/node/blob/v13.x/lib/internal/streams/end-of-stream.js\n\t // https://github.com/nodejs/node/blob/v14.x/lib/internal/streams/end-of-stream.js\n\t // (if you run a diff across these you will see the differences)\n\t //\n\t // References:\n\t // \n\t // \n\t //\n\t // Thanks to @shadowgate15 and @niftylettuce\n\t if (semver.gte(process.version, 'v13.0.0') && semver.lt(process.version, 'v14.0.0')) {\n\t // Note that the reason this doesn't work is because in v13 as compared to v14\n\t // there is no `callback = nop` set in end-of-stream.js above\n\t throw new Error('Superagent does not work in v13 properly with abort() due to Node.js core changes');\n\t } else if (semver.gte(process.version, 'v14.0.0')) {\n\t // We have to manually set `destroyed` to `true` in order for this to work\n\t // (see core internals of end-of-stream.js above in v14 branch as compared to v12)\n\t this.req.destroyed = true;\n\t }\n\n\t this.req.abort(); // node\n\t }\n\n\t this.clearTimeout();\n\t this.emit('abort');\n\t return this;\n\t};\n\n\tRequestBase.prototype._auth = function (user, pass, options, base64Encoder) {\n\t switch (options.type) {\n\t case 'basic':\n\t this.set('Authorization', \"Basic \".concat(base64Encoder(\"\".concat(user, \":\").concat(pass))));\n\t break;\n\n\t case 'auto':\n\t this.username = user;\n\t this.password = pass;\n\t break;\n\n\t case 'bearer':\n\t // usage would be .auth(accessToken, { type: 'bearer' })\n\t this.set('Authorization', \"Bearer \".concat(user));\n\t break;\n\t }\n\n\t return this;\n\t};\n\t/**\n\t * Enable transmission of cookies with x-domain requests.\n\t *\n\t * Note that for this to work the origin must not be\n\t * using \"Access-Control-Allow-Origin\" with a wildcard,\n\t * and also must set \"Access-Control-Allow-Credentials\"\n\t * to \"true\".\n\t *\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.withCredentials = function (on) {\n\t // This is browser-only functionality. Node side is no-op.\n\t if (on === undefined) on = true;\n\t this._withCredentials = on;\n\t return this;\n\t};\n\t/**\n\t * Set the max redirects to `n`. Does nothing in browser XHR implementation.\n\t *\n\t * @param {Number} n\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.redirects = function (n) {\n\t this._maxRedirects = n;\n\t return this;\n\t};\n\t/**\n\t * Maximum size of buffered response body, in bytes. Counts uncompressed size.\n\t * Default 200MB.\n\t *\n\t * @param {Number} n number of bytes\n\t * @return {Request} for chaining\n\t */\n\n\n\tRequestBase.prototype.maxResponseSize = function (n) {\n\t if (typeof n !== 'number') {\n\t throw new TypeError('Invalid argument');\n\t }\n\n\t this._maxResponseSize = n;\n\t return this;\n\t};\n\t/**\n\t * Convert to a plain javascript object (not JSON string) of scalar properties.\n\t * Note as this method is designed to return a useful non-this value,\n\t * it cannot be chained.\n\t *\n\t * @return {Object} describing method, url, and data of this request\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.toJSON = function () {\n\t return {\n\t method: this.method,\n\t url: this.url,\n\t data: this._data,\n\t headers: this._header\n\t };\n\t};\n\t/**\n\t * Send `data` as the request body, defaulting the `.type()` to \"json\" when\n\t * an object is given.\n\t *\n\t * Examples:\n\t *\n\t * // manual json\n\t * request.post('/user')\n\t * .type('json')\n\t * .send('{\"name\":\"tj\"}')\n\t * .end(callback)\n\t *\n\t * // auto json\n\t * request.post('/user')\n\t * .send({ name: 'tj' })\n\t * .end(callback)\n\t *\n\t * // manual x-www-form-urlencoded\n\t * request.post('/user')\n\t * .type('form')\n\t * .send('name=tj')\n\t * .end(callback)\n\t *\n\t * // auto x-www-form-urlencoded\n\t * request.post('/user')\n\t * .type('form')\n\t * .send({ name: 'tj' })\n\t * .end(callback)\n\t *\n\t * // defaults to x-www-form-urlencoded\n\t * request.post('/user')\n\t * .send('name=tobi')\n\t * .send('species=ferret')\n\t * .end(callback)\n\t *\n\t * @param {String|Object} data\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\t// eslint-disable-next-line complexity\n\n\n\tRequestBase.prototype.send = function (data) {\n\t var isObject_ = isObject(data);\n\t var type = this._header['content-type'];\n\n\t if (this._formData) {\n\t throw new Error(\".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()\");\n\t }\n\n\t if (isObject_ && !this._data) {\n\t if (Array.isArray(data)) {\n\t this._data = [];\n\t } else if (!this._isHost(data)) {\n\t this._data = {};\n\t }\n\t } else if (data && this._data && this._isHost(this._data)) {\n\t throw new Error(\"Can't merge these send calls\");\n\t } // merge\n\n\n\t if (isObject_ && isObject(this._data)) {\n\t for (var key in data) {\n\t if (hasOwn$1(data, key)) this._data[key] = data[key];\n\t }\n\t } else if (typeof data === 'string') {\n\t // default to x-www-form-urlencoded\n\t if (!type) this.type('form');\n\t type = this._header['content-type'];\n\t if (type) type = type.toLowerCase().trim();\n\n\t if (type === 'application/x-www-form-urlencoded') {\n\t this._data = this._data ? \"\".concat(this._data, \"&\").concat(data) : data;\n\t } else {\n\t this._data = (this._data || '') + data;\n\t }\n\t } else {\n\t this._data = data;\n\t }\n\n\t if (!isObject_ || this._isHost(data)) {\n\t return this;\n\t } // default to json\n\n\n\t if (!type) this.type('json');\n\t return this;\n\t};\n\t/**\n\t * Sort `querystring` by the sort function\n\t *\n\t *\n\t * Examples:\n\t *\n\t * // default order\n\t * request.get('/user')\n\t * .query('name=Nick')\n\t * .query('search=Manny')\n\t * .sortQuery()\n\t * .end(callback)\n\t *\n\t * // customized sort function\n\t * request.get('/user')\n\t * .query('name=Nick')\n\t * .query('search=Manny')\n\t * .sortQuery(function(a, b){\n\t * return a.length - b.length;\n\t * })\n\t * .end(callback)\n\t *\n\t *\n\t * @param {Function} sort\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequestBase.prototype.sortQuery = function (sort) {\n\t // _sort default to true but otherwise can be a function or boolean\n\t this._sort = typeof sort === 'undefined' ? true : sort;\n\t return this;\n\t};\n\t/**\n\t * Compose querystring to append to req.url\n\t *\n\t * @api private\n\t */\n\n\n\tRequestBase.prototype._finalizeQueryString = function () {\n\t var query = this._query.join('&');\n\n\t if (query) {\n\t this.url += (this.url.includes('?') ? '&' : '?') + query;\n\t }\n\n\t this._query.length = 0; // Makes the call idempotent\n\n\t if (this._sort) {\n\t var index = this.url.indexOf('?');\n\n\t if (index >= 0) {\n\t var queryArray = this.url.slice(index + 1).split('&');\n\n\t if (typeof this._sort === 'function') {\n\t queryArray.sort(this._sort);\n\t } else {\n\t queryArray.sort();\n\t }\n\n\t this.url = this.url.slice(0, index) + '?' + queryArray.join('&');\n\t }\n\t }\n\t}; // For backwards compat only\n\n\n\tRequestBase.prototype._appendQueryString = function () {\n\t console.warn('Unsupported');\n\t};\n\t/**\n\t * Invoke callback with timeout error.\n\t *\n\t * @api private\n\t */\n\n\n\tRequestBase.prototype._timeoutError = function (reason, timeout, errno) {\n\t if (this._aborted) {\n\t return;\n\t }\n\n\t var error = new Error(\"\".concat(reason + timeout, \"ms exceeded\"));\n\t error.timeout = timeout;\n\t error.code = 'ECONNABORTED';\n\t error.errno = errno;\n\t this.timedout = true;\n\t this.timedoutError = error;\n\t this.abort();\n\t this.callback(error);\n\t};\n\n\tRequestBase.prototype._setTimeouts = function () {\n\t var self = this; // deadline\n\n\t if (this._timeout && !this._timer) {\n\t this._timer = setTimeout(function () {\n\t self._timeoutError('Timeout of ', self._timeout, 'ETIME');\n\t }, this._timeout);\n\t } // response timeout\n\n\n\t if (this._responseTimeout && !this._responseTimeoutTimer) {\n\t this._responseTimeoutTimer = setTimeout(function () {\n\t self._timeoutError('Response timeout of ', self._responseTimeout, 'ETIMEDOUT');\n\t }, this._responseTimeout);\n\t }\n\t};\n\n\t/**\n\t * Module dependencies.\n\t */\n\n\t/**\n\t * Expose `ResponseBase`.\n\t */\n\n\n\tvar responseBase = ResponseBase;\n\t/**\n\t * Initialize a new `ResponseBase`.\n\t *\n\t * @api public\n\t */\n\n\tfunction ResponseBase() {}\n\t/**\n\t * Get case-insensitive `field` value.\n\t *\n\t * @param {String} field\n\t * @return {String}\n\t * @api public\n\t */\n\n\n\tResponseBase.prototype.get = function (field) {\n\t return this.header[field.toLowerCase()];\n\t};\n\t/**\n\t * Set header related properties:\n\t *\n\t * - `.type` the content type without params\n\t *\n\t * A response of \"Content-Type: text/plain; charset=utf-8\"\n\t * will provide you with a `.type` of \"text/plain\".\n\t *\n\t * @param {Object} header\n\t * @api private\n\t */\n\n\n\tResponseBase.prototype._setHeaderProperties = function (header) {\n\t // TODO: moar!\n\t // TODO: make this a util\n\t // content-type\n\t var ct = header['content-type'] || '';\n\t this.type = utils$1.type(ct); // params\n\n\t var parameters = utils$1.params(ct);\n\n\t for (var key in parameters) {\n\t if (Object.prototype.hasOwnProperty.call(parameters, key)) this[key] = parameters[key];\n\t }\n\n\t this.links = {}; // links\n\n\t try {\n\t if (header.link) {\n\t this.links = utils$1.parseLinks(header.link);\n\t }\n\t } catch (_unused) {// ignore\n\t }\n\t};\n\t/**\n\t * Set flags such as `.ok` based on `status`.\n\t *\n\t * For example a 2xx response will give you a `.ok` of __true__\n\t * whereas 5xx will be __false__ and `.error` will be __true__. The\n\t * `.clientError` and `.serverError` are also available to be more\n\t * specific, and `.statusType` is the class of error ranging from 1..5\n\t * sometimes useful for mapping respond colors etc.\n\t *\n\t * \"sugar\" properties are also defined for common cases. Currently providing:\n\t *\n\t * - .noContent\n\t * - .badRequest\n\t * - .unauthorized\n\t * - .notAcceptable\n\t * - .notFound\n\t *\n\t * @param {Number} status\n\t * @api private\n\t */\n\n\n\tResponseBase.prototype._setStatusProperties = function (status) {\n\t var type = Math.trunc(status / 100); // status / class\n\n\t this.statusCode = status;\n\t this.status = this.statusCode;\n\t this.statusType = type; // basics\n\n\t this.info = type === 1;\n\t this.ok = type === 2;\n\t this.redirect = type === 3;\n\t this.clientError = type === 4;\n\t this.serverError = type === 5;\n\t this.error = type === 4 || type === 5 ? this.toError() : false; // sugar\n\n\t this.created = status === 201;\n\t this.accepted = status === 202;\n\t this.noContent = status === 204;\n\t this.badRequest = status === 400;\n\t this.unauthorized = status === 401;\n\t this.notAcceptable = status === 406;\n\t this.forbidden = status === 403;\n\t this.notFound = status === 404;\n\t this.unprocessableEntity = status === 422;\n\t};\n\n\tfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\n\tfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\n\tfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter); }\n\n\tfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\n\tfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\n\tfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\n\tfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\tfunction Agent() {\n\t this._defaults = [];\n\t}\n\n\tvar _loop = function _loop() {\n\t var fn = _arr[_i];\n\n\t // Default setting for all requests from this agent\n\t Agent.prototype[fn] = function () {\n\t for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n\t args[_key] = arguments[_key];\n\t }\n\n\t this._defaults.push({\n\t fn: fn,\n\t args: args\n\t });\n\n\t return this;\n\t };\n\t};\n\n\tfor (var _i = 0, _arr = ['use', 'on', 'once', 'set', 'query', 'type', 'accept', 'auth', 'withCredentials', 'sortQuery', 'retry', 'ok', 'redirects', 'timeout', 'buffer', 'serialize', 'parse', 'ca', 'key', 'pfx', 'cert', 'disableTLSCerts']; _i < _arr.length; _i++) {\n\t _loop();\n\t}\n\n\tAgent.prototype._setDefaults = function (request) {\n\t var _iterator = _createForOfIteratorHelper(this._defaults),\n\t _step;\n\n\t try {\n\t for (_iterator.s(); !(_step = _iterator.n()).done;) {\n\t var def = _step.value;\n\t request[def.fn].apply(request, _toConsumableArray(def.args));\n\t }\n\t } catch (err) {\n\t _iterator.e(err);\n\t } finally {\n\t _iterator.f();\n\t }\n\t};\n\n\tvar agentBase = Agent;\n\n\tvar client = createCommonjsModule(function (module, exports) {\n\n\tfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n\tfunction _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== \"undefined\" && o[Symbol.iterator] || o[\"@@iterator\"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === \"number\") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }\n\n\tfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\n\tfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\n\t/**\n\t * Root reference for iframes.\n\t */\n\tvar root;\n\n\tif (typeof window !== 'undefined') {\n\t // Browser window\n\t root = window;\n\t} else if (typeof self === 'undefined') {\n\t // Other environments\n\t console.warn('Using browser-only version of superagent in non-browser environment');\n\t root = void 0;\n\t} else {\n\t // Web Worker\n\t root = self;\n\t}\n\n\n\n\n\n\n\n\n\n\tvar isObject = utils$1.isObject,\n\t mixin = utils$1.mixin,\n\t hasOwn = utils$1.hasOwn;\n\n\n\n\n\t/**\n\t * Noop.\n\t */\n\n\n\tfunction noop() {}\n\t/**\n\t * Expose `request`.\n\t */\n\n\n\tmodule.exports = function (method, url) {\n\t // callback\n\t if (typeof url === 'function') {\n\t return new exports.Request('GET', method).end(url);\n\t } // url first\n\n\n\t if (arguments.length === 1) {\n\t return new exports.Request('GET', method);\n\t }\n\n\t return new exports.Request(method, url);\n\t};\n\n\texports = module.exports;\n\tvar request = exports;\n\texports.Request = Request;\n\t/**\n\t * Determine XHR.\n\t */\n\n\trequest.getXHR = function () {\n\t if (root.XMLHttpRequest && (!root.location || root.location.protocol !== 'file:' || !root.ActiveXObject)) {\n\t return new XMLHttpRequest();\n\t }\n\n\t try {\n\t return new ActiveXObject('Microsoft.XMLHTTP');\n\t } catch (_unused) {\n\t /**/\n\t }\n\n\t try {\n\t return new ActiveXObject('Msxml2.XMLHTTP.6.0');\n\t } catch (_unused2) {\n\t /**/\n\t }\n\n\t try {\n\t return new ActiveXObject('Msxml2.XMLHTTP.3.0');\n\t } catch (_unused3) {\n\t /**/\n\t }\n\n\t try {\n\t return new ActiveXObject('Msxml2.XMLHTTP');\n\t } catch (_unused4) {\n\t /**/\n\t }\n\n\t throw new Error('Browser-only version of superagent could not find XHR');\n\t};\n\t/**\n\t * Removes leading and trailing whitespace, added to support IE.\n\t *\n\t * @param {String} s\n\t * @return {String}\n\t * @api private\n\t */\n\n\n\tvar trim = ''.trim ? function (s) {\n\t return s.trim();\n\t} : function (s) {\n\t return s.replace(/(^\\s*|\\s*$)/g, '');\n\t};\n\t/**\n\t * Serialize the given `obj`.\n\t *\n\t * @param {Object} obj\n\t * @return {String}\n\t * @api private\n\t */\n\n\tfunction serialize(object) {\n\t if (!isObject(object)) return object;\n\t var pairs = [];\n\n\t for (var key in object) {\n\t if (hasOwn(object, key)) pushEncodedKeyValuePair(pairs, key, object[key]);\n\t }\n\n\t return pairs.join('&');\n\t}\n\t/**\n\t * Helps 'serialize' with serializing arrays.\n\t * Mutates the pairs array.\n\t *\n\t * @param {Array} pairs\n\t * @param {String} key\n\t * @param {Mixed} val\n\t */\n\n\n\tfunction pushEncodedKeyValuePair(pairs, key, value) {\n\t if (value === undefined) return;\n\n\t if (value === null) {\n\t pairs.push(encodeURI(key));\n\t return;\n\t }\n\n\t if (Array.isArray(value)) {\n\t var _iterator = _createForOfIteratorHelper(value),\n\t _step;\n\n\t try {\n\t for (_iterator.s(); !(_step = _iterator.n()).done;) {\n\t var v = _step.value;\n\t pushEncodedKeyValuePair(pairs, key, v);\n\t }\n\t } catch (err) {\n\t _iterator.e(err);\n\t } finally {\n\t _iterator.f();\n\t }\n\t } else if (isObject(value)) {\n\t for (var subkey in value) {\n\t if (hasOwn(value, subkey)) pushEncodedKeyValuePair(pairs, \"\".concat(key, \"[\").concat(subkey, \"]\"), value[subkey]);\n\t }\n\t } else {\n\t pairs.push(encodeURI(key) + '=' + encodeURIComponent(value));\n\t }\n\t}\n\t/**\n\t * Expose serialization method.\n\t */\n\n\n\trequest.serializeObject = serialize;\n\t/**\n\t * Parse the given x-www-form-urlencoded `str`.\n\t *\n\t * @param {String} str\n\t * @return {Object}\n\t * @api private\n\t */\n\n\tfunction parseString(string_) {\n\t var object = {};\n\t var pairs = string_.split('&');\n\t var pair;\n\t var pos;\n\n\t for (var i = 0, length_ = pairs.length; i < length_; ++i) {\n\t pair = pairs[i];\n\t pos = pair.indexOf('=');\n\n\t if (pos === -1) {\n\t object[decodeURIComponent(pair)] = '';\n\t } else {\n\t object[decodeURIComponent(pair.slice(0, pos))] = decodeURIComponent(pair.slice(pos + 1));\n\t }\n\t }\n\n\t return object;\n\t}\n\t/**\n\t * Expose parser.\n\t */\n\n\n\trequest.parseString = parseString;\n\t/**\n\t * Default MIME type map.\n\t *\n\t * superagent.types.xml = 'application/xml';\n\t *\n\t */\n\n\trequest.types = {\n\t html: 'text/html',\n\t json: 'application/json',\n\t xml: 'text/xml',\n\t urlencoded: 'application/x-www-form-urlencoded',\n\t form: 'application/x-www-form-urlencoded',\n\t 'form-data': 'application/x-www-form-urlencoded'\n\t};\n\t/**\n\t * Default serialization map.\n\t *\n\t * superagent.serialize['application/xml'] = function(obj){\n\t * return 'generated xml here';\n\t * };\n\t *\n\t */\n\n\trequest.serialize = {\n\t 'application/x-www-form-urlencoded': lib.stringify,\n\t 'application/json': fastSafeStringify\n\t};\n\t/**\n\t * Default parsers.\n\t *\n\t * superagent.parse['application/xml'] = function(str){\n\t * return { object parsed from str };\n\t * };\n\t *\n\t */\n\n\trequest.parse = {\n\t 'application/x-www-form-urlencoded': parseString,\n\t 'application/json': JSON.parse\n\t};\n\t/**\n\t * Parse the given header `str` into\n\t * an object containing the mapped fields.\n\t *\n\t * @param {String} str\n\t * @return {Object}\n\t * @api private\n\t */\n\n\tfunction parseHeader(string_) {\n\t var lines = string_.split(/\\r?\\n/);\n\t var fields = {};\n\t var index;\n\t var line;\n\t var field;\n\t var value;\n\n\t for (var i = 0, length_ = lines.length; i < length_; ++i) {\n\t line = lines[i];\n\t index = line.indexOf(':');\n\n\t if (index === -1) {\n\t // could be empty line, just skip it\n\t continue;\n\t }\n\n\t field = line.slice(0, index).toLowerCase();\n\t value = trim(line.slice(index + 1));\n\t fields[field] = value;\n\t }\n\n\t return fields;\n\t}\n\t/**\n\t * Check if `mime` is json or has +json structured syntax suffix.\n\t *\n\t * @param {String} mime\n\t * @return {Boolean}\n\t * @api private\n\t */\n\n\n\tfunction isJSON(mime) {\n\t // should match /json or +json\n\t // but not /json-seq\n\t return /[/+]json($|[^-\\w])/i.test(mime);\n\t}\n\t/**\n\t * Initialize a new `Response` with the given `xhr`.\n\t *\n\t * - set flags (.ok, .error, etc)\n\t * - parse header\n\t *\n\t * Examples:\n\t *\n\t * Aliasing `superagent` as `request` is nice:\n\t *\n\t * request = superagent;\n\t *\n\t * We can use the promise-like API, or pass callbacks:\n\t *\n\t * request.get('/').end(function(res){});\n\t * request.get('/', function(res){});\n\t *\n\t * Sending data can be chained:\n\t *\n\t * request\n\t * .post('/user')\n\t * .send({ name: 'tj' })\n\t * .end(function(res){});\n\t *\n\t * Or passed to `.send()`:\n\t *\n\t * request\n\t * .post('/user')\n\t * .send({ name: 'tj' }, function(res){});\n\t *\n\t * Or passed to `.post()`:\n\t *\n\t * request\n\t * .post('/user', { name: 'tj' })\n\t * .end(function(res){});\n\t *\n\t * Or further reduced to a single call for simple cases:\n\t *\n\t * request\n\t * .post('/user', { name: 'tj' }, function(res){});\n\t *\n\t * @param {XMLHTTPRequest} xhr\n\t * @param {Object} options\n\t * @api private\n\t */\n\n\n\tfunction Response(request_) {\n\t this.req = request_;\n\t this.xhr = this.req.xhr; // responseText is accessible only if responseType is '' or 'text' and on older browsers\n\n\t this.text = this.req.method !== 'HEAD' && (this.xhr.responseType === '' || this.xhr.responseType === 'text') || typeof this.xhr.responseType === 'undefined' ? this.xhr.responseText : null;\n\t this.statusText = this.req.xhr.statusText;\n\t var status = this.xhr.status; // handle IE9 bug: http://stackoverflow.com/questions/10046972/msie-returns-status-code-of-1223-for-ajax-request\n\n\t if (status === 1223) {\n\t status = 204;\n\t }\n\n\t this._setStatusProperties(status);\n\n\t this.headers = parseHeader(this.xhr.getAllResponseHeaders());\n\t this.header = this.headers; // getAllResponseHeaders sometimes falsely returns \"\" for CORS requests, but\n\t // getResponseHeader still works. so we get content-type even if getting\n\t // other headers fails.\n\n\t this.header['content-type'] = this.xhr.getResponseHeader('content-type');\n\n\t this._setHeaderProperties(this.header);\n\n\t if (this.text === null && request_._responseType) {\n\t this.body = this.xhr.response;\n\t } else {\n\t this.body = this.req.method === 'HEAD' ? null : this._parseBody(this.text ? this.text : this.xhr.response);\n\t }\n\t}\n\n\tmixin(Response.prototype, responseBase.prototype);\n\t/**\n\t * Parse the given body `str`.\n\t *\n\t * Used for auto-parsing of bodies. Parsers\n\t * are defined on the `superagent.parse` object.\n\t *\n\t * @param {String} str\n\t * @return {Mixed}\n\t * @api private\n\t */\n\n\tResponse.prototype._parseBody = function (string_) {\n\t var parse = request.parse[this.type];\n\n\t if (this.req._parser) {\n\t return this.req._parser(this, string_);\n\t }\n\n\t if (!parse && isJSON(this.type)) {\n\t parse = request.parse['application/json'];\n\t }\n\n\t return parse && string_ && (string_.length > 0 || string_ instanceof Object) ? parse(string_) : null;\n\t};\n\t/**\n\t * Return an `Error` representative of this response.\n\t *\n\t * @return {Error}\n\t * @api public\n\t */\n\n\n\tResponse.prototype.toError = function () {\n\t var req = this.req;\n\t var method = req.method;\n\t var url = req.url;\n\t var message = \"cannot \".concat(method, \" \").concat(url, \" (\").concat(this.status, \")\");\n\t var error = new Error(message);\n\t error.status = this.status;\n\t error.method = method;\n\t error.url = url;\n\t return error;\n\t};\n\t/**\n\t * Expose `Response`.\n\t */\n\n\n\trequest.Response = Response;\n\t/**\n\t * Initialize a new `Request` with the given `method` and `url`.\n\t *\n\t * @param {String} method\n\t * @param {String} url\n\t * @api public\n\t */\n\n\tfunction Request(method, url) {\n\t var self = this;\n\t this._query = this._query || [];\n\t this.method = method;\n\t this.url = url;\n\t this.header = {}; // preserves header name case\n\n\t this._header = {}; // coerces header names to lowercase\n\n\t this.on('end', function () {\n\t var error = null;\n\t var res = null;\n\n\t try {\n\t res = new Response(self);\n\t } catch (err) {\n\t error = new Error('Parser is unable to parse the response');\n\t error.parse = true;\n\t error.original = err; // issue #675: return the raw response if the response parsing fails\n\n\t if (self.xhr) {\n\t // ie9 doesn't have 'response' property\n\t error.rawResponse = typeof self.xhr.responseType === 'undefined' ? self.xhr.responseText : self.xhr.response; // issue #876: return the http status code if the response parsing fails\n\n\t error.status = self.xhr.status ? self.xhr.status : null;\n\t error.statusCode = error.status; // backwards-compat only\n\t } else {\n\t error.rawResponse = null;\n\t error.status = null;\n\t }\n\n\t return self.callback(error);\n\t }\n\n\t self.emit('response', res);\n\t var new_error;\n\n\t try {\n\t if (!self._isResponseOK(res)) {\n\t new_error = new Error(res.statusText || res.text || 'Unsuccessful HTTP response');\n\t }\n\t } catch (err) {\n\t new_error = err; // ok() callback can throw\n\t } // #1000 don't catch errors from the callback to avoid double calling it\n\n\n\t if (new_error) {\n\t new_error.original = error;\n\t new_error.response = res;\n\t new_error.status = res.status;\n\t self.callback(new_error, res);\n\t } else {\n\t self.callback(null, res);\n\t }\n\t });\n\t}\n\t/**\n\t * Mixin `Emitter` and `RequestBase`.\n\t */\n\t// eslint-disable-next-line new-cap\n\n\n\tcomponentEmitter(Request.prototype);\n\tmixin(Request.prototype, requestBase.prototype);\n\t/**\n\t * Set Content-Type to `type`, mapping values from `request.types`.\n\t *\n\t * Examples:\n\t *\n\t * superagent.types.xml = 'application/xml';\n\t *\n\t * request.post('/')\n\t * .type('xml')\n\t * .send(xmlstring)\n\t * .end(callback);\n\t *\n\t * request.post('/')\n\t * .type('application/xml')\n\t * .send(xmlstring)\n\t * .end(callback);\n\t *\n\t * @param {String} type\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\tRequest.prototype.type = function (type) {\n\t this.set('Content-Type', request.types[type] || type);\n\t return this;\n\t};\n\t/**\n\t * Set Accept to `type`, mapping values from `request.types`.\n\t *\n\t * Examples:\n\t *\n\t * superagent.types.json = 'application/json';\n\t *\n\t * request.get('/agent')\n\t * .accept('json')\n\t * .end(callback);\n\t *\n\t * request.get('/agent')\n\t * .accept('application/json')\n\t * .end(callback);\n\t *\n\t * @param {String} accept\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequest.prototype.accept = function (type) {\n\t this.set('Accept', request.types[type] || type);\n\t return this;\n\t};\n\t/**\n\t * Set Authorization field value with `user` and `pass`.\n\t *\n\t * @param {String} user\n\t * @param {String} [pass] optional in case of using 'bearer' as type\n\t * @param {Object} options with 'type' property 'auto', 'basic' or 'bearer' (default 'basic')\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequest.prototype.auth = function (user, pass, options) {\n\t if (arguments.length === 1) pass = '';\n\n\t if (_typeof(pass) === 'object' && pass !== null) {\n\t // pass is optional and can be replaced with options\n\t options = pass;\n\t pass = '';\n\t }\n\n\t if (!options) {\n\t options = {\n\t type: typeof btoa === 'function' ? 'basic' : 'auto'\n\t };\n\t }\n\n\t var encoder = options.encoder ? options.encoder : function (string) {\n\t if (typeof btoa === 'function') {\n\t return btoa(string);\n\t }\n\n\t throw new Error('Cannot use basic auth, btoa is not a function');\n\t };\n\t return this._auth(user, pass, options, encoder);\n\t};\n\t/**\n\t * Add query-string `val`.\n\t *\n\t * Examples:\n\t *\n\t * request.get('/shoes')\n\t * .query('size=10')\n\t * .query({ color: 'blue' })\n\t *\n\t * @param {Object|String} val\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequest.prototype.query = function (value) {\n\t if (typeof value !== 'string') value = serialize(value);\n\t if (value) this._query.push(value);\n\t return this;\n\t};\n\t/**\n\t * Queue the given `file` as an attachment to the specified `field`,\n\t * with optional `options` (or filename).\n\t *\n\t * ``` js\n\t * request.post('/upload')\n\t * .attach('content', new Blob(['hey!'], { type: \"text/html\"}))\n\t * .end(callback);\n\t * ```\n\t *\n\t * @param {String} field\n\t * @param {Blob|File} file\n\t * @param {String|Object} options\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequest.prototype.attach = function (field, file, options) {\n\t if (file) {\n\t if (this._data) {\n\t throw new Error(\"superagent can't mix .send() and .attach()\");\n\t }\n\n\t this._getFormData().append(field, file, options || file.name);\n\t }\n\n\t return this;\n\t};\n\n\tRequest.prototype._getFormData = function () {\n\t if (!this._formData) {\n\t this._formData = new root.FormData();\n\t }\n\n\t return this._formData;\n\t};\n\t/**\n\t * Invoke the callback with `err` and `res`\n\t * and handle arity check.\n\t *\n\t * @param {Error} err\n\t * @param {Response} res\n\t * @api private\n\t */\n\n\n\tRequest.prototype.callback = function (error, res) {\n\t if (this._shouldRetry(error, res)) {\n\t return this._retry();\n\t }\n\n\t var fn = this._callback;\n\t this.clearTimeout();\n\n\t if (error) {\n\t if (this._maxRetries) error.retries = this._retries - 1;\n\t this.emit('error', error);\n\t }\n\n\t fn(error, res);\n\t};\n\t/**\n\t * Invoke callback with x-domain error.\n\t *\n\t * @api private\n\t */\n\n\n\tRequest.prototype.crossDomainError = function () {\n\t var error = new Error('Request has been terminated\\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.');\n\t error.crossDomain = true;\n\t error.status = this.status;\n\t error.method = this.method;\n\t error.url = this.url;\n\t this.callback(error);\n\t}; // This only warns, because the request is still likely to work\n\n\n\tRequest.prototype.agent = function () {\n\t console.warn('This is not supported in browser version of superagent');\n\t return this;\n\t};\n\n\tRequest.prototype.ca = Request.prototype.agent;\n\tRequest.prototype.buffer = Request.prototype.ca; // This throws, because it can't send/receive data as expected\n\n\tRequest.prototype.write = function () {\n\t throw new Error('Streaming is not supported in browser version of superagent');\n\t};\n\n\tRequest.prototype.pipe = Request.prototype.write;\n\t/**\n\t * Check if `obj` is a host object,\n\t * we don't want to serialize these :)\n\t *\n\t * @param {Object} obj host object\n\t * @return {Boolean} is a host object\n\t * @api private\n\t */\n\n\tRequest.prototype._isHost = function (object) {\n\t // Native objects stringify to [object File], [object Blob], [object FormData], etc.\n\t return object && _typeof(object) === 'object' && !Array.isArray(object) && Object.prototype.toString.call(object) !== '[object Object]';\n\t};\n\t/**\n\t * Initiate request, invoking callback `fn(res)`\n\t * with an instanceof `Response`.\n\t *\n\t * @param {Function} fn\n\t * @return {Request} for chaining\n\t * @api public\n\t */\n\n\n\tRequest.prototype.end = function (fn) {\n\t if (this._endCalled) {\n\t console.warn('Warning: .end() was called twice. This is not supported in superagent');\n\t }\n\n\t this._endCalled = true; // store callback\n\n\t this._callback = fn || noop; // querystring\n\n\t this._finalizeQueryString();\n\n\t this._end();\n\t};\n\n\tRequest.prototype._setUploadTimeout = function () {\n\t var self = this; // upload timeout it's wokrs only if deadline timeout is off\n\n\t if (this._uploadTimeout && !this._uploadTimeoutTimer) {\n\t this._uploadTimeoutTimer = setTimeout(function () {\n\t self._timeoutError('Upload timeout of ', self._uploadTimeout, 'ETIMEDOUT');\n\t }, this._uploadTimeout);\n\t }\n\t}; // eslint-disable-next-line complexity\n\n\n\tRequest.prototype._end = function () {\n\t if (this._aborted) return this.callback(new Error('The request has been aborted even before .end() was called'));\n\t var self = this;\n\t this.xhr = request.getXHR();\n\t var xhr = this.xhr;\n\t var data = this._formData || this._data;\n\n\t this._setTimeouts(); // state change\n\n\n\t xhr.addEventListener('readystatechange', function () {\n\t var readyState = xhr.readyState;\n\n\t if (readyState >= 2 && self._responseTimeoutTimer) {\n\t clearTimeout(self._responseTimeoutTimer);\n\t }\n\n\t if (readyState !== 4) {\n\t return;\n\t } // In IE9, reads to any property (e.g. status) off of an aborted XHR will\n\t // result in the error \"Could not complete the operation due to error c00c023f\"\n\n\n\t var status;\n\n\t try {\n\t status = xhr.status;\n\t } catch (_unused5) {\n\t status = 0;\n\t }\n\n\t if (!status) {\n\t if (self.timedout || self._aborted) return;\n\t return self.crossDomainError();\n\t }\n\n\t self.emit('end');\n\t }); // progress\n\n\t var handleProgress = function handleProgress(direction, e) {\n\t if (e.total > 0) {\n\t e.percent = e.loaded / e.total * 100;\n\n\t if (e.percent === 100) {\n\t clearTimeout(self._uploadTimeoutTimer);\n\t }\n\t }\n\n\t e.direction = direction;\n\t self.emit('progress', e);\n\t };\n\n\t if (this.hasListeners('progress')) {\n\t try {\n\t xhr.addEventListener('progress', handleProgress.bind(null, 'download'));\n\n\t if (xhr.upload) {\n\t xhr.upload.addEventListener('progress', handleProgress.bind(null, 'upload'));\n\t }\n\t } catch (_unused6) {// Accessing xhr.upload fails in IE from a web worker, so just pretend it doesn't exist.\n\t // Reported here:\n\t // https://connect.microsoft.com/IE/feedback/details/837245/xmlhttprequest-upload-throws-invalid-argument-when-used-from-web-worker-context\n\t }\n\t }\n\n\t if (xhr.upload) {\n\t this._setUploadTimeout();\n\t } // initiate request\n\n\n\t try {\n\t if (this.username && this.password) {\n\t xhr.open(this.method, this.url, true, this.username, this.password);\n\t } else {\n\t xhr.open(this.method, this.url, true);\n\t }\n\t } catch (err) {\n\t // see #1149\n\t return this.callback(err);\n\t } // CORS\n\n\n\t if (this._withCredentials) xhr.withCredentials = true; // body\n\n\t if (!this._formData && this.method !== 'GET' && this.method !== 'HEAD' && typeof data !== 'string' && !this._isHost(data)) {\n\t // serialize stuff\n\t var contentType = this._header['content-type'];\n\n\t var _serialize = this._serializer || request.serialize[contentType ? contentType.split(';')[0] : ''];\n\n\t if (!_serialize && isJSON(contentType)) {\n\t _serialize = request.serialize['application/json'];\n\t }\n\n\t if (_serialize) data = _serialize(data);\n\t } // set header fields\n\n\n\t for (var field in this.header) {\n\t if (this.header[field] === null) continue;\n\t if (hasOwn(this.header, field)) xhr.setRequestHeader(field, this.header[field]);\n\t }\n\n\t if (this._responseType) {\n\t xhr.responseType = this._responseType;\n\t } // send stuff\n\n\n\t this.emit('request', this); // IE11 xhr.send(undefined) sends 'undefined' string as POST payload (instead of nothing)\n\t // We need null here if data is undefined\n\n\t xhr.send(typeof data === 'undefined' ? null : data);\n\t};\n\n\trequest.agent = function () {\n\t return new agentBase();\n\t};\n\n\tvar _loop = function _loop() {\n\t var method = _arr[_i];\n\n\t agentBase.prototype[method.toLowerCase()] = function (url, fn) {\n\t var request_ = new request.Request(method, url);\n\n\t this._setDefaults(request_);\n\n\t if (fn) {\n\t request_.end(fn);\n\t }\n\n\t return request_;\n\t };\n\t};\n\n\tfor (var _i = 0, _arr = ['GET', 'POST', 'OPTIONS', 'PATCH', 'PUT', 'DELETE']; _i < _arr.length; _i++) {\n\t _loop();\n\t}\n\n\tagentBase.prototype.del = agentBase.prototype.delete;\n\t/**\n\t * GET `url` with optional callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed|Function} [data] or fn\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\trequest.get = function (url, data, fn) {\n\t var request_ = request('GET', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.query(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\t/**\n\t * HEAD `url` with optional callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed|Function} [data] or fn\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\n\trequest.head = function (url, data, fn) {\n\t var request_ = request('HEAD', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.query(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\t/**\n\t * OPTIONS query to `url` with optional callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed|Function} [data] or fn\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\n\trequest.options = function (url, data, fn) {\n\t var request_ = request('OPTIONS', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.send(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\t/**\n\t * DELETE `url` with optional `data` and callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed} [data]\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\n\tfunction del(url, data, fn) {\n\t var request_ = request('DELETE', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.send(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t}\n\n\trequest.del = del;\n\trequest.delete = del;\n\t/**\n\t * PATCH `url` with optional `data` and callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed} [data]\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\trequest.patch = function (url, data, fn) {\n\t var request_ = request('PATCH', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.send(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\t/**\n\t * POST `url` with optional `data` and callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed} [data]\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\n\trequest.post = function (url, data, fn) {\n\t var request_ = request('POST', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.send(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\t/**\n\t * PUT `url` with optional `data` and callback `fn(res)`.\n\t *\n\t * @param {String} url\n\t * @param {Mixed|Function} [data] or fn\n\t * @param {Function} [fn]\n\t * @return {Request}\n\t * @api public\n\t */\n\n\n\trequest.put = function (url, data, fn) {\n\t var request_ = request('PUT', url);\n\n\t if (typeof data === 'function') {\n\t fn = data;\n\t data = null;\n\t }\n\n\t if (data) request_.send(data);\n\t if (fn) request_.end(fn);\n\t return request_;\n\t};\n\n\t});\n\tvar client_1 = client.Request;\n\n\tvar byteLength_1 = byteLength;\n\tvar toByteArray_1 = toByteArray;\n\tvar fromByteArray_1 = fromByteArray;\n\n\tvar lookup = [];\n\tvar revLookup = [];\n\tvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array;\n\n\tvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\tfor (var i = 0, len = code.length; i < len; ++i) {\n\t lookup[i] = code[i];\n\t revLookup[code.charCodeAt(i)] = i;\n\t}\n\n\t// Support decoding URL-safe base64 strings, as Node.js does.\n\t// See: https://en.wikipedia.org/wiki/Base64#URL_applications\n\trevLookup['-'.charCodeAt(0)] = 62;\n\trevLookup['_'.charCodeAt(0)] = 63;\n\n\tfunction getLens (b64) {\n\t var len = b64.length;\n\n\t if (len % 4 > 0) {\n\t throw new Error('Invalid string. Length must be a multiple of 4')\n\t }\n\n\t // Trim off extra bytes after placeholder bytes are found\n\t // See: https://github.com/beatgammit/base64-js/issues/42\n\t var validLen = b64.indexOf('=');\n\t if (validLen === -1) validLen = len;\n\n\t var placeHoldersLen = validLen === len\n\t ? 0\n\t : 4 - (validLen % 4);\n\n\t return [validLen, placeHoldersLen]\n\t}\n\n\t// base64 is 4/3 + up to two characters of the original data\n\tfunction byteLength (b64) {\n\t var lens = getLens(b64);\n\t var validLen = lens[0];\n\t var placeHoldersLen = lens[1];\n\t return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n\t}\n\n\tfunction _byteLength (b64, validLen, placeHoldersLen) {\n\t return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\n\t}\n\n\tfunction toByteArray (b64) {\n\t var tmp;\n\t var lens = getLens(b64);\n\t var validLen = lens[0];\n\t var placeHoldersLen = lens[1];\n\n\t var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen));\n\n\t var curByte = 0;\n\n\t // if there are placeholders, only get up to the last complete 4 chars\n\t var len = placeHoldersLen > 0\n\t ? validLen - 4\n\t : validLen;\n\n\t var i;\n\t for (i = 0; i < len; i += 4) {\n\t tmp =\n\t (revLookup[b64.charCodeAt(i)] << 18) |\n\t (revLookup[b64.charCodeAt(i + 1)] << 12) |\n\t (revLookup[b64.charCodeAt(i + 2)] << 6) |\n\t revLookup[b64.charCodeAt(i + 3)];\n\t arr[curByte++] = (tmp >> 16) & 0xFF;\n\t arr[curByte++] = (tmp >> 8) & 0xFF;\n\t arr[curByte++] = tmp & 0xFF;\n\t }\n\n\t if (placeHoldersLen === 2) {\n\t tmp =\n\t (revLookup[b64.charCodeAt(i)] << 2) |\n\t (revLookup[b64.charCodeAt(i + 1)] >> 4);\n\t arr[curByte++] = tmp & 0xFF;\n\t }\n\n\t if (placeHoldersLen === 1) {\n\t tmp =\n\t (revLookup[b64.charCodeAt(i)] << 10) |\n\t (revLookup[b64.charCodeAt(i + 1)] << 4) |\n\t (revLookup[b64.charCodeAt(i + 2)] >> 2);\n\t arr[curByte++] = (tmp >> 8) & 0xFF;\n\t arr[curByte++] = tmp & 0xFF;\n\t }\n\n\t return arr\n\t}\n\n\tfunction tripletToBase64 (num) {\n\t return lookup[num >> 18 & 0x3F] +\n\t lookup[num >> 12 & 0x3F] +\n\t lookup[num >> 6 & 0x3F] +\n\t lookup[num & 0x3F]\n\t}\n\n\tfunction encodeChunk (uint8, start, end) {\n\t var tmp;\n\t var output = [];\n\t for (var i = start; i < end; i += 3) {\n\t tmp =\n\t ((uint8[i] << 16) & 0xFF0000) +\n\t ((uint8[i + 1] << 8) & 0xFF00) +\n\t (uint8[i + 2] & 0xFF);\n\t output.push(tripletToBase64(tmp));\n\t }\n\t return output.join('')\n\t}\n\n\tfunction fromByteArray (uint8) {\n\t var tmp;\n\t var len = uint8.length;\n\t var extraBytes = len % 3; // if we have 1 byte left, pad 2 bytes\n\t var parts = [];\n\t var maxChunkLength = 16383; // must be multiple of 3\n\n\t // go through the array every three bytes, we'll deal with trailing stuff later\n\t for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n\t parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)));\n\t }\n\n\t // pad the end with zeros, but make sure to not forget the extra bytes\n\t if (extraBytes === 1) {\n\t tmp = uint8[len - 1];\n\t parts.push(\n\t lookup[tmp >> 2] +\n\t lookup[(tmp << 4) & 0x3F] +\n\t '=='\n\t );\n\t } else if (extraBytes === 2) {\n\t tmp = (uint8[len - 2] << 8) + uint8[len - 1];\n\t parts.push(\n\t lookup[tmp >> 10] +\n\t lookup[(tmp >> 4) & 0x3F] +\n\t lookup[(tmp << 2) & 0x3F] +\n\t '='\n\t );\n\t }\n\n\t return parts.join('')\n\t}\n\n\tvar base64Js = {\n\t\tbyteLength: byteLength_1,\n\t\ttoByteArray: toByteArray_1,\n\t\tfromByteArray: fromByteArray_1\n\t};\n\n\tfunction padding(str) {\n\t var mod = str.length % 4;\n\t var pad = 4 - mod;\n\n\t if (mod === 0) {\n\t return str;\n\t }\n\n\t return str + new Array(1 + pad).join('=');\n\t}\n\n\tfunction stringToByteArray(str) {\n\t var arr = new Array(str.length);\n\t for (var a = 0; a < str.length; a++) {\n\t arr[a] = str.charCodeAt(a);\n\t }\n\t return arr;\n\t}\n\n\tfunction byteArrayToString(array) {\n\t var result = '';\n\t for (var i = 0; i < array.length; i++) {\n\t result += String.fromCharCode(array[i]);\n\t }\n\t return result;\n\t}\n\n\tfunction encode$1(str) {\n\t return base64Js\n\t .fromByteArray(stringToByteArray(str))\n\t .replace(/\\+/g, '-') // Convert '+' to '-'\n\t .replace(/\\//g, '_'); // Convert '/' to '_'\n\t}\n\n\tfunction decode$1(str) {\n\t str = padding(str)\n\t .replace(/-/g, '+') // Convert '-' to '+'\n\t .replace(/_/g, '/'); // Convert '_' to '/'\n\n\t return byteArrayToString(base64Js.toByteArray(str));\n\t}\n\n\tvar base64Url = {\n\t encode: encode$1,\n\t decode: decode$1\n\t};\n\n\tvar version = { raw: '9.22.1' };\n\n\tvar toString = Object.prototype.toString;\n\n\tfunction attribute(o, attr, type, text) {\n\t type = type === 'array' ? 'object' : type;\n\t if (o && typeof o[attr] !== type) {\n\t throw new Error(text);\n\t }\n\t}\n\n\tfunction variable(o, type, text) {\n\t if (typeof o !== type) {\n\t throw new Error(text);\n\t }\n\t}\n\n\tfunction value(o, values, text) {\n\t if (values.indexOf(o) === -1) {\n\t throw new Error(text);\n\t }\n\t}\n\n\tfunction check(o, config, attributes) {\n\t if (!config.optional || o) {\n\t variable(o, config.type, config.message);\n\t }\n\t if (config.type === 'object' && attributes) {\n\t var keys = Object.keys(attributes);\n\n\t for (var index = 0; index < keys.length; index++) {\n\t var a = keys[index];\n\t if (!attributes[a].optional || o[a]) {\n\t if (!attributes[a].condition || attributes[a].condition(o)) {\n\t attribute(o, a, attributes[a].type, attributes[a].message);\n\t if (attributes[a].values) {\n\t value(o[a], attributes[a].values, attributes[a].value_message);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t}\n\n\t/**\n\t * Wrap `Array.isArray` Polyfill for IE9\n\t * source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray\n\t *\n\t * @param {Array} array\n\t * @private\n\t */\n\tfunction isArray$4(array) {\n\t if (this.supportsIsArray()) {\n\t return Array.isArray(array);\n\t }\n\n\t return toString.call(array) === '[object Array]';\n\t}\n\n\tfunction supportsIsArray() {\n\t return Array.isArray != null;\n\t}\n\n\tvar assert = {\n\t check: check,\n\t attribute: attribute,\n\t variable: variable,\n\t value: value,\n\t isArray: isArray$4,\n\t supportsIsArray: supportsIsArray\n\t};\n\n\t/* eslint-disable no-continue */\n\n\tfunction get() {\n\t if (!Object.assign) {\n\t return objectAssignPolyfill;\n\t }\n\n\t return Object.assign;\n\t}\n\n\tfunction objectAssignPolyfill(target) {\n\t if (target === undefined || target === null) {\n\t throw new TypeError('Cannot convert first argument to object');\n\t }\n\n\t var to = Object(target);\n\t for (var i = 1; i < arguments.length; i++) {\n\t var nextSource = arguments[i];\n\t if (nextSource === undefined || nextSource === null) {\n\t continue;\n\t }\n\n\t var keysArray = Object.keys(Object(nextSource));\n\t for (\n\t var nextIndex = 0, len = keysArray.length;\n\t nextIndex < len;\n\t nextIndex++\n\t ) {\n\t var nextKey = keysArray[nextIndex];\n\t var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n\t if (desc !== undefined && desc.enumerable) {\n\t to[nextKey] = nextSource[nextKey];\n\t }\n\t }\n\t }\n\t return to;\n\t}\n\n\tvar objectAssign = {\n\t get: get,\n\t objectAssignPolyfill: objectAssignPolyfill\n\t};\n\n\t/* eslint-disable no-param-reassign */\n\n\tfunction pick(object, keys) {\n\t return keys.reduce(function(prev, key) {\n\t if (object[key]) {\n\t prev[key] = object[key];\n\t }\n\t return prev;\n\t }, {});\n\t}\n\n\tfunction getKeysNotIn(obj, allowedKeys) {\n\t var notAllowed = [];\n\t for (var key in obj) {\n\t if (allowedKeys.indexOf(key) === -1) {\n\t notAllowed.push(key);\n\t }\n\t }\n\t return notAllowed;\n\t}\n\n\tfunction objectValues(obj) {\n\t var values = [];\n\t for (var key in obj) {\n\t values.push(obj[key]);\n\t }\n\t return values;\n\t}\n\n\tfunction extend() {\n\t var params = objectValues(arguments);\n\t params.unshift({});\n\t return objectAssign.get().apply(undefined, params);\n\t}\n\n\tfunction merge$1(object, keys) {\n\t return {\n\t base: keys ? pick(object, keys) : object,\n\t with: function(object2, keys2) {\n\t object2 = keys2 ? pick(object2, keys2) : object2;\n\t return extend(this.base, object2);\n\t }\n\t };\n\t}\n\n\tfunction blacklist(object, blacklistedKeys) {\n\t return Object.keys(object).reduce(function(p, key) {\n\t if (blacklistedKeys.indexOf(key) === -1) {\n\t p[key] = object[key];\n\t }\n\t return p;\n\t }, {});\n\t}\n\n\tfunction camelToSnake(str) {\n\t var newKey = '';\n\t var index = 0;\n\t var code;\n\t var wasPrevNumber = true;\n\t var wasPrevUppercase = true;\n\n\t while (index < str.length) {\n\t code = str.charCodeAt(index);\n\t if (\n\t (!wasPrevUppercase && code >= 65 && code <= 90) ||\n\t (!wasPrevNumber && code >= 48 && code <= 57)\n\t ) {\n\t newKey += '_';\n\t newKey += str[index].toLowerCase();\n\t } else {\n\t newKey += str[index].toLowerCase();\n\t }\n\t wasPrevNumber = code >= 48 && code <= 57;\n\t wasPrevUppercase = code >= 65 && code <= 90;\n\t index++;\n\t }\n\n\t return newKey;\n\t}\n\n\tfunction snakeToCamel(str) {\n\t var parts = str.split('_');\n\t return parts.reduce(function(p, c) {\n\t return p + c.charAt(0).toUpperCase() + c.slice(1);\n\t }, parts.shift());\n\t}\n\n\tfunction toSnakeCase(object, exceptions) {\n\t if (typeof object !== 'object' || assert.isArray(object) || object === null) {\n\t return object;\n\t }\n\t exceptions = exceptions || [];\n\n\t return Object.keys(object).reduce(function(p, key) {\n\t var newKey = exceptions.indexOf(key) === -1 ? camelToSnake(key) : key;\n\t p[newKey] = toSnakeCase(object[key]);\n\t return p;\n\t }, {});\n\t}\n\n\tfunction toCamelCase(object, exceptions, options) {\n\t if (typeof object !== 'object' || assert.isArray(object) || object === null) {\n\t return object;\n\t }\n\n\t exceptions = exceptions || [];\n\t options = options || {};\n\t return Object.keys(object).reduce(function(p, key) {\n\t var newKey = exceptions.indexOf(key) === -1 ? snakeToCamel(key) : key;\n\n\t p[newKey] = toCamelCase(object[newKey] || object[key], [], options);\n\n\t if (options.keepOriginal) {\n\t p[key] = toCamelCase(object[key], [], options);\n\t }\n\t return p;\n\t }, {});\n\t}\n\n\tfunction getLocationFromUrl(href) {\n\t var match = href.match(\n\t /^(https?:|file:|chrome-extension:)\\/\\/(([^:/?#]*)(?::([0-9]+))?)([/]{0,1}[^?#]*)(\\?[^#]*|)(#.*|)$/\n\t );\n\t return (\n\t match && {\n\t href: href,\n\t protocol: match[1],\n\t host: match[2],\n\t hostname: match[3],\n\t port: match[4],\n\t pathname: match[5],\n\t search: match[6],\n\t hash: match[7]\n\t }\n\t );\n\t}\n\n\tfunction getOriginFromUrl(url) {\n\t if (!url) {\n\t return undefined;\n\t }\n\t var parsed = getLocationFromUrl(url);\n\t if (!parsed) {\n\t return null;\n\t }\n\t var origin = parsed.protocol + '//' + parsed.hostname;\n\t if (parsed.port) {\n\t origin += ':' + parsed.port;\n\t }\n\t return origin;\n\t}\n\n\tfunction trim(options, key) {\n\t var trimmed = extend(options);\n\t if (options[key]) {\n\t trimmed[key] = options[key].trim();\n\t }\n\t return trimmed;\n\t}\n\n\tfunction trimMultiple(options, keys) {\n\t return keys.reduce(trim, options);\n\t}\n\n\tfunction trimUserDetails(options) {\n\t return trimMultiple(options, ['username', 'email', 'phoneNumber']);\n\t}\n\n\t/**\n\t * Updates the value of a property on the given object, using a deep path selector.\n\t * @param {object} obj The object to set the property value on\n\t * @param {string|array} path The path to the property that should have its value updated. e.g. 'prop1.prop2.prop3' or ['prop1', 'prop2', 'prop3']\n\t * @param {any} value The value to set\n\t * @ignore\n\t */\n\tfunction updatePropertyOn(obj, path, value) {\n\t if (typeof path === 'string') {\n\t path = path.split('.');\n\t }\n\n\t var next = path[0];\n\n\t if (obj.hasOwnProperty(next)) {\n\t if (path.length === 1) {\n\t obj[next] = value;\n\t } else {\n\t updatePropertyOn(obj[next], path.slice(1), value);\n\t }\n\t }\n\t}\n\n\tvar objectHelper = {\n\t toSnakeCase: toSnakeCase,\n\t toCamelCase: toCamelCase,\n\t blacklist: blacklist,\n\t merge: merge$1,\n\t pick: pick,\n\t getKeysNotIn: getKeysNotIn,\n\t extend: extend,\n\t getOriginFromUrl: getOriginFromUrl,\n\t getLocationFromUrl: getLocationFromUrl,\n\t trimUserDetails: trimUserDetails,\n\t updatePropertyOn: updatePropertyOn\n\t};\n\n\t/* eslint-disable no-param-reassign */\n\n\t// ------------------------------------------------ RequestWrapper\n\n\tfunction RequestWrapper(req) {\n\t this.request = req;\n\t this.method = req.method;\n\t this.url = req.url;\n\t this.body = req._data;\n\t this.headers = req._header;\n\t}\n\n\tRequestWrapper.prototype.abort = function() {\n\t this.request.abort();\n\t};\n\n\tRequestWrapper.prototype.getMethod = function() {\n\t return this.method;\n\t};\n\n\tRequestWrapper.prototype.getBody = function() {\n\t return this.body;\n\t};\n\n\tRequestWrapper.prototype.getUrl = function() {\n\t return this.url;\n\t};\n\n\tRequestWrapper.prototype.getHeaders = function() {\n\t return this.headers;\n\t};\n\n\t// ------------------------------------------------ RequestObj\n\n\tfunction RequestObj(req) {\n\t this.request = req;\n\t}\n\n\tRequestObj.prototype.set = function(key, value) {\n\t this.request = this.request.set(key, value);\n\t return this;\n\t};\n\n\tRequestObj.prototype.send = function(body) {\n\t this.request = this.request.send(objectHelper.trimUserDetails(body));\n\t return this;\n\t};\n\n\tRequestObj.prototype.withCredentials = function() {\n\t this.request = this.request.withCredentials();\n\t return this;\n\t};\n\n\tRequestObj.prototype.end = function(cb) {\n\t this.request.end(cb);\n\t return new RequestWrapper(this.request);\n\t};\n\n\t// ------------------------------------------------ RequestBuilder\n\n\tfunction RequestBuilder(options) {\n\t this._sendTelemetry =\n\t options._sendTelemetry === false ? options._sendTelemetry : true;\n\t this._telemetryInfo = options._telemetryInfo || null;\n\t this._timesToRetryFailedRequests = options._timesToRetryFailedRequests;\n\t this.headers = options.headers || {};\n\t this._universalLoginPage = options.universalLoginPage;\n\t}\n\n\tRequestBuilder.prototype.setCommonConfiguration = function(\n\t ongoingRequest,\n\t options\n\t) {\n\t options = options || {};\n\n\t if (this._timesToRetryFailedRequests > 0) {\n\t ongoingRequest = ongoingRequest.retry(this._timesToRetryFailedRequests);\n\t }\n\n\t if (options.noHeaders) {\n\t return ongoingRequest;\n\t }\n\n\t var headers = this.headers;\n\t ongoingRequest = ongoingRequest.set('Content-Type', 'application/json');\n\n\t if (options.xRequestLanguage) {\n\t ongoingRequest = ongoingRequest.set(\n\t 'X-Request-Language',\n\t options.xRequestLanguage\n\t );\n\t }\n\n\t var keys = Object.keys(this.headers);\n\n\t for (var a = 0; a < keys.length; a++) {\n\t ongoingRequest = ongoingRequest.set(keys[a], headers[keys[a]]);\n\t }\n\n\t if (this._sendTelemetry) {\n\t ongoingRequest = ongoingRequest.set(\n\t 'Auth0-Client',\n\t this.getTelemetryData()\n\t );\n\t }\n\n\t return ongoingRequest;\n\t};\n\n\tRequestBuilder.prototype.getTelemetryData = function() {\n\t var telemetryName = this._universalLoginPage ? 'auth0.js-ulp' : 'auth0.js';\n\t var clientInfo = { name: telemetryName, version: version.raw };\n\t if (this._telemetryInfo) {\n\t clientInfo = objectHelper.extend({}, this._telemetryInfo);\n\t clientInfo.env = objectHelper.extend({}, this._telemetryInfo.env);\n\t clientInfo.env[telemetryName] = version.raw;\n\t }\n\t var jsonClientInfo = JSON.stringify(clientInfo);\n\t return base64Url.encode(jsonClientInfo);\n\t};\n\n\tRequestBuilder.prototype.get = function(url, options) {\n\t return new RequestObj(this.setCommonConfiguration(client.get(url), options));\n\t};\n\n\tRequestBuilder.prototype.post = function(url, options) {\n\t return new RequestObj(\n\t this.setCommonConfiguration(client.post(url), options)\n\t );\n\t};\n\n\tRequestBuilder.prototype.patch = function(url, options) {\n\t return new RequestObj(\n\t this.setCommonConfiguration(client.patch(url), options)\n\t );\n\t};\n\n\tfunction redirect(url) {\n\t getWindow().location = url;\n\t}\n\n\tfunction getDocument() {\n\t return getWindow().document;\n\t}\n\n\tfunction getWindow() {\n\t return window;\n\t}\n\n\tfunction getOrigin() {\n\t var location = getWindow().location;\n\t var origin = location.origin;\n\n\t if (!origin) {\n\t origin = objectHelper.getOriginFromUrl(location.href);\n\t }\n\n\t return origin;\n\t}\n\n\tvar windowHelper = {\n\t redirect: redirect,\n\t getDocument: getDocument,\n\t getWindow: getWindow,\n\t getOrigin: getOrigin\n\t};\n\n\tfunction DummyStorage() {}\n\n\tDummyStorage.prototype.getItem = function() {\n\t return null;\n\t};\n\n\tDummyStorage.prototype.removeItem = function() {};\n\n\tDummyStorage.prototype.setItem = function() {};\n\n\tvar js_cookie = createCommonjsModule(function (module, exports) {\n\t(function (factory) {\n\t\tvar registeredInModuleLoader;\n\t\t{\n\t\t\tmodule.exports = factory();\n\t\t\tregisteredInModuleLoader = true;\n\t\t}\n\t\tif (!registeredInModuleLoader) {\n\t\t\tvar OldCookies = window.Cookies;\n\t\t\tvar api = window.Cookies = factory();\n\t\t\tapi.noConflict = function () {\n\t\t\t\twindow.Cookies = OldCookies;\n\t\t\t\treturn api;\n\t\t\t};\n\t\t}\n\t}(function () {\n\t\tfunction extend () {\n\t\t\tvar i = 0;\n\t\t\tvar result = {};\n\t\t\tfor (; i < arguments.length; i++) {\n\t\t\t\tvar attributes = arguments[ i ];\n\t\t\t\tfor (var key in attributes) {\n\t\t\t\t\tresult[key] = attributes[key];\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\n\t\tfunction decode (s) {\n\t\t\treturn s.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n\t\t}\n\n\t\tfunction init (converter) {\n\t\t\tfunction api() {}\n\n\t\t\tfunction set (key, value, attributes) {\n\t\t\t\tif (typeof document === 'undefined') {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tattributes = extend({\n\t\t\t\t\tpath: '/'\n\t\t\t\t}, api.defaults, attributes);\n\n\t\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\t\tattributes.expires = new Date(new Date() * 1 + attributes.expires * 864e+5);\n\t\t\t\t}\n\n\t\t\t\t// We're using \"expires\" because \"max-age\" is not supported by IE\n\t\t\t\tattributes.expires = attributes.expires ? attributes.expires.toUTCString() : '';\n\n\t\t\t\ttry {\n\t\t\t\t\tvar result = JSON.stringify(value);\n\t\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\t\tvalue = result;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\n\t\t\t\tvalue = converter.write ?\n\t\t\t\t\tconverter.write(value, key) :\n\t\t\t\t\tencodeURIComponent(String(value))\n\t\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\t\tkey = encodeURIComponent(String(key))\n\t\t\t\t\t.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent)\n\t\t\t\t\t.replace(/[\\(\\)]/g, escape);\n\n\t\t\t\tvar stringifiedAttributes = '';\n\t\t\t\tfor (var attributeName in attributes) {\n\t\t\t\t\tif (!attributes[attributeName]) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tstringifiedAttributes += '; ' + attributeName;\n\t\t\t\t\tif (attributes[attributeName] === true) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Considers RFC 6265 section 5.2:\n\t\t\t\t\t// ...\n\t\t\t\t\t// 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n\t\t\t\t\t// character:\n\t\t\t\t\t// Consume the characters of the unparsed-attributes up to,\n\t\t\t\t\t// not including, the first %x3B (\";\") character.\n\t\t\t\t\t// ...\n\t\t\t\t\tstringifiedAttributes += '=' + attributes[attributeName].split(';')[0];\n\t\t\t\t}\n\n\t\t\t\treturn (document.cookie = key + '=' + value + stringifiedAttributes);\n\t\t\t}\n\n\t\t\tfunction get (key, json) {\n\t\t\t\tif (typeof document === 'undefined') {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tvar jar = {};\n\t\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t\t// in case there are no cookies at all.\n\t\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\t\tvar i = 0;\n\n\t\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\t\tif (!json && cookie.charAt(0) === '\"') {\n\t\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t\t}\n\n\t\t\t\t\ttry {\n\t\t\t\t\t\tvar name = decode(parts[0]);\n\t\t\t\t\t\tcookie = (converter.read || converter)(cookie, name) ||\n\t\t\t\t\t\t\tdecode(cookie);\n\n\t\t\t\t\t\tif (json) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tjar[name] = cookie;\n\n\t\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {}\n\t\t\t\t}\n\n\t\t\t\treturn key ? jar[key] : jar;\n\t\t\t}\n\n\t\t\tapi.set = set;\n\t\t\tapi.get = function (key) {\n\t\t\t\treturn get(key, false /* read as raw */);\n\t\t\t};\n\t\t\tapi.getJSON = function (key) {\n\t\t\t\treturn get(key, true /* read as json */);\n\t\t\t};\n\t\t\tapi.remove = function (key, attributes) {\n\t\t\t\tset(key, '', extend(attributes, {\n\t\t\t\t\texpires: -1\n\t\t\t\t}));\n\t\t\t};\n\n\t\t\tapi.defaults = {};\n\n\t\t\tapi.withConverter = init;\n\n\t\t\treturn api;\n\t\t}\n\n\t\treturn init(function () {});\n\t}));\n\t});\n\n\tfunction buildCompatCookieKey(key) {\n\t return '_' + key + '_compat';\n\t}\n\n\tfunction CookieStorage(options) {\n\t this._options = options || {};\n\t}\n\n\tCookieStorage.prototype.getItem = function (key) {\n\t var cookie = js_cookie.get(key);\n\n\t return cookie || js_cookie.get(buildCompatCookieKey(key));\n\t};\n\n\tCookieStorage.prototype.removeItem = function (key) {\n\t var params = {};\n\t if (this._options.cookieDomain) {\n\t params.domain = this._options.cookieDomain;\n\t }\n\t js_cookie.remove(key, params);\n\t js_cookie.remove(buildCompatCookieKey(key), params);\n\t};\n\n\tCookieStorage.prototype.setItem = function (key, value, options) {\n\t var params = objectHelper.extend(\n\t {\n\t expires: 1 // 1 day\n\t },\n\t options\n\t );\n\n\t if (windowHelper.getWindow().location.protocol === 'https:') {\n\t params.secure = true;\n\t params.sameSite = 'none';\n\n\t if (this._options.legacySameSiteCookie) {\n\t // Save a compatibility cookie without sameSite='none' for browsers that don't support it.\n\t var legacyOptions = objectHelper.blacklist(params, ['sameSite']);\n\t js_cookie.set(buildCompatCookieKey(key), value, legacyOptions);\n\t }\n\t }\n\n\t if (this._options.cookieDomain) {\n\t params.domain = this._options.cookieDomain;\n\t }\n\n\t js_cookie.set(key, value, params);\n\t};\n\n\t/* eslint-disable no-console */\n\n\tfunction Warn(options) {\n\t this.disableWarnings = options.disableWarnings;\n\t}\n\n\tWarn.prototype.warning = function(message) {\n\t if (this.disableWarnings) {\n\t return;\n\t }\n\n\t console.warn(message);\n\t};\n\n\tfunction StorageHandler(options) {\n\t this.warn = new Warn({});\n\t this.storage = new CookieStorage(options);\n\n\t if (options.__tryLocalStorageFirst !== true) {\n\t return;\n\t }\n\n\t try {\n\t // some browsers throw an error when trying to access localStorage\n\t // when localStorage is disabled.\n\t var localStorage = windowHelper.getWindow().localStorage;\n\t if (localStorage) {\n\t this.storage = localStorage;\n\t }\n\t } catch (e) {\n\t this.warn.warning(e);\n\t this.warn.warning(\"Can't use localStorage. Using CookieStorage instead.\");\n\t }\n\t}\n\n\tStorageHandler.prototype.failover = function () {\n\t if (this.storage instanceof DummyStorage) {\n\t this.warn.warning('DummyStorage: ignore failover');\n\t return;\n\t } else if (this.storage instanceof CookieStorage) {\n\t this.warn.warning('CookieStorage: failing over DummyStorage');\n\t this.storage = new DummyStorage();\n\t } else {\n\t this.warn.warning('LocalStorage: failing over CookieStorage');\n\t this.storage = new CookieStorage();\n\t }\n\t};\n\n\tStorageHandler.prototype.getItem = function (key) {\n\t try {\n\t return this.storage.getItem(key);\n\t } catch (e) {\n\t this.warn.warning(e);\n\t this.failover();\n\t return this.getItem(key);\n\t }\n\t};\n\n\tStorageHandler.prototype.removeItem = function (key) {\n\t try {\n\t return this.storage.removeItem(key);\n\t } catch (e) {\n\t this.warn.warning(e);\n\t this.failover();\n\t return this.removeItem(key);\n\t }\n\t};\n\n\tStorageHandler.prototype.setItem = function (key, value, options) {\n\t try {\n\t return this.storage.setItem(key, value, options);\n\t } catch (e) {\n\t this.warn.warning(e);\n\t this.failover();\n\t return this.setItem(key, value, options);\n\t }\n\t};\n\n\tfunction Storage(options) {\n\t this.handler = new StorageHandler(options);\n\t}\n\n\tStorage.prototype.getItem = function(key) {\n\t var value = this.handler.getItem(key);\n\t try {\n\t return JSON.parse(value);\n\t } catch (_) {\n\t return value;\n\t }\n\t};\n\tStorage.prototype.removeItem = function(key) {\n\t return this.handler.removeItem(key);\n\t};\n\tStorage.prototype.setItem = function(key, value, options) {\n\t var json = JSON.stringify(value);\n\t return this.handler.setItem(key, json, options);\n\t};\n\n\tfunction SSODataStorage(options) {\n\t this.storage = new Storage(options);\n\t}\n\n\tSSODataStorage.prototype.set = function(connection, sub) {\n\t var ssodata = {\n\t lastUsedConnection: connection,\n\t lastUsedSub: sub\n\t };\n\t this.storage.setItem('auth0.ssodata', JSON.stringify(ssodata));\n\t};\n\tSSODataStorage.prototype.get = function() {\n\t var ssodata = this.storage.getItem('auth0.ssodata');\n\t if (!ssodata) {\n\t return;\n\t }\n\t return JSON.parse(ssodata);\n\t};\n\n\tfunction buildResponse(error, description) {\n\t return {\n\t error: error,\n\t errorDescription: description\n\t };\n\t}\n\n\tfunction invalidToken(description) {\n\t return buildResponse('invalid_token', description);\n\t}\n\n\tvar error = {\n\t buildResponse: buildResponse,\n\t invalidToken: invalidToken\n\t};\n\n\tfunction wrapCallback(cb, options) {\n\t options = options || {};\n\t options.ignoreCasing = options.ignoreCasing ? options.ignoreCasing : false;\n\n\t return function(err, data) {\n\t var errObj;\n\n\t if (!err && !data) {\n\t return cb(error.buildResponse('generic_error', 'Something went wrong'));\n\t }\n\n\t if (!err && data.err) {\n\t err = data.err;\n\t data = null;\n\t }\n\n\t if (!err && data.error) {\n\t err = data;\n\t data = null;\n\t }\n\n\t if (err) {\n\t errObj = {\n\t original: err\n\t };\n\n\t objectHelper.updatePropertyOn(\n\t errObj,\n\t 'original.response.req._data.password',\n\t '*****'\n\t );\n\n\t if (err.response && err.response.statusCode) {\n\t errObj.statusCode = err.response.statusCode;\n\t }\n\n\t if (err.response && err.response.statusText) {\n\t errObj.statusText = err.response.statusText;\n\t }\n\n\t if (err.response && err.response.body) {\n\t err = err.response.body;\n\t }\n\n\t if (err.err) {\n\t err = err.err;\n\t }\n\n\t errObj.code =\n\t err.code || err.error || err.error_code || err.status || null;\n\n\t errObj.description =\n\t err.errorDescription ||\n\t err.error_description ||\n\t err.description ||\n\t err.error ||\n\t err.details ||\n\t err.err ||\n\t null;\n\n\t if (options.forceLegacyError) {\n\t errObj.error = errObj.code;\n\t errObj.error_description = errObj.description;\n\t }\n\n\t if (err.error_codes && err.error_details) {\n\t errObj.errorDetails = {\n\t codes: err.error_codes,\n\t details: err.error_details\n\t };\n\t }\n\n\t if (err.name) {\n\t errObj.name = err.name;\n\t }\n\n\t if (err.policy) {\n\t errObj.policy = err.policy;\n\t }\n\n\t return cb(errObj);\n\t }\n\n\t if (\n\t data.type &&\n\t (data.type === 'text/html' || data.type === 'text/plain')\n\t ) {\n\t return cb(null, data.text);\n\t }\n\n\t if (options.ignoreCasing) {\n\t return cb(null, data.body || data);\n\t }\n\n\t return cb(\n\t null,\n\t objectHelper.toCamelCase(data.body || data, [], {\n\t keepOriginal: options.keepOriginalCasing\n\t })\n\t );\n\t };\n\t}\n\n\t// For future reference:,\n\n\tvar tokenParams = [\n\t // auth0\n\t 'realm',\n\t 'audience',\n\t 'otp',\n\t // oauth2\n\t 'client_id',\n\t 'client_secret',\n\t 'redirect_uri',\n\t 'scope',\n\t 'code',\n\t 'grant_type',\n\t 'username',\n\t 'password',\n\t 'refresh_token',\n\t 'assertion',\n\t 'client_assertion',\n\t 'client_assertion_type',\n\t 'code_verifier'\n\t];\n\n\tvar authorizeParams = [\n\t // auth0\n\t 'connection',\n\t 'connection_scope',\n\t 'auth0Client',\n\t 'owp',\n\t 'device',\n\t 'realm',\n\t 'organization',\n\t 'invitation',\n\n\t 'protocol',\n\t '_csrf',\n\t '_intstate',\n\t 'login_ticket',\n\n\t // oauth2\n\t 'client_id',\n\t 'response_type',\n\t 'response_mode',\n\t 'redirect_uri',\n\t 'audience',\n\t 'scope',\n\t 'state',\n\t 'nonce',\n\t 'display',\n\t 'prompt',\n\t 'screen_hint',\n\t 'max_age',\n\t 'ui_locales',\n\t 'claims_locales',\n\t 'id_token_hint',\n\t 'login_hint',\n\t 'acr_values',\n\t 'claims',\n\t 'registration',\n\t 'request',\n\t 'request_uri',\n\t 'code_challenge',\n\t 'code_challenge_method',\n\n\t // ADDITIONAL_PARAMETERS:\n\t // https://auth0.com/docs/api/authentication?javascript#social\n\t 'access_type',\n\t 'display'\n\t];\n\n\tfunction oauthAuthorizeParams(warn, params) {\n\t var notAllowed = objectHelper.getKeysNotIn(params, authorizeParams);\n\n\t if (notAllowed.length > 0) {\n\t warn.warning(\n\t 'Following parameters are not allowed on the `/authorize` endpoint: [' +\n\t notAllowed.join(',') +\n\t ']'\n\t );\n\t }\n\n\t return params;\n\t}\n\n\tfunction oauthTokenParams(warn, params) {\n\t return objectHelper.pick(params, tokenParams);\n\t}\n\n\tvar parametersWhitelist = {\n\t oauthTokenParams: oauthTokenParams,\n\t oauthAuthorizeParams: oauthAuthorizeParams\n\t};\n\n\tvar t=\"undefined\"!=typeof globalThis?globalThis:\"undefined\"!=typeof window?window:\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:{};function e(t){var e={exports:{}};return t(e,e.exports),e.exports}var r=e(function(e,r){e.exports=function(){function e(t){return \"function\"==typeof t}var r=Array.isArray?Array.isArray:function(t){return \"[object Array]\"===Object.prototype.toString.call(t)},i=0,n=void 0,o=void 0,s=function(t,e){l[i]=t,l[i+1]=e,2===(i+=2)&&(o?o(d):w());},h=\"undefined\"!=typeof window?window:void 0,u=h||{},a=u.MutationObserver||u.WebKitMutationObserver,f=\"undefined\"==typeof self&&\"undefined\"!=typeof process&&\"[object process]\"==={}.toString.call(process),c=\"undefined\"!=typeof Uint8ClampedArray&&\"undefined\"!=typeof importScripts&&\"undefined\"!=typeof MessageChannel;function p(){var t=setTimeout;return function(){return t(d,1)}}var l=new Array(1e3);function d(){for(var t=0;t>>2]|=(r[o>>>2]>>>24-o%4*8&255)<<24-(i+o)%4*8;else for(var s=0;s>>2]=r[s>>>2];return this.sigBytes+=n,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4);},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],r=0;r>>2]>>>24-n%4*8&255;i.push((o>>>4).toString(16)),i.push((15&o).toString(16));}return i.join(\"\")},parse:function(t){for(var e=t.length,r=[],i=0;i>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new f.init(r,e/2)}},l=c.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],n=0;n>>2]>>>24-n%4*8&255));return i.join(\"\")},parse:function(t){for(var e=t.length,r=[],i=0;i>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new f.init(r,e)}},d=c.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error(\"Malformed UTF-8 data\")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},m=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new f.init,this._nDataBytes=0;},_append:function(t){\"string\"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes;},_process:function(t){var r,i=this._data,n=i.words,o=i.sigBytes,s=this.blockSize,h=o/(4*s),u=(h=t?e.ceil(h):e.max((0|h)-this._minBufferSize,0))*s,a=e.min(4*u,o);if(u){for(var c=0;c>>7)^(d<<14|d>>>18)^d>>>3)+a[l-7]+((m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10)+a[l-16];}var v=i&n^i&o^n&o,y=p+((h<<26|h>>>6)^(h<<21|h>>>11)^(h<<7|h>>>25))+(h&f^~h&c)+u[l]+a[l];p=c,c=f,f=h,h=s+y|0,s=o,o=n,n=i,i=y+(((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+v)|0;}r[0]=r[0]+i|0,r[1]=r[1]+n|0,r[2]=r[2]+o|0,r[3]=r[3]+s|0,r[4]=r[4]+h|0,r[5]=r[5]+f|0,r[6]=r[6]+c|0,r[7]=r[7]+p|0;},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,n=8*e.sigBytes;return r[n>>>5]|=128<<24-n%32,r[14+(n+64>>>9<<4)]=t.floor(i/4294967296),r[15+(n+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=o._createHelper(f),e.HmacSHA256=o._createHmacHelper(f);}(Math),r.SHA256);}),s=e(function(t,e){var r,i;t.exports=(i=(r=n).lib.WordArray,r.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,i=this._map;t.clamp();for(var n=[],o=0;o>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,h=0;h<4&&o+.75*h>>6*(3-h)&63));var u=i.charAt(64);if(u)for(;n.length%4;)n.push(u);return n.join(\"\")},parse:function(t){var e=t.length,r=this._map,n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o>>6-s%4*2;n[o>>>2]|=(h|u)<<24-o%4*8,o++;}return i.create(n,o)}(t,e,n)},_map:\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"},r.enc.Base64);}),h=e(function(t,e){t.exports=n.enc.Hex;}),u=e(function(e,r){(function(){var t;function r(t,e,r){null!=t&&(\"number\"==typeof t?this.fromNumber(t,e,r):this.fromString(t,null==e&&\"string\"!=typeof t?256:e));}function i(){return new r(null)}var n=\"undefined\"!=typeof navigator;n&&\"Microsoft Internet Explorer\"==navigator.appName?(r.prototype.am=function(t,e,r,i,n,o){for(var s=32767&e,h=e>>15;--o>=0;){var u=32767&this[t],a=this[t++]>>15,f=h*u+a*s;n=((u=s*u+((32767&f)<<15)+r[i]+(1073741823&n))>>>30)+(f>>>15)+h*a+(n>>>30),r[i++]=1073741823&u;}return n},t=30):n&&\"Netscape\"!=navigator.appName?(r.prototype.am=function(t,e,r,i,n,o){for(;--o>=0;){var s=e*this[t++]+r[i]+n;n=Math.floor(s/67108864),r[i++]=67108863&s;}return n},t=26):(r.prototype.am=function(t,e,r,i,n,o){for(var s=16383&e,h=e>>14;--o>=0;){var u=16383&this[t],a=this[t++]>>14,f=h*u+a*s;n=((u=s*u+((16383&f)<<14)+r[i]+n)>>28)+(f>>14)+h*a,r[i++]=268435455&u;}return n},t=28),r.prototype.DB=t,r.prototype.DM=(1<>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function p(t){this.m=t;}function l(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function w(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function T(){}function b(t){return t}function _(t){this.r2=i(),this.q3=i(),r.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t;}p.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},p.prototype.revert=function(t){return t},p.prototype.reduce=function(t){t.divRemTo(this.m,null,t);},p.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r);},p.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e);},l.prototype.convert=function(t){var e=i();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(r.ZERO)>0&&this.m.subTo(e,e),e},l.prototype.revert=function(t){var e=i();return t.copyTo(e),this.reduce(e),e},l.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++;}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t);},l.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r);},l.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e);},r.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s;},r.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0;},r.prototype.fromString=function(t,e){var i;if(16==e)i=4;else if(8==e)i=3;else if(256==e)i=8;else if(2==e)i=1;else if(32==e)i=5;else {if(4!=e)return void this.fromRadix(t,e);i=2;}this.t=0,this.s=0;for(var n=t.length,o=!1,s=0;--n>=0;){var h=8==i?255&t[n]:a(t,n);h<0?\"-\"==t.charAt(n)&&(o=!0):(o=!1,0==s?this[this.t++]=h:s+i>this.DB?(this[this.t-1]|=(h&(1<>this.DB-s):this[this.t-1]|=h<=this.DB&&(s-=this.DB));}8==i&&0!=(128&t[0])&&(this.s=-1,s>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t;},r.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s;},r.prototype.drShiftTo=function(t,e){for(var r=t;r=0;--r)e[r+s+1]=this[r]>>n|h,h=(this[r]&o)<=0;--r)e[r]=0;e[s]=h,e.t=this.t+s+1,e.s=this.s,e.clamp();},r.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else {var i=t%this.DB,n=this.DB-i,o=(1<>i;for(var s=r+1;s>i;i>0&&(e[this.t-r-1]|=(this.s&o)<>=this.DB;if(t.t>=this.DB;i+=this.s;}else {for(i+=this.s;r>=this.DB;i-=t.s;}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp();},r.prototype.multiplyTo=function(t,e){var i=this.abs(),n=t.abs(),o=i.t;for(e.t=o+n.t;--o>=0;)e[o]=0;for(o=0;o=0;)t[r]=0;for(r=0;r=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1);}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp();},r.prototype.divRemTo=function(t,e,n){var o=t.abs();if(!(o.t<=0)){var s=this.abs();if(s.t0?(o.lShiftTo(f,h),s.lShiftTo(f,n)):(o.copyTo(h),s.copyTo(n));var p=h.t,l=h[p-1];if(0!=l){var d=l*(1<1?h[p-2]>>this.F2:0),m=this.FV/d,v=(1<=0&&(n[n.t++]=1,n.subTo(T,n)),r.ONE.dlShiftTo(p,T),T.subTo(h,h);h.t=0;){var b=n[--g]==l?this.DM:Math.floor(n[g]*m+(n[g-1]+y)*v);if((n[g]+=h.am(0,b,n,w,0,p))0&&n.rShiftTo(f,n),u<0&&r.ZERO.subTo(n,n);}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return (e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(t,e){if(t>4294967295||t<1)return r.ONE;var n=i(),o=i(),s=e.convert(this),h=c(t)-1;for(s.copyTo(n);--h>=0;)if(e.sqrTo(n,o),(t&1<0)e.mulTo(o,s,n);else {var u=n;n=o,o=u;}return e.revert(n)},r.prototype.toString=function(t){if(this.s<0)return \"-\"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else {if(4!=t)return this.toRadix(t);e=2;}var r,i=(1<0)for(h>h)>0&&(n=!0,o=u(r));s>=0;)h>(h+=this.DB-e)):(r=this[s]>>(h-=e)&i,h<=0&&(h+=this.DB,--s)),r>0&&(n=!0),n&&(o+=u(r));return n?o:\"0\"},r.prototype.negate=function(){var t=i();return r.ZERO.subTo(this,t),t},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+c(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(t){var e=i();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(r.ZERO)>0&&t.subTo(e,e),e},r.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new p(e):new l(e),this.exp(t,r)},r.ZERO=f(0),r.ONE=f(1),T.prototype.convert=b,T.prototype.revert=b,T.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r);},T.prototype.sqrTo=function(t,e){t.squareTo(e);},_.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=i();return t.copyTo(e),this.reduce(e),e},_.prototype.revert=function(t){return t},_.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t);},_.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r);},_.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e);};var S,A,D,B=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],x=(1<<26)/B[B.length-1];function E(){var t;t=(new Date).getTime(),A[D++]^=255&t,A[D++]^=t>>8&255,A[D++]^=t>>16&255,A[D++]^=t>>24&255,D>=j&&(D-=j);}if(r.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},r.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return \"0\";var e=this.chunkSize(t),r=Math.pow(t,e),n=f(r),o=i(),s=i(),h=\"\";for(this.divRemTo(n,o,s);o.signum()>0;)h=(r+s.intValue()).toString(t).substr(1)+h,o.divRemTo(n,o,s);return s.intValue().toString(t)+h},r.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var i=this.chunkSize(e),n=Math.pow(e,i),o=!1,s=0,h=0,u=0;u=i&&(this.dMultiply(n),this.dAddOffset(h,0),s=0,h=0));}s>0&&(this.dMultiply(Math.pow(e,s)),this.dAddOffset(h,0)),o&&r.ZERO.subTo(this,this);},r.prototype.fromNumber=function(t,e,i){if(\"number\"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,i),this.testBit(t-1)||this.bitwiseTo(r.ONE.shiftLeft(t-1),m,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(r.ONE.shiftLeft(t-1),this);else {var n=new Array,o=7&t;n.length=1+(t>>3),e.nextBytes(n),o>0?n[0]&=(1<>=this.DB;if(t.t>=this.DB;i+=this.s;}else {for(i+=this.s;r>=this.DB;i+=t.s;}e.s=i<0?-1:0,i>0?e[r++]=i:i<-1&&(e[r++]=this.DV+i),e.t=r,e.clamp();},r.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp();},r.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e];}},r.prototype.multiplyLowerTo=function(t,e,r){var i,n=Math.min(this.t+t.t,e);for(r.s=0,r.t=n;n>0;)r[--n]=0;for(i=r.t-this.t;n=0;)r[i]=0;for(i=Math.max(e-this.t,0);i0)if(0==e)r=this[0]%t;else for(var i=this.t-1;i>=0;--i)r=(e*r+this[i])%t;return r},r.prototype.millerRabin=function(t){var e=this.subtract(r.ONE),n=e.getLowestSetBit();if(n<=0)return !1;var o=e.shiftRight(n);(t=t+1>>1)>B.length&&(t=B.length);for(var s=i(),h=0;h>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var r,i=this.DB-t*this.DB%8,n=0;if(t-- >0)for(i>i)!=(this.s&this.DM)>>i&&(e[n++]=r|this.s<=0;)i<8?(r=(this[t]&(1<>(i+=this.DB-8)):(r=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==n&&(128&this.s)!=(128&r)&&++n,(n>0||r!=this.s)&&(e[n++]=r);return e},r.prototype.equals=function(t){return 0==this.compareTo(t)},r.prototype.min=function(t){return this.compareTo(t)<0?this:t},r.prototype.max=function(t){return this.compareTo(t)>0?this:t},r.prototype.and=function(t){var e=i();return this.bitwiseTo(t,d,e),e},r.prototype.or=function(t){var e=i();return this.bitwiseTo(t,m,e),e},r.prototype.xor=function(t){var e=i();return this.bitwiseTo(t,v,e),e},r.prototype.andNot=function(t){var e=i();return this.bitwiseTo(t,y,e),e},r.prototype.not=function(){for(var t=i(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var m=i();for(n.sqrTo(h[1],m);u<=d;)h[u]=i(),n.mulTo(m,h[u-2],h[u]),u+=2;}var v,y,g=t.t-1,w=!0,T=i();for(o=c(t[g])-1;g>=0;){for(o>=a?v=t[g]>>o-a&d:(v=(t[g]&(1<0&&(v|=t[g-1]>>this.DB+o-a)),u=r;0==(1&v);)v>>=1,--u;if((o-=u)<0&&(o+=this.DB,--g),w)h[v].copyTo(s),w=!1;else {for(;u>1;)n.sqrTo(s,T),n.sqrTo(T,s),u-=2;u>0?n.sqrTo(s,T):(y=s,s=T,T=y),n.mulTo(T,h[v],s);}for(;g>=0&&0==(t[g]&1<=0?(i.subTo(n,i),e&&o.subTo(h,o),s.subTo(u,s)):(n.subTo(i,n),e&&h.subTo(o,h),u.subTo(s,u));}return 0!=n.compareTo(r.ONE)?r.ZERO:u.compareTo(t)>=0?u.subtract(t):u.signum()<0?(u.addTo(t,u),u.signum()<0?u.add(t):u):u},r.prototype.pow=function(t){return this.exp(t,new T)},r.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var i=e;e=r,r=i;}var n=e.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return e;for(n0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(n=e.getLowestSetBit())>0&&e.rShiftTo(n,e),(n=r.getLowestSetBit())>0&&r.rShiftTo(n,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},r.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=B[B.length-1]){for(e=0;e>>8,A[D++]=255&k;D=0,E();}function C(){if(null==S){for(E(),(S=new O).init(A),D=0;D0&&e.length>0))throw new Error(\"Invalid key data\");this.n=new u.BigInteger(t,16),this.e=parseInt(e,16);}c.prototype.verify=function(t,e){e=e.replace(/[^0-9a-f]|[\\s\\n]]/gi,\"\");var r=new u.BigInteger(e,16);if(r.bitLength()>this.n.bitLength())throw new Error(\"Signature does not match with the key modulus.\");var i=function(t){for(var e in a){var r=a[e],i=r.length;if(t.substring(0,i)===r)return {alg:e,hash:t.substring(i)}}return []}(r.modPowInt(this.e,this.n).toString(16).replace(/^1f+00/,\"\"));if(0===i.length)return !1;if(!f.hasOwnProperty(i.alg))throw new Error(\"Hashing algorithm is not supported.\");var n=f[i.alg](t).toString();return i.hash===n};for(var p=[],l=[],d=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,m=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",v=0,y=m.length;v0)throw new Error(\"Invalid string. Length must be a multiple of 4\");var r=t.indexOf(\"=\");return -1===r&&(r=e),[r,r===e?0:4-r%4]}(t),n=i[0],o=i[1],s=new d(function(t,e,r){return 3*(e+r)/4-r}(0,n,o)),h=0,u=o>0?n-4:n;for(r=0;r>16&255,s[h++]=e>>8&255,s[h++]=255&e;return 2===o&&(e=l[t.charCodeAt(r)]<<2|l[t.charCodeAt(r+1)]>>4,s[h++]=255&e),1===o&&(e=l[t.charCodeAt(r)]<<10|l[t.charCodeAt(r+1)]<<4|l[t.charCodeAt(r+2)]>>2,s[h++]=e>>8&255,s[h++]=255&e),s};function w(t){var e=t.length%4;return 0===e?t:t+new Array(4-e+1).join(\"=\")}function T(t){return t=w(t).replace(/\\-/g,\"+\").replace(/_/g,\"/\"),decodeURIComponent(function(t){for(var e=\"\",r=0;r1){var r=t.shift();t[0]=r+t[0];}t[0]=t[0].match(/^file:\\/\\/\\//)?t[0].replace(/^([^/:]+):\\/*/,\"$1:///\"):t[0].replace(/^([^/:]+):\\/*/,\"$1://\");for(var i=0;i0&&(n=n.replace(/^[\\/]+/,\"\")),n=n.replace(/[\\/]+$/,i0?\"?\":\"\")+s.join(\"&\")}return function(){return t(\"object\"==typeof arguments[0]?arguments[0]:[].slice.call(arguments))}},e.exports?e.exports=i():r.urljoin=i();});function S(t,e){return e=e||{},new Promise(function(r,i){var n=new XMLHttpRequest,o=[],s=[],h={},u=function(){return {ok:2==(n.status/100|0),statusText:n.statusText,status:n.status,url:n.responseURL,text:function(){return Promise.resolve(n.responseText)},json:function(){return Promise.resolve(n.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([n.response]))},clone:u,headers:{keys:function(){return o},entries:function(){return s},get:function(t){return h[t.toLowerCase()]},has:function(t){return t.toLowerCase()in h}}}};for(var a in n.open(e.method||\"get\",t,!0),n.onload=function(){n.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm,function(t,e,r){o.push(e=e.toLowerCase()),s.push([e,r]),h[e]=h[e]?h[e]+\",\"+r:r;}),r(u());},n.onerror=i,n.withCredentials=\"include\"==e.credentials,e.headers)n.setRequestHeader(a,e.headers[a]);n.send(e.body||null);})}function A(t){if(t.ok)return t.json();var e=new Error(t.statusText);return e.response=t,Promise.reject(e)}function D(t){this.name=\"ConfigurationError\",this.message=t||\"\";}function B(t){this.name=\"TokenValidationError\",this.message=t||\"\";}D.prototype=Error.prototype,B.prototype=Error.prototype;var x=function(){function t(){}var e=t.prototype;return e.get=function(){return null},e.has=function(){return null},e.set=function(){return null},t}();r.polyfill();var E=\"RS256\",k=function(t){return \"number\"==typeof t},I=function(){return new Date};function M(t){var e=t||{};if(this.jwksCache=e.jwksCache||new x,this.expectedAlg=e.expectedAlg||\"RS256\",this.issuer=e.issuer,this.audience=e.audience,this.leeway=0===e.leeway?0:e.leeway||60,this.jwksURI=e.jwksURI,this.maxAge=e.maxAge,this.__clock=\"function\"==typeof e.__clock?e.__clock:I,this.leeway<0||this.leeway>300)throw new D(\"The leeway should be positive and lower than five minutes.\");if(E!==this.expectedAlg)throw new D('Signature algorithm of \"'+this.expectedAlg+'\" is not supported. Expected the ID token to be signed with \"'+E+'\".')}M.prototype.verify=function(t,e,r){if(!r&&e&&\"function\"==typeof e&&(r=e,e=void 0),!t)return r(new B(\"ID token is required but missing\"),null);var i=this.decode(t);if(i instanceof Error)return r(new B(\"ID token could not be decoded\"),null);var n=i.encoded.header+\".\"+i.encoded.payload,o=b(i.encoded.signature),s=i.header.alg,h=i.header.kid,u=i.payload.aud,a=i.payload.sub,f=i.payload.iss,c=i.payload.exp,p=i.payload.nbf,l=i.payload.iat,d=i.payload.azp,m=i.payload.auth_time,v=i.payload.nonce,y=this.__clock(),g=this;if(g.expectedAlg!==s)return r(new B('Signature algorithm of \"'+s+'\" is not supported. Expected the ID token to be signed with \"'+E+'\".'),null);this.getRsaVerifier(f,h,function(t,s){if(t)return r(t,null);if(!s.verify(n,o))return r(new B(\"Invalid ID token signature.\"),null);if(!f||\"string\"!=typeof f)return r(new B(\"Issuer (iss) claim must be a string present in the ID token\"),null);if(g.issuer!==f)return r(new B('Issuer (iss) claim mismatch in the ID token, expected \"'+g.issuer+'\", found \"'+f+'\"'),null);if(!a||\"string\"!=typeof a)return r(new B(\"Subject (sub) claim must be a string present in the ID token\"),null);if(!u||\"string\"!=typeof u&&!Array.isArray(u))return r(new B(\"Audience (aud) claim must be a string or array of strings present in the ID token\"),null);if(Array.isArray(u)&&!u.includes(g.audience))return r(new B('Audience (aud) claim mismatch in the ID token; expected \"'+g.audience+'\" but was not one of \"'+u.join(\", \")+'\"'),null);if(\"string\"==typeof u&&g.audience!==u)return r(new B('Audience (aud) claim mismatch in the ID token; expected \"'+g.audience+'\" but found \"'+u+'\"'),null);if(e){if(!v||\"string\"!=typeof v)return r(new B(\"Nonce (nonce) claim must be a string present in the ID token\"),null);if(v!==e)return r(new B('Nonce (nonce) claim value mismatch in the ID token; expected \"'+e+'\", found \"'+v+'\"'),null)}if(Array.isArray(u)&&u.length>1){if(!d||\"string\"!=typeof d)return r(new B(\"Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values\"),null);if(d!==g.audience)return r(new B('Authorized Party (azp) claim mismatch in the ID token; expected \"'+g.audience+'\", found \"'+d+'\"'),null)}if(!c||!k(c))return r(new B(\"Expiration Time (exp) claim must be a number present in the ID token\"),null);if(!l||!k(l))return r(new B(\"Issued At (iat) claim must be a number present in the ID token\"),null);var h=c+g.leeway,w=new Date(0);if(w.setUTCSeconds(h),y>w)return r(new B('Expiration Time (exp) claim error in the ID token; current time \"'+y+'\" is after expiration time \"'+w+'\"'),null);if(p&&k(p)){var T=p-g.leeway,b=new Date(0);if(b.setUTCSeconds(T),yS)return r(new B('Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Current time \"'+y+'\" is after last auth time at \"'+S+'\"'),null)}return r(null,i.payload)});},M.prototype.getRsaVerifier=function(t,e,r){var i=this,n=t+e;Promise.resolve(this.jwksCache.has(n)).then(function(r){return r?i.jwksCache.get(n):(o={jwksURI:i.jwksURI,iss:t,kid:e},(\"undefined\"==typeof fetch?S:fetch)(o.jwksURI||_(o.iss,\".well-known\",\"jwks.json\")).then(A).then(function(t){var e,r,i,n=null;for(e=0;e 11\n\t else if (ua.indexOf(\"Trident\") > -1) {\n\t var re = new RegExp(\"rv:([0-9]{2,2}[\\.0-9]{0,})\");\n\t if (re.exec(ua) !== null) {\n\t rv = parseFloat(RegExp.$1);\n\t }\n\t }\n\n\t return rv >= 8;\n\t }\n\n\t // checking Mobile Firefox (Fennec)\n\t function isFennec() {\n\t try {\n\t // We must check for both XUL and Java versions of Fennec. Both have\n\t // distinct UA strings.\n\t var userAgent = navigator.userAgent;\n\t return (userAgent.indexOf('Fennec/') != -1) || // XUL\n\t (userAgent.indexOf('Firefox/') != -1 && userAgent.indexOf('Android') != -1); // Java\n\t } catch(e) {}\n\t return false;\n\t }\n\n\t // feature checking to see if this platform is supported at all\n\t function isSupported() {\n\t return (typeof window !== 'undefined' && window.JSON && window.JSON.stringify &&\n\t window.JSON.parse && window.postMessage);\n\t }\n\n\t // given a URL, extract the origin. Taken from: https://github.com/firebase/firebase-simple-login/blob/d2cb95b9f812d8488bdbfba51c3a7c153ba1a074/js/src/simple-login/transports/WinChan.js#L25-L30\n\t function extractOrigin(url) {\n\t if (!/^https?:\\/\\//.test(url)) url = window.location.href;\n\t var m = /^(https?:\\/\\/[\\-_a-zA-Z\\.0-9:]+)/.exec(url);\n\t if (m) return m[1];\n\t return url;\n\t }\n\n\t // find the relay iframe in the opener\n\t function findRelay() {\n\t var frames = window.opener.frames;\n\t for (var i = frames.length - 1; i >= 0; i--) {\n\t try {\n\t if (frames[i].location.protocol === window.location.protocol &&\n\t frames[i].location.host === window.location.host &&\n\t frames[i].name === RELAY_FRAME_NAME)\n\t {\n\t return frames[i];\n\t }\n\t } catch(e) { }\n\t }\n\t return;\n\t }\n\n\t var isIE = isInternetExplorer();\n\n\t if (isSupported()) {\n\t /* General flow:\n\t * 0. user clicks\n\t * (IE SPECIFIC) 1. caller adds relay iframe (served from trusted domain) to DOM\n\t * 2. caller opens window (with content from trusted domain)\n\t * 3. window on opening adds a listener to 'message'\n\t * (IE SPECIFIC) 4. window on opening finds iframe\n\t * 5. window checks if iframe is \"loaded\" - has a 'doPost' function yet\n\t * (IE SPECIFIC5) 5a. if iframe.doPost exists, window uses it to send ready event to caller\n\t * (IE SPECIFIC5) 5b. if iframe.doPost doesn't exist, window waits for frame ready\n\t * (IE SPECIFIC5) 5bi. once ready, window calls iframe.doPost to send ready event\n\t * 6. caller upon reciept of 'ready', sends args\n\t */\n\t return {\n\t open: function(opts, cb) {\n\t if (!cb) throw \"missing required callback argument\";\n\n\t // test required options\n\t var err;\n\t if (!opts.url) err = \"missing required 'url' parameter\";\n\t if (!opts.relay_url) err = \"missing required 'relay_url' parameter\";\n\t if (err) setTimeout(function() { cb(err); }, 0);\n\n\t // supply default options\n\t if (!opts.window_name) opts.window_name = null;\n\t if (!opts.window_features || isFennec()) opts.window_features = undefined;\n\n\t // opts.params may be undefined\n\n\t var iframe;\n\n\t // sanity check, are url and relay_url the same origin?\n\t var origin = opts.origin || extractOrigin(opts.url);\n\t if (origin !== extractOrigin(opts.relay_url)) {\n\t return setTimeout(function() {\n\t cb('invalid arguments: origin of url and relay_url must match');\n\t }, 0);\n\t }\n\n\t var messageTarget;\n\n\t if (isIE) {\n\t // first we need to add a \"relay\" iframe to the document that's served\n\t // from the target domain. We can postmessage into a iframe, but not a\n\t // window\n\t iframe = document.createElement(\"iframe\");\n\t // iframe.setAttribute('name', framename);\n\t iframe.setAttribute('src', opts.relay_url);\n\t iframe.style.display = \"none\";\n\t iframe.setAttribute('name', RELAY_FRAME_NAME);\n\t document.body.appendChild(iframe);\n\t messageTarget = iframe.contentWindow;\n\t }\n\n\t var w = opts.popup || window.open(opts.url, opts.window_name, opts.window_features);\n\t if (opts.popup) {\n\t w.location.href = opts.url;\n\t }\n\n\t if (!messageTarget) messageTarget = w;\n\n\t // lets listen in case the window blows up before telling us\n\t var closeInterval = setInterval(function() {\n\t if (w && w.closed) {\n\t cleanup();\n\t if (cb) {\n\t cb('User closed the popup window');\n\t cb = null;\n\t }\n\t }\n\t }, 500);\n\n\t var req = JSON.stringify({a: 'request', d: opts.params});\n\n\t // cleanup on unload\n\t function cleanup() {\n\t if (iframe) document.body.removeChild(iframe);\n\t iframe = undefined;\n\t if (closeInterval) closeInterval = clearInterval(closeInterval);\n\t removeListener(window, 'message', onMessage);\n\t removeListener(window, 'unload', cleanup);\n\t if (w) {\n\t try {\n\t w.close();\n\t } catch (securityViolation) {\n\t // This happens in Opera 12 sometimes\n\t // see https://github.com/mozilla/browserid/issues/1844\n\t messageTarget.postMessage(CLOSE_CMD, origin);\n\t }\n\t }\n\t w = messageTarget = undefined;\n\t }\n\n\t addListener(window, 'unload', cleanup);\n\n\t function onMessage(e) {\n\t if (e.origin !== origin) { return; }\n\t try {\n\t var d = JSON.parse(e.data);\n\t } catch(err) {\n\t if (cb) {\n\t return cb(err);\n\t } else {\n\t throw err;\n\t }\n\t }\n\n\t if (d.a === 'ready') {\n\t messageTarget.postMessage(req, origin);\n\t } else if (d.a === 'error') {\n\t cleanup();\n\t if (cb) {\n\t cb(d.d);\n\t cb = null;\n\t }\n\t } else if (d.a === 'response') {\n\t cleanup();\n\t if (cb) {\n\t cb(null, d.d);\n\t cb = null;\n\t }\n\t }\n\t }\n\n\t addListener(window, 'message', onMessage);\n\n\t return {\n\t originalPopup: w,\n\t close: cleanup,\n\t focus: function() {\n\t if (w) {\n\t try {\n\t w.focus();\n\t } catch (e) {\n\t // IE7 blows up here, do nothing\n\t }\n\t }\n\t }\n\t };\n\t },\n\t onOpen: function(cb) {\n\t var o = \"*\";\n\t var msgTarget = isIE ? findRelay() : window.opener;\n\t if (!msgTarget) throw \"can't find relay frame\";\n\t function doPost(msg) {\n\t msg = JSON.stringify(msg);\n\t if (isIE) msgTarget.doPost(msg, o);\n\t else msgTarget.postMessage(msg, o);\n\t }\n\n\t function onMessage(e) {\n\t // only one message gets through, but let's make sure it's actually\n\t // the message we're looking for (other code may be using\n\t // postmessage) - we do this by ensuring the payload can\n\t // be parsed, and it's got an 'a' (action) value of 'request'.\n\t var d;\n\t try {\n\t d = JSON.parse(e.data);\n\t } catch(err) { }\n\t if (!d || d.a !== 'request') return;\n\t removeListener(window, 'message', onMessage);\n\t o = e.origin;\n\t if (cb) {\n\t // this setTimeout is critically important for IE8 -\n\t // in ie8 sometimes addListener for 'message' can synchronously\n\t // cause your callback to be invoked. awesome.\n\t setTimeout(function() {\n\t cb(o, d.d, function(r) {\n\t cb = undefined;\n\t doPost({a: 'response', d: r});\n\t });\n\t }, 0);\n\t }\n\t }\n\n\t function onDie(e) {\n\t if (e.data === CLOSE_CMD) {\n\t try { window.close(); } catch (o_O) {}\n\t }\n\t }\n\t addListener(isIE ? msgTarget : window, 'message', onMessage);\n\t addListener(isIE ? msgTarget : window, 'message', onDie);\n\n\t // we cannot post to our parent that we're ready before the iframe\n\t // is loaded. (IE specific possible failure)\n\t try {\n\t doPost({a: \"ready\"});\n\t } catch(e) {\n\t // this code should never be exectued outside IE\n\t addListener(msgTarget, 'load', function(e) {\n\t doPost({a: \"ready\"});\n\t });\n\t }\n\n\t // if window is unloaded and the client hasn't called cb, it's an error\n\t var onUnload = function() {\n\t try {\n\t // IE8 doesn't like this...\n\t removeListener(isIE ? msgTarget : window, 'message', onDie);\n\t } catch (ohWell) { }\n\t if (cb) doPost({ a: 'error', d: 'client closed window' });\n\t cb = undefined;\n\t // explicitly close the window, in case the client is trying to reload or nav\n\t try { window.close(); } catch (e) { }\n\t };\n\t addListener(window, 'unload', onUnload);\n\t return {\n\t detach: function() {\n\t removeListener(window, 'unload', onUnload);\n\t }\n\t };\n\t }\n\t };\n\t } else {\n\t return {\n\t open: function(url, winopts, arg, cb) {\n\t setTimeout(function() { cb(\"unsupported browser\"); }, 0);\n\t },\n\t onOpen: function(cb) {\n\t setTimeout(function() { cb(\"unsupported browser\"); }, 0);\n\t }\n\t };\n\t }\n\t})();\n\n\tif ( module.exports) {\n\t module.exports = WinChan;\n\t}\n\t});\n\n\t// given a URL, extract the origin. Taken from: https://github.com/firebase/firebase-simple-login/blob/d2cb95b9f812d8488bdbfba51c3a7c153ba1a074/js/src/simple-login/transports/WinChan.js#L25-L30\n\tfunction extractOrigin(url) {\n\t if (!/^https?:\\/\\//.test(url)) url = window.location.href;\n\t var m = /^(https?:\\/\\/[-_a-zA-Z.0-9:]+)/.exec(url);\n\t if (m) return m[1];\n\t return url;\n\t}\n\n\tvar urlHelper = {\n\t extractOrigin: extractOrigin\n\t};\n\n\t/* eslint-disable no-restricted-syntax */\n\n\tfunction PopupHandler() {\n\t this._current_popup = null;\n\t}\n\n\tPopupHandler.prototype.calculatePosition = function(options) {\n\t var width = options.width || 500;\n\t var height = options.height || 600;\n\t var _window = windowHelper.getWindow();\n\n\t var screenX =\n\t typeof _window.screenX !== 'undefined'\n\t ? _window.screenX\n\t : _window.screenLeft;\n\t var screenY =\n\t typeof _window.screenY !== 'undefined'\n\t ? _window.screenY\n\t : _window.screenTop;\n\n\t var outerWidth =\n\t typeof _window.outerWidth !== 'undefined'\n\t ? _window.outerWidth\n\t : _window.document.body.clientWidth;\n\n\t var outerHeight =\n\t typeof _window.outerHeight !== 'undefined'\n\t ? _window.outerHeight\n\t : _window.document.body.clientHeight;\n\n\t var left = options.left || screenX + (outerWidth - width) / 2;\n\t var top = options.top || screenY + (outerHeight - height) / 2;\n\n\t return { width: width, height: height, left: left, top: top };\n\t};\n\n\tPopupHandler.prototype.preload = function(options) {\n\t var _this = this;\n\t var _window = windowHelper.getWindow();\n\t var popupPosition = this.calculatePosition(options.popupOptions || {});\n\t var popupOptions = objectHelper\n\t .merge(popupPosition)\n\t .with(options.popupOptions);\n\t var url = options.url || 'about:blank';\n\t var windowFeatures = lib.stringify(popupOptions, {\n\t encode: false,\n\t delimiter: ','\n\t });\n\n\t if (this._current_popup && !this._current_popup.closed) {\n\t return this._current_popup;\n\t }\n\n\t this._current_popup = _window.open(url, 'auth0_signup_popup', windowFeatures);\n\n\t this._current_popup.kill = function() {\n\t this.close();\n\t _this._current_popup = null;\n\t };\n\n\t return this._current_popup;\n\t};\n\n\tPopupHandler.prototype.load = function(url, relayUrl, options, cb) {\n\t var _this = this;\n\t var popupPosition = this.calculatePosition(options.popupOptions || {});\n\t var popupOptions = objectHelper\n\t .merge(popupPosition)\n\t .with(options.popupOptions);\n\n\t var winchanOptions = objectHelper\n\t .merge({\n\t url: url,\n\t relay_url: relayUrl,\n\t window_features: lib.stringify(popupOptions, {\n\t delimiter: ',',\n\t encode: false\n\t }),\n\t popup: this._current_popup\n\t })\n\t .with(options);\n\n\t var popup = winchan.open(winchanOptions, function(err, data) {\n\t // Ignores messages sent by browser extensions.\n\t if (err && err.name === 'SyntaxError') {\n\t return;\n\t }\n\t _this._current_popup = null;\n\t return cb(err, data);\n\t });\n\n\t popup.focus();\n\n\t return popup;\n\t};\n\n\t/**\n\t * @class\n\t * @classdesc This class cannot be instantiated directly. Instead, use WebAuth.popup\n\t * @hideconstructor\n\t */\n\tfunction Popup(webAuth, options) {\n\t this.baseOptions = options;\n\t this.baseOptions.popupOrigin = options.popupOrigin;\n\t this.client = webAuth.client;\n\t this.webAuth = webAuth;\n\n\t this.transactionManager = new TransactionManager(this.baseOptions);\n\t this.crossOriginAuthentication = new CrossOriginAuthentication(\n\t webAuth,\n\t this.baseOptions\n\t );\n\t this.warn = new Warn({\n\t disableWarnings: !!options._disableDeprecationWarnings\n\t });\n\t}\n\n\t/**\n\t * Returns a new instance of the popup handler\n\t *\n\t * @method buildPopupHandler\n\t * @private\n\t */\n\tPopup.prototype.buildPopupHandler = function() {\n\t var pluginHandler = this.baseOptions.plugins.get('popup.getPopupHandler');\n\n\t if (pluginHandler) {\n\t return pluginHandler.getPopupHandler();\n\t }\n\n\t return new PopupHandler();\n\t};\n\n\t/**\n\t * Initializes the popup window and returns the instance to be used later in order to avoid being blocked by the browser.\n\t *\n\t * @method preload\n\t * @param {Object} options receives the window height and width and any other window feature to be sent to window.open\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.preload = function(options) {\n\t options = options || {};\n\n\t var popup = this.buildPopupHandler();\n\n\t popup.preload(options);\n\t return popup;\n\t};\n\n\t/**\n\t * Internal use.\n\t *\n\t * @method getPopupHandler\n\t * @private\n\t */\n\tPopup.prototype.getPopupHandler = function(options, preload) {\n\t if (options.popupHandler) {\n\t return options.popupHandler;\n\t }\n\n\t if (preload) {\n\t return this.preload(options);\n\t }\n\n\t return this.buildPopupHandler();\n\t};\n\n\t/**\n\t * Handles the popup logic for the callback page.\n\t *\n\t * @method callback\n\t * @param {Object} options\n\t * @param {String} options.hash the url hash. If not provided it will extract from window.location.hash\n\t * @param {String} [options.state] value originally sent in `state` parameter to {@link authorize} to mitigate XSRF\n\t * @param {String} [options.nonce] value originally sent in `nonce` parameter to {@link authorize} to prevent replay attacks\n\t * @see {@link parseHash}\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.callback = function(options) {\n\t var _this = this;\n\t var theWindow = windowHelper.getWindow();\n\t options = options || {};\n\t var originUrl =\n\t options.popupOrigin ||\n\t this.baseOptions.popupOrigin ||\n\t windowHelper.getOrigin();\n\n\t /*\n\t in IE 11, there's a bug that makes window.opener return undefined.\n\t The callback page will still call `popup.callback()` which will run this method\n\t in the relay page. WinChan expects the relay page to have a global `doPost` function,\n\t which will be called with the response.\n\n\t IE11 Bug: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/110920/\n\t */\n\t if (!theWindow.opener) {\n\t theWindow.doPost = function(msg) {\n\t if (theWindow.parent) {\n\t theWindow.parent.postMessage(msg, originUrl);\n\t }\n\t };\n\t return;\n\t }\n\n\t winchan.onOpen(function(popupOrigin, r, cb) {\n\t if (popupOrigin !== originUrl) {\n\t return cb({\n\t error: 'origin_mismatch',\n\t error_description:\n\t \"The popup's origin (\" +\n\t popupOrigin +\n\t ') should match the `popupOrigin` parameter (' +\n\t originUrl +\n\t ').'\n\t });\n\t }\n\t _this.webAuth.parseHash(options || {}, function(err, data) {\n\t return cb(err || data);\n\t });\n\t });\n\t};\n\n\t/**\n\t * Shows inside a new window the hosted login page (`/authorize`) in order to start a new authN/authZ transaction and post its result using `postMessage`.\n\t *\n\t * @method authorize\n\t * @param {Object} options\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} options.redirectUri url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} options.responseType type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. The `query` value is only supported when `responseType` is `code`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state}\n\t * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} [options.organization] the Id of an organization to log in to\n\t * @param {String} [options.invitation] the ID of an invitation to accept. This is available from the user invitation URL that is given when participating in a user invitation flow\n\t * @param {Boolean} [options.owp] determines if Auth0 should render the relay page or not and the caller is responsible of handling the response.\n\t * @param {authorizeCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#authorize-client}\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.authorize = function(options, cb) {\n\t var popup;\n\t var url;\n\t var relayUrl;\n\t var popOpts = {};\n\n\t var pluginHandler = this.baseOptions.plugins.get('popup.authorize');\n\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'scope',\n\t 'domain',\n\t 'audience',\n\t 'tenant',\n\t 'responseType',\n\t 'redirectUri',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce',\n\t 'organization',\n\t 'invitation'\n\t ])\n\t .with(objectHelper.blacklist(options, ['popupHandler']));\n\n\t assert.check(\n\t params,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t responseType: {\n\t type: 'string',\n\t message: 'responseType option is required'\n\t }\n\t }\n\t );\n\n\t // the relay page should not be necessary as long it happens in the same domain\n\t // (a redirectUri shoul be provided). It is necessary when using OWP\n\t relayUrl = urlJoin(this.baseOptions.rootUrl, 'relay.html');\n\n\t // if a owp is enabled, it should use the owp flag\n\t if (options.owp) {\n\t // used by server to render the relay page instead of sending the chunk in the\n\t // url to the callback\n\t params.owp = true;\n\t } else {\n\t popOpts.origin = urlHelper.extractOrigin(params.redirectUri);\n\t relayUrl = params.redirectUri;\n\t }\n\n\t if (options.popupOptions) {\n\t popOpts.popupOptions = objectHelper.pick(options.popupOptions, [\n\t 'width',\n\t 'height',\n\t 'top',\n\t 'left'\n\t ]);\n\t }\n\n\t if (pluginHandler) {\n\t params = pluginHandler.processParams(params);\n\t }\n\n\t params = this.transactionManager.process(params);\n\t params.scope = params.scope || 'openid profile email';\n\t delete params.domain;\n\n\t url = this.client.buildAuthorizeUrl(params);\n\n\t popup = this.getPopupHandler(options);\n\n\t return popup.load(\n\t url,\n\t relayUrl,\n\t popOpts,\n\t wrapCallback(cb, { keepOriginalCasing: true })\n\t );\n\t};\n\n\t/**\n\t * Performs authentication with username/email and password with a database connection inside a new window\n\t *\n\t * This method is not compatible with API Auth so if you need to fetch API tokens with audience\n\t * you should use {@link authorize} or {@link login}.\n\t *\n\t * @method loginWithCredentials\n\t * @param {Object} options\n\t * @param {String} [options.redirectUri] url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} [options.responseType] type of the response used. It can be any of the values `code` and `token`\n\t * @param {String} [options.responseMode] how the AuthN response is encoded and redirected back to the client. Supported values are `query` and `fragment`. The `query` value is only supported when `responseType` is `code`.\n\t * @param {String} [options.scope] scopes to be requested during AuthN. e.g. `openid email`\n\t * @param {credentialsCallback} cb\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.loginWithCredentials = function (options, cb) {\n\t options.realm = options.realm || options.connection;\n\t options.popup = true;\n\t options = objectHelper\n\t .merge(this.baseOptions, [\n\t 'redirectUri',\n\t 'responseType',\n\t 'state',\n\t 'nonce',\n\t 'timeout'\n\t ])\n\t .with(objectHelper.blacklist(options, ['popupHandler', 'connection']));\n\n\t options = this.transactionManager.process(options);\n\t this.crossOriginAuthentication.login(options, cb);\n\t};\n\n\t/**\n\t * Verifies the passwordless TOTP and redirects to finish the passwordless transaction\n\t *\n\t * @method passwordlessVerify\n\t * @param {Object} options\n\t * @param {String} options.type `sms` or `email`\n\t * @param {String} options.phoneNumber only if type = sms\n\t * @param {String} options.email only if type = email\n\t * @param {String} options.connection the connection name\n\t * @param {String} options.verificationCode the TOTP code\n\t * @param {Function} cb\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.passwordlessVerify = function(options, cb) {\n\t var _this = this;\n\t return this.client.passwordless.verify(\n\t objectHelper.blacklist(options, ['popupHandler']),\n\t function(err) {\n\t if (err) {\n\t return cb(err);\n\t }\n\n\t options.username = options.phoneNumber || options.email;\n\t options.password = options.verificationCode;\n\n\t delete options.email;\n\t delete options.phoneNumber;\n\t delete options.verificationCode;\n\t delete options.type;\n\n\t _this.client.loginWithResourceOwner(options, cb);\n\t }\n\t );\n\t};\n\n\t/**\n\t * Signs up a new user and automatically logs the user in after the signup.\n\t *\n\t * This method is not compatible with API Auth so if you need to fetch API tokens with audience\n\t * you should use {@link authorize} or {@link signupAndAuthorize}.\n\t *\n\t * @method signupAndLogin\n\t * @param {Object} options\n\t * @param {String} options.email user email address\n\t * @param {String} options.password user password\n\t * @param {String} options.connection name of the connection where the user will be created\n\t * @param {credentialsCallback} cb\n\t * @memberof Popup.prototype\n\t */\n\tPopup.prototype.signupAndLogin = function(options, cb) {\n\t var _this = this;\n\n\t return this.client.dbConnection.signup(options, function(err) {\n\t if (err) {\n\t return cb(err);\n\t }\n\t _this.loginWithCredentials(options, cb);\n\t });\n\t};\n\n\tfunction SilentAuthenticationHandler(options) {\n\t this.authenticationUrl = options.authenticationUrl;\n\t this.timeout = options.timeout || 60 * 1000;\n\t this.handler = null;\n\t this.postMessageDataType = options.postMessageDataType || false;\n\n\t // prefer origin from options, fallback to origin from browser, and some browsers (for example MS Edge) don't support origin; fallback to construct origin manually\n\t this.postMessageOrigin =\n\t options.postMessageOrigin ||\n\t windowHelper.getWindow().location.origin ||\n\t windowHelper.getWindow().location.protocol +\n\t '//' +\n\t windowHelper.getWindow().location.hostname +\n\t (windowHelper.getWindow().location.port\n\t ? ':' + windowHelper.getWindow().location.port\n\t : '');\n\t}\n\n\tSilentAuthenticationHandler.create = function(options) {\n\t return new SilentAuthenticationHandler(options);\n\t};\n\n\tSilentAuthenticationHandler.prototype.login = function(\n\t usePostMessage,\n\t callback\n\t) {\n\t this.handler = new IframeHandler({\n\t auth0: this.auth0,\n\t url: this.authenticationUrl,\n\t eventListenerType: usePostMessage ? 'message' : 'load',\n\t callback: this.getCallbackHandler(callback, usePostMessage),\n\t timeout: this.timeout,\n\t eventValidator: this.getEventValidator(),\n\t timeoutCallback: function() {\n\t callback(\n\t null,\n\t '#error=timeout&error_description=Timeout+during+authentication+renew.'\n\t );\n\t },\n\t usePostMessage: usePostMessage || false\n\t });\n\n\t this.handler.init();\n\t};\n\n\tSilentAuthenticationHandler.prototype.getEventValidator = function() {\n\t var _this = this;\n\t return {\n\t isValid: function(eventData) {\n\t switch (eventData.event.type) {\n\t case 'message':\n\t // Message must come from the expected origin and iframe window.\n\t if (\n\t eventData.event.origin !== _this.postMessageOrigin ||\n\t eventData.event.source !== _this.handler.iframe.contentWindow\n\t ) {\n\t return false;\n\t }\n\n\t // Default behaviour, return all message events from the iframe.\n\t if (_this.postMessageDataType === false) {\n\t return true;\n\t }\n\n\t return (\n\t eventData.event.data.type &&\n\t eventData.event.data.type === _this.postMessageDataType\n\t );\n\n\t case 'load':\n\t if (\n\t eventData.sourceObject.contentWindow.location.protocol === 'about:'\n\t ) {\n\t // Chrome is automatically loading the about:blank page, we ignore this.\n\t return false;\n\t }\n\t // Fall through to default\n\t default:\n\t return true;\n\t }\n\t }\n\t };\n\t};\n\n\tSilentAuthenticationHandler.prototype.getCallbackHandler = function(\n\t callback,\n\t usePostMessage\n\t) {\n\t return function(eventData) {\n\t var callbackValue;\n\t if (!usePostMessage) {\n\t callbackValue = eventData.sourceObject.contentWindow.location.hash;\n\t } else if (\n\t typeof eventData.event.data === 'object' &&\n\t eventData.event.data.hash\n\t ) {\n\t callbackValue = eventData.event.data.hash;\n\t } else {\n\t callbackValue = eventData.event.data;\n\t }\n\t callback(null, callbackValue);\n\t };\n\t};\n\n\tfunction UsernamePassword(options) {\n\t this.baseOptions = options;\n\t this.request = new RequestBuilder(options);\n\t this.transactionManager = new TransactionManager(this.baseOptions);\n\t}\n\n\tUsernamePassword.prototype.login = function(options, cb) {\n\t var url;\n\t var body;\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'usernamepassword', 'login');\n\n\t options.username = options.username || options.email; // eslint-disable-line\n\n\t options = objectHelper.blacklist(options, ['email', 'onRedirecting']); // eslint-disable-line\n\n\t body = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'redirectUri',\n\t 'tenant',\n\t 'responseType',\n\t 'responseMode',\n\t 'scope',\n\t 'audience'\n\t ])\n\t .with(options);\n\t body = this.transactionManager.process(body);\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\tUsernamePassword.prototype.callback = function(formHtml) {\n\t var div;\n\t var form;\n\t var _document = windowHelper.getDocument();\n\n\t div = _document.createElement('div');\n\t div.innerHTML = formHtml;\n\t form = _document.body.appendChild(div).children[0];\n\n\t form.submit();\n\t};\n\n\tfunction HostedPages(client, options) {\n\t this.baseOptions = options;\n\t this.client = client;\n\t this.baseOptions.universalLoginPage = true;\n\t this.request = new RequestBuilder(this.baseOptions);\n\n\t this.warn = new Warn({\n\t disableWarnings: !!options._disableDeprecationWarnings\n\t });\n\t}\n\n\t/**\n\t * @callback credentialsCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason of the Auth failure\n\t * @param {Object} [result] result of the AuthN request\n\t * @param {String} result.accessToken token that can be used with {@link userinfo}\n\t * @param {String} [result.idToken] token that identifies the user\n\t * @param {String} [result.refreshToken] token that can be used to get new access tokens from Auth0. Note that not all Auth0 Applications can request them or the resource server might not allow them.\n\t * @ignore\n\t */\n\n\t/**\n\t * @callback onRedirectingCallback\n\t * @param {function} done Must be called when finished so that authentication can be resumed\n\t * @ignore\n\t */\n\n\t/**\n\t * Performs authentication with username/email and password with a database connection\n\t *\n\t * This method is not compatible with API Auth so if you need to fetch API tokens with audience\n\t * you should use {@link authorize} or {@link login}.\n\t *\n\t * @method login\n\t * @param {Object} options\n\t * @param {String} [options.redirectUri] url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} [options.responseType] type of the response used. It can be any of the values `code` and `token`\n\t * @param {String} [options.responseMode] how the AuthN response is encoded and redirected back to the client. Supported values are `query` and `fragment`\n\t * @param {String} [options.scope] scopes to be requested during AuthN. e.g. `openid email`\n\t * @param {onRedirectingCallback} [options.onRedirecting] Hook function that is called before redirecting to /authorize, allowing you to handle custom code. You must call the `done` function to resume authentication.\n\t * @param {credentialsCallback} cb\n\t * @ignore\n\t */\n\tHostedPages.prototype.login = function(options, cb) {\n\t if (windowHelper.getWindow().location.host !== this.baseOptions.domain) {\n\t throw new Error(\n\t 'This method is meant to be used only inside the Universal Login Page.'\n\t );\n\t }\n\n\t var usernamePassword;\n\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'redirectUri',\n\t 'tenant',\n\t 'responseType',\n\t 'responseMode',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce'\n\t ])\n\t .with(options);\n\n\t assert.check(\n\t params,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t responseType: {\n\t type: 'string',\n\t message: 'responseType option is required'\n\t }\n\t }\n\t );\n\n\t usernamePassword = new UsernamePassword(this.baseOptions);\n\n\t return usernamePassword.login(params, function(err, data) {\n\t if (err) {\n\t return cb(err);\n\t }\n\n\t function doAuth() {\n\t usernamePassword.callback(data);\n\t }\n\n\t if (typeof options.onRedirecting === 'function') {\n\t return options.onRedirecting(function() {\n\t doAuth();\n\t });\n\t }\n\n\t doAuth();\n\t });\n\t};\n\n\t/**\n\t * Signs up a new user and automatically logs the user in after the signup.\n\t *\n\t * @method signupAndLogin\n\t * @param {Object} options\n\t * @param {String} options.email user email address\n\t * @param {String} options.password user password\n\t * @param {String} options.connection name of the connection where the user will be created\n\t * @param {credentialsCallback} cb\n\t * @ignore\n\t */\n\tHostedPages.prototype.signupAndLogin = function(options, cb) {\n\t var _this = this;\n\t return _this.client.client.dbConnection.signup(options, function(err) {\n\t if (err) {\n\t return cb(err);\n\t }\n\t return _this.login(options, cb);\n\t });\n\t};\n\n\tHostedPages.prototype.getSSOData = function(withActiveDirectories, cb) {\n\t var url;\n\t var params = '';\n\n\t if (typeof withActiveDirectories === 'function') {\n\t cb = withActiveDirectories;\n\t withActiveDirectories = false;\n\t }\n\n\t assert.check(withActiveDirectories, {\n\t type: 'boolean',\n\t message: 'withActiveDirectories parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t if (withActiveDirectories) {\n\t params =\n\t '?' +\n\t lib.stringify({\n\t ldaps: 1,\n\t client_id: this.baseOptions.clientID\n\t });\n\t }\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'user', 'ssodata', params);\n\n\t return this.request\n\t .get(url, { noHeaders: true })\n\t .withCredentials()\n\t .end(wrapCallback(cb));\n\t};\n\n\t// eslint-disable-next-line no-unused-vars\n\n\tvar noop = function() {};\n\n\tvar RECAPTCHA_V2_PROVIDER = 'recaptcha_v2';\n\tvar RECAPTCHA_ENTERPRISE_PROVIDER = 'recaptcha_enterprise';\n\tvar HCAPTCHA_PROVIDER = 'hcaptcha';\n\tvar FRIENDLY_CAPTCHA_PROVIDER = 'friendly_captcha';\n\tvar AUTH0_PROVIDER = 'auth0';\n\n\tvar defaults$2 = {\n\t lang: 'en',\n\t templates: {\n\t auth0: function(challenge) {\n\t var message =\n\t challenge.type === 'code'\n\t ? 'Enter the code shown above'\n\t : 'Solve the formula shown above';\n\t return (\n\t '
\\n' +\n\t ' \\n' +\n\t ' \\n' +\n\t '
\\n' +\n\t ''\n\t );\n\t },\n\t recaptcha_v2: function() {\n\t return '
';\n\t },\n\t recaptcha_enterprise: function() {\n\t return '
';\n\t },\n\t hcaptcha: function() {\n\t return '
';\n\t },\n\t friendly_captcha: function () {\n\t return '
';\n\t },\n\t error: function() {\n\t return '
Error getting the bot detection challenge. Please contact the system administrator.
';\n\t }\n\t }\n\t};\n\n\tfunction handleAuth0Provider(element, options, challenge, load) {\n\t element.innerHTML = options.templates[challenge.provider](challenge);\n\t element\n\t .querySelector('.captcha-reload')\n\t .addEventListener('click', function(e) {\n\t e.preventDefault();\n\t load();\n\t });\n\t}\n\n\tfunction globalForCaptchaProvider(provider) {\n\t switch (provider) {\n\t case RECAPTCHA_V2_PROVIDER:\n\t return window.grecaptcha;\n\t case RECAPTCHA_ENTERPRISE_PROVIDER:\n\t return window.grecaptcha.enterprise;\n\t case HCAPTCHA_PROVIDER:\n\t return window.hcaptcha\n\t case FRIENDLY_CAPTCHA_PROVIDER:\n\t return window.friendlyChallenge\n\t /* istanbul ignore next */\n\n\t default:\n\t throw new Error('Unknown captcha provider');\n\t }\n\t}\n\n\tfunction scriptForCaptchaProvider(provider, lang, callback) {\n\t switch (provider) {\n\t case RECAPTCHA_V2_PROVIDER:\n\t return (\n\t 'https://www.recaptcha.net/recaptcha/api.js?hl=' +\n\t lang +\n\t '&onload=' +\n\t callback\n\t );\n\t case RECAPTCHA_ENTERPRISE_PROVIDER:\n\t return (\n\t 'https://www.recaptcha.net/recaptcha/enterprise.js?render=explicit&hl=' +\n\t lang +\n\t '&onload=' +\n\t callback\n\t );\n\t case HCAPTCHA_PROVIDER:\n\t return (\n\t 'https://js.hcaptcha.com/1/api.js?hl=' +\n\t lang +\n\t '&onload=' +\n\t callback\n\t );\n\t case FRIENDLY_CAPTCHA_PROVIDER:\n\t return 'https://cdn.jsdelivr.net/npm/friendly-challenge@0.9.12/widget.min.js';\n\t /* istanbul ignore next */\n\t default:\n\t throw new Error('Unknown captcha provider');\n\t }\n\t}\n\n\tfunction injectCaptchaScript(element, opts, callback) {\n\t var providerName;\n\t switch (opts.provider) {\n\t case RECAPTCHA_ENTERPRISE_PROVIDER:\n\t providerName = 'recaptcha';\n\t break;\n\t case RECAPTCHA_V2_PROVIDER:\n\t providerName = 'recaptcha';\n\t break;\n\t case HCAPTCHA_PROVIDER:\n\t providerName = 'hcaptcha';\n\t break;\n\t case FRIENDLY_CAPTCHA_PROVIDER:\n\t providerName = 'friendly_captcha';\n\t break;\n\t }\n\t var callbackName = providerName + 'Callback_' + Math.floor(Math.random() * 1000001);\n\t window[callbackName] = function() {\n\t delete window[callbackName];\n\t callback();\n\t };\n\t var script = window.document.createElement('script');\n\t script.src = scriptForCaptchaProvider(\n\t opts.provider,\n\t opts.lang,\n\t callbackName\n\t );\n\t script.async = true;\n\t script.defer = true;\n\t if (opts.provider === FRIENDLY_CAPTCHA_PROVIDER) {\n\t script.onload = window[callbackName];\n\t }\n\t window.document.body.appendChild(script);\n\t}\n\n\tfunction handleCaptchaProvider(element, options, challenge) {\n\t var widgetId =\n\t element.hasAttribute('data-wid') && element.getAttribute('data-wid');\n\n\t function setValue(value) {\n\t var input = element.querySelector('input[name=\"captcha\"]');\n\t input.value = value || '';\n\t }\n\n\t if (widgetId && challenge.provider !== FRIENDLY_CAPTCHA_PROVIDER) {\n\t setValue();\n\t globalForCaptchaProvider(challenge.provider).reset(widgetId);\n\t return;\n\t }\n\n\t if (window.auth0FCInstance && challenge.provider === FRIENDLY_CAPTCHA_PROVIDER) {\n\t setValue();\n\t window.auth0FCInstance.reset();\n\t return;\n\t }\n\n\t element.innerHTML = options.templates[challenge.provider](challenge);\n\n\t var captchaClass;\n\t switch (challenge.provider) {\n\t case RECAPTCHA_ENTERPRISE_PROVIDER:\n\t captchaClass = '.recaptcha';\n\t break;\n\t case RECAPTCHA_V2_PROVIDER:\n\t captchaClass = '.recaptcha';\n\t break;\n\t case HCAPTCHA_PROVIDER:\n\t captchaClass = '.hcaptcha';\n\t break;\n\t case FRIENDLY_CAPTCHA_PROVIDER:\n\t captchaClass = '.friendly-captcha';\n\t break;\n\t }\n\t var captchaDiv = element.querySelector(captchaClass);\n\n\t injectCaptchaScript(\n\t element,\n\t { lang: options.lang, provider: challenge.provider },\n\t function() {\n\t var global = globalForCaptchaProvider(challenge.provider);\n\t if (challenge.provider === FRIENDLY_CAPTCHA_PROVIDER) {\n\t window.auth0FCInstance = new global.WidgetInstance(captchaDiv, {\n\t sitekey: challenge.siteKey,\n\t language: options.lang,\n\t doneCallback: function(solution) {\n\t setValue(solution);\n\t },\n\t errorCallback: function() {\n\t setValue();\n\t },\n\t });\n\t } else {\n\t widgetId = global.render(captchaDiv, {\n\t callback: setValue,\n\t 'expired-callback': function() {\n\t setValue();\n\t },\n\t 'error-callback': function() {\n\t setValue();\n\t },\n\t sitekey: challenge.siteKey\n\t });\n\t element.setAttribute('data-wid', widgetId);\n\t }\n\t }\n\t );\n\t}\n\n\t/**\n\t *\n\t * Renders the captcha challenge in the provided element.\n\t *\n\t * @param {Authentication} auth0Client The challenge response from the authentication server\n\t * @param {HTMLElement} element The element where the captcha needs to be rendered\n\t * @param {Object} options The configuration options for the captcha\n\t * @param {Object} [options.templates] An object containaing templates for each captcha provider\n\t * @param {Function} [options.templates.auth0] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_v2] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_enterprise] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.hcaptcha] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.friendly_captcha] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.error] template function returning a custom error message when the challenge could not be fetched, receives the error as first argument\n\t * @param {String} [options.lang=en] the ISO code of the language for recaptcha\n\t * @param {Function} [callback] an optional callback function\n\t * @ignore\n\t */\n\tfunction render(auth0Client, element, options, callback) {\n\t options = objectHelper.merge(defaults$2).with(options || {});\n\t function load(done) {\n\t done = done || noop;\n\t auth0Client.getChallenge(function(err, challenge) {\n\t if (err) {\n\t element.innerHTML = options.templates.error(err);\n\t return done(err);\n\t }\n\t if (!challenge.required) {\n\t element.style.display = 'none';\n\t element.innerHTML = '';\n\t return;\n\t }\n\t element.style.display = '';\n\t if (challenge.provider === AUTH0_PROVIDER) {\n\t handleAuth0Provider(element, options, challenge, load);\n\t } else if (\n\t challenge.provider === RECAPTCHA_V2_PROVIDER ||\n\t challenge.provider === RECAPTCHA_ENTERPRISE_PROVIDER ||\n\t challenge.provider === HCAPTCHA_PROVIDER ||\n\t challenge.provider === FRIENDLY_CAPTCHA_PROVIDER\n\t ) {\n\t handleCaptchaProvider(element, options, challenge);\n\t }\n\t done();\n\t });\n\t }\n\n\t function getValue() {\n\t var captchaInput = element.querySelector('input[name=\"captcha\"]');\n\t if (!captchaInput) {\n\t return;\n\t }\n\t return captchaInput.value;\n\t }\n\n\t load(callback);\n\n\t return {\n\t reload: load,\n\t getValue: getValue\n\t };\n\t}\n\n\t/**\n\t *\n\t * Renders the passwordless captcha challenge in the provided element.\n\t *\n\t * @param {Authentication} auth0Client The challenge response from the authentication server\n\t * @param {HTMLElement} element The element where the captcha needs to be rendered\n\t * @param {Object} options The configuration options for the captcha\n\t * @param {Object} [options.templates] An object containaing templates for each captcha provider\n\t * @param {Function} [options.templates.auth0] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_v2] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_enterprise] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.hcaptcha] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.friendly_captcha] template function receiving the challenge and returning a string \n\t * @param {Function} [options.templates.error] template function returning a custom error message when the challenge could not be fetched, receives the error as first argument\n\t * @param {String} [options.lang=en] the ISO code of the language for recaptcha\n\t * @param {Function} [callback] an optional callback function\n\t * @ignore\n\t */\n\tfunction renderPasswordless(auth0Client, element, options, callback) {\n\t options = objectHelper.merge(defaults$2).with(options || {});\n\n\t function load(done) {\n\t done = done || noop;\n\t auth0Client.passwordless.getChallenge(function(err, challenge) {\n\t if (err) {\n\t element.innerHTML = options.templates.error(err);\n\t return done(err);\n\t }\n\t if (!challenge.required) {\n\t element.style.display = 'none';\n\t element.innerHTML = '';\n\t return;\n\t }\n\t element.style.display = '';\n\t if (challenge.provider === AUTH0_PROVIDER) {\n\t handleAuth0Provider(element, options, challenge, load);\n\t } else if (\n\t challenge.provider === RECAPTCHA_V2_PROVIDER ||\n\t challenge.provider === RECAPTCHA_ENTERPRISE_PROVIDER ||\n\t challenge.provider === HCAPTCHA_PROVIDER ||\n\t challenge.provider === FRIENDLY_CAPTCHA_PROVIDER\n\t ) {\n\t handleCaptchaProvider(element, options, challenge);\n\t }\n\t done();\n\t });\n\t }\n\n\t function getValue() {\n\t var captchaInput = element.querySelector('input[name=\"captcha\"]');\n\t if (!captchaInput) {\n\t return;\n\t }\n\t return captchaInput.value;\n\t }\n\n\t load(callback);\n\n\t return {\n\t reload: load,\n\t getValue: getValue,\n\t };\n\t}\n\n\tvar captcha = { render: render, renderPasswordless: renderPasswordless };\n\n\tfunction defaultClock() {\n\t return new Date();\n\t}\n\n\t/**\n\t * Handles all the browser's AuthN/AuthZ flows\n\t * @constructor\n\t * @param {Object} options\n\t * @param {String} options.domain your Auth0 domain\n\t * @param {String} options.clientID the Client ID found on your Application settings page\n\t * @param {String} [options.redirectUri] url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} [options.responseType] type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. The `query` value is only supported when `responseType` is `code`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {Number} [options.leeway] number of seconds to account for clock skew when validating time-based claims in ID tokens. Defaults to 60 seconds.\n\t * @param {Number} [options.maxAge] maximum elapsed time in seconds since the last time the user was actively authenticated by the authorization server.\n\t * @param {Number} [options.stateExpiration] number of minutes for the stored state to be kept. Defaults to 30 minutes.\n\t * @param {String} [options.organization] the id or name of an organization to log in to\n\t * @param {String} [options.invitation] the ID of an invitation to accept. This is available from the user invitation URL that is given when participating in a user invitation flow\n\t * @param {Array} [options.plugins]\n\t * @param {Boolean} [options.legacySameSiteCookie] set this to `false` to disable the legacy compatibility cookie that is created for older browsers that don't support the SameSite attribute (defaults to `true`)\n\t * @param {String} [options.cookieDomain] The domain the cookie is accessible from. If not set, the cookie is scoped to the current domain, including the subdomain. To keep a user logged in across multiple subdomains set this to your top-level domain and prefixed with a `.` (eg: `.example.com`).\n\t * @param {Number} [options._timesToRetryFailedRequests] Number of times to retry a failed request, according to {@link https://github.com/visionmedia/superagent/blob/master/lib/request-base.js}\n\t * @see {@link https://auth0.com/docs/api/authentication}\n\t */\n\tfunction WebAuth(options) {\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t domain: { type: 'string', message: 'domain option is required' },\n\t clientID: { type: 'string', message: 'clientID option is required' },\n\t responseType: {\n\t optional: true,\n\t type: 'string',\n\t message: 'responseType is not valid'\n\t },\n\t responseMode: {\n\t optional: true,\n\t type: 'string',\n\t message: 'responseMode is not valid'\n\t },\n\t redirectUri: {\n\t optional: true,\n\t type: 'string',\n\t message: 'redirectUri is not valid'\n\t },\n\t scope: { optional: true, type: 'string', message: 'scope is not valid' },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience is not valid'\n\t },\n\t popupOrigin: {\n\t optional: true,\n\t type: 'string',\n\t message: 'popupOrigin is not valid'\n\t },\n\t leeway: {\n\t optional: true,\n\t type: 'number',\n\t message: 'leeway is not valid'\n\t },\n\t plugins: {\n\t optional: true,\n\t type: 'array',\n\t message: 'plugins is not valid'\n\t },\n\t maxAge: {\n\t optional: true,\n\t type: 'number',\n\t message: 'maxAge is not valid'\n\t },\n\t stateExpiration: {\n\t optional: true,\n\t type: 'number',\n\t message: 'stateExpiration is not valid'\n\t },\n\t legacySameSiteCookie: {\n\t optional: true,\n\t type: 'boolean',\n\t message: 'legacySameSiteCookie option is not valid'\n\t },\n\t _disableDeprecationWarnings: {\n\t optional: true,\n\t type: 'boolean',\n\t message: '_disableDeprecationWarnings option is not valid'\n\t },\n\t _sendTelemetry: {\n\t optional: true,\n\t type: 'boolean',\n\t message: '_sendTelemetry option is not valid'\n\t },\n\t _telemetryInfo: {\n\t optional: true,\n\t type: 'object',\n\t message: '_telemetryInfo option is not valid'\n\t },\n\t _timesToRetryFailedRequests: {\n\t optional: true,\n\t type: 'number',\n\t message: '_timesToRetryFailedRequests option is not valid'\n\t }\n\t }\n\t );\n\n\t if (options.overrides) {\n\t assert.check(\n\t options.overrides,\n\t { type: 'object', message: 'overrides option is not valid' },\n\t {\n\t __tenant: {\n\t optional: true,\n\t type: 'string',\n\t message: '__tenant option is required'\n\t },\n\t __token_issuer: {\n\t optional: true,\n\t type: 'string',\n\t message: '__token_issuer option is required'\n\t },\n\t __jwks_uri: {\n\t optional: true,\n\t type: 'string',\n\t message: '__jwks_uri is required'\n\t }\n\t }\n\t );\n\t }\n\t /* eslint-enable */\n\n\t this.baseOptions = options;\n\t this.baseOptions.plugins = new PluginHandler(\n\t this,\n\t this.baseOptions.plugins || []\n\t );\n\n\t this.baseOptions._sendTelemetry =\n\t this.baseOptions._sendTelemetry === false\n\t ? this.baseOptions._sendTelemetry\n\t : true;\n\n\t this.baseOptions._timesToRetryFailedRequests =\n\t options._timesToRetryFailedRequests\n\t ? parseInt(options._timesToRetryFailedRequests)\n\t : 0;\n\n\t this.baseOptions.tenant =\n\t (this.baseOptions.overrides && this.baseOptions.overrides.__tenant) ||\n\t this.baseOptions.domain.split('.')[0];\n\n\t this.baseOptions.token_issuer =\n\t (this.baseOptions.overrides && this.baseOptions.overrides.__token_issuer) ||\n\t 'https://' + this.baseOptions.domain + '/';\n\n\t this.baseOptions.jwksURI =\n\t this.baseOptions.overrides && this.baseOptions.overrides.__jwks_uri;\n\n\t if (options.legacySameSiteCookie !== false) {\n\t this.baseOptions.legacySameSiteCookie = true;\n\t }\n\n\t this.transactionManager = new TransactionManager(this.baseOptions);\n\n\t this.client = new Authentication(this.baseOptions);\n\n\t /** @member {Redirect} */\n\t this.redirect = new Redirect(this, this.baseOptions);\n\n\t /** @member {Popup} */\n\t this.popup = new Popup(this, this.baseOptions);\n\n\t this.crossOriginAuthentication = new CrossOriginAuthentication(\n\t this,\n\t this.baseOptions\n\t );\n\n\t this.webMessageHandler = new WebMessageHandler(this);\n\t this._universalLogin = new HostedPages(this, this.baseOptions);\n\t this.ssodataStorage = new SSODataStorage(this.baseOptions);\n\t}\n\n\t/**\n\t * Parse the url hash and extract the Auth response from a Auth flow started with {@link authorize}\n\t *\n\t * Only validates id_tokens signed by Auth0 using the RS256 algorithm using the public key exposed\n\t * by the `/.well-known/jwks.json` endpoint of your account.\n\t * Tokens signed with the HS256 algorithm cannot be properly validated.\n\t * Instead, a call to {@link userInfo} will be made with the parsed `access_token`.\n\t * If the {@link userInfo} call fails, the {@link userInfo} error will be passed to the callback.\n\t * Tokens signed with other algorithms will not be accepted.\n\t *\n\t * @example\n\t * auth0.parseHash({ hash: window.location.hash }, function(err, authResult) {\n\t * if (err) {\n\t * return console.log(err);\n\t * }\n\n\t * // The contents of authResult depend on which authentication parameters were used.\n\t * // It can include the following:\n\t * // authResult.accessToken - access token for the API specified by `audience`\n\t * // authResult.expiresIn - string with the access token's expiration time in seconds\n\t * // authResult.idToken - ID token JWT containing user profile information\n\n\t * auth0.client.userInfo(authResult.accessToken, function(err, user) {\n\t * // Now you have the user's information\n\t * });\n\t *});\n\t * @method parseHash\n\t * @param {Object} options\n\t * @param {String} options.hash the url hash. If not provided it will extract from window.location.hash\n\t * @param {String} [options.state] value originally sent in `state` parameter to {@link authorize} to mitigate XSRF\n\t * @param {String} [options.nonce] value originally sent in `nonce` parameter to {@link authorize} to prevent replay attacks\n\t * @param {String} [options.responseType] type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `token`, `id_token`. For this specific method, we'll only use this value to check if the hash contains the tokens requested in the responseType.\n\t * @param {authorizeCallback} cb\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.parseHash = function (options, cb) {\n\t var parsedQs;\n\t var err;\n\n\t if (!cb && typeof options === 'function') {\n\t cb = options;\n\t options = {};\n\t } else {\n\t options = options || {};\n\t }\n\n\t var hashStr =\n\t options.hash === undefined\n\t ? windowHelper.getWindow().location.hash\n\t : options.hash;\n\t hashStr = hashStr.replace(/^#?\\/?/, '');\n\n\t parsedQs = lib.parse(hashStr);\n\n\t if (parsedQs.hasOwnProperty('error')) {\n\t err = error.buildResponse(parsedQs.error, parsedQs.error_description);\n\n\t if (parsedQs.state) {\n\t err.state = parsedQs.state;\n\t }\n\n\t return cb(err);\n\t }\n\n\t if (\n\t !parsedQs.hasOwnProperty('access_token') &&\n\t !parsedQs.hasOwnProperty('id_token') &&\n\t !parsedQs.hasOwnProperty('refresh_token')\n\t ) {\n\t return cb(null, null);\n\t }\n\t var responseTypes = (\n\t this.baseOptions.responseType ||\n\t options.responseType ||\n\t ''\n\t ).split(' ');\n\t if (\n\t responseTypes.length > 0 &&\n\t responseTypes.indexOf('token') !== -1 &&\n\t !parsedQs.hasOwnProperty('access_token')\n\t ) {\n\t return cb(\n\t error.buildResponse(\n\t 'invalid_hash',\n\t 'response_type contains `token`, but the parsed hash does not contain an `access_token` property'\n\t )\n\t );\n\t }\n\t if (\n\t responseTypes.length > 0 &&\n\t responseTypes.indexOf('id_token') !== -1 &&\n\t !parsedQs.hasOwnProperty('id_token')\n\t ) {\n\t return cb(\n\t error.buildResponse(\n\t 'invalid_hash',\n\t 'response_type contains `id_token`, but the parsed hash does not contain an `id_token` property'\n\t )\n\t );\n\t }\n\t return this.validateAuthenticationResponse(options, parsedQs, cb);\n\t};\n\n\t/**\n\t * Validates an Auth response from a Auth flow started with {@link authorize}\n\t *\n\t * Only validates id_tokens signed by Auth0 using the RS256 algorithm using the public key exposed\n\t * by the `/.well-known/jwks.json` endpoint of your account.\n\t * Tokens signed with the HS256 algorithm cannot be properly validated.\n\t * Instead, a call to {@link userInfo} will be made with the parsed `access_token`.\n\t * If the {@link userInfo} call fails, the {@link userInfo} error will be passed to the callback.\n\t * Tokens signed with other algorithms will not be accepted.\n\t *\n\t * @method validateAuthenticationResponse\n\t * @param {Object} options\n\t * @param {String} options.hash the url hash. If not provided it will extract from window.location.hash\n\t * @param {String} [options.state] value originally sent in `state` parameter to {@link authorize} to mitigate XSRF\n\t * @param {String} [options.nonce] value originally sent in `nonce` parameter to {@link authorize} to prevent replay attacks\n\t * @param {Object} parsedHash an object that represents the parsed hash\n\t * @param {authorizeCallback} cb\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.validateAuthenticationResponse = function (\n\t options,\n\t parsedHash,\n\t cb\n\t) {\n\t var _this = this;\n\n\t options.__enableIdPInitiatedLogin =\n\t options.__enableIdPInitiatedLogin || options.__enableImpersonation;\n\n\t var state = parsedHash.state;\n\t var transaction = this.transactionManager.getStoredTransaction(state);\n\n\t var transactionState =\n\t options.state || (transaction && transaction.state) || null;\n\n\t var transactionStateMatchesState = transactionState === state;\n\n\t var shouldBypassStateChecking =\n\t !state && !transactionState && options.__enableIdPInitiatedLogin;\n\n\t if (!shouldBypassStateChecking && !transactionStateMatchesState) {\n\t return cb({\n\t error: 'invalid_token',\n\t errorDescription: '`state` does not match.'\n\t });\n\t }\n\n\t var transactionNonce =\n\t options.nonce || (transaction && transaction.nonce) || null;\n\n\t var transactionOrganization = transaction && transaction.organization;\n\t var appState = options.state || (transaction && transaction.appState) || null;\n\n\t var callback = function (err, payload) {\n\t if (err) {\n\t return cb(err);\n\t }\n\n\t if (transaction && transaction.lastUsedConnection) {\n\t var sub;\n\n\t if (payload) {\n\t sub = payload.sub;\n\t }\n\n\t _this.ssodataStorage.set(transaction.lastUsedConnection, sub);\n\t }\n\n\t return cb(null, buildParseHashResponse(parsedHash, appState, payload));\n\t };\n\n\t if (!parsedHash.id_token) {\n\t return callback(null, null);\n\t }\n\n\t return this.validateToken(\n\t parsedHash.id_token,\n\t transactionNonce,\n\t function (validationError, payload) {\n\t if (!validationError) {\n\t // Verify the organization\n\t if (transactionOrganization) {\n\t if (transactionOrganization.indexOf('org_') === 0) {\n\t if (!payload.org_id) {\n\t return callback(\n\t error.invalidToken(\n\t 'Organization Id (org_id) claim must be a string present in the ID token'\n\t )\n\t );\n\t }\n\n\t if (payload.org_id !== transactionOrganization) {\n\t return callback(\n\t error.invalidToken(\n\t 'Organization Id (org_id) claim value mismatch in the ID token; expected \"' +\n\t transactionOrganization +\n\t '\", found \"' +\n\t payload.org_id +\n\t '\"'\n\t )\n\t );\n\t }\n\t } else {\n\t if (!payload.org_name) {\n\t return callback(\n\t error.invalidToken(\n\t 'Organization Name (org_name) claim must be a string present in the ID token'\n\t )\n\t );\n\t }\n\n\t if (\n\t payload.org_name !==\n\t transactionOrganization.toLowerCase()\n\t ) {\n\t return callback(\n\t error.invalidToken(\n\t 'Organization Name (org_name) claim value mismatch in the ID token; expected \"' +\n\t transactionOrganization +\n\t '\", found \"' +\n\t payload.org_name +\n\t '\"'\n\t )\n\t );\n\t }\n\t }\n\t }\n\n\t if (!parsedHash.access_token) {\n\t return callback(null, payload);\n\t }\n\n\t // id_token's generated by non-oidc applications don't have at_hash\n\t if (!payload.at_hash) {\n\t return callback(null, payload);\n\t }\n\n\t // here we're absolutely sure that the id_token's alg is RS256\n\t // and that the id_token is valid, so we can check the access_token\n\t return new M().validateAccessToken(\n\t parsedHash.access_token,\n\t 'RS256',\n\t payload.at_hash,\n\t function (err) {\n\t if (err) {\n\t return callback(error.invalidToken(err.message));\n\t }\n\t return callback(null, payload);\n\t }\n\t );\n\t }\n\n\t if (\n\t validationError.error !== 'invalid_token' ||\n\t (validationError.errorDescription &&\n\t validationError.errorDescription.indexOf(\n\t 'Nonce (nonce) claim value mismatch in the ID token'\n\t ) > -1)\n\t ) {\n\t return callback(validationError);\n\t }\n\n\t // if it's an invalid_token error, decode the token\n\t var decodedToken = new M().decode(parsedHash.id_token);\n\n\t // if the alg is not HS256, return the raw error\n\t if (decodedToken.header.alg !== 'HS256') {\n\t return callback(validationError);\n\t }\n\n\t if ((decodedToken.payload.nonce || null) !== transactionNonce) {\n\t return callback({\n\t error: 'invalid_token',\n\t errorDescription:\n\t 'Nonce (nonce) claim value mismatch in the ID token; expected \"' +\n\t transactionNonce +\n\t '\", found \"' +\n\t decodedToken.payload.nonce +\n\t '\"'\n\t });\n\t }\n\n\t if (!parsedHash.access_token) {\n\t var noAccessTokenError = {\n\t error: 'invalid_token',\n\t description:\n\t 'The id_token cannot be validated because it was signed with the HS256 algorithm and public clients (like a browser) can’t store secrets. Please read the associated doc for possible ways to fix this. Read more: https://auth0.com/docs/errors/libraries/auth0-js/invalid-token#parsing-an-hs256-signed-id-token-without-an-access-token'\n\t };\n\t return callback(noAccessTokenError);\n\t }\n\n\t // if the alg is HS256, use the /userinfo endpoint to build the payload\n\t return _this.client.userInfo(\n\t parsedHash.access_token,\n\t function (errUserInfo, profile) {\n\t // if the /userinfo request fails, use the validationError instead\n\t if (errUserInfo) {\n\t return callback(errUserInfo);\n\t }\n\t return callback(null, profile);\n\t }\n\t );\n\t }\n\t );\n\t};\n\n\tfunction buildParseHashResponse(qsParams, appState, token) {\n\t return {\n\t accessToken: qsParams.access_token || null,\n\t idToken: qsParams.id_token || null,\n\t idTokenPayload: token || null,\n\t appState: appState || null,\n\t refreshToken: qsParams.refresh_token || null,\n\t state: qsParams.state || null,\n\t expiresIn: qsParams.expires_in ? parseInt(qsParams.expires_in, 10) : null,\n\t tokenType: qsParams.token_type || null,\n\t scope: qsParams.scope || null\n\t };\n\t}\n\n\t/**\n\t * @callback validateTokenCallback\n\t * @param {Error} [err] error returned by while validating the token\n\t * @param {Object} [payload] claims stored in the token\n\t */\n\n\t/**\n\t * Decodes the a JWT and verifies its nonce value\n\t *\n\t * @method validateToken\n\t * @private\n\t * @param {String} token\n\t * @param {String} nonce\n\t * @param {validateTokenCallback} cb\n\t */\n\tWebAuth.prototype.validateToken = function (token, nonce, cb) {\n\t var verifier = new M({\n\t issuer: this.baseOptions.token_issuer,\n\t jwksURI: this.baseOptions.jwksURI,\n\t audience: this.baseOptions.clientID,\n\t leeway: this.baseOptions.leeway || 60,\n\t maxAge: this.baseOptions.maxAge,\n\t __clock: this.baseOptions.__clock || defaultClock\n\t });\n\n\t verifier.verify(token, nonce, function (err, payload) {\n\t if (err) {\n\t return cb(error.invalidToken(err.message));\n\t }\n\n\t cb(null, payload);\n\t });\n\t};\n\n\t/**\n\t * Executes a silent authentication transaction under the hood in order to fetch a new tokens for the current session.\n\t * This method requires that all Auth is performed with {@link authorize}\n\t * Watch out! If you're not using the hosted login page to do social logins, you have to use your own [social connection keys](https://manage.auth0.com/#/connections/social). If you use Auth0's dev keys, you'll always get `login_required` as an error when calling this method.\n\t *\n\t * @method renewAuth\n\t * @param {Object} [options]\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} [options.redirectUri] url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} [options.responseType] type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. The `query` value is only supported when `responseType` is `code`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state}\n\t * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} [options.postMessageDataType] identifier data type to look for in postMessage event data, where events are initiated from silent callback urls, before accepting a message event is the event expected. A value of false means any postMessage event will trigger a callback.\n\t * @param {String} [options.postMessageOrigin] origin of redirectUri to expect postMessage response from. Defaults to the origin of the receiving window. Only used if usePostMessage is truthy.\n\t * @param {String} [options.timeout] value in milliseconds used to timeout when the `/authorize` call is failing as part of the silent authentication with postmessage enabled due to a configuration.\n\t * @param {Boolean} [options.usePostMessage] use postMessage to comunicate between the silent callback and the SPA. When false the SDK will attempt to parse the url hash should ignore the url hash and no extra behaviour is needed\n\t * @param {authorizeCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#authorize-client}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.renewAuth = function (options, cb) {\n\t var handler;\n\t var usePostMessage = !!options.usePostMessage;\n\t var postMessageDataType = options.postMessageDataType || false;\n\t var postMessageOrigin =\n\t options.postMessageOrigin || windowHelper.getWindow().origin;\n\t var timeout = options.timeout;\n\t var _this = this;\n\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'redirectUri',\n\t 'responseType',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce'\n\t ])\n\t .with(options);\n\n\t params.responseType = params.responseType || 'token';\n\t params.responseMode = params.responseMode || 'fragment';\n\t params = this.transactionManager.process(params);\n\n\t assert.check(params, {\n\t type: 'object',\n\t message: 'options parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t params.prompt = 'none';\n\n\t params = objectHelper.blacklist(params, [\n\t 'usePostMessage',\n\t 'tenant',\n\t 'postMessageDataType',\n\t 'postMessageOrigin'\n\t ]);\n\n\t handler = SilentAuthenticationHandler.create({\n\t authenticationUrl: this.client.buildAuthorizeUrl(params),\n\t postMessageDataType: postMessageDataType,\n\t postMessageOrigin: postMessageOrigin,\n\t timeout: timeout\n\t });\n\n\t handler.login(usePostMessage, function (err, hash) {\n\t if (typeof hash === 'object') {\n\t // hash was already parsed, so we just return it.\n\t // it's here to be backwards compatible and should be removed in the next major version.\n\t return cb(err, hash);\n\t }\n\t _this.parseHash({ hash: hash }, cb);\n\t });\n\t};\n\n\t/**\n\t * Renews an existing session on Auth0's servers using `response_mode=web_message`\n\t *\n\t * Allows you to acquire a new token from Auth0 for a user who already\n\t * has an SSO session established against Auth0 for your domain. \n\t * If the user is not authenticated, the authentication result will be empty \n\t * and you'll receive an error like this: `{error: 'login_required'}`.\n\t * The method accepts any valid OAuth2 parameters that would normally be sent to `/authorize`.\n\t * \n\t * Everything happens inside an iframe, so it will not reload your application or redirect away from it.\n\t * \n\t * **Important:** If you're not using the hosted login page to do social logins, \n\t * you have to use your own [social connection keys](https://manage.auth0.com/#/connections/social). \n\t * If you use Auth0's dev keys, you'll always get `login_required` as an error when calling `checkSession`.\n\t *\n\t * **Important:** Because there is no redirect in this method, `responseType: 'code'` is not supported and will throw an error.\n\n\t * Remember to add the URL where the authorization request originates from to the Allowed Web Origins list of your Auth0 Application in the [Dashboard](https://manage.auth0.com/) under your Applications's **Settings**.\n\t * @example\n\t * auth0.checkSession({\n\t * audience: 'https://mystore.com/api/v2',\n\t * scope: 'read:order write:order'\n\t * },\n\t * function(err, authResult) {\n\t * // Authentication tokens or error\n\t * });\n\t * \n\t * @method checkSession\n\t * @param {Object} [options]\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} [options.responseType] type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state}\n\t * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} [options.timeout] value in milliseconds used to timeout when the `/authorize` call is failing as part of the silent authentication with postmessage enabled due to a configuration.\n\t * @param {checkSessionCallback} cb\n\t * @see {@link https://auth0.com/docs/libraries/auth0js/v9#using-checksession-to-acquire-new-tokens}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.checkSession = function (options, cb) {\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce'\n\t ])\n\t .with(options);\n\n\t if (params.responseType === 'code') {\n\t return cb({\n\t error: 'error',\n\t error_description: \"responseType can't be `code`\"\n\t });\n\t }\n\n\t if (!options.nonce) {\n\t params = this.transactionManager.process(params);\n\t }\n\n\t if (!params.redirectUri) {\n\t return cb({\n\t error: 'error',\n\t error_description: \"redirectUri can't be empty\"\n\t });\n\t }\n\n\t assert.check(params, {\n\t type: 'object',\n\t message: 'options parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t params = objectHelper.blacklist(params, [\n\t 'usePostMessage',\n\t 'tenant',\n\t 'postMessageDataType'\n\t ]);\n\t this.webMessageHandler.run(\n\t params,\n\t wrapCallback(cb, { forceLegacyError: true, ignoreCasing: true })\n\t );\n\t};\n\n\t/**\n\t * Request an email with instruction to change a user's password\n\t *\n\t * @method changePassword\n\t * @param {Object} options\n\t * @param {String} options.email address where the user will receive the change password email. It should match the user's email in Auth0\n\t * @param {String} options.connection name of the connection where the user was created\n\t * @param {changePasswordCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#change-password}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.changePassword = function (options, cb) {\n\t return this.client.dbConnection.changePassword(options, cb);\n\t};\n\n\t/**\n\t * Starts a passwordless authentication transaction.\n\t *\n\t * @method passwordlessStart\n\t * @param {Object} options\n\t * @param {String} options.send what will be sent via email which could be `link` or `code`. For SMS `code` is the only one valid\n\t * @param {String} [options.phoneNumber] phone number where to send the `code`. This parameter is mutually exclusive with `email`\n\t * @param {String} [options.email] email where to send the `code` or `link`. This parameter is mutually exclusive with `phoneNumber`\n\t * @param {String} [options.captcha] the attempted solution for the captcha, if one was presented\n\t * @param {String} options.connection name of the passwordless connection\n\t * @param {Object} [options.authParams] additional Auth parameters when using `link`\n\t * @param {Object} [options.xRequestLanguage] value for the X-Request-Language header. If not set, the language is detected using the client browser.\n\t * @param {Function} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#passwordless}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.passwordlessStart = function (options, cb) {\n\t var authParams = objectHelper\n\t .merge(this.baseOptions, [\n\t 'responseType',\n\t 'responseMode',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce'\n\t ])\n\t .with(options.authParams);\n\n\t options.authParams = this.transactionManager.process(authParams);\n\t return this.client.passwordless.start(options, cb);\n\t};\n\n\t/**\n\t * Creates a new user in a Auth0 Database connection\n\t *\n\t * @method signup\n\t * @param {Object} options\n\t * @param {String} options.email user email address\n\t * @param {String} options.password user password\n\t * @param {String} options.connection name of the connection where the user will be created\n\t * @param {String} [options.given_name] The user's given name(s).\n\t * @param {String} [options.family_name] The user's family name(s).\n\t * @param {String} [options.name] The user's full name.\n\t * @param {String} [options.nickname] The user's nickname.\n\t * @param {String} [options.picture] A URI pointing to the user's picture.\n\t * @param {signUpCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#signup}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.signup = function (options, cb) {\n\t return this.client.dbConnection.signup(options, cb);\n\t};\n\n\t/**\n\t * Redirects to the hosted login page (`/authorize`) in order to start a new authN/authZ transaction.\n\t * After that, you'll have to use the {@link parseHash} function at the specified `redirectUri`.\n\t *\n\t * @example\n\t * auth0.authorize({\n\t * audience: 'https://mystore.com/api/v2',\n\t * scope: 'read:order write:order',\n\t * responseType: 'token',\n\t * redirectUri: 'https://example.com/auth/callback'\n\t *});\n\t * @method authorize\n\t * @param {Object} [options]\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} options.redirectUri url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} options.responseType type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. The `query` value is only supported when `responseType` is `code`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state}\n\t * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`. Defaults to `openid profile email`.\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} [options.organization] the id or name of an organization to log in to\n\t * @param {String} [options.invitation] the ID of an invitation to accept. This is available from the user invitation URL that is given when participating in a user invitation flow\n\t * @param {Object} [options.appState] any values that you want back on the authentication response\n\t * @see {@link https://auth0.com/docs/api/authentication#authorize-client}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.authorize = function (options) {\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'responseMode',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce',\n\t 'organization',\n\t 'invitation'\n\t ])\n\t .with(options);\n\n\t assert.check(\n\t params,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t responseType: {\n\t type: 'string',\n\t message: 'responseType option is required'\n\t }\n\t }\n\t );\n\n\t params = this.transactionManager.process(params);\n\t params.scope = params.scope || 'openid profile email';\n\n\t windowHelper.redirect(this.client.buildAuthorizeUrl(params));\n\t};\n\n\t/**\n\t * Signs up a new user, automatically logs the user in after the signup and returns the user token.\n\t * The login will be done using /oauth/token with password-realm grant type.\n\t *\n\t * @method signupAndAuthorize\n\t * @param {Object} options\n\t * @param {String} options.email user email address\n\t * @param {String} options.password user password\n\t * @param {String} options.connection name of the connection where the user will be created\n\t * @param {tokenCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#signup}\n\t * @see {@link https://auth0.com/docs/api-auth/grant/password}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.signupAndAuthorize = function (options, cb) {\n\t var _this = this;\n\n\t return this.client.dbConnection.signup(\n\t objectHelper.blacklist(options, ['popupHandler']),\n\t function (err) {\n\t if (err) {\n\t return cb(err);\n\t }\n\t options.realm = options.connection;\n\t if (!options.username) {\n\t options.username = options.email;\n\t }\n\t _this.client.login(options, cb);\n\t }\n\t );\n\t};\n\n\t/**\n\t * @callback crossOriginLoginCallback\n\t * @param {Error} [err] Authentication error returned by Auth0 with the reason why the request failed\n\t */\n\n\t/**\n\t * @callback onRedirectingCallback\n\t * @param {function} done Must be called when finished so that authentication can be resumed\n\t */\n\n\t/**\n\t * Logs the user in with username and password using the correct flow based on where it's called from:\n\t * - If you're calling this method from the Universal Login Page, it will use the usernamepassword/login endpoint\n\t * - If you're calling this method outside the Universal Login Page, it will use the cross origin authentication (/co/authenticate) flow\n\t * You can use either `username` or `email` to identify the user, but `username` will take precedence over `email`.\n\t * After the redirect to `redirectUri`, use {@link parseHash} to retrieve the authentication data.\n\t * **Notice that when using the cross origin authentication flow, some browsers might not be able to successfully authenticate if 3rd party cookies are disabled. [See here for more information.]{@link https://auth0.com/docs/cross-origin-authentication}.**\n\t *\n\t * @method login\n\t * @see Requires [`Implicit` grant]{@link https://auth0.com/docs/api-auth/grant/implicit}. For more information, read {@link https://auth0.com/docs/clients/client-grant-types}.\n\t * @param {Object} options options used in the {@link authorize} call after the login_ticket is acquired\n\t * @param {String} [options.username] Username (mutually exclusive with email)\n\t * @param {String} [options.email] Email (mutually exclusive with username)\n\t * @param {String} [options.password] Password\n\t * @param {String} [options.realm] Realm used to authenticate the user, it can be a realm name or a database connection name\n\t * @param {onRedirectingCallback} [options.onRedirecting] Hook function that is called before redirecting to /authorize, allowing you to handle custom code. You must call the `done` function to resume authentication.\n\t * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. For other types of errors, there will be a redirect to the `redirectUri`.\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.login = function (options, cb) {\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce',\n\t 'onRedirecting',\n\t 'organization',\n\t 'invitation'\n\t ])\n\t .with(options);\n\n\t params = this.transactionManager.process(params);\n\n\t var isHostedLoginPage =\n\t windowHelper.getWindow().location.host === this.baseOptions.domain;\n\n\t if (isHostedLoginPage) {\n\t params.connection = params.realm;\n\t delete params.realm;\n\t this._universalLogin.login(params, cb);\n\t } else {\n\t this.crossOriginAuthentication.login(params, cb);\n\t }\n\t};\n\n\t/**\n\t * @callback onRedirectingCallback\n\t * @param {function} done Must be called when finished so that authentication can be resumed\n\t */\n\n\t/**\n\t * Logs in the user by verifying the verification code (OTP) using the cross origin authentication (/co/authenticate) flow. You can use either `phoneNumber` or `email` to identify the user.\n\t * This only works when 3rd party cookies are enabled in the browser. After the /co/authenticate call, you'll have to use the {@link parseHash} function at the `redirectUri` specified in the constructor.\n\t *\n\t * @method passwordlessLogin\n\t * @param {Object} options options used in the {@link authorize} call after the login_ticket is acquired\n\t * @param {String} options.phoneNumber Phone Number (mutually exclusive with email)\n\t * @param {String} options.email Email (mutually exclusive with username)\n\t * @param {String} options.verificationCode Verification Code (OTP)\n\t * @param {String} options.connection Passwordless connection to use. It can either be 'sms' or 'email'.\n\t * @param {onRedirectingCallback} options.onRedirecting Hook function that is called before redirecting to /authorize, allowing you to handle custom code. You must call the `done` function to resume authentication.\n\t * @param {crossOriginLoginCallback} cb Callback function called only when an authentication error, like invalid username or password, occurs. For other types of errors, there will be a redirect to the `redirectUri`.\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.passwordlessLogin = function (options, cb) {\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce',\n\t 'onRedirecting'\n\t ])\n\t .with(options);\n\n\t params = this.transactionManager.process(params);\n\n\t var isHostedLoginPage =\n\t windowHelper.getWindow().location.host === this.baseOptions.domain;\n\n\t if (isHostedLoginPage) {\n\t this.passwordlessVerify(params, cb);\n\t } else {\n\t var crossOriginOptions = objectHelper.extend(\n\t {\n\t credentialType: 'http://auth0.com/oauth/grant-type/passwordless/otp',\n\t realm: params.connection,\n\t username: params.email || params.phoneNumber,\n\t otp: params.verificationCode\n\t },\n\t objectHelper.blacklist(params, [\n\t 'connection',\n\t 'email',\n\t 'phoneNumber',\n\t 'verificationCode'\n\t ])\n\t );\n\n\t this.crossOriginAuthentication.login(crossOriginOptions, cb);\n\t }\n\t};\n\n\t/**\n\t * Runs the callback code for the cross origin authentication call. This method is meant to be called by the cross origin authentication callback url.\n\t *\n\t * @method crossOriginAuthenticationCallback\n\t * @deprecated Use {@link crossOriginVerification} instead.\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.crossOriginAuthenticationCallback = function () {\n\t this.crossOriginVerification();\n\t};\n\n\t/**\n\t * Runs the callback code for the cross origin authentication call. This method is meant to be called by the cross origin authentication callback url.\n\t *\n\t * @method crossOriginVerification\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.crossOriginVerification = function () {\n\t this.crossOriginAuthentication.callback();\n\t};\n\n\t/**\n\t * Redirects to the auth0 logout endpoint\n\t *\n\t * If you want to navigate the user to a specific URL after the logout, set that URL at the returnTo parameter. The URL should be included in any the appropriate Allowed Logout URLs list:\n\t *\n\t * - If the client_id parameter is included, the returnTo URL must be listed in the Allowed Logout URLs set at the Auth0 Application level (see Setting Allowed Logout URLs at the App Level).\n\t * - If the client_id parameter is NOT included, the returnTo URL must be listed in the Allowed Logout URLs set at the account level (see Setting Allowed Logout URLs at the Account Level).\n\t *\n\t * @method logout\n\t * @param {Object} [options]\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} [options.returnTo] URL to be redirected after the logout\n\t * @param {Boolean} [options.federated] tells Auth0 if it should logout the user also from the IdP.\n\t * @see {@link https://auth0.com/docs/api/authentication#logout}\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.logout = function (options) {\n\t windowHelper.redirect(this.client.buildLogoutUrl(options));\n\t};\n\n\t/**\n\t * @callback onRedirectingCallback\n\t * @param {function} done Must be called when finished so that authentication can be resumed\n\t */\n\n\t/**\n\t * Verifies the passwordless TOTP and redirects to finish the passwordless transaction\n\t *\n\t * @method passwordlessVerify\n\t * @param {Object} options\n\t * @param {String} options.type `sms` or `email`\n\t * @param {String} options.phoneNumber only if type = sms\n\t * @param {String} options.email only if type = email\n\t * @param {String} options.connection the connection name\n\t * @param {String} options.verificationCode the TOTP code\n\t * @param {String} options.clientID the client ID\n\t * @param {onRedirectingCallback} options.onRedirecting Hook function that is called before redirecting to /authorize, allowing you to handle custom code. You must call the `done` function to resume authentication.\n\t * @param {Function} cb\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.passwordlessVerify = function (options, cb) {\n\t var _this = this;\n\t var params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'responseMode',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'nonce',\n\t 'onRedirecting'\n\t ])\n\t .with(options);\n\n\t assert.check(\n\t params,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t responseType: {\n\t type: 'string',\n\t message: 'responseType option is required'\n\t }\n\t }\n\t );\n\n\t params = this.transactionManager.process(params);\n\n\t return this.client.passwordless.verify(params, function (err) {\n\t if (err) {\n\t return cb(err);\n\t }\n\n\t function doAuth() {\n\t windowHelper.redirect(_this.client.passwordless.buildVerifyUrl(params));\n\t }\n\n\t if (typeof options.onRedirecting === 'function') {\n\t return options.onRedirecting(function () {\n\t doAuth();\n\t });\n\t }\n\n\t doAuth();\n\t });\n\t};\n\n\t/**\n\t *\n\t * Renders the captcha challenge in the provided element.\n\t * This function can only be used in the context of a Classic Universal Login Page.\n\t *\n\t * @method renderCaptcha\n\t * @param {HTMLElement} element The element where the captcha needs to be rendered\n\t * @param {Object} options The configuration options for the captcha\n\t * @param {Object} [options.templates] An object containaing templates for each captcha provider\n\t * @param {Function} [options.templates.auth0] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_v2] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_enterprise] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.hcaptcha] template function receiving the challenge and returning a string \n\t * @param {Function} [options.templates.friendly_captcha] template function receiving the challenge and returning a string \n\t * @param {Function} [options.templates.error] template function returning a custom error message when the challenge could not be fetched, receives the error as first argument\n\t * @param {String} [options.lang=en] the ISO code of the language for recaptcha\n\t * @param {Function} [callback] An optional completion callback\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.renderCaptcha = function (element, options, callback) {\n\t return captcha.render(this.client, element, options, callback);\n\t};\n\n\t/**\n\t *\n\t * Renders the passwordless captcha challenge in the provided element.\n\t * This function can only be used in the context of a Classic Universal Login Page.\n\t *\n\t * @method renderPasswordlessCaptcha\n\t * @param {HTMLElement} element The element where the captcha needs to be rendered\n\t * @param {Object} options The configuration options for the captcha\n\t * @param {Object} [options.templates] An object containaing templates for each captcha provider\n\t * @param {Function} [options.templates.auth0] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_v2] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.recaptcha_enterprise] template function receiving the challenge and returning a string\n\t * @param {Function} [options.templates.hcaptcha] template function receiving the challenge and returning a string \n\t * @param {Function} [options.templates.friendly_captcha] template function receiving the challenge and returning a string \n\t * @param {Function} [options.templates.error] template function returning a custom error message when the challenge could not be fetched, receives the error as first argument\n\t * @param {String} [options.lang=en] the ISO code of the language for recaptcha\n\t * @param {Function} [callback] An optional completion callback\n\t * @memberof WebAuth.prototype\n\t */\n\tWebAuth.prototype.renderPasswordlessCaptcha = function (\n\t element,\n\t options,\n\t callback\n\t) {\n\t return captcha.renderPasswordless(this.client, element, options, callback);\n\t};\n\n\tfunction PasswordlessAuthentication(request, options) {\n\t this.baseOptions = options;\n\t this.request = request;\n\t}\n\n\tPasswordlessAuthentication.prototype.buildVerifyUrl = function(options) {\n\t var params;\n\t var qString;\n\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t connection: { type: 'string', message: 'connection option is required' },\n\t verificationCode: {\n\t type: 'string',\n\t message: 'verificationCode option is required'\n\t },\n\t phoneNumber: {\n\t optional: false,\n\t type: 'string',\n\t message: 'phoneNumber option is required',\n\t condition: function(o) {\n\t return !o.email;\n\t }\n\t },\n\t email: {\n\t optional: false,\n\t type: 'string',\n\t message: 'email option is required',\n\t condition: function(o) {\n\t return !o.phoneNumber;\n\t }\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'responseMode',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience',\n\t '_csrf',\n\t 'state',\n\t '_intstate',\n\t 'protocol',\n\t 'nonce'\n\t ])\n\t .with(options);\n\n\t // eslint-disable-next-line\n\t if (this.baseOptions._sendTelemetry) {\n\t params.auth0Client = this.request.getTelemetryData();\n\t }\n\n\t params = objectHelper.toSnakeCase(params, ['auth0Client']);\n\n\t qString = lib.stringify(params);\n\n\t return urlJoin(\n\t this.baseOptions.rootUrl,\n\t 'passwordless',\n\t 'verify_redirect',\n\t '?' + qString\n\t );\n\t};\n\n\tPasswordlessAuthentication.prototype.start = function(options, cb) {\n\t var url;\n\t var body;\n\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t connection: { type: 'string', message: 'connection option is required' },\n\t send: {\n\t type: 'string',\n\t message: 'send option is required',\n\t values: ['link', 'code'],\n\t value_message: 'send is not valid ([link, code])'\n\t },\n\t phoneNumber: {\n\t optional: true,\n\t type: 'string',\n\t message: 'phoneNumber option is required',\n\t condition: function(o) {\n\t return o.send === 'code' || !o.email;\n\t }\n\t },\n\t email: {\n\t optional: true,\n\t type: 'string',\n\t message: 'email option is required',\n\t condition: function(o) {\n\t return o.send === 'link' || !o.phoneNumber;\n\t }\n\t },\n\t authParams: {\n\t optional: true,\n\t type: 'object',\n\t message: 'authParams option is required'\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'passwordless', 'start');\n\n\t var xRequestLanguage = options.xRequestLanguage;\n\t delete options.xRequestLanguage;\n\n\t body = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'redirectUri',\n\t 'scope'\n\t ])\n\t .with(options);\n\n\t if (body.scope) {\n\t body.authParams = body.authParams || {};\n\t body.authParams.scope = body.authParams.scope || body.scope;\n\t }\n\n\t if (body.redirectUri) {\n\t body.authParams = body.authParams || {};\n\t body.authParams.redirect_uri =\n\t body.authParams.redirectUri || body.redirectUri;\n\t }\n\n\t if (body.responseType) {\n\t body.authParams = body.authParams || {};\n\t body.authParams.response_type =\n\t body.authParams.responseType || body.responseType;\n\t }\n\n\t delete body.redirectUri;\n\t delete body.responseType;\n\t delete body.scope;\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client', 'authParams']);\n\n\t var postOptions = xRequestLanguage\n\t ? { xRequestLanguage: xRequestLanguage }\n\t : undefined;\n\n\t return this.request\n\t .post(url, postOptions)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\tPasswordlessAuthentication.prototype.verify = function(options, cb) {\n\t var url;\n\t var cleanOption;\n\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t connection: { type: 'string', message: 'connection option is required' },\n\t verificationCode: {\n\t type: 'string',\n\t message: 'verificationCode option is required'\n\t },\n\t phoneNumber: {\n\t optional: false,\n\t type: 'string',\n\t message: 'phoneNumber option is required',\n\t condition: function(o) {\n\t return !o.email;\n\t }\n\t },\n\t email: {\n\t optional: false,\n\t type: 'string',\n\t message: 'email option is required',\n\t condition: function(o) {\n\t return !o.phoneNumber;\n\t }\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t cleanOption = objectHelper.pick(options, [\n\t 'connection',\n\t 'verificationCode',\n\t 'phoneNumber',\n\t 'email',\n\t 'auth0Client',\n\t 'clientID'\n\t ]);\n\t cleanOption = objectHelper.toSnakeCase(cleanOption, ['auth0Client']);\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'passwordless', 'verify');\n\n\t return this.request\n\t .post(url)\n\t .send(cleanOption)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Makes a call to the `/passwordless/challenge` endpoint\n\t * and returns the challenge (captcha) if necessary.\n\t *\n\t * @method getChallenge\n\t * @param {callback} cb\n\t * @memberof PasswordlessAuthentication.prototype\n\t */\n\tPasswordlessAuthentication.prototype.getChallenge = function(cb) {\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t if (!this.baseOptions.state) {\n\t return cb();\n\t }\n\n\t var url = urlJoin(this.baseOptions.rootUrl, 'passwordless', 'challenge');\n\n\t return this.request\n\t .post(url)\n\t .send({ state: this.baseOptions.state })\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\tfunction DBConnection(request, options) {\n\t this.baseOptions = options;\n\t this.request = request;\n\t}\n\n\t/**\n\t * @callback signUpCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason why the signup failed\n\t * @param {Object} [result] result of the signup request\n\t * @param {Object} result.email user's email\n\t * @param {Object} result.emailVerified if the user's email was verified\n\t * @ignore\n\t */\n\n\t/**\n\t * Creates a new user in a Auth0 Database connection\n\t *\n\t * @method signup\n\t * @param {Object} options\n\t * @param {String} options.email user email address\n\t * @param {String} options.password user password\n\t * @param {String} [options.username] user desired username. Required if you use a database connection and you have enabled `Requires Username`\n\t * @param {String} [options.given_name] The user's given name(s).\n\t * @param {String} [options.family_name] The user's family name(s).\n\t * @param {String} [options.name] The user's full name.\n\t * @param {String} [options.nickname] The user's nickname.\n\t * @param {String} [options.picture] A URI pointing to the user's picture.\n\t * @param {String} options.connection name of the connection where the user will be created\n\t * @param {Object} [options.user_metadata] additional signup attributes used for creating the user. Will be stored in `user_metadata`\n\t * @param {signUpCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#signup}\n\t * @ignore\n\t */\n\tDBConnection.prototype.signup = function(options, cb) {\n\t var url;\n\t var body;\n\t var metadata;\n\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t connection: { type: 'string', message: 'connection option is required' },\n\t email: { type: 'string', message: 'email option is required' },\n\t password: { type: 'string', message: 'password option is required' }\n\t }\n\t );\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'dbconnections', 'signup');\n\n\t body = objectHelper\n\t .merge(this.baseOptions, ['clientID', 'state'])\n\t .with(options);\n\n\t metadata = body.user_metadata || body.userMetadata;\n\n\t body = objectHelper.blacklist(body, [\n\t 'scope',\n\t 'userMetadata',\n\t 'user_metadata'\n\t ]);\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\n\t if (metadata) {\n\t body.user_metadata = metadata;\n\t }\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * @callback changePasswordCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason why the request failed\n\t * @ignore\n\t */\n\n\t/**\n\t * Request an email with instruction to change a user's password\n\t *\n\t * @method changePassword\n\t * @param {Object} options\n\t * @param {String} options.email address where the user will receive the change password email. It should match the user's email in Auth0\n\t * @param {String} options.connection name of the connection where the user was created\n\t * @param {changePasswordCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#change-password}\n\t * @ignore\n\t */\n\tDBConnection.prototype.changePassword = function(options, cb) {\n\t var url;\n\t var body;\n\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t connection: { type: 'string', message: 'connection option is required' },\n\t email: { type: 'string', message: 'email option is required' }\n\t }\n\t );\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'dbconnections', 'change_password');\n\n\t body = objectHelper\n\t .merge(this.baseOptions, ['clientID'])\n\t .with(options, ['email', 'connection']);\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Creates a new Auth0 Authentication API client\n\t * @constructor\n\t * @param {Object} options\n\t * @param {String} options.domain your Auth0 domain\n\t * @param {String} options.clientID the Client ID found on your Application settings page\n\t * @param {String} [options.redirectUri] url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} [options.responseType] type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} [options.cookieDomain] The domain the cookie is accessible from. If not set, the cookie is scoped to the current domain, including the subdomain. To keep a user logged in across multiple subdomains set this to your top-level domain and prefixed with a `.` (eg: `.example.com`).\n\t * @see {@link https://auth0.com/docs/api/authentication}\n\t */\n\tfunction Authentication(auth0, options) {\n\t // If we have two arguments, the first one is a WebAuth instance, so we assign that\n\t // if not, it's an options object and then we should use that as options instead\n\t // this is here because we don't want to break people coming from v8\n\t if (arguments.length === 2) {\n\t this.auth0 = auth0;\n\t } else {\n\t options = auth0;\n\t }\n\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t domain: { type: 'string', message: 'domain option is required' },\n\t clientID: { type: 'string', message: 'clientID option is required' },\n\t responseType: {\n\t optional: true,\n\t type: 'string',\n\t message: 'responseType is not valid'\n\t },\n\t responseMode: {\n\t optional: true,\n\t type: 'string',\n\t message: 'responseMode is not valid'\n\t },\n\t redirectUri: {\n\t optional: true,\n\t type: 'string',\n\t message: 'redirectUri is not valid'\n\t },\n\t scope: { optional: true, type: 'string', message: 'scope is not valid' },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience is not valid'\n\t },\n\t _disableDeprecationWarnings: {\n\t optional: true,\n\t type: 'boolean',\n\t message: '_disableDeprecationWarnings option is not valid'\n\t },\n\t _sendTelemetry: {\n\t optional: true,\n\t type: 'boolean',\n\t message: '_sendTelemetry option is not valid'\n\t },\n\t _telemetryInfo: {\n\t optional: true,\n\t type: 'object',\n\t message: '_telemetryInfo option is not valid'\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t this.baseOptions = options;\n\t this.baseOptions._sendTelemetry =\n\t this.baseOptions._sendTelemetry === false\n\t ? this.baseOptions._sendTelemetry\n\t : true;\n\n\t this.baseOptions.rootUrl =\n\t this.baseOptions.domain &&\n\t this.baseOptions.domain.toLowerCase().indexOf('http') === 0\n\t ? this.baseOptions.domain\n\t : 'https://' + this.baseOptions.domain;\n\n\t this.request = new RequestBuilder(this.baseOptions);\n\n\t this.passwordless = new PasswordlessAuthentication(\n\t this.request,\n\t this.baseOptions\n\t );\n\t this.dbConnection = new DBConnection(this.request, this.baseOptions);\n\n\t this.warn = new Warn({\n\t disableWarnings: !!options._disableDeprecationWarnings\n\t });\n\t this.ssodataStorage = new SSODataStorage(this.baseOptions);\n\t}\n\n\t/**\n\t * Builds and returns the `/authorize` url in order to initialize a new authN/authZ transaction\n\t *\n\t * @method buildAuthorizeUrl\n\t * @param {Object} options\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} options.redirectUri url that the Auth0 will redirect after Auth with the Authorization Response\n\t * @param {String} options.responseType type of the response used by OAuth 2.0 flow. It can be any space separated list of the values `code`, `token`, `id_token`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html}\n\t * @param {String} [options.responseMode] how the Auth response is encoded and redirected back to the client. Supported values are `query`, `fragment` and `form_post`. {@link https://openid.net/specs/oauth-v2-multiple-response-types-1_0.html#ResponseModes}\n\t * @param {String} [options.state] value used to mitigate XSRF attacks. {@link https://auth0.com/docs/protocols/oauth2/oauth-state}\n\t * @param {String} [options.nonce] value used to mitigate replay attacks when using Implicit Grant. {@link https://auth0.com/docs/api-auth/tutorials/nonce}\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @see {@link https://auth0.com/docs/api/authentication#authorize-client}\n\t * @see {@link https://auth0.com/docs/api/authentication#social}\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.buildAuthorizeUrl = function (options) {\n\t var params;\n\t var qString;\n\n\t assert.check(options, {\n\t type: 'object',\n\t message: 'options parameter is not valid'\n\t });\n\n\t params = objectHelper\n\t .merge(this.baseOptions, [\n\t 'clientID',\n\t 'responseType',\n\t 'responseMode',\n\t 'redirectUri',\n\t 'scope',\n\t 'audience'\n\t ])\n\t .with(options);\n\n\t /* eslint-disable */\n\t assert.check(\n\t params,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t clientID: { type: 'string', message: 'clientID option is required' },\n\t redirectUri: {\n\t optional: true,\n\t type: 'string',\n\t message: 'redirectUri option is required'\n\t },\n\t responseType: {\n\t type: 'string',\n\t message: 'responseType option is required'\n\t },\n\t nonce: {\n\t type: 'string',\n\t message: 'nonce option is required',\n\t condition: function (o) {\n\t return (\n\t o.responseType.indexOf('code') === -1 &&\n\t o.responseType.indexOf('id_token') !== -1\n\t );\n\t }\n\t },\n\t scope: {\n\t optional: true,\n\t type: 'string',\n\t message: 'scope option is required'\n\t },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience option is required'\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t // eslint-disable-next-line\n\t if (this.baseOptions._sendTelemetry) {\n\t params.auth0Client = this.request.getTelemetryData();\n\t }\n\n\t if (params.connection_scope && assert.isArray(params.connection_scope)) {\n\t params.connection_scope = params.connection_scope.join(',');\n\t }\n\n\t params = objectHelper.blacklist(params, [\n\t 'username',\n\t 'popupOptions',\n\t 'domain',\n\t 'tenant',\n\t 'timeout',\n\t 'appState'\n\t ]);\n\t params = objectHelper.toSnakeCase(params, ['auth0Client']);\n\t params = parametersWhitelist.oauthAuthorizeParams(this.warn, params);\n\n\t qString = lib.stringify(params);\n\n\t return urlJoin(this.baseOptions.rootUrl, 'authorize', '?' + qString);\n\t};\n\n\t/**\n\t * Builds and returns the Logout url in order to initialize a new authN/authZ transaction\n\t *\n\t * If you want to navigate the user to a specific URL after the logout, set that URL at the returnTo parameter. The URL should be included in any the appropriate Allowed Logout URLs list:\n\t *\n\t * - If the client_id parameter is included, the returnTo URL must be listed in the Allowed Logout URLs set at the Auth0 Application level (see Setting Allowed Logout URLs at the App Level).\n\t * - If the client_id parameter is NOT included, the returnTo URL must be listed in the Allowed Logout URLs set at the account level (see Setting Allowed Logout URLs at the Account Level).\n\t * @method buildLogoutUrl\n\t * @param {Object} options\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} [options.returnTo] URL to be redirected after the logout\n\t * @param {Boolean} [options.federated] tells Auth0 if it should logout the user also from the IdP.\n\t * @see {@link https://auth0.com/docs/api/authentication#logout}\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.buildLogoutUrl = function (options) {\n\t var params;\n\t var qString;\n\n\t assert.check(options, {\n\t optional: true,\n\t type: 'object',\n\t message: 'options parameter is not valid'\n\t });\n\n\t params = objectHelper\n\t .merge(this.baseOptions, ['clientID'])\n\t .with(options || {});\n\n\t // eslint-disable-next-line\n\t if (this.baseOptions._sendTelemetry) {\n\t params.auth0Client = this.request.getTelemetryData();\n\t }\n\n\t params = objectHelper.toSnakeCase(params, ['auth0Client', 'returnTo']);\n\n\t qString = lib.stringify(objectHelper.blacklist(params, ['federated']));\n\t if (\n\t options &&\n\t options.federated !== undefined &&\n\t options.federated !== false &&\n\t options.federated !== 'false'\n\t ) {\n\t qString += '&federated';\n\t }\n\n\t return urlJoin(this.baseOptions.rootUrl, 'v2', 'logout', '?' + qString);\n\t};\n\n\t/**\n\t * @callback authorizeCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason of the Auth failure\n\t * @param {Object} [result] result of the Auth request. If there is no token available, this value will be null.\n\t * @param {String} [result.accessToken] token that allows access to the specified resource server (identified by the audience parameter or by default Auth0's /userinfo endpoint)\n\t * @param {Number} [result.expiresIn] number of seconds until the access token expires\n\t * @param {String} [result.idToken] token that identifies the user\n\t * @param {String} [result.refreshToken] token that can be used to get new access tokens from Auth0. Note that not all Auth0 Applications can request them or the resource server might not allow them.\n\t * @param {Object} [result.appState] values that you receive back on the authentication response\n\t * @memberof Authentication.prototype\n\t */\n\n\t/**\n\t * @callback tokenCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason of the Auth failure\n\t * @param {Object} [result] result of the Auth request\n\t * @param {String} result.accessToken token that allows access to the specified resource server (identified by the audience parameter or by default Auth0's /userinfo endpoint)\n\t * @param {Number} result.expiresIn number of seconds until the access token expires\n\t * @param {String} [result.idToken] token that identifies the user\n\t * @param {String} [result.refreshToken] token that can be used to get new access tokens from Auth0. Note that not all Auth0 Applications can request them or the resource server might not allow them.\n\t * @memberof Authentication.prototype\n\t */\n\n\t/**\n\t * Makes a call to the `oauth/token` endpoint with `password` grant type to login to the default directory.\n\t *\n\t * @method loginWithDefaultDirectory\n\t * @param {Object} options\n\t * @param {String} options.username email or username of the user that will perform Auth\n\t * @param {String} options.password the password of the user that will perform Auth\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {tokenCallback} cb function called with the result of the request\n\t * @see Requires [`password` grant]{@link https://auth0.com/docs/api-auth/grant/password}. For more information, read {@link https://auth0.com/docs/clients/client-grant-types}.\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.loginWithDefaultDirectory = function (options, cb) {\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t username: { type: 'string', message: 'username option is required' },\n\t password: { type: 'string', message: 'password option is required' },\n\t scope: {\n\t optional: true,\n\t type: 'string',\n\t message: 'scope option is required'\n\t },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience option is required'\n\t }\n\t }\n\t );\n\n\t options.grantType = 'password';\n\n\t return this.oauthToken(options, cb);\n\t};\n\n\t/**\n\t * Makes a call to the `oauth/token` endpoint with `password-realm` grant type\n\t *\n\t * @method login\n\t * @param {Object} options\n\t * @param {String} options.username email or username of the user that will perform Auth\n\t * @param {String} options.password the password of the user that will perform Auth\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.audience] identifier of the resource server who will consume the access token issued after Auth\n\t * @param {String} options.realm the HRD domain or the connection name where the user belongs to. e.g. `Username-Password-Authentication`\n\t * @param {tokenCallback} cb function called with the result of the request\n\t * @see Requires [`http://auth0.com/oauth/grant-type/password-realm` grant]{@link https://auth0.com/docs/api-auth/grant/password#realm-support}. For more information, read {@link https://auth0.com/docs/clients/client-grant-types}.\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.login = function (options, cb) {\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t username: { type: 'string', message: 'username option is required' },\n\t password: { type: 'string', message: 'password option is required' },\n\t realm: { type: 'string', message: 'realm option is required' },\n\t scope: {\n\t optional: true,\n\t type: 'string',\n\t message: 'scope option is required'\n\t },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience option is required'\n\t }\n\t }\n\t );\n\n\t options.grantType = 'http://auth0.com/oauth/grant-type/password-realm';\n\n\t return this.oauthToken(options, cb);\n\t};\n\n\t/**\n\t * Makes a call to the `oauth/token` endpoint\n\t *\n\t * @method oauthToken\n\t * @private\n\t */\n\tAuthentication.prototype.oauthToken = function (options, cb) {\n\t var url;\n\t var body;\n\n\t assert.check(options, {\n\t type: 'object',\n\t message: 'options parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'oauth', 'token');\n\n\t body = objectHelper\n\t .merge(this.baseOptions, ['clientID', 'scope', 'audience'])\n\t .with(options);\n\n\t assert.check(\n\t body,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t clientID: { type: 'string', message: 'clientID option is required' },\n\t grantType: { type: 'string', message: 'grantType option is required' },\n\t scope: {\n\t optional: true,\n\t type: 'string',\n\t message: 'scope option is required'\n\t },\n\t audience: {\n\t optional: true,\n\t type: 'string',\n\t message: 'audience option is required'\n\t }\n\t }\n\t );\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\t body = parametersWhitelist.oauthTokenParams(this.warn, body);\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Performs authentication calling `/oauth/ro` endpoint with username\n\t * and password for a given connection name.\n\t *\n\t * This method is not compatible with API Auth so if you need to fetch API tokens with audience\n\t * you should use {@link login} or {@link loginWithDefaultDirectory}.\n\t *\n\t * @method loginWithResourceOwner\n\t * @param {Object} options\n\t * @param {String} options.username email or username of the user that will perform Auth\n\t * @param {String} options.password the password of the user that will perform Auth\n\t * @param {Object} options.connection the connection name where the user belongs to. e.g. `Username-Password-Authentication`\n\t * @param {String} [options.scope] scopes to be requested during Auth. e.g. `openid email`\n\t * @param {String} [options.device] name of the device/browser where the Auth was requested\n\t * @param {tokenCallback} cb function called with the result of the request\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.loginWithResourceOwner = function (options, cb) {\n\t var url;\n\t var body;\n\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t username: { type: 'string', message: 'username option is required' },\n\t password: { type: 'string', message: 'password option is required' },\n\t connection: { type: 'string', message: 'connection option is required' },\n\t scope: {\n\t optional: true,\n\t type: 'string',\n\t message: 'scope option is required'\n\t }\n\t }\n\t );\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'oauth', 'ro');\n\n\t body = objectHelper\n\t .merge(this.baseOptions, ['clientID', 'scope'])\n\t .with(options, ['username', 'password', 'scope', 'connection', 'device']);\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\n\t body.grant_type = body.grant_type || 'password';\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Uses {@link checkSession} and localStorage to return data from the last successful authentication request.\n\t *\n\t * @method getSSOData\n\t * @param {Boolean} withActiveDirectories this parameter is not used anymore. It's here to be backward compatible\n\t * @param {Function} cb\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.getSSOData = function (withActiveDirectories, cb) {\n\t /* istanbul ignore if */\n\t if (!this.auth0) {\n\t this.auth0 = new WebAuth(this.baseOptions);\n\t }\n\t var isHostedLoginPage =\n\t windowHelper.getWindow().location.host === this.baseOptions.domain;\n\t if (isHostedLoginPage) {\n\t return this.auth0._universalLogin.getSSOData(withActiveDirectories, cb);\n\t }\n\t if (typeof withActiveDirectories === 'function') {\n\t cb = withActiveDirectories;\n\t }\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\t var clientId = this.baseOptions.clientID;\n\t var ssodataInformation = this.ssodataStorage.get() || {};\n\n\t this.auth0.checkSession(\n\t {\n\t responseType: 'token id_token',\n\t scope: 'openid profile email',\n\t connection: ssodataInformation.lastUsedConnection,\n\t timeout: 5000\n\t },\n\t function (err, result) {\n\t if (err) {\n\t if (err.error === 'login_required') {\n\t return cb(null, { sso: false });\n\t }\n\t if (err.error === 'consent_required') {\n\t err.error_description =\n\t 'Consent required. When using `getSSOData`, the user has to be authenticated with the following scope: `openid profile email`.';\n\t }\n\t return cb(err, { sso: false });\n\t }\n\t if (\n\t ssodataInformation.lastUsedSub &&\n\t ssodataInformation.lastUsedSub !== result.idTokenPayload.sub\n\t ) {\n\t return cb(err, { sso: false });\n\t }\n\t return cb(null, {\n\t lastUsedConnection: {\n\t name: ssodataInformation.lastUsedConnection\n\t },\n\t lastUsedUserID: result.idTokenPayload.sub,\n\t lastUsedUsername:\n\t result.idTokenPayload.email || result.idTokenPayload.name,\n\t lastUsedClientID: clientId,\n\t sessionClients: [clientId],\n\t sso: true\n\t });\n\t }\n\t );\n\t};\n\n\t/**\n\t * @callback userInfoCallback\n\t * @param {Error} [err] error returned by Auth0\n\t * @param {Object} [userInfo] user information\n\t * @memberof Authentication.prototype\n\t */\n\n\t/**\n\t * Makes a call to the `/userinfo` endpoint and returns the user profile\n\t *\n\t * @method userInfo\n\t * @param {String} accessToken token issued to a user after Auth\n\t * @param {userInfoCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#get-user-info}\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.userInfo = function (accessToken, cb) {\n\t var url;\n\n\t assert.check(accessToken, {\n\t type: 'string',\n\t message: 'accessToken parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'userinfo');\n\n\t return this.request\n\t .get(url)\n\t .set('Authorization', 'Bearer ' + accessToken)\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\t/**\n\t * Makes a call to the `/usernamepassword/challenge` endpoint\n\t * and returns the challenge (captcha) if necessary.\n\t *\n\t * @method getChallenge\n\t * @param {callback} cb\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.getChallenge = function (cb) {\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t if (!this.baseOptions.state) {\n\t return cb();\n\t }\n\n\t var url = urlJoin(this.baseOptions.rootUrl, 'usernamepassword', 'challenge');\n\n\t return this.request\n\t .post(url)\n\t .send({ state: this.baseOptions.state })\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\t/**\n\t * @callback delegationCallback\n\t * @param {Error} [err] error returned by Auth0 with the reason why the delegation failed\n\t * @param {Object} [result] result of the delegation request. The payload depends on what ai type was used\n\t * @memberof Authentication.prototype\n\t */\n\n\t/**\n\t * Makes a call to the `/delegation` endpoint with either an `id_token` or `refresh_token`\n\t *\n\t * @method delegation\n\t * @param {Object} options\n\t * @param {String} [options.clientID] the Client ID found on your Application settings page\n\t * @param {String} options.grantType grant type used for delegation. The only valid value is `urn:ietf:params:oauth:grant-type:jwt-bearer`\n\t * @param {String} [options.idToken] valid token of the user issued after Auth. If no `refresh_token` is provided this parameter is required\n\t * @param {String} [options.refreshToken] valid refresh token of the user issued after Auth. If no `id_token` is provided this parameter is required\n\t * @param {String} [options.target] the target ClientID of the delegation\n\t * @param {String} [options.scope] either `openid` or `openid profile email`\n\t * @param {String} [options.apiType] the api to be called\n\t * @param {delegationCallback} cb\n\t * @see {@link https://auth0.com/docs/api/authentication#delegation}\n\t * @see Requires [http://auth0.com/oauth/grant-type/password-realm]{@link https://auth0.com/docs/api-auth/grant/password#realm-support}. For more information, read {@link https://auth0.com/docs/clients/client-grant-types}.\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.delegation = function (options, cb) {\n\t var url;\n\t var body;\n\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t grant_type: { type: 'string', message: 'grant_type option is required' }\n\t }\n\t );\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'delegation');\n\n\t body = objectHelper.merge(this.baseOptions, ['clientID']).with(options);\n\n\t body = objectHelper.toSnakeCase(body, ['auth0Client']);\n\n\t return this.request\n\t .post(url)\n\t .send(body)\n\t .end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Fetches the user country based on the ip.\n\t *\n\t * @method getUserCountry\n\t * @private\n\t * @param {Function} cb\n\t * @memberof Authentication.prototype\n\t */\n\tAuthentication.prototype.getUserCountry = function (cb) {\n\t var url;\n\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'user', 'geoloc', 'country');\n\n\t return this.request.get(url).end(wrapCallback(cb));\n\t};\n\n\t/**\n\t * Auth0 Management API Client (methods allowed to be called from the browser only)\n\t * @constructor\n\t * @param {Object} options\n\t * @param {Object} options.domain your Auth0 acount domain\n\t * @param {Object} options.token a valid API token\n\t */\n\tfunction Management(options) {\n\t /* eslint-disable */\n\t assert.check(\n\t options,\n\t { type: 'object', message: 'options parameter is not valid' },\n\t {\n\t domain: { type: 'string', message: 'domain option is required' },\n\t token: { type: 'string', message: 'token option is required' },\n\t _sendTelemetry: {\n\t optional: true,\n\t type: 'boolean',\n\t message: '_sendTelemetry option is not valid'\n\t },\n\t _telemetryInfo: {\n\t optional: true,\n\t type: 'object',\n\t message: '_telemetryInfo option is not valid'\n\t }\n\t }\n\t );\n\t /* eslint-enable */\n\n\t this.baseOptions = options;\n\n\t this.baseOptions.headers = {\n\t Authorization: 'Bearer ' + this.baseOptions.token\n\t };\n\n\t this.request = new RequestBuilder(this.baseOptions);\n\t this.baseOptions.rootUrl = urlJoin(\n\t 'https://' + this.baseOptions.domain,\n\t 'api',\n\t 'v2'\n\t );\n\t}\n\n\t/**\n\t * @callback userCallback\n\t * @param {Error} [err] failure reason for the failed request to Management API\n\t * @param {Object} [result] user profile\n\t * @memberof Management.prototype\n\t */\n\n\t/**\n\t * Returns the user profile\n\t *\n\t * @method getUser\n\t * @param {String} userId identifier of the user to retrieve\n\t * @param {userCallback} cb\n\t * @see https://auth0.com/docs/api/management/v2#!/Users/get_users_by_id\n\t * @memberof Management.prototype\n\t */\n\tManagement.prototype.getUser = function(userId, cb) {\n\t var url;\n\n\t assert.check(userId, {\n\t type: 'string',\n\t message: 'userId parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'users', userId);\n\n\t return this.request.get(url).end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\t/**\n\t * Updates the user metdata. It will patch the user metdata with the attributes sent.\n\t *\n\t *\n\t * @method patchUserMetadata\n\t * @param {String} userId\n\t * @param {Object} userMetadata\n\t * @param {userCallback} cb\n\t * @see {@link https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id}\n\t * @memberof Management.prototype\n\t */\n\tManagement.prototype.patchUserMetadata = function(userId, userMetadata, cb) {\n\t var url;\n\n\t assert.check(userId, {\n\t type: 'string',\n\t message: 'userId parameter is not valid'\n\t });\n\t assert.check(userMetadata, {\n\t type: 'object',\n\t message: 'userMetadata parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'users', userId);\n\n\t return this.request\n\t .patch(url)\n\t .send({ user_metadata: userMetadata })\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\t/**\n\t * Updates the user attributes. It will patch the user attributes that the server allows it.\n\t *\n\t * @method patchUserAttributes\n\t * @param {String} userId\n\t * @param {Object} user\n\t * @param {userCallback} cb\n\t * @see {@link https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id}\n\t * @memberof Management.prototype\n\t */\n\tManagement.prototype.patchUserAttributes = function(userId, user, cb) {\n\t var url;\n\n\t assert.check(userId, {\n\t type: 'string',\n\t message: 'userId parameter is not valid'\n\t });\n\t assert.check(user, {\n\t type: 'object',\n\t message: 'user parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'users', userId);\n\n\t return this.request\n\t .patch(url)\n\t .send(user)\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\t/**\n\t * Link two users\n\t *\n\t * @method linkUser\n\t * @param {String} userId\n\t * @param {String} secondaryUserToken\n\t * @param {userCallback} cb\n\t * @see {@link https://auth0.com/docs/api/management/v2#!/Users/post_identities}\n\t * @memberof Management.prototype\n\t */\n\tManagement.prototype.linkUser = function(userId, secondaryUserToken, cb) {\n\t var url;\n\t /* eslint-disable */\n\t assert.check(userId, {\n\t type: 'string',\n\t message: 'userId parameter is not valid'\n\t });\n\t assert.check(secondaryUserToken, {\n\t type: 'string',\n\t message: 'secondaryUserToken parameter is not valid'\n\t });\n\t assert.check(cb, { type: 'function', message: 'cb parameter is not valid' });\n\t /* eslint-enable */\n\n\t url = urlJoin(this.baseOptions.rootUrl, 'users', userId, 'identities');\n\n\t return this.request\n\t .post(url)\n\t .send({ link_with: secondaryUserToken })\n\t .end(wrapCallback(cb, { ignoreCasing: true }));\n\t};\n\n\tvar index = {\n\t Authentication: Authentication,\n\t Management: Management,\n\t WebAuth: WebAuth,\n\t version: version\n\t};\n\n\texports.Authentication = Authentication;\n\texports.Management = Management;\n\texports.WebAuth = WebAuth;\n\texports.default = index;\n\texports.version = version;\n\n\tObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n"],"sourceRoot":"webpack:///"}