box-ui-elements 19.0.0-beta.21 → 19.0.0-beta.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/explorer.js +15 -15
  2. package/dist/openwith.js +5 -5
  3. package/dist/picker.js +8 -8
  4. package/dist/preview.js +11 -11
  5. package/dist/sharing.js +5 -5
  6. package/dist/sidebar.js +13 -13
  7. package/dist/uploader.js +4 -4
  8. package/es/api/APIFactory.js +25 -0
  9. package/es/api/APIFactory.js.flow +25 -0
  10. package/es/api/APIFactory.js.map +1 -1
  11. package/es/api/Intelligence.js +60 -0
  12. package/es/api/Intelligence.js.flow +68 -0
  13. package/es/api/Intelligence.js.map +1 -0
  14. package/es/common/types/core.js.flow +1 -0
  15. package/es/common/types/core.js.map +1 -1
  16. package/es/constants.js +2 -0
  17. package/es/constants.js.flow +2 -0
  18. package/es/constants.js.map +1 -1
  19. package/es/elements/common/selectors/version.js +2 -1
  20. package/es/elements/common/selectors/version.js.flow +2 -1
  21. package/es/elements/common/selectors/version.js.map +1 -1
  22. package/es/features/content-answers/ContentAnswersModalError.js +23 -0
  23. package/es/features/content-answers/ContentAnswersModalError.js.map +1 -0
  24. package/es/features/content-answers/ContentAnswersModalError.scss +28 -0
  25. package/es/features/content-answers/messages.js +12 -0
  26. package/es/features/content-answers/messages.js.map +1 -1
  27. package/es/src/features/content-answers/ContentAnswersModalError.d.ts +3 -0
  28. package/es/src/features/content-answers/__tests__/ContentAnswersModalError.test.d.ts +1 -0
  29. package/es/src/features/content-answers/messages.d.ts +15 -0
  30. package/es/utils/fields.js +3 -3
  31. package/es/utils/fields.js.flow +3 -0
  32. package/es/utils/fields.js.map +1 -1
  33. package/i18n/bn-IN.js +5 -2
  34. package/i18n/bn-IN.properties +2 -2
  35. package/i18n/da-DK.js +5 -2
  36. package/i18n/da-DK.properties +2 -2
  37. package/i18n/de-DE.js +5 -2
  38. package/i18n/de-DE.properties +2 -2
  39. package/i18n/en-AU.js +3 -0
  40. package/i18n/en-CA.js +3 -0
  41. package/i18n/en-GB.js +3 -0
  42. package/i18n/en-US.js +3 -0
  43. package/i18n/en-US.properties +6 -0
  44. package/i18n/en-x-pseudo.js +3 -0
  45. package/i18n/es-419.js +5 -2
  46. package/i18n/es-419.properties +2 -2
  47. package/i18n/es-ES.js +5 -2
  48. package/i18n/es-ES.properties +2 -2
  49. package/i18n/fi-FI.js +5 -2
  50. package/i18n/fi-FI.properties +2 -2
  51. package/i18n/fr-CA.js +5 -2
  52. package/i18n/fr-CA.properties +2 -2
  53. package/i18n/fr-FR.js +5 -2
  54. package/i18n/fr-FR.properties +2 -2
  55. package/i18n/hi-IN.js +5 -2
  56. package/i18n/hi-IN.properties +2 -2
  57. package/i18n/it-IT.js +5 -2
  58. package/i18n/it-IT.properties +2 -2
  59. package/i18n/ja-JP.js +3 -0
  60. package/i18n/ko-KR.js +5 -2
  61. package/i18n/ko-KR.properties +2 -2
  62. package/i18n/nb-NO.js +5 -2
  63. package/i18n/nb-NO.properties +2 -2
  64. package/i18n/nl-NL.js +5 -2
  65. package/i18n/nl-NL.properties +2 -2
  66. package/i18n/pl-PL.js +5 -2
  67. package/i18n/pl-PL.properties +2 -2
  68. package/i18n/pt-BR.js +5 -2
  69. package/i18n/pt-BR.properties +2 -2
  70. package/i18n/ru-RU.js +5 -2
  71. package/i18n/ru-RU.properties +2 -2
  72. package/i18n/sv-SE.js +5 -2
  73. package/i18n/sv-SE.properties +2 -2
  74. package/i18n/tr-TR.js +5 -2
  75. package/i18n/tr-TR.properties +2 -2
  76. package/i18n/zh-CN.js +5 -2
  77. package/i18n/zh-CN.properties +2 -2
  78. package/i18n/zh-TW.js +5 -2
  79. package/i18n/zh-TW.properties +2 -2
  80. package/package.json +1 -1
  81. package/src/api/APIFactory.js +25 -0
  82. package/src/api/Intelligence.js +68 -0
  83. package/src/api/__tests__/Intelligence.test.js +67 -0
  84. package/src/common/types/core.js +1 -0
  85. package/src/constants.js +2 -0
  86. package/src/elements/common/selectors/__tests__/version.js +13 -11
  87. package/src/elements/common/selectors/version.js +2 -1
  88. package/src/elements/content-sidebar/versions/__tests__/VersionsItem.test.js +3 -0
  89. package/src/features/content-answers/ContentAnswersModalError.scss +28 -0
  90. package/src/features/content-answers/ContentAnswersModalError.tsx +32 -0
  91. package/src/features/content-answers/__tests__/ContentAnswersModalError.test.tsx +21 -0
  92. package/src/features/content-answers/messages.ts +15 -0
  93. package/src/utils/__tests__/fields.test.js +2 -0
  94. package/src/utils/fields.js +3 -0
package/dist/openwith.js CHANGED
@@ -19,17 +19,17 @@
19
19
  *
20
20
  * See the Box license for the specific language governing permissions
21
21
  * and limitations under the license.
22
- */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/0.0.0-semantically-released/en-US/",r(r.s=1017)}([function(e,t,r){"use strict";e.exports=r(365)},function(e,t,r){"use strict";r.d(t,"l",(function(){return i})),r.d(t,"sf",(function(){return o})),r.d(t,"tf",(function(){return a})),r.d(t,"uf",(function(){return s})),r.d(t,"vf",(function(){return l})),r.d(t,"tg",(function(){return c})),r.d(t,"yg",(function(){return u})),r.d(t,"zg",(function(){return d})),r.d(t,"xg",(function(){return f})),r.d(t,"sg",(function(){return h})),r.d(t,"Ag",(function(){return p})),r.d(t,"Bg",(function(){return m})),r.d(t,"Cg",(function(){return b})),r.d(t,"ug",(function(){return g})),r.d(t,"wg",(function(){return y})),r.d(t,"vg",(function(){return v})),r.d(t,"jg",(function(){return w})),r.d(t,"ig",(function(){return k})),r.d(t,"kg",(function(){return E})),r.d(t,"Ec",(function(){return x})),r.d(t,"Dc",(function(){return C})),r.d(t,"Fc",(function(){return S})),r.d(t,"Gc",(function(){return O})),r.d(t,"Hc",(function(){return P})),r.d(t,"hg",(function(){return A})),r.d(t,"gg",(function(){return _})),r.d(t,"fg",(function(){return I})),r.d(t,"p",(function(){return T})),r.d(t,"o",(function(){return D})),r.d(t,"u",(function(){return M})),r.d(t,"t",(function(){return j})),r.d(t,"s",(function(){return F})),r.d(t,"q",(function(){return R})),r.d(t,"r",(function(){return L})),r.d(t,"Kf",(function(){return N})),r.d(t,"Lf",(function(){return U})),r.d(t,"c",(function(){return H})),r.d(t,"d",(function(){return z})),r.d(t,"a",(function(){return B})),r.d(t,"b",(function(){return V})),r.d(t,"ee",(function(){return W})),r.d(t,"ie",(function(){return q})),r.d(t,"ge",(function(){return G})),r.d(t,"he",(function(){return X})),r.d(t,"fe",(function(){return K})),r.d(t,"Ee",(function(){return $})),r.d(t,"He",(function(){return Q})),r.d(t,"Ge",(function(){return Y})),r.d(t,"De",(function(){return J})),r.d(t,"Ce",(function(){return Z})),r.d(t,"Fe",(function(){return ee})),r.d(t,"bd",(function(){return te})),r.d(t,"Tc",(function(){return re})),r.d(t,"nd",(function(){return ne})),r.d(t,"Md",(function(){return ie})),r.d(t,"Gd",(function(){return oe})),r.d(t,"qd",(function(){return ae})),r.d(t,"Xc",(function(){return se})),r.d(t,"hd",(function(){return le})),r.d(t,"sd",(function(){return ce})),r.d(t,"td",(function(){return ue})),r.d(t,"ud",(function(){return de})),r.d(t,"gd",(function(){return fe})),r.d(t,"rd",(function(){return he})),r.d(t,"Pc",(function(){return pe})),r.d(t,"Qc",(function(){return me})),r.d(t,"ld",(function(){return be})),r.d(t,"yd",(function(){return ge})),r.d(t,"Ad",(function(){return ye})),r.d(t,"Rc",(function(){return ve})),r.d(t,"cd",(function(){return we})),r.d(t,"Dd",(function(){return ke})),r.d(t,"Ed",(function(){return Ee})),r.d(t,"Fd",(function(){return xe})),r.d(t,"Jc",(function(){return Ce})),r.d(t,"Kc",(function(){return Se})),r.d(t,"Zc",(function(){return Oe})),r.d(t,"fd",(function(){return Pe})),r.d(t,"Od",(function(){return Ae})),r.d(t,"Sc",(function(){return _e})),r.d(t,"md",(function(){return Ie})),r.d(t,"pd",(function(){return Te})),r.d(t,"zd",(function(){return De})),r.d(t,"Ld",(function(){return Me})),r.d(t,"Uc",(function(){return je})),r.d(t,"xd",(function(){return Fe})),r.d(t,"Cd",(function(){return Re})),r.d(t,"Rd",(function(){return Le})),r.d(t,"Nc",(function(){return Ne})),r.d(t,"Yc",(function(){return Ue})),r.d(t,"ed",(function(){return He})),r.d(t,"Pd",(function(){return ze})),r.d(t,"Qd",(function(){return Be})),r.d(t,"jd",(function(){return Ve})),r.d(t,"kd",(function(){return We})),r.d(t,"Vc",(function(){return qe})),r.d(t,"Jd",(function(){return Ge})),r.d(t,"dd",(function(){return Xe})),r.d(t,"id",(function(){return Ke})),r.d(t,"Id",(function(){return $e})),r.d(t,"Kd",(function(){return Qe})),r.d(t,"Mc",(function(){return Ye})),r.d(t,"vd",(function(){return Je})),r.d(t,"Hd",(function(){return Ze})),r.d(t,"Ic",(function(){return et})),r.d(t,"Lc",(function(){return tt})),r.d(t,"od",(function(){return rt})),r.d(t,"wd",(function(){return nt})),r.d(t,"Bd",(function(){return it})),r.d(t,"Nd",(function(){return ot})),r.d(t,"Oc",(function(){return at})),r.d(t,"Wc",(function(){return st})),r.d(t,"ad",(function(){return lt})),r.d(t,"Ye",(function(){return ct})),r.d(t,"Ze",(function(){return ut})),r.d(t,"af",(function(){return dt})),r.d(t,"bf",(function(){return ft})),r.d(t,"cf",(function(){return ht})),r.d(t,"df",(function(){return pt})),r.d(t,"ef",(function(){return mt})),r.d(t,"ff",(function(){return bt})),r.d(t,"gf",(function(){return gt})),r.d(t,"hf",(function(){return yt})),r.d(t,"if",(function(){return vt})),r.d(t,"ze",(function(){return wt})),r.d(t,"ob",(function(){return kt})),r.d(t,"nb",(function(){return Et})),r.d(t,"gb",(function(){return xt})),r.d(t,"ab",(function(){return Ct})),r.d(t,"fb",(function(){return St})),r.d(t,"U",(function(){return Ot})),r.d(t,"W",(function(){return Pt})),r.d(t,"X",(function(){return At})),r.d(t,"Y",(function(){return _t})),r.d(t,"Z",(function(){return It})),r.d(t,"V",(function(){return Tt})),r.d(t,"R",(function(){return Dt})),r.d(t,"ib",(function(){return Mt})),r.d(t,"jb",(function(){return jt})),r.d(t,"Q",(function(){return Ft})),r.d(t,"bb",(function(){return Rt})),r.d(t,"cb",(function(){return Lt})),r.d(t,"db",(function(){return Nt})),r.d(t,"eb",(function(){return Ut})),r.d(t,"T",(function(){return Ht})),r.d(t,"S",(function(){return zt})),r.d(t,"kb",(function(){return Bt})),r.d(t,"mb",(function(){return Vt})),r.d(t,"lb",(function(){return Wt})),r.d(t,"D",(function(){return qt})),r.d(t,"L",(function(){return Gt})),r.d(t,"E",(function(){return Xt})),r.d(t,"F",(function(){return Kt})),r.d(t,"G",(function(){return $t})),r.d(t,"H",(function(){return Qt})),r.d(t,"I",(function(){return Yt})),r.d(t,"J",(function(){return Jt})),r.d(t,"K",(function(){return Zt})),r.d(t,"Rf",(function(){return er})),r.d(t,"Qf",(function(){return tr})),r.d(t,"Sf",(function(){return rr})),r.d(t,"Nf",(function(){return nr})),r.d(t,"Of",(function(){return ir})),r.d(t,"Mf",(function(){return or})),r.d(t,"Pf",(function(){return ar})),r.d(t,"A",(function(){return sr})),r.d(t,"B",(function(){return lr})),r.d(t,"C",(function(){return cr})),r.d(t,"x",(function(){return ur})),r.d(t,"w",(function(){return dr})),r.d(t,"y",(function(){return fr})),r.d(t,"z",(function(){return hr})),r.d(t,"v",(function(){return pr})),r.d(t,"Xe",(function(){return mr})),r.d(t,"gc",(function(){return br})),r.d(t,"ic",(function(){return gr})),r.d(t,"hc",(function(){return yr})),r.d(t,"zc",(function(){return vr})),r.d(t,"xc",(function(){return wr})),r.d(t,"Cc",(function(){return kr})),r.d(t,"Ac",(function(){return Er})),r.d(t,"Bc",(function(){return xr})),r.d(t,"wc",(function(){return Cr})),r.d(t,"yc",(function(){return Sr})),r.d(t,"Ib",(function(){return Or})),r.d(t,"Jb",(function(){return Pr})),r.d(t,"Kb",(function(){return Ar})),r.d(t,"Qb",(function(){return _r})),r.d(t,"Rb",(function(){return Ir})),r.d(t,"Sb",(function(){return Tr})),r.d(t,"dc",(function(){return Dr})),r.d(t,"Lb",(function(){return Mr})),r.d(t,"Mb",(function(){return jr})),r.d(t,"Xb",(function(){return Fr})),r.d(t,"bc",(function(){return Rr})),r.d(t,"cc",(function(){return Lr})),r.d(t,"Zb",(function(){return Nr})),r.d(t,"Nb",(function(){return Ur})),r.d(t,"Ob",(function(){return Hr})),r.d(t,"Pb",(function(){return zr})),r.d(t,"ac",(function(){return Br})),r.d(t,"Tb",(function(){return Vr})),r.d(t,"Ub",(function(){return Wr})),r.d(t,"Vb",(function(){return qr})),r.d(t,"Hb",(function(){return Gr})),r.d(t,"Yb",(function(){return Xr})),r.d(t,"Wb",(function(){return Kr})),r.d(t,"Gb",(function(){return $r})),r.d(t,"pb",(function(){return Qr})),r.d(t,"qb",(function(){return Yr})),r.d(t,"tb",(function(){return Jr})),r.d(t,"ub",(function(){return Zr})),r.d(t,"wb",(function(){return en})),r.d(t,"vb",(function(){return tn})),r.d(t,"rb",(function(){return rn})),r.d(t,"sb",(function(){return nn})),r.d(t,"yb",(function(){return on})),r.d(t,"xb",(function(){return an})),r.d(t,"Fb",(function(){return sn})),r.d(t,"zb",(function(){return ln})),r.d(t,"Cb",(function(){return cn})),r.d(t,"Db",(function(){return un})),r.d(t,"Ab",(function(){return dn})),r.d(t,"Bb",(function(){return fn})),r.d(t,"Eb",(function(){return hn})),r.d(t,"fc",(function(){return pn})),r.d(t,"kc",(function(){return mn})),r.d(t,"mc",(function(){return bn})),r.d(t,"uc",(function(){return gn})),r.d(t,"vc",(function(){return yn})),r.d(t,"rc",(function(){return vn})),r.d(t,"tc",(function(){return wn})),r.d(t,"sc",(function(){return kn})),r.d(t,"ec",(function(){return En})),r.d(t,"lc",(function(){return xn})),r.d(t,"oc",(function(){return Cn})),r.d(t,"pc",(function(){return Sn})),r.d(t,"nc",(function(){return On})),r.d(t,"jc",(function(){return Pn})),r.d(t,"qc",(function(){return An})),r.d(t,"Pe",(function(){return _n})),r.d(t,"Qe",(function(){return In})),r.d(t,"Oe",(function(){return Tn})),r.d(t,"Re",(function(){return Dn})),r.d(t,"Se",(function(){return Mn})),r.d(t,"Ve",(function(){return jn})),r.d(t,"We",(function(){return Fn})),r.d(t,"Ue",(function(){return Rn})),r.d(t,"Te",(function(){return Ln})),r.d(t,"Je",(function(){return Nn})),r.d(t,"Ie",(function(){return Un})),r.d(t,"Ae",(function(){return Hn})),r.d(t,"Dg",(function(){return Bn})),r.d(t,"hb",(function(){return Vn})),r.d(t,"Ke",(function(){return Wn})),r.d(t,"M",(function(){return qn})),r.d(t,"N",(function(){return Gn})),r.d(t,"Jf",(function(){return Xn})),r.d(t,"Ef",(function(){return Kn})),r.d(t,"If",(function(){return $n})),r.d(t,"Df",(function(){return Qn})),r.d(t,"Ff",(function(){return Yn})),r.d(t,"Bf",(function(){return Jn})),r.d(t,"wf",(function(){return Zn})),r.d(t,"xf",(function(){return ei})),r.d(t,"Cf",(function(){return ti})),r.d(t,"Af",(function(){return ri})),r.d(t,"zf",(function(){return ni})),r.d(t,"yf",(function(){return ii})),r.d(t,"Hf",(function(){return oi})),r.d(t,"Gf",(function(){return ai})),r.d(t,"Xd",(function(){return si})),r.d(t,"Yd",(function(){return li})),r.d(t,"Zd",(function(){return ci})),r.d(t,"ae",(function(){return ui})),r.d(t,"be",(function(){return di})),r.d(t,"ce",(function(){return fi})),r.d(t,"Eg",(function(){return hi})),r.d(t,"kf",(function(){return pi})),r.d(t,"lf",(function(){return mi})),r.d(t,"mf",(function(){return bi})),r.d(t,"qf",(function(){return gi})),r.d(t,"of",(function(){return yi})),r.d(t,"pf",(function(){return vi})),r.d(t,"nf",(function(){return wi})),r.d(t,"rf",(function(){return ki})),r.d(t,"ke",(function(){return Ei})),r.d(t,"ne",(function(){return xi})),r.d(t,"oe",(function(){return Ci})),r.d(t,"je",(function(){return Si})),r.d(t,"me",(function(){return Oi})),r.d(t,"le",(function(){return Pi})),r.d(t,"ye",(function(){return Ai})),r.d(t,"re",(function(){return _i})),r.d(t,"ue",(function(){return Ii})),r.d(t,"qe",(function(){return Ti})),r.d(t,"we",(function(){return Di})),r.d(t,"te",(function(){return Mi})),r.d(t,"ve",(function(){return ji})),r.d(t,"pe",(function(){return Fi})),r.d(t,"xe",(function(){return Ri})),r.d(t,"se",(function(){return Li})),r.d(t,"lg",(function(){return Ni})),r.d(t,"mg",(function(){return Ui})),r.d(t,"ng",(function(){return Hi})),r.d(t,"rg",(function(){return zi})),r.d(t,"og",(function(){return Bi})),r.d(t,"qg",(function(){return Vi})),r.d(t,"pg",(function(){return Wi})),r.d(t,"jf",(function(){return qi})),r.d(t,"de",(function(){return Gi})),r.d(t,"m",(function(){return Xi})),r.d(t,"n",(function(){return Ki})),r.d(t,"Me",(function(){return $i})),r.d(t,"Ne",(function(){return Qi})),r.d(t,"Yf",(function(){return Yi})),r.d(t,"Zf",(function(){return Ji})),r.d(t,"bg",(function(){return Zi})),r.d(t,"ag",(function(){return eo})),r.d(t,"cg",(function(){return to})),r.d(t,"eg",(function(){return ro})),r.d(t,"dg",(function(){return no})),r.d(t,"Tf",(function(){return io})),r.d(t,"Uf",(function(){return oo})),r.d(t,"Vf",(function(){return ao})),r.d(t,"Wf",(function(){return so})),r.d(t,"Xf",(function(){return lo})),r.d(t,"O",(function(){return co})),r.d(t,"P",(function(){return uo})),r.d(t,"h",(function(){return fo})),r.d(t,"i",(function(){return ho})),r.d(t,"j",(function(){return po})),r.d(t,"k",(function(){return mo})),r.d(t,"e",(function(){return bo})),r.d(t,"f",(function(){return go})),r.d(t,"g",(function(){return yo})),r.d(t,"Sd",(function(){return vo})),r.d(t,"Td",(function(){return wo})),r.d(t,"Ud",(function(){return ko})),r.d(t,"Vd",(function(){return Eo})),r.d(t,"Wd",(function(){return xo})),r.d(t,"Be",(function(){return Co})),r.d(t,"Le",(function(){return So}));var n=r(59);const i=1e3,o="large",a="medium",s="small",l="very_large",c="folder",u="search",d="selected",f="recents",h="error",p="upload-empty",m="upload-inprogress",b="upload-success",g="metadata",y="list",v="grid",w="folder",k="file",E="web_link",x="app_activity",C="annotation",S="comment",O="task",P="file_version",A="folder_",_="file_",I="feedItems_",T=A,D=_,M="web_link_",j="search_",F="recents_",R="metadata_",L="metadata_query_",N="ASC",U="DESC",H="none",z="open",B="collaborators",V="company",W="Accept",q="Content-Type",G="X-Box-Client-Name",X="X-Box-Client-Version",K="Accept-Language",$="securityClassification-6VMVochwUWo",Q="boxSkillsCards",Y="properties",J="global",Z="enterprise",ee=i,te="id",re="date",ne="name",ie="type",oe="size",ae="parent",se="extension",le="expires_at",ce="permissions",ue="".concat(ce,".can_share"),de="".concat(ce,".can_upload"),fe="item_collection",he="path_collection",pe="content_created_at",me="content_modified_at",be="modified_at",ge="restored_at",ye="restored_from",ve="created_at",we="interacted_at",ke="shared_link",Ee="allowed_shared_link_access_levels_disabled_reasons",xe="shared_link_features",Ce="allowed_invitee_roles",Se="allowed_shared_link_access_levels",Oe="has_collaborations",Pe="is_externally_owned",Ae="url",_e="created_by",Ie="modified_by",Te="owned_by",De="restored_by",Me="trashed_by",je="description",Fe="representations",Re="sha1",Le="watermark_info",Ne="authenticated_download_url",Ue="file_version",He="is_download_available",ze="version_limit",Be="version_number",Ve="metadata",We="".concat(Ve,".").concat(J,".").concat(Q),qe=("".concat(Ve,".").concat(J,".").concat(Y),"".concat(Ve,".").concat(Z,".").concat($),"due_at"),Ge="task_assignment_collection",Xe="is_completed",Ke="message",$e="tagged_message",Qe="trashed_at",Ye="assigned_to",Je="",Ze="status",et="activity_template",tt="app",rt="occurred_at",nt="rendered_text",it="retention",ot="uploader_display_name",at="classification",st="enterprise",lt="hostname",ct="can_comment",ut="can_create_annotations",dt="can_delete",ft="can_download",ht="can_edit",pt="can_preview",mt="can_rename",bt="can_resolve",gt="can_share",yt="can_upload",vt="can_view_annotations",wt="editor",kt="slash",Et="caret",xt="2.95.0",Ct="en-US",St="platform/preview",Ot="https://api.box.com",Pt="https://cdn01.boxcdn.net",At="https://upload.box.com",_t="https://upload.app.box.com",It="https://upload.app.box-gov.com",Tt="https://app.box.com",Dt="body",Mt="0",jt=500,Ft=500,Rt=25,Lt=50,Nt=1,Ut=50,Ht=0,zt=1e3,Bt="files",Vt="recents",Wt="metadata",qt="ContentExplorer",Gt="ContentOpenWith",Xt="ContentPicker",Kt="ContentPreview",$t="ContentSharing",Qt="ContentSidebar",Yt="ContentUploader",Jt="FilePicker",Zt="FolderPicker",er="pending",tr="inprogress",rr="staged",nr="complete",ir="error",or="accepted",ar="inactive",sr="be-modal-dialog-content",lr="be-modal-dialog-content-full-bleed",cr="be-modal-dialog-overlay",ur="be-is-small",dr="be-is-medium",fr="be-is-touch",hr="be-modal",pr="bcow-integration-icon",mr="overlay-wrapper",br="item_name_invalid",gr="item_name_too_long",yr="item_name_in_use",vr="upload_file_limit",wr="child_folder_failed_upload",kr="storage_limit_exceeded",Er="file_size_limit_exceeded",xr="pending_app_folder_size_limit",Cr="bad_digest",Sr="failed_package_upload",Or="fetch_activity_error",Pr="fetch_annotation_error",Ar="fetch_annotations_error",_r="fetch_file_error",Ir="forbidden_by_policy",Tr="fetch_folder_error",Dr="fetch_weblink_error",Mr="fetch_comment_error",jr="fetch_comments_error",Fr="fetch_replies_error",Rr="fetch_version_error",Lr="fetch_versions_error",Nr="fetch_tasks_error",Ur="fetch_current_user_error",Hr="fetch_enterprise_groups_error",zr="fetch_enterprise_users_error",Br="fetch_task_collaborator_error",Vr="fetch_integrations_error",Wr="fetch_metadata_error",qr="fetch_metadata_templates_error",Gr="fetch_access_stats_error",Xr="fetch_skills_error",Kr="fetch_recents_error",$r="execute_integrations_error",Qr="create_annotation_error",Yr="create_comment_error",Jr="create_reply_error",Zr="create_task_error",en="create_task_link_error",tn="create_task_collaborator_error",rn="create_folder_error",nn="create_metadata_error",on="delete_app_activity_error",an="delete_annotation_error",sn="edit_annotation_error",ln="delete_comment_error",cn="delete_task_error",un="delete_task_collaborator_error",dn="delete_item_error",fn="delete_metadata_error",hn="delete_version_error",pn="group_exceeds_limit",mn="promote_version_error",bn="restore_version_error",gn="update_task_error",yn="update_task_collaborator_error",vn="update_comment_error",wn="update_skills_error",kn="update_metadata_error",En="get_download_url_error",xn="rename_item_error",Cn="share_item_error",Sn="unexpected_exception_error",On="search_error",Pn="metadata_query_error",An="unknown_error",_n="content_preview",In="content_sidebar",Tn="activity_sidebar",Dn="details_sidebar",Mn="metadata_sidebar",jn="skills_sidebar",Fn="versions_sidebar",Rn="preview",Ln="open_with",Nn="preview_metric",Un="elements_load_metric",Hn="isErrorDisplayed",zn=n.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",Bn="".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(zn),Vn=3e3,Wn=1e3,qn="#999",Gn="#fff",Xn="transcript",Kn="keyword",$n="timeline",Qn="face",Yn="status",Jn="skills_invocations_error",Zn="skills_billing_error",ei="skills_external_auth_error",ti="skills_unknown_error",ri="skills_invalid_file_size_error",ni="skills_invalid_file_format_error",ii="skills_file_processing_error",oi="skills_pending_status",ai="skills_invoked_status",si="boxcanvas",li="boxnote",ci="gdoc",ui="gsheet",di="gslides",fi="gslide",hi="[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),pi="error",mi="success",bi="viewable",gi="skills",yi="details",vi="metadata",wi="activity",ki="versions",Ei="GET",xi="POST",Ci="PUT",Si="DELETE",Oi="OPTIONS",Pi="HEAD",Ai=401,_i=403,Ii=404,Ti=409,Di=429,Mi=500,ji=501,Fi=502,Ri=503,Li=504,Ni="delete",Ui="promote",Hi="restore",zi="upload",Bi="permanently_delete",Vi="remove_retention",Wi="indefinite",qi={type:"user",id:"2",name:""},Gi="File Request",Xi="1338",Ki="13418",$i=26,Qi=30,Yi="APPROVED",Ji="COMPLETED",Zi="NOT_STARTED",eo="IN_PROGRESS",to="REJECTED",ro="GENERAL",no="APPROVAL",io="ALL_ASSIGNEES",oo="ANY_ASSIGNEE",ao="CREATE",so="EDIT",lo=250,co="open",uo="resolved",fo="all",ho="resolved",po="tasks",mo="open",bo="created",go="restored",yo="trashed",vo="annotation",wo="app_activity",ko="comment",Eo="task",xo="versions",Co={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "},So=36e5},function(e,t,r){"use strict";r.d(t,"D",(function(){return n})),r.d(t,"z",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"m",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"k",(function(){return d})),r.d(t,"j",(function(){return f})),r.d(t,"i",(function(){return h})),r.d(t,"h",(function(){return p})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"p",(function(){return g})),r.d(t,"q",(function(){return y})),r.d(t,"x",(function(){return v})),r.d(t,"y",(function(){return w})),r.d(t,"n",(function(){return k})),r.d(t,"o",(function(){return E})),r.d(t,"r",(function(){return x})),r.d(t,"s",(function(){return C})),r.d(t,"t",(function(){return S})),r.d(t,"u",(function(){return O})),r.d(t,"v",(function(){return P})),r.d(t,"w",(function(){return A})),r.d(t,"a",(function(){return _})),r.d(t,"C",(function(){return I})),r.d(t,"B",(function(){return T})),r.d(t,"A",(function(){return D}));const n="#fff",i="#000",o="#0061d5",a="#e5effa",s="#f2f7fd",l="#222",c="#4e4e4e",u="#6f6f6f",d="#909090",f="#a7a7a7",h="#d3d3d3",p="#e8e8e8",m="#003c84",b="#7f9dc1",g="#2486fc",y="#91c2fd",v="#f5b31b",w="#ffeb7f",k="#26c281",E="#92e0c0",x="#f1811a",C="#f8c08c",S="#9f3fed",O="#cf9ff6",P="#ed3757",A="#f69bab",_=["#0061d5","#003c84","#6f6f6f","#222","#4826c2","#9f3fed"],I="(max-width: 374px)",T="(max-width: 767px)",D="(max-width: 1023px)"},function(e,t){e.exports=function(){}},function(e,t,r){var n;
22
+ */!function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/0.0.0-semantically-released/en-US/",r(r.s=1017)}([function(e,t,r){"use strict";e.exports=r(365)},function(e,t,r){"use strict";r.d(t,"l",(function(){return i})),r.d(t,"uf",(function(){return o})),r.d(t,"vf",(function(){return a})),r.d(t,"wf",(function(){return s})),r.d(t,"xf",(function(){return l})),r.d(t,"vg",(function(){return c})),r.d(t,"Ag",(function(){return u})),r.d(t,"Bg",(function(){return d})),r.d(t,"zg",(function(){return f})),r.d(t,"ug",(function(){return h})),r.d(t,"Cg",(function(){return p})),r.d(t,"Dg",(function(){return m})),r.d(t,"Eg",(function(){return b})),r.d(t,"wg",(function(){return g})),r.d(t,"yg",(function(){return y})),r.d(t,"xg",(function(){return v})),r.d(t,"lg",(function(){return w})),r.d(t,"kg",(function(){return k})),r.d(t,"mg",(function(){return E})),r.d(t,"Fc",(function(){return x})),r.d(t,"Ec",(function(){return C})),r.d(t,"Gc",(function(){return S})),r.d(t,"Hc",(function(){return O})),r.d(t,"Ic",(function(){return P})),r.d(t,"jg",(function(){return A})),r.d(t,"ig",(function(){return _})),r.d(t,"hg",(function(){return I})),r.d(t,"p",(function(){return T})),r.d(t,"o",(function(){return D})),r.d(t,"u",(function(){return M})),r.d(t,"t",(function(){return j})),r.d(t,"s",(function(){return F})),r.d(t,"q",(function(){return R})),r.d(t,"r",(function(){return L})),r.d(t,"Mf",(function(){return N})),r.d(t,"Nf",(function(){return U})),r.d(t,"c",(function(){return H})),r.d(t,"d",(function(){return z})),r.d(t,"a",(function(){return B})),r.d(t,"b",(function(){return V})),r.d(t,"ge",(function(){return W})),r.d(t,"ke",(function(){return q})),r.d(t,"ie",(function(){return G})),r.d(t,"je",(function(){return X})),r.d(t,"he",(function(){return K})),r.d(t,"Ge",(function(){return $})),r.d(t,"Je",(function(){return Q})),r.d(t,"Ie",(function(){return Y})),r.d(t,"Fe",(function(){return J})),r.d(t,"Ee",(function(){return Z})),r.d(t,"He",(function(){return ee})),r.d(t,"cd",(function(){return te})),r.d(t,"Uc",(function(){return re})),r.d(t,"od",(function(){return ne})),r.d(t,"Od",(function(){return ie})),r.d(t,"Id",(function(){return oe})),r.d(t,"rd",(function(){return ae})),r.d(t,"Yc",(function(){return se})),r.d(t,"id",(function(){return le})),r.d(t,"td",(function(){return ce})),r.d(t,"ud",(function(){return ue})),r.d(t,"vd",(function(){return de})),r.d(t,"hd",(function(){return fe})),r.d(t,"sd",(function(){return he})),r.d(t,"Qc",(function(){return pe})),r.d(t,"Rc",(function(){return me})),r.d(t,"md",(function(){return be})),r.d(t,"Ad",(function(){return ge})),r.d(t,"Cd",(function(){return ye})),r.d(t,"Sc",(function(){return ve})),r.d(t,"dd",(function(){return we})),r.d(t,"Fd",(function(){return ke})),r.d(t,"Gd",(function(){return Ee})),r.d(t,"Hd",(function(){return xe})),r.d(t,"Kc",(function(){return Ce})),r.d(t,"Lc",(function(){return Se})),r.d(t,"ad",(function(){return Oe})),r.d(t,"gd",(function(){return Pe})),r.d(t,"Qd",(function(){return Ae})),r.d(t,"Tc",(function(){return _e})),r.d(t,"nd",(function(){return Ie})),r.d(t,"qd",(function(){return Te})),r.d(t,"wd",(function(){return De})),r.d(t,"Bd",(function(){return Me})),r.d(t,"Nd",(function(){return je})),r.d(t,"Vc",(function(){return Fe})),r.d(t,"zd",(function(){return Re})),r.d(t,"Ed",(function(){return Le})),r.d(t,"Td",(function(){return Ne})),r.d(t,"Oc",(function(){return Ue})),r.d(t,"Zc",(function(){return He})),r.d(t,"fd",(function(){return ze})),r.d(t,"Rd",(function(){return Be})),r.d(t,"Sd",(function(){return Ve})),r.d(t,"kd",(function(){return We})),r.d(t,"ld",(function(){return qe})),r.d(t,"Wc",(function(){return Ge})),r.d(t,"Ld",(function(){return Xe})),r.d(t,"ed",(function(){return Ke})),r.d(t,"jd",(function(){return $e})),r.d(t,"Kd",(function(){return Qe})),r.d(t,"Md",(function(){return Ye})),r.d(t,"Nc",(function(){return Je})),r.d(t,"xd",(function(){return Ze})),r.d(t,"Jd",(function(){return et})),r.d(t,"Jc",(function(){return tt})),r.d(t,"Mc",(function(){return rt})),r.d(t,"pd",(function(){return nt})),r.d(t,"yd",(function(){return it})),r.d(t,"Dd",(function(){return ot})),r.d(t,"Pd",(function(){return at})),r.d(t,"Pc",(function(){return st})),r.d(t,"Xc",(function(){return lt})),r.d(t,"bd",(function(){return ct})),r.d(t,"af",(function(){return ut})),r.d(t,"bf",(function(){return dt})),r.d(t,"cf",(function(){return ft})),r.d(t,"df",(function(){return ht})),r.d(t,"ef",(function(){return pt})),r.d(t,"ff",(function(){return mt})),r.d(t,"gf",(function(){return bt})),r.d(t,"hf",(function(){return gt})),r.d(t,"if",(function(){return yt})),r.d(t,"jf",(function(){return vt})),r.d(t,"kf",(function(){return wt})),r.d(t,"Be",(function(){return kt})),r.d(t,"ob",(function(){return Et})),r.d(t,"nb",(function(){return xt})),r.d(t,"gb",(function(){return Ct})),r.d(t,"ab",(function(){return St})),r.d(t,"fb",(function(){return Ot})),r.d(t,"U",(function(){return Pt})),r.d(t,"W",(function(){return At})),r.d(t,"X",(function(){return _t})),r.d(t,"Y",(function(){return It})),r.d(t,"Z",(function(){return Tt})),r.d(t,"V",(function(){return Dt})),r.d(t,"R",(function(){return Mt})),r.d(t,"ib",(function(){return jt})),r.d(t,"jb",(function(){return Ft})),r.d(t,"Q",(function(){return Rt})),r.d(t,"bb",(function(){return Lt})),r.d(t,"cb",(function(){return Nt})),r.d(t,"db",(function(){return Ut})),r.d(t,"eb",(function(){return Ht})),r.d(t,"T",(function(){return zt})),r.d(t,"S",(function(){return Bt})),r.d(t,"kb",(function(){return Vt})),r.d(t,"mb",(function(){return Wt})),r.d(t,"lb",(function(){return qt})),r.d(t,"D",(function(){return Gt})),r.d(t,"L",(function(){return Xt})),r.d(t,"E",(function(){return Kt})),r.d(t,"F",(function(){return $t})),r.d(t,"G",(function(){return Qt})),r.d(t,"H",(function(){return Yt})),r.d(t,"I",(function(){return Jt})),r.d(t,"J",(function(){return Zt})),r.d(t,"K",(function(){return er})),r.d(t,"Tf",(function(){return tr})),r.d(t,"Sf",(function(){return rr})),r.d(t,"Uf",(function(){return nr})),r.d(t,"Pf",(function(){return ir})),r.d(t,"Qf",(function(){return or})),r.d(t,"Of",(function(){return ar})),r.d(t,"Rf",(function(){return sr})),r.d(t,"A",(function(){return lr})),r.d(t,"B",(function(){return cr})),r.d(t,"C",(function(){return ur})),r.d(t,"x",(function(){return dr})),r.d(t,"w",(function(){return fr})),r.d(t,"y",(function(){return hr})),r.d(t,"z",(function(){return pr})),r.d(t,"v",(function(){return mr})),r.d(t,"Ze",(function(){return br})),r.d(t,"hc",(function(){return gr})),r.d(t,"jc",(function(){return yr})),r.d(t,"ic",(function(){return vr})),r.d(t,"Ac",(function(){return wr})),r.d(t,"yc",(function(){return kr})),r.d(t,"Dc",(function(){return Er})),r.d(t,"Bc",(function(){return xr})),r.d(t,"Cc",(function(){return Cr})),r.d(t,"xc",(function(){return Sr})),r.d(t,"zc",(function(){return Or})),r.d(t,"Ib",(function(){return Pr})),r.d(t,"Jb",(function(){return Ar})),r.d(t,"Kb",(function(){return _r})),r.d(t,"Qb",(function(){return Ir})),r.d(t,"Rb",(function(){return Tr})),r.d(t,"Sb",(function(){return Dr})),r.d(t,"dc",(function(){return Mr})),r.d(t,"Lb",(function(){return jr})),r.d(t,"Mb",(function(){return Fr})),r.d(t,"Xb",(function(){return Rr})),r.d(t,"bc",(function(){return Lr})),r.d(t,"cc",(function(){return Nr})),r.d(t,"Zb",(function(){return Ur})),r.d(t,"Nb",(function(){return Hr})),r.d(t,"Ob",(function(){return zr})),r.d(t,"Pb",(function(){return Br})),r.d(t,"ac",(function(){return Vr})),r.d(t,"Tb",(function(){return Wr})),r.d(t,"Ub",(function(){return qr})),r.d(t,"Vb",(function(){return Gr})),r.d(t,"Hb",(function(){return Xr})),r.d(t,"Yb",(function(){return Kr})),r.d(t,"Wb",(function(){return $r})),r.d(t,"Gb",(function(){return Qr})),r.d(t,"pb",(function(){return Yr})),r.d(t,"qb",(function(){return Jr})),r.d(t,"tb",(function(){return Zr})),r.d(t,"ub",(function(){return en})),r.d(t,"wb",(function(){return tn})),r.d(t,"vb",(function(){return rn})),r.d(t,"rb",(function(){return nn})),r.d(t,"sb",(function(){return on})),r.d(t,"yb",(function(){return an})),r.d(t,"xb",(function(){return sn})),r.d(t,"Fb",(function(){return ln})),r.d(t,"zb",(function(){return cn})),r.d(t,"Cb",(function(){return un})),r.d(t,"Db",(function(){return dn})),r.d(t,"Ab",(function(){return fn})),r.d(t,"Bb",(function(){return hn})),r.d(t,"Eb",(function(){return pn})),r.d(t,"fc",(function(){return mn})),r.d(t,"lc",(function(){return bn})),r.d(t,"nc",(function(){return gn})),r.d(t,"vc",(function(){return yn})),r.d(t,"wc",(function(){return vn})),r.d(t,"sc",(function(){return wn})),r.d(t,"uc",(function(){return kn})),r.d(t,"tc",(function(){return En})),r.d(t,"ec",(function(){return xn})),r.d(t,"mc",(function(){return Cn})),r.d(t,"pc",(function(){return Sn})),r.d(t,"qc",(function(){return On})),r.d(t,"oc",(function(){return Pn})),r.d(t,"kc",(function(){return An})),r.d(t,"rc",(function(){return _n})),r.d(t,"gc",(function(){return In})),r.d(t,"Re",(function(){return Tn})),r.d(t,"Se",(function(){return Dn})),r.d(t,"Qe",(function(){return Mn})),r.d(t,"Te",(function(){return jn})),r.d(t,"Ue",(function(){return Fn})),r.d(t,"Xe",(function(){return Rn})),r.d(t,"Ye",(function(){return Ln})),r.d(t,"We",(function(){return Nn})),r.d(t,"Ve",(function(){return Un})),r.d(t,"Le",(function(){return Hn})),r.d(t,"Ke",(function(){return zn})),r.d(t,"Ce",(function(){return Bn})),r.d(t,"Fg",(function(){return Wn})),r.d(t,"hb",(function(){return qn})),r.d(t,"Me",(function(){return Gn})),r.d(t,"M",(function(){return Xn})),r.d(t,"N",(function(){return Kn})),r.d(t,"Lf",(function(){return $n})),r.d(t,"Gf",(function(){return Qn})),r.d(t,"Kf",(function(){return Yn})),r.d(t,"Ff",(function(){return Jn})),r.d(t,"Hf",(function(){return Zn})),r.d(t,"Df",(function(){return ei})),r.d(t,"yf",(function(){return ti})),r.d(t,"zf",(function(){return ri})),r.d(t,"Ef",(function(){return ni})),r.d(t,"Cf",(function(){return ii})),r.d(t,"Bf",(function(){return oi})),r.d(t,"Af",(function(){return ai})),r.d(t,"Jf",(function(){return si})),r.d(t,"If",(function(){return li})),r.d(t,"Zd",(function(){return ci})),r.d(t,"ae",(function(){return ui})),r.d(t,"be",(function(){return di})),r.d(t,"ce",(function(){return fi})),r.d(t,"de",(function(){return hi})),r.d(t,"ee",(function(){return pi})),r.d(t,"Gg",(function(){return mi})),r.d(t,"mf",(function(){return bi})),r.d(t,"nf",(function(){return gi})),r.d(t,"of",(function(){return yi})),r.d(t,"sf",(function(){return vi})),r.d(t,"qf",(function(){return wi})),r.d(t,"rf",(function(){return ki})),r.d(t,"pf",(function(){return Ei})),r.d(t,"tf",(function(){return xi})),r.d(t,"me",(function(){return Ci})),r.d(t,"pe",(function(){return Si})),r.d(t,"qe",(function(){return Oi})),r.d(t,"le",(function(){return Pi})),r.d(t,"oe",(function(){return Ai})),r.d(t,"ne",(function(){return _i})),r.d(t,"Ae",(function(){return Ii})),r.d(t,"te",(function(){return Ti})),r.d(t,"we",(function(){return Di})),r.d(t,"se",(function(){return Mi})),r.d(t,"ye",(function(){return ji})),r.d(t,"ve",(function(){return Fi})),r.d(t,"xe",(function(){return Ri})),r.d(t,"re",(function(){return Li})),r.d(t,"ze",(function(){return Ni})),r.d(t,"ue",(function(){return Ui})),r.d(t,"ng",(function(){return Hi})),r.d(t,"og",(function(){return zi})),r.d(t,"pg",(function(){return Bi})),r.d(t,"tg",(function(){return Vi})),r.d(t,"qg",(function(){return Wi})),r.d(t,"sg",(function(){return qi})),r.d(t,"rg",(function(){return Gi})),r.d(t,"lf",(function(){return Xi})),r.d(t,"fe",(function(){return Ki})),r.d(t,"m",(function(){return $i})),r.d(t,"n",(function(){return Qi})),r.d(t,"Oe",(function(){return Yi})),r.d(t,"Pe",(function(){return Ji})),r.d(t,"ag",(function(){return Zi})),r.d(t,"bg",(function(){return eo})),r.d(t,"dg",(function(){return to})),r.d(t,"cg",(function(){return ro})),r.d(t,"eg",(function(){return no})),r.d(t,"gg",(function(){return io})),r.d(t,"fg",(function(){return oo})),r.d(t,"Vf",(function(){return ao})),r.d(t,"Wf",(function(){return so})),r.d(t,"Xf",(function(){return lo})),r.d(t,"Yf",(function(){return co})),r.d(t,"Zf",(function(){return uo})),r.d(t,"O",(function(){return fo})),r.d(t,"P",(function(){return ho})),r.d(t,"h",(function(){return po})),r.d(t,"i",(function(){return mo})),r.d(t,"j",(function(){return bo})),r.d(t,"k",(function(){return go})),r.d(t,"e",(function(){return yo})),r.d(t,"f",(function(){return vo})),r.d(t,"g",(function(){return wo})),r.d(t,"Ud",(function(){return ko})),r.d(t,"Vd",(function(){return Eo})),r.d(t,"Wd",(function(){return xo})),r.d(t,"Xd",(function(){return Co})),r.d(t,"Yd",(function(){return So})),r.d(t,"De",(function(){return Oo})),r.d(t,"Ne",(function(){return Po}));var n=r(59);const i=1e3,o="large",a="medium",s="small",l="very_large",c="folder",u="search",d="selected",f="recents",h="error",p="upload-empty",m="upload-inprogress",b="upload-success",g="metadata",y="list",v="grid",w="folder",k="file",E="web_link",x="app_activity",C="annotation",S="comment",O="task",P="file_version",A="folder_",_="file_",I="feedItems_",T=A,D=_,M="web_link_",j="search_",F="recents_",R="metadata_",L="metadata_query_",N="ASC",U="DESC",H="none",z="open",B="collaborators",V="company",W="Accept",q="Content-Type",G="X-Box-Client-Name",X="X-Box-Client-Version",K="Accept-Language",$="securityClassification-6VMVochwUWo",Q="boxSkillsCards",Y="properties",J="global",Z="enterprise",ee=i,te="id",re="date",ne="name",ie="type",oe="size",ae="parent",se="extension",le="expires_at",ce="permissions",ue="".concat(ce,".can_share"),de="".concat(ce,".can_upload"),fe="item_collection",he="path_collection",pe="content_created_at",me="content_modified_at",be="modified_at",ge="restored_at",ye="restored_from",ve="created_at",we="interacted_at",ke="shared_link",Ee="allowed_shared_link_access_levels_disabled_reasons",xe="shared_link_features",Ce="allowed_invitee_roles",Se="allowed_shared_link_access_levels",Oe="has_collaborations",Pe="is_externally_owned",Ae="url",_e="created_by",Ie="modified_by",Te="owned_by",De="promoted_by",Me="restored_by",je="trashed_by",Fe="description",Re="representations",Le="sha1",Ne="watermark_info",Ue="authenticated_download_url",He="file_version",ze="is_download_available",Be="version_limit",Ve="version_number",We="metadata",qe="".concat(We,".").concat(J,".").concat(Q),Ge=("".concat(We,".").concat(J,".").concat(Y),"".concat(We,".").concat(Z,".").concat($),"due_at"),Xe="task_assignment_collection",Ke="is_completed",$e="message",Qe="tagged_message",Ye="trashed_at",Je="assigned_to",Ze="",et="status",tt="activity_template",rt="app",nt="occurred_at",it="rendered_text",ot="retention",at="uploader_display_name",st="classification",lt="enterprise",ct="hostname",ut="can_comment",dt="can_create_annotations",ft="can_delete",ht="can_download",pt="can_edit",mt="can_preview",bt="can_rename",gt="can_resolve",yt="can_share",vt="can_upload",wt="can_view_annotations",kt="editor",Et="slash",xt="caret",Ct="2.95.0",St="en-US",Ot="platform/preview",Pt="https://api.box.com",At="https://cdn01.boxcdn.net",_t="https://upload.box.com",It="https://upload.app.box.com",Tt="https://upload.app.box-gov.com",Dt="https://app.box.com",Mt="body",jt="0",Ft=500,Rt=500,Lt=25,Nt=50,Ut=1,Ht=50,zt=0,Bt=1e3,Vt="files",Wt="recents",qt="metadata",Gt="ContentExplorer",Xt="ContentOpenWith",Kt="ContentPicker",$t="ContentPreview",Qt="ContentSharing",Yt="ContentSidebar",Jt="ContentUploader",Zt="FilePicker",er="FolderPicker",tr="pending",rr="inprogress",nr="staged",ir="complete",or="error",ar="accepted",sr="inactive",lr="be-modal-dialog-content",cr="be-modal-dialog-content-full-bleed",ur="be-modal-dialog-overlay",dr="be-is-small",fr="be-is-medium",hr="be-is-touch",pr="be-modal",mr="bcow-integration-icon",br="overlay-wrapper",gr="item_name_invalid",yr="item_name_too_long",vr="item_name_in_use",wr="upload_file_limit",kr="child_folder_failed_upload",Er="storage_limit_exceeded",xr="file_size_limit_exceeded",Cr="pending_app_folder_size_limit",Sr="bad_digest",Or="failed_package_upload",Pr="fetch_activity_error",Ar="fetch_annotation_error",_r="fetch_annotations_error",Ir="fetch_file_error",Tr="forbidden_by_policy",Dr="fetch_folder_error",Mr="fetch_weblink_error",jr="fetch_comment_error",Fr="fetch_comments_error",Rr="fetch_replies_error",Lr="fetch_version_error",Nr="fetch_versions_error",Ur="fetch_tasks_error",Hr="fetch_current_user_error",zr="fetch_enterprise_groups_error",Br="fetch_enterprise_users_error",Vr="fetch_task_collaborator_error",Wr="fetch_integrations_error",qr="fetch_metadata_error",Gr="fetch_metadata_templates_error",Xr="fetch_access_stats_error",Kr="fetch_skills_error",$r="fetch_recents_error",Qr="execute_integrations_error",Yr="create_annotation_error",Jr="create_comment_error",Zr="create_reply_error",en="create_task_error",tn="create_task_link_error",rn="create_task_collaborator_error",nn="create_folder_error",on="create_metadata_error",an="delete_app_activity_error",sn="delete_annotation_error",ln="edit_annotation_error",cn="delete_comment_error",un="delete_task_error",dn="delete_task_collaborator_error",fn="delete_item_error",hn="delete_metadata_error",pn="delete_version_error",mn="group_exceeds_limit",bn="promote_version_error",gn="restore_version_error",yn="update_task_error",vn="update_task_collaborator_error",wn="update_comment_error",kn="update_skills_error",En="update_metadata_error",xn="get_download_url_error",Cn="rename_item_error",Sn="share_item_error",On="unexpected_exception_error",Pn="search_error",An="metadata_query_error",_n="unknown_error",In="fetch_intelligence_error",Tn="content_preview",Dn="content_sidebar",Mn="activity_sidebar",jn="details_sidebar",Fn="metadata_sidebar",Rn="skills_sidebar",Ln="versions_sidebar",Nn="preview",Un="open_with",Hn="preview_metric",zn="elements_load_metric",Bn="isErrorDisplayed",Vn=n.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",Wn="".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(Vn),qn=3e3,Gn=1e3,Xn="#999",Kn="#fff",$n="transcript",Qn="keyword",Yn="timeline",Jn="face",Zn="status",ei="skills_invocations_error",ti="skills_billing_error",ri="skills_external_auth_error",ni="skills_unknown_error",ii="skills_invalid_file_size_error",oi="skills_invalid_file_format_error",ai="skills_file_processing_error",si="skills_pending_status",li="skills_invoked_status",ci="boxcanvas",ui="boxnote",di="gdoc",fi="gsheet",hi="gslides",pi="gslide",mi="[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),bi="error",gi="success",yi="viewable",vi="skills",wi="details",ki="metadata",Ei="activity",xi="versions",Ci="GET",Si="POST",Oi="PUT",Pi="DELETE",Ai="OPTIONS",_i="HEAD",Ii=401,Ti=403,Di=404,Mi=409,ji=429,Fi=500,Ri=501,Li=502,Ni=503,Ui=504,Hi="delete",zi="promote",Bi="restore",Vi="upload",Wi="permanently_delete",qi="remove_retention",Gi="indefinite",Xi={type:"user",id:"2",name:""},Ki="File Request",$i="1338",Qi="13418",Yi=26,Ji=30,Zi="APPROVED",eo="COMPLETED",to="NOT_STARTED",ro="IN_PROGRESS",no="REJECTED",io="GENERAL",oo="APPROVAL",ao="ALL_ASSIGNEES",so="ANY_ASSIGNEE",lo="CREATE",co="EDIT",uo=250,fo="open",ho="resolved",po="all",mo="resolved",bo="tasks",go="open",yo="created",vo="restored",wo="trashed",ko="annotation",Eo="app_activity",xo="comment",Co="task",So="versions",Oo={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "},Po=36e5},function(e,t,r){"use strict";r.d(t,"D",(function(){return n})),r.d(t,"z",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"m",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"k",(function(){return d})),r.d(t,"j",(function(){return f})),r.d(t,"i",(function(){return h})),r.d(t,"h",(function(){return p})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"p",(function(){return g})),r.d(t,"q",(function(){return y})),r.d(t,"x",(function(){return v})),r.d(t,"y",(function(){return w})),r.d(t,"n",(function(){return k})),r.d(t,"o",(function(){return E})),r.d(t,"r",(function(){return x})),r.d(t,"s",(function(){return C})),r.d(t,"t",(function(){return S})),r.d(t,"u",(function(){return O})),r.d(t,"v",(function(){return P})),r.d(t,"w",(function(){return A})),r.d(t,"a",(function(){return _})),r.d(t,"C",(function(){return I})),r.d(t,"B",(function(){return T})),r.d(t,"A",(function(){return D}));const n="#fff",i="#000",o="#0061d5",a="#e5effa",s="#f2f7fd",l="#222",c="#4e4e4e",u="#6f6f6f",d="#909090",f="#a7a7a7",h="#d3d3d3",p="#e8e8e8",m="#003c84",b="#7f9dc1",g="#2486fc",y="#91c2fd",v="#f5b31b",w="#ffeb7f",k="#26c281",E="#92e0c0",x="#f1811a",C="#f8c08c",S="#9f3fed",O="#cf9ff6",P="#ed3757",A="#f69bab",_=["#0061d5","#003c84","#6f6f6f","#222","#4826c2","#9f3fed"],I="(max-width: 374px)",T="(max-width: 767px)",D="(max-width: 1023px)"},function(e,t){e.exports=function(){}},function(e,t,r){var n;
23
23
  /*!
24
24
  Copyright (c) 2017 Jed Watson.
25
25
  Licensed under the MIT License (MIT), see
26
26
  http://jedwatson.github.io/classnames
27
- */!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"We’re sorry, the preview didn’t load. Please refresh the page."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewColumnSize:{id:"be.gridView.columnSize",defaultMessage:"Column size"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},searchState:{id:"be.searchState",defaultMessage:"Sorry, we couldn’t find what you’re looking for."},selectedState:{id:"be.selectedState",defaultMessage:"You haven’t selected any items yet."},errorState:{id:"be.errorState",defaultMessage:"A network error has occurred while trying to load."},folderState:{id:"be.folderState",defaultMessage:"There are no items in this folder."},metadataState:{id:"be.metadataState",defaultMessage:"There are no items in this folder."},recentsState:{id:"be.recentsState",defaultMessage:"There are no recent items yet."},loadingState:{id:"be.loadingState",defaultMessage:"Please wait while the items load..."},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"}});t.a=i},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return l}));var n=r(1);function i(){return new Error("Bad box item!")}function o(){return new Error("Insufficient Permissions!")}function a(){return new Error("Bad box user!")}function s(){return new Error("Missing text or status!")}function l(e){return e===n.we||e===n.ye||e===n.qe||e>=n.te}},function(e,t,r){var n=r(193);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,i=l(e,["children","title"]),a="".concat(this.id,"-title"),s=o()(i,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}t.a=c},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,i=l(e,["children","title"]),a="".concat(this.id,"-title"),s=o()(i,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}var u=c;r.d(t,"a",(function(){return u}))},function(e,t,r){"use strict";r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"h",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"d",(function(){return p})),r.d(t,"c",(function(){return m})),r.d(t,"g",(function(){return b}));var n=r(0),i=r(142),o=r(49),a=r(266);const s={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},l=/[&><"']/g;function c(e){return(""+e).replace(l,e=>s[e.charCodeAt(0)])}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((t,n)=>(n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t),{})}function d(e){Object(a.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function f(e,t){const r=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(r)}const h={formats:{},messages:{},timeZone:void 0,textComponent:n.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function p(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}}}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}};const t=Intl.RelativeTimeFormat,r=Intl.ListFormat;return{getDateTimeFormat:Object(o.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(o.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(o.a)(i.a,e.message),getRelativeTimeFormat:Object(o.a)(t,e.relativeTime),getPluralRules:Object(o.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(o.a)(r,e.list)}}function b(e,t,r,n){const i=e&&e[t];let o;if(i&&(o=i[r]),o)return o;n(f("No ".concat(t," format named: ").concat(r)))}},function(e,t,r){var n=r(100),i=0;e.exports=function(e){var t=++i;return n(e)+t}},,function(e,t,r){"use strict";var n=r(22);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(86),a=r.n(o),s=r(8),l=r.n(s),c=r(160),u=r.n(c),d=r(255),f=r.n(d),h=r(64),p=r(1);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=12e4,y=3,v=[p.ke,p.me,p.le].map(f.a);var w=class{constructor(){let{id:e,clientName:t,language:r,token:n,version:i,sharedLink:o,sharedLinkPassword:s,responseInterceptor:c,requestInterceptor:u,retryableStatusCodes:d=[p.we],shouldRetry:f=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,"retryCount",0),b(this,"errorInterceptor",e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise((r,n)=>{this.retryTimeout=setTimeout(()=>{this.axios(e.config).then(r,n)},t)})}const t=l()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)}),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=c||this.defaultResponseInterceptor,this.retryableStatusCodes=d,this.sharedLink=o,this.sharedLinkPassword=s,this.shouldRetry=f,this.token=n,this.version=i,this.axios=a.a.create(),this.axiosSource=a.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof u&&this.axios.interceptors.request.use(u)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=y)return!1;const{response:t,request:r,config:n}=e,i=l()(t,"status"),o=l()(n,"method"),a=r&&!t,s=i===p.we,c=u()(this.retryableStatusCodes,i)&&u()(v,o);return a||s||c}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[p.ie]:"application/json"},t);this.language&&!r[p.fe]&&(r[p.fe]=this.language),this.sharedLink&&(r.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(r.BoxApi="".concat(r.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(r[p.ge]=this.clientName),this.version&&(r[p.he]=this.version);const n=e||this.id||"",i=await h.a.getWriteToken(n,this.token);return i&&(r.Authorization="Bearer ".concat(i)),r}get(e){let{url:t,id:r,params:n={},headers:i={}}=e;return this.getHeaders(r,i).then(e=>this.axios.get(t,{cancelToken:this.axiosSource.token,params:n,headers:e,parsedUrl:this.getParsedUrl(t)}))}post(e){let{url:t,id:r,data:n,params:i,headers:o={},method:a=p.ne}=e;return this.getHeaders(r,o).then(e=>this.axios({url:t,data:n,params:i,method:a,parsedUrl:this.getParsedUrl(t),headers:e}))}put(e){let{url:t,id:r,data:n,params:i,headers:o={}}=e;return this.post({id:r,url:t,data:n,params:i,headers:o,method:p.oe})}delete(e){let{url:t,id:r,data:n={},headers:i={}}=e;return this.post({id:r,url:t,data:n,headers:i,method:p.je})}options(e){let{id:t,url:r,data:n,headers:i={},successHandler:o,errorHandler:a}=e;return this.getHeaders(t,i).then(e=>this.axios({url:r,data:n,method:p.me,headers:e}).then(o).catch(a)).catch(a)}uploadFile(e){let{id:t,url:r,data:n,headers:i={},method:o=p.ne,successHandler:a,errorHandler:s,progressHandler:l,withIdleTimeout:c=!1,idleTimeoutDuration:u=g,idleTimeoutHandler:d}=e;return this.getHeaders(t,i).then(e=>{let t,f=l;if(c){const e=()=>{this.abort(),d&&d()};t=setTimeout(e,u),f=r=>{clearTimeout(t),t=setTimeout(e,u),l(r)}}this.axios({url:r,data:n,transformRequest:(e,t)=>{if(delete t[p.ee],delete t[p.ie],i[p.ie]&&(t[p.ie]=i[p.ie]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach(r=>{t.append(r,e[r])}),t}return e},method:o,headers:e,onUploadProgress:f,cancelToken:this.axiosSource.token}).then(e=>{clearTimeout(t),a(e)}).catch(e=>{clearTimeout(t),s(e)})}).catch(s)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=a.a.CancelToken.source())}},k=r(74),E=r(103);const x="bcu-uploads-reachability-cached-results";var C=class{constructor(){this.localStore=new E.a,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(x)}saveCachedResultsToLocalStore(){this.localStore.setItem(x,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach(t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)})}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach(t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)}),e):e}async isReachable(e){if(e==="".concat(p.X,"/")||e==="".concat(p.Y,"/"))return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t="".concat(e,"html5?reachability_test=run"),r={[p.ie]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await a.a.post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}},S=r(20),O=r(7);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){_(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}),_(this,"errorHandler",e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}}),this.cache=e.cache||new k.a,this.apiHost=e.apiHost||p.U,this.uploadHost=e.uploadHost||p.X,this.options=A({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new w(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||i.a,this.consoleError=e.consoleError&&window.console&&window.console.error||i.a,this.uploadsReachability=new C}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw Object(O.a)();if(!t[e])throw Object(O.b)()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get(e){let{id:t,successCallback:r,errorCallback:n,requestData:i,url:o}=e;const a=o||this.getUrl(t);return this.makeRequest(p.ke,t,a,r,n,i)}post(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.ne,t,r,i,o,n)}put(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.oe,t,r,i,o,n)}delete(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.je,t,r,i,o,n)}async makeRequest(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=i;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(A({id:Object(S.b)(t),url:r},o));this.successHandler(e)}catch(e){this.errorHandler(e)}}}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return b})),r.d(t,"j",(function(){return k})),r.d(t,"k",(function(){return w})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return h})),r.d(t,"i",(function(){return f}));var n=r(183),i=r.n(n),o=r(78),a=r.n(o),s=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=[s.bd,s.nd,s.Md,s.Gd,s.qd,s.Xc,s.sd,s.rd,s.ld,s.Rc,s.md,s.Zc,s.fd,s.gd,s.Nc,s.ed,s.xd,s.Od],f=[s.bd,s.nd,s.Gd,s.Xc,s.Yc,s.Dd,s.sd,s.Pc,s.Qc,s.Rc,s.Sc,s.ld,s.md,s.pd,s.Uc,s.kd,s.hd,s.Pd,s.Qd,s.fd,s.Ad,s.Nc,s.ed,s.Nd],h=[s.bd,s.sd,s.Dd,s.Cd,s.Yc,s.nd,s.Gd,s.Xc,s.xd,s.Rd,s.Nc,s.ed],p=[s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.yd,s.zd,s.Gd,s.Kd,s.Ld,s.Nd,s.Qd],m=[s.Yc,s.ld,s.md,s.Ad,s.Gd,s.Nd,s.Qd],b=[s.Nc,s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.sd,s.yd,s.zd,s.Bd,s.Gd,s.Kd,s.Ld,s.Nd,s.Qd],g=[s.Kc,s.Dd],y=(s.Jd,s.dd,s.Rc,s.Sc,s.Vc,s.id,s.Mc,s.Hd,[s.Id,s.id,s.Rc,s.Sc,s.ld,s.sd]),v=(s.Sc,s.md,s.pd,s.Mc,[s.Ic,s.Lc,s.Sc,s.od,s.wd]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter(t=>!i()(e,t)):t}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(t)||0===t.length)return e;const r=c({},e);return w(e,t).forEach(e=>{a()(r,e,null)}),r}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return u}));var n=r(8),i=r.n(n),o=r(1);const a=/\.([0-9a-z]+)$/i;function s(e){return"".concat(o.gg).concat(e)}function l(e){return"".concat(o.hg).concat(e)}function c(e){return e.extension===o.Yd}function u(e){if("string"!=typeof e)return"";const t=a.exec(e);return i()(t,"[1]","")}},function(e,t,r){var n=r(169),i=r(276),o=r(421),a=r(105),s=r(80),l=r(427),c=r(331),u=r(231),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=i(r,7,l));for(var d=t.length;d--;)o(r,t[d]);return r}));e.exports=d},function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i),a=r(24);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{let{children:t,className:r="",getDOMRef:i=o.a,isDisabled:c=!1,type:u=a.a.SUBMIT}=e,d=l(e,["children","className","getDOMRef","isDisabled","type"]);const f={};return c&&(f["aria-disabled"]=!0,f.onClick=e=>{e.preventDefault(),e.stopPropagation()}),n.createElement("button",s({className:"btn-plain ".concat(r),ref:i,type:u},d,f),t)}},,function(e,t,r){"use strict";var n=r(26);r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return E})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return v})),r.d(t,"l",(function(){return w})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return k})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return g})),r.d(t,"o",(function(){return x}));var n=r(8),i=r.n(n),o=r(59);const a={};function s(e){return!(!e.options||!e.file)}function l(e){return!(!e.options||!e.item)}function c(e){return s(e)?e.file:e}function u(e){return l(e)?e.item:e}function d(e){return s(e)&&e.options||a}function f(e){return l(e)&&e.options||a}function h(e){const t=e.lastModified||e.lastModifiedDate;if(t&&("string"==typeof t||"number"==typeof t||t instanceof Date)){const e=new Date(t);if(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))return function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e)}var r;return null}function p(e,t,r){const n=e*r**2;return n>t?t:n}function m(e){return(e.webkitGetAsEntry||e.mozGetAsEntry||e.getAsEntry).call(e)}function b(e){const t=m(u(e));return!!t&&t.isDirectory}function g(e){const t=u(e);return b(t)&&"application/zip"===t.type&&"file"===t.kind}function y(e){return new Promise(t=>{e.file(e=>{t(e)})})}async function v(e){const t=m(u(e));if(!t)return null;const r=await y(t);return l(e)?{file:r,options:f(e)}:r}function w(e){const t=u(e);if(!m(t))return null;const r=t.getAsFile();return l(e)?{file:r,options:f(e)}:r}function k(e,t){if(!s(e))return e.name;const r=e,n=i()(r,"options.folderId",t),o=i()(r,"options.uploadInitTimestamp",Date.now()),a=r.file.webkitRelativePath||r.file.name;return"".concat(a,"_").concat(n,"_").concat(o)}function E(e,t){const r=u(e),{name:n}=m(r);if(!l(e))return n;const{folderId:i=t,uploadInitTimestamp:o=Date.now()}=f(e);return"".concat(n,"_").concat(i,"_").concat(o)}function x(){const e=window.crypto||window.msCrypto;return!o.a.isMobileSafari()&&("https:"===window.location.protocol&&e&&e.subtle)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),i=r(4),o=r.n(i),a=r(21),s=r.n(a),l=r(47),c=r(145);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let h;!function(e){e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit"}(h||(h={}));class p extends n.Component{constructor(){super(...arguments),f(this,"btnElement",null),f(this,"handleClick",e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)})}render(){const e=this.props,{children:t,className:r,icon:i,isDisabled:a,isLoading:f,isSelected:h,setRef:p,size:m,type:b,showRadar:g}=e,y=d(e,["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"]),v=s()(y,["onClick"]);a&&(v["aria-disabled"]=!0);const w=o()("btn",{"is-disabled":a,"is-loading":f,"is-selected":h,"bdl-is-disabled":a,"bdl-btn--large":"large"===m,"bdl-has-icon":!!i},r);let k=n.createElement("button",u({ref:e=>{this.btnElement=e,p&&p(e)},className:w,onClick:this.handleClick,type:b},v),t?n.createElement("span",{className:"btn-content"},t):null,i?n.createElement("span",{className:"bdl-btn-icon"},n.cloneElement(i,{width:i&&t?16:20,height:i&&t?16:20})):null,f&&n.createElement(l.b,{className:"btn-loading-indicator"}));return g&&(k=n.createElement(c.a,null,k)),k}}f(p,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:h.SUBMIT}),t.b=p},,function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}});t.a=i},,function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({cancel:{id:"boxui.core.cancel",defaultMessage:"Cancel"},close:{id:"boxui.core.close",defaultMessage:"Close"},copy:{id:"boxui.core.copy",defaultMessage:"Copy"},copied:{id:"boxui.core.copied",defaultMessage:"Copied"},done:{id:"boxui.core.done",defaultMessage:"Done"},okay:{id:"boxui.core.okay",defaultMessage:"Okay"},save:{id:"boxui.core.save",defaultMessage:"Save"},send:{id:"boxui.core.send",defaultMessage:"Send"},optional:{id:"boxui.core.optional",defaultMessage:"optional"},pillSelectorPlaceholder:{id:"boxui.share.pillSelectorPlaceholder",defaultMessage:"Add names or email addresses"},messageSelectorPlaceholder:{id:"boxui.share.messageSelectorPlaceholder",defaultMessage:"Add a message"},invalidInputError:{id:"boxui.validation.genericError",defaultMessage:"Invalid Input"},minLengthError:{id:"boxui.validation.tooShortError",defaultMessage:"Input must be at least {min} characters"},maxLengthError:{id:"boxui.validation.tooLongError",defaultMessage:"Input cannot exceed {max} characters"},invalidEmailError:{id:"boxui.validation.emailError",defaultMessage:"Invalid Email Address"},invalidURLError:{id:"boxui.validation.URLError",defaultMessage:"Invalid URL"},invalidUserError:{id:"boxui.validation.invalidUserError",defaultMessage:"Invalid User"},requiredFieldError:{id:"boxui.validation.requiredError",defaultMessage:"Required Field"},invalidDateError:{id:"boxui.validation.invalidDateError",defaultMessage:"Invalid Date"}});t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);r(437);let i;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default"}(i||(i={}));t.b=e=>{let{className:t="",size:r=i.DEFAULT}=e;return n.createElement("div",{className:"crawler ".concat(t," is-").concat(r)},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null))}},function(e,t,r){"use strict";var n=r(237),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:d,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)d(arguments[n],r);return t},extend:function(e,t,r){return d(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},,function(e,t){var r=Array.isArray;e.exports=r},,,,,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=r(366)},,function(e,t,r){var n=r(222),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t,r){"use strict";var n,i=r(0),o=r(4),a=r.n(o),s=r(12),l=r.n(s),c=r(8),u=r.n(c),d=r(51),f=r.n(d);!function(e){e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right"}(n||(n={}));var h=n,p=r(54),m=r(66),b=r(14),g=r(30);var y=Object(p.c)(e=>{let{intl:t,onClick:r}=e;return i.createElement(b.a,{"aria-label":t.formatMessage(g.a.close),className:"tooltip-close-button",onClick:r},i.createElement(m.a,{className:"bdl-Tooltip-iconClose",width:14,height:14}))});r(445);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let k,E;r.d(t,"b",(function(){return k})),r.d(t,"a",(function(){return E})),function(e){e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error"}(k||(k={})),function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(E||(E={}));const x={[E.BOTTOM_CENTER]:{attachment:h.TOP_CENTER,targetAttachment:h.BOTTOM_CENTER},[E.BOTTOM_LEFT]:{attachment:h.TOP_RIGHT,targetAttachment:h.BOTTOM_RIGHT},[E.BOTTOM_RIGHT]:{attachment:h.TOP_LEFT,targetAttachment:h.BOTTOM_LEFT},[E.MIDDLE_LEFT]:{attachment:h.MIDDLE_RIGHT,targetAttachment:h.MIDDLE_LEFT},[E.MIDDLE_RIGHT]:{attachment:h.MIDDLE_LEFT,targetAttachment:h.MIDDLE_RIGHT},[E.TOP_CENTER]:{attachment:h.BOTTOM_CENTER,targetAttachment:h.TOP_CENTER},[E.TOP_LEFT]:{attachment:h.BOTTOM_RIGHT,targetAttachment:h.TOP_RIGHT},[E.TOP_RIGHT]:{attachment:h.BOTTOM_LEFT,targetAttachment:h.TOP_LEFT}};class C extends i.Component{constructor(e){super(e),w(this,"tooltipID",l()("tooltip")),w(this,"tetherRef",i.createRef()),w(this,"position",()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()}),w(this,"closeTooltip",()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()}),w(this,"fireChildEvent",(e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)}),w(this,"handleTooltipEvent",e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}),w(this,"handleMouseEnter",e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)}),w(this,"handleMouseLeave",e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)}),w(this,"handleFocus",e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)}),w(this,"handleBlur",e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)}),w(this,"isControlled",()=>{const{isShown:e}=this.props;return void 0!==e}),w(this,"handleKeyDown",e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)}),w(this,"isShown",()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered}),this.state={isShown:!!e.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:e,bodyElement:t,children:r,className:n,constrainToScrollParent:o,constrainToWindow:s,isDisabled:l,isTabbable:c=!0,offset:d,position:h=E.TOP_CENTER,showCloseButton:p,stopBubble:m,tetherElementClassName:b,text:g,theme:w}=this.props,C=u()(r,"props.aria-label"),S=!!C&&C===g;if(l)return i.Children.only(r);const O=this.isControlled(),P=this.isShown(),A=p&&O,_="string"==typeof h?x[h]:h,I=[],T={};o&&I.push({to:"scrollParent",attachment:"together"}),s&&I.push({to:"window",attachment:"together"}),P&&!e&&(S&&void 0!==C||(T["aria-describedby"]=this.tooltipID),w===k.ERROR&&(T["aria-errormessage"]=this.tooltipID)),O||(T.onBlur=this.handleBlur,T.onFocus=this.handleFocus,T.onMouseEnter=this.handleMouseEnter,T.onMouseLeave=this.handleMouseLeave,c&&(T.tabIndex="0"));const D=t instanceof HTMLElement?t:document.body,M=a()("tooltip","bdl-Tooltip",n,{"is-callout":w===k.CALLOUT,"is-error":w===k.ERROR,"with-close-button":A}),j={attachment:_.attachment,bodyElement:D,classPrefix:"tooltip",constraints:I,enabled:P,targetAttachment:_.targetAttachment};b&&(j.className=b),d&&(j.offset=d);const F=i.createElement(i.Fragment,null,g,A&&i.createElement(y,{onClick:this.closeTooltip})),R=m?i.createElement("div",{className:M,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},i.createElement("div",{role:w===k.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":e||S,"data-testid":"bdl-Tooltip"},F)):i.createElement("div",{"aria-live":"polite","aria-hidden":e||S,className:M,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:w===k.ERROR?void 0:"tooltip"},F);return i.createElement(f.a,v({ref:this.tetherRef},j),i.cloneElement(i.Children.only(r),T),P&&R)}}w(C,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:E.TOP_CENTER,theme:k.DEFAULT});t.c=C},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,function(e,t,r){"use strict";r(166);var n=r(56);r.d(t,"a",(function(){return n.a}));var i=r(31);r.d(t,"b",(function(){return i.b}))},,function(e,t,r){"use strict";var n=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};function i(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}t.a=function(e,t){return void 0===t&&(t={}),function(){for(var r,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=i(o),l=s&&t[s];return l||(l=new((r=e).bind.apply(r,n([void 0],o))),s&&(t[s]=l)),l}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(439))&&n.__esModule?n:{default:n}},,,function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"c",(function(){return p}));var n=r(0),i=r(182),o=r.n(i),a=r(11);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const l=o.a||i;const c=n.createContext(null),{Consumer:u,Provider:d}=c,f=d,h=c;function p(e,t){const{intlPropName:r="intl",forwardRef:i=!1,enforceContext:o=!0}=t||{},c=t=>n.createElement(u,null,l=>(o&&Object(a.h)(l),n.createElement(e,s({},t,{[r]:l},{ref:i?t.forwardedRef:null}))));var d;return c.displayName="injectIntl(".concat((d=e).displayName||d.name||"Component",")"),c.WrappedComponent=e,l(i?n.forwardRef((e,t)=>n.createElement(c,s({},e,{forwardedRef:t}))):c,e)}},function(e,t,r){"use strict";var n=r(65),i=r.n(n),o=r(8),a=r.n(o),s=r(18),l=r(20),c=r(7),u=r(1),d=r(82),f=r(76),h=r(64);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class g extends d.a{getCacheKey(e){return"".concat(u.o).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/files").concat(t)}async getDownloadUrl(e,t,r,n){this.errorCode=u.ec,this.errorCallback=n,this.successCallback=r;const o=t[u.ed],a=t[u.Nc],s=await h.a.getReadToken(Object(l.b)(e),this.options.token);if(!o||!a||!s)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:c,url:d}=i.a.parseUrl(a),f=m({},c,{access_token:s}),p=i.a.stringify(f);this.successHandler("".concat(d,"?").concat(p))}isRepresentationsCallComplete(e){const t=a()(e,"data.status.state");return!t||t===u.kf||t===u.lf||t===u.mf}async generateRepresentation(e){const t=a()(e,"info.url");return t?Object(f.a)((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then(t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data)).catch(e=>{r(e)}),4,2e3,2):e}async getThumbnailUrl(e){const t=a()(e,"representations.entries[0]"),r=a()(t,"representation"),n=a()(t,"content.url_template"),o=await h.a.getReadToken(Object(l.b)(e.id),this.options.token);if(!r||!n||!o)return null;const s=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:c,url:u}=i.a.parseUrl(s),d=m({},c,{access_token:o}),f=i.a.stringify(d);return"".concat(u,"?").concat(f)}setFileDescription(e,t,r,n){const{id:i,permissions:o}=e;return i&&o?o.can_rename?this.xhr.put({id:Object(l.b)(i),url:this.getUrl(i),data:{description:t}}).then(e=>{let{data:t}=e;if(!this.isDestroyed()){const e=this.merge(this.getCacheKey(i),"description",t.description);r(e)}}).catch(()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);n(t)}}):(n(Object(c.b)()),Promise.reject()):(n(Object(c.a)()),Promise.reject())}async getFile(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e),a=!n.forceFetch&&i.has(o),c=a?i.get(o):{id:e};let d=Object(s.k)(c,n.fields);const f={id:Object(l.b)(e),url:this.getUrl(e),headers:{"X-Rep-Hints":u.Dg}};if(this.errorCode=u.Qb,this.successCallback=t,this.errorCallback=r,!a||0!==d.length||(t(c),d=n.fields||[],n.refreshCache)){d.length>0&&(f.params={fields:d.toString()});try{const{data:e}=await this.xhr.get(f);if(this.isDestroyed())return;const t=Object(s.j)(e,d);i.has(o)?i.merge(o,t):i.set(o,t),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[u.Xc]})}}t.a=g},function(e,t,r){"use strict";var n=r(0),i=r(4),o=r.n(i),a=r(31);r(438);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}let c;!function(e){e.CENTER="center",e.TOP="top"}(c||(c={}));t.a=e=>{let{children:t,className:r="",crawlerPosition:i=c.CENTER,crawlerSize:u=a.a.DEFAULT,isLoading:d=!1,hideContent:f=!1}=e,h=l(e,["children","className","crawlerPosition","crawlerSize","isLoading","hideContent"]);const p=o()("loading-indicator-veil",{"is-with-top-crawler":i===c.TOP,"is-with-center-crawler":i===c.CENTER},f?"hide-content":"blur-content");return n.createElement("div",s({className:"loading-indicator-wrapper ".concat(r)},h),t,d&&n.createElement("div",{className:p},n.createElement(a.b,{size:u})))}},function(e,t,r){"use strict";
27
+ */!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&e.push(a)}else if("object"===o)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"We’re sorry, the preview didn’t load. Please refresh the page."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewColumnSize:{id:"be.gridView.columnSize",defaultMessage:"Column size"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},searchState:{id:"be.searchState",defaultMessage:"Sorry, we couldn’t find what you’re looking for."},selectedState:{id:"be.selectedState",defaultMessage:"You haven’t selected any items yet."},errorState:{id:"be.errorState",defaultMessage:"A network error has occurred while trying to load."},folderState:{id:"be.folderState",defaultMessage:"There are no items in this folder."},metadataState:{id:"be.metadataState",defaultMessage:"There are no items in this folder."},recentsState:{id:"be.recentsState",defaultMessage:"There are no recent items yet."},loadingState:{id:"be.loadingState",defaultMessage:"Please wait while the items load..."},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"}});t.a=i},,function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return l}));var n=r(1);function i(){return new Error("Bad box item!")}function o(){return new Error("Insufficient Permissions!")}function a(){return new Error("Bad box user!")}function s(){return new Error("Missing text or status!")}function l(e){return e===n.ye||e===n.Ae||e===n.se||e>=n.ve}},function(e,t,r){var n=r(193);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,i=l(e,["children","title"]),a="".concat(this.id,"-title"),s=o()(i,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}t.a=c},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,i=l(e,["children","title"]),a="".concat(this.id,"-title"),s=o()(i,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}var u=c;r.d(t,"a",(function(){return u}))},function(e,t,r){"use strict";r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"h",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"d",(function(){return p})),r.d(t,"c",(function(){return m})),r.d(t,"g",(function(){return b}));var n=r(0),i=r(142),o=r(49),a=r(266);const s={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},l=/[&><"']/g;function c(e){return(""+e).replace(l,e=>s[e.charCodeAt(0)])}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((t,n)=>(n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t),{})}function d(e){Object(a.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function f(e,t){const r=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(r)}const h={formats:{},messages:{},timeZone:void 0,textComponent:n.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function p(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}}}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{}};const t=Intl.RelativeTimeFormat,r=Intl.ListFormat;return{getDateTimeFormat:Object(o.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(o.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(o.a)(i.a,e.message),getRelativeTimeFormat:Object(o.a)(t,e.relativeTime),getPluralRules:Object(o.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(o.a)(r,e.list)}}function b(e,t,r,n){const i=e&&e[t];let o;if(i&&(o=i[r]),o)return o;n(f("No ".concat(t," format named: ").concat(r)))}},function(e,t,r){var n=r(100),i=0;e.exports=function(e){var t=++i;return n(e)+t}},,function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(86),a=r.n(o),s=r(8),l=r.n(s),c=r(160),u=r.n(c),d=r(255),f=r.n(d),h=r(64),p=r(1);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=12e4,y=3,v=[p.me,p.oe,p.ne].map(f.a);var w=class{constructor(){let{id:e,clientName:t,language:r,token:n,version:i,sharedLink:o,sharedLinkPassword:s,responseInterceptor:c,requestInterceptor:u,retryableStatusCodes:d=[p.ye],shouldRetry:f=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,"retryCount",0),b(this,"errorInterceptor",e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise((r,n)=>{this.retryTimeout=setTimeout(()=>{this.axios(e.config).then(r,n)},t)})}const t=l()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)}),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=c||this.defaultResponseInterceptor,this.retryableStatusCodes=d,this.sharedLink=o,this.sharedLinkPassword=s,this.shouldRetry=f,this.token=n,this.version=i,this.axios=a.a.create(),this.axiosSource=a.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof u&&this.axios.interceptors.request.use(u)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=y)return!1;const{response:t,request:r,config:n}=e,i=l()(t,"status"),o=l()(n,"method"),a=r&&!t,s=i===p.ye,c=u()(this.retryableStatusCodes,i)&&u()(v,o);return a||s||c}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[p.ke]:"application/json"},t);this.language&&!r[p.he]&&(r[p.he]=this.language),this.sharedLink&&(r.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(r.BoxApi="".concat(r.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(r[p.ie]=this.clientName),this.version&&(r[p.je]=this.version);const n=e||this.id||"",i=await h.a.getWriteToken(n,this.token);return i&&(r.Authorization="Bearer ".concat(i)),r}get(e){let{url:t,id:r,params:n={},headers:i={}}=e;return this.getHeaders(r,i).then(e=>this.axios.get(t,{cancelToken:this.axiosSource.token,params:n,headers:e,parsedUrl:this.getParsedUrl(t)}))}post(e){let{url:t,id:r,data:n,params:i,headers:o={},method:a=p.pe}=e;return this.getHeaders(r,o).then(e=>this.axios({url:t,data:n,params:i,method:a,parsedUrl:this.getParsedUrl(t),headers:e}))}put(e){let{url:t,id:r,data:n,params:i,headers:o={}}=e;return this.post({id:r,url:t,data:n,params:i,headers:o,method:p.qe})}delete(e){let{url:t,id:r,data:n={},headers:i={}}=e;return this.post({id:r,url:t,data:n,headers:i,method:p.le})}options(e){let{id:t,url:r,data:n,headers:i={},successHandler:o,errorHandler:a}=e;return this.getHeaders(t,i).then(e=>this.axios({url:r,data:n,method:p.oe,headers:e}).then(o).catch(a)).catch(a)}uploadFile(e){let{id:t,url:r,data:n,headers:i={},method:o=p.pe,successHandler:a,errorHandler:s,progressHandler:l,withIdleTimeout:c=!1,idleTimeoutDuration:u=g,idleTimeoutHandler:d}=e;return this.getHeaders(t,i).then(e=>{let t,f=l;if(c){const e=()=>{this.abort(),d&&d()};t=setTimeout(e,u),f=r=>{clearTimeout(t),t=setTimeout(e,u),l(r)}}this.axios({url:r,data:n,transformRequest:(e,t)=>{if(delete t[p.ge],delete t[p.ke],i[p.ke]&&(t[p.ke]=i[p.ke]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach(r=>{t.append(r,e[r])}),t}return e},method:o,headers:e,onUploadProgress:f,cancelToken:this.axiosSource.token}).then(e=>{clearTimeout(t),a(e)}).catch(e=>{clearTimeout(t),s(e)})}).catch(s)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=a.a.CancelToken.source())}},k=r(74),E=r(103);const x="bcu-uploads-reachability-cached-results";var C=class{constructor(){this.localStore=new E.a,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(x)}saveCachedResultsToLocalStore(){this.localStore.setItem(x,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach(t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)})}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach(t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)}),e):e}async isReachable(e){if(e==="".concat(p.X,"/")||e==="".concat(p.Y,"/"))return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t="".concat(e,"html5?reachability_test=run"),r={[p.ke]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await a.a.post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}},S=r(20),O=r(7);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){_(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}),_(this,"errorHandler",e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}}),this.cache=e.cache||new k.a,this.apiHost=e.apiHost||p.U,this.uploadHost=e.uploadHost||p.X,this.options=A({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new w(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||i.a,this.consoleError=e.consoleError&&window.console&&window.console.error||i.a,this.uploadsReachability=new C}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw Object(O.a)();if(!t[e])throw Object(O.b)()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get(e){let{id:t,successCallback:r,errorCallback:n,requestData:i,url:o}=e;const a=o||this.getUrl(t);return this.makeRequest(p.me,t,a,r,n,i)}post(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.pe,t,r,i,o,n)}put(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.qe,t,r,i,o,n)}delete(e){let{id:t,url:r,data:n,successCallback:i,errorCallback:o}=e;return this.makeRequest(p.le,t,r,i,o,n)}async makeRequest(e,t,r,n,i){let o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=i;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(A({id:Object(S.b)(t),url:r},o));this.successHandler(e)}catch(e){this.errorHandler(e)}}}},function(e,t,r){"use strict";var n=r(22);r.d(t,"a",(function(){return n.a}))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return v})),r.d(t,"b",(function(){return y})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return b})),r.d(t,"j",(function(){return k})),r.d(t,"k",(function(){return w})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return h})),r.d(t,"i",(function(){return f}));var n=r(183),i=r.n(n),o=r(78),a=r.n(o),s=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=[s.cd,s.od,s.Od,s.Id,s.rd,s.Yc,s.td,s.sd,s.md,s.Sc,s.nd,s.ad,s.gd,s.hd,s.Oc,s.fd,s.zd,s.Qd],f=[s.cd,s.od,s.Id,s.Yc,s.Zc,s.Fd,s.td,s.Qc,s.Rc,s.Sc,s.Tc,s.md,s.nd,s.qd,s.Vc,s.ld,s.id,s.Rd,s.Sd,s.gd,s.Cd,s.Oc,s.fd,s.Pd],h=[s.cd,s.td,s.Fd,s.Ed,s.Zc,s.od,s.Id,s.Yc,s.zd,s.Td,s.Oc,s.fd],p=[s.Sc,s.Yc,s.fd,s.md,s.nd,s.od,s.Ad,s.Bd,s.Id,s.Md,s.Nd,s.Pd,s.Sd],m=[s.Zc,s.md,s.nd,s.Cd,s.Id,s.wd,s.Pd,s.Sd],b=[s.Oc,s.Sc,s.Yc,s.fd,s.md,s.nd,s.od,s.td,s.wd,s.Ad,s.Bd,s.Dd,s.Id,s.Md,s.Nd,s.Pd,s.Sd],g=[s.Lc,s.Fd],y=(s.Ld,s.ed,s.Sc,s.Tc,s.Wc,s.jd,s.Nc,s.Jd,[s.Kd,s.jd,s.Sc,s.Tc,s.md,s.td]),v=(s.Tc,s.nd,s.qd,s.Nc,[s.Jc,s.Mc,s.Tc,s.pd,s.yd]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter(t=>!i()(e,t)):t}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(t)||0===t.length)return e;const r=c({},e);return w(e,t).forEach(e=>{a()(r,e,null)}),r}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return u}));var n=r(8),i=r.n(n),o=r(1);const a=/\.([0-9a-z]+)$/i;function s(e){return"".concat(o.ig).concat(e)}function l(e){return"".concat(o.jg).concat(e)}function c(e){return e.extension===o.ae}function u(e){if("string"!=typeof e)return"";const t=a.exec(e);return i()(t,"[1]","")}},function(e,t,r){var n=r(169),i=r(276),o=r(421),a=r(105),s=r(80),l=r(427),c=r(331),u=r(231),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=i(r,7,l));for(var d=t.length;d--;)o(r,t[d]);return r}));e.exports=d},function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i),a=r(24);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{let{children:t,className:r="",getDOMRef:i=o.a,isDisabled:c=!1,type:u=a.a.SUBMIT}=e,d=l(e,["children","className","getDOMRef","isDisabled","type"]);const f={};return c&&(f["aria-disabled"]=!0,f.onClick=e=>{e.preventDefault(),e.stopPropagation()}),n.createElement("button",s({className:"btn-plain ".concat(r),ref:i,type:u},d,f),t)}},,function(e,t,r){"use strict";var n=r(26);r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return E})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return v})),r.d(t,"l",(function(){return w})),r.d(t,"i",(function(){return y})),r.d(t,"j",(function(){return k})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return g})),r.d(t,"o",(function(){return x}));var n=r(8),i=r.n(n),o=r(59);const a={};function s(e){return!(!e.options||!e.file)}function l(e){return!(!e.options||!e.item)}function c(e){return s(e)?e.file:e}function u(e){return l(e)?e.item:e}function d(e){return s(e)&&e.options||a}function f(e){return l(e)&&e.options||a}function h(e){const t=e.lastModified||e.lastModifiedDate;if(t&&("string"==typeof t||"number"==typeof t||t instanceof Date)){const e=new Date(t);if(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))return function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e)}var r;return null}function p(e,t,r){const n=e*r**2;return n>t?t:n}function m(e){return(e.webkitGetAsEntry||e.mozGetAsEntry||e.getAsEntry).call(e)}function b(e){const t=m(u(e));return!!t&&t.isDirectory}function g(e){const t=u(e);return b(t)&&"application/zip"===t.type&&"file"===t.kind}function y(e){return new Promise(t=>{e.file(e=>{t(e)})})}async function v(e){const t=m(u(e));if(!t)return null;const r=await y(t);return l(e)?{file:r,options:f(e)}:r}function w(e){const t=u(e);if(!m(t))return null;const r=t.getAsFile();return l(e)?{file:r,options:f(e)}:r}function k(e,t){if(!s(e))return e.name;const r=e,n=i()(r,"options.folderId",t),o=i()(r,"options.uploadInitTimestamp",Date.now()),a=r.file.webkitRelativePath||r.file.name;return"".concat(a,"_").concat(n,"_").concat(o)}function E(e,t){const r=u(e),{name:n}=m(r);if(!l(e))return n;const{folderId:i=t,uploadInitTimestamp:o=Date.now()}=f(e);return"".concat(n,"_").concat(i,"_").concat(o)}function x(){const e=window.crypto||window.msCrypto;return!o.a.isMobileSafari()&&("https:"===window.location.protocol&&e&&e.subtle)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),i=r(4),o=r.n(i),a=r(21),s=r.n(a),l=r(47),c=r(145);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let h;!function(e){e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit"}(h||(h={}));class p extends n.Component{constructor(){super(...arguments),f(this,"btnElement",null),f(this,"handleClick",e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)})}render(){const e=this.props,{children:t,className:r,icon:i,isDisabled:a,isLoading:f,isSelected:h,setRef:p,size:m,type:b,showRadar:g}=e,y=d(e,["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"]),v=s()(y,["onClick"]);a&&(v["aria-disabled"]=!0);const w=o()("btn",{"is-disabled":a,"is-loading":f,"is-selected":h,"bdl-is-disabled":a,"bdl-btn--large":"large"===m,"bdl-has-icon":!!i},r);let k=n.createElement("button",u({ref:e=>{this.btnElement=e,p&&p(e)},className:w,onClick:this.handleClick,type:b},v),t?n.createElement("span",{className:"btn-content"},t):null,i?n.createElement("span",{className:"bdl-btn-icon"},n.cloneElement(i,{width:i&&t?16:20,height:i&&t?16:20})):null,f&&n.createElement(l.b,{className:"btn-loading-indicator"}));return g&&(k=n.createElement(c.a,null,k)),k}}f(p,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:h.SUBMIT}),t.b=p},,function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}});t.a=i},,function(e,t,r){"use strict";var n=r(79);const i=Object(n.defineMessages)({cancel:{id:"boxui.core.cancel",defaultMessage:"Cancel"},close:{id:"boxui.core.close",defaultMessage:"Close"},copy:{id:"boxui.core.copy",defaultMessage:"Copy"},copied:{id:"boxui.core.copied",defaultMessage:"Copied"},done:{id:"boxui.core.done",defaultMessage:"Done"},okay:{id:"boxui.core.okay",defaultMessage:"Okay"},save:{id:"boxui.core.save",defaultMessage:"Save"},send:{id:"boxui.core.send",defaultMessage:"Send"},optional:{id:"boxui.core.optional",defaultMessage:"optional"},pillSelectorPlaceholder:{id:"boxui.share.pillSelectorPlaceholder",defaultMessage:"Add names or email addresses"},messageSelectorPlaceholder:{id:"boxui.share.messageSelectorPlaceholder",defaultMessage:"Add a message"},invalidInputError:{id:"boxui.validation.genericError",defaultMessage:"Invalid Input"},minLengthError:{id:"boxui.validation.tooShortError",defaultMessage:"Input must be at least {min} characters"},maxLengthError:{id:"boxui.validation.tooLongError",defaultMessage:"Input cannot exceed {max} characters"},invalidEmailError:{id:"boxui.validation.emailError",defaultMessage:"Invalid Email Address"},invalidURLError:{id:"boxui.validation.URLError",defaultMessage:"Invalid URL"},invalidUserError:{id:"boxui.validation.invalidUserError",defaultMessage:"Invalid User"},requiredFieldError:{id:"boxui.validation.requiredError",defaultMessage:"Required Field"},invalidDateError:{id:"boxui.validation.invalidDateError",defaultMessage:"Invalid Date"}});t.a=i},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(0);r(437);let i;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default"}(i||(i={}));t.b=e=>{let{className:t="",size:r=i.DEFAULT}=e;return n.createElement("div",{className:"crawler ".concat(t," is-").concat(r)},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null))}},function(e,t,r){"use strict";var n=r(237),i=Object.prototype.toString;function o(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===i.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===i.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===i.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:d,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)d(arguments[n],r);return t},extend:function(e,t,r){return d(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},,function(e,t){var r=Array.isArray;e.exports=r},,,,,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=r(366)},,function(e,t,r){var n=r(222),i="object"==typeof self&&self&&self.Object===Object&&self,o=n||i||Function("return this")();e.exports=o},function(e,t,r){"use strict";var n,i=r(0),o=r(4),a=r.n(o),s=r(12),l=r.n(s),c=r(8),u=r.n(c),d=r(51),f=r.n(d);!function(e){e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right"}(n||(n={}));var h=n,p=r(54),m=r(66),b=r(15),g=r(30);var y=Object(p.c)(e=>{let{intl:t,onClick:r}=e;return i.createElement(b.a,{"aria-label":t.formatMessage(g.a.close),className:"tooltip-close-button",onClick:r},i.createElement(m.a,{className:"bdl-Tooltip-iconClose",width:14,height:14}))});r(445);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let k,E;r.d(t,"b",(function(){return k})),r.d(t,"a",(function(){return E})),function(e){e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error"}(k||(k={})),function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(E||(E={}));const x={[E.BOTTOM_CENTER]:{attachment:h.TOP_CENTER,targetAttachment:h.BOTTOM_CENTER},[E.BOTTOM_LEFT]:{attachment:h.TOP_RIGHT,targetAttachment:h.BOTTOM_RIGHT},[E.BOTTOM_RIGHT]:{attachment:h.TOP_LEFT,targetAttachment:h.BOTTOM_LEFT},[E.MIDDLE_LEFT]:{attachment:h.MIDDLE_RIGHT,targetAttachment:h.MIDDLE_LEFT},[E.MIDDLE_RIGHT]:{attachment:h.MIDDLE_LEFT,targetAttachment:h.MIDDLE_RIGHT},[E.TOP_CENTER]:{attachment:h.BOTTOM_CENTER,targetAttachment:h.TOP_CENTER},[E.TOP_LEFT]:{attachment:h.BOTTOM_RIGHT,targetAttachment:h.TOP_RIGHT},[E.TOP_RIGHT]:{attachment:h.BOTTOM_LEFT,targetAttachment:h.TOP_LEFT}};class C extends i.Component{constructor(e){super(e),w(this,"tooltipID",l()("tooltip")),w(this,"tetherRef",i.createRef()),w(this,"position",()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()}),w(this,"closeTooltip",()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()}),w(this,"fireChildEvent",(e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)}),w(this,"handleTooltipEvent",e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()}),w(this,"handleMouseEnter",e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)}),w(this,"handleMouseLeave",e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)}),w(this,"handleFocus",e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)}),w(this,"handleBlur",e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)}),w(this,"isControlled",()=>{const{isShown:e}=this.props;return void 0!==e}),w(this,"handleKeyDown",e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)}),w(this,"isShown",()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered}),this.state={isShown:!!e.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:e,bodyElement:t,children:r,className:n,constrainToScrollParent:o,constrainToWindow:s,isDisabled:l,isTabbable:c=!0,offset:d,position:h=E.TOP_CENTER,showCloseButton:p,stopBubble:m,tetherElementClassName:b,text:g,theme:w}=this.props,C=u()(r,"props.aria-label"),S=!!C&&C===g;if(l)return i.Children.only(r);const O=this.isControlled(),P=this.isShown(),A=p&&O,_="string"==typeof h?x[h]:h,I=[],T={};o&&I.push({to:"scrollParent",attachment:"together"}),s&&I.push({to:"window",attachment:"together"}),P&&!e&&(S&&void 0!==C||(T["aria-describedby"]=this.tooltipID),w===k.ERROR&&(T["aria-errormessage"]=this.tooltipID)),O||(T.onBlur=this.handleBlur,T.onFocus=this.handleFocus,T.onMouseEnter=this.handleMouseEnter,T.onMouseLeave=this.handleMouseLeave,c&&(T.tabIndex="0"));const D=t instanceof HTMLElement?t:document.body,M=a()("tooltip","bdl-Tooltip",n,{"is-callout":w===k.CALLOUT,"is-error":w===k.ERROR,"with-close-button":A}),j={attachment:_.attachment,bodyElement:D,classPrefix:"tooltip",constraints:I,enabled:P,targetAttachment:_.targetAttachment};b&&(j.className=b),d&&(j.offset=d);const F=i.createElement(i.Fragment,null,g,A&&i.createElement(y,{onClick:this.closeTooltip})),R=m?i.createElement("div",{className:M,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},i.createElement("div",{role:w===k.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":e||S,"data-testid":"bdl-Tooltip"},F)):i.createElement("div",{"aria-live":"polite","aria-hidden":e||S,className:M,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:w===k.ERROR?void 0:"tooltip"},F);return i.createElement(f.a,v({ref:this.tetherRef},j),i.cloneElement(i.Children.only(r),T),P&&R)}}w(C,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:E.TOP_CENTER,theme:k.DEFAULT});t.c=C},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,function(e,t,r){"use strict";r(166);var n=r(56);r.d(t,"a",(function(){return n.a}));var i=r(31);r.d(t,"b",(function(){return i.b}))},,function(e,t,r){"use strict";var n=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n};function i(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}t.a=function(e,t){return void 0===t&&(t={}),function(){for(var r,o=[],a=0;a<arguments.length;a++)o[a]=arguments[a];var s=i(o),l=s&&t[s];return l||(l=new((r=e).bind.apply(r,n([void 0],o))),s&&(t[s]=l)),l}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}});var n,i=(n=r(439))&&n.__esModule?n:{default:n}},,,function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"c",(function(){return p}));var n=r(0),i=r(182),o=r.n(i),a=r(11);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const l=o.a||i;const c=n.createContext(null),{Consumer:u,Provider:d}=c,f=d,h=c;function p(e,t){const{intlPropName:r="intl",forwardRef:i=!1,enforceContext:o=!0}=t||{},c=t=>n.createElement(u,null,l=>(o&&Object(a.h)(l),n.createElement(e,s({},t,{[r]:l},{ref:i?t.forwardedRef:null}))));var d;return c.displayName="injectIntl(".concat((d=e).displayName||d.name||"Component",")"),c.WrappedComponent=e,l(i?n.forwardRef((e,t)=>n.createElement(c,s({},e,{forwardedRef:t}))):c,e)}},function(e,t,r){"use strict";var n=r(65),i=r.n(n),o=r(8),a=r.n(o),s=r(18),l=r(20),c=r(7),u=r(1),d=r(82),f=r(76),h=r(64);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class g extends d.a{getCacheKey(e){return"".concat(u.o).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/files").concat(t)}async getDownloadUrl(e,t,r,n){this.errorCode=u.ec,this.errorCallback=n,this.successCallback=r;const o=t[u.fd],a=t[u.Oc],s=await h.a.getReadToken(Object(l.b)(e),this.options.token);if(!o||!a||!s)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:c,url:d}=i.a.parseUrl(a),f=m({},c,{access_token:s}),p=i.a.stringify(f);this.successHandler("".concat(d,"?").concat(p))}isRepresentationsCallComplete(e){const t=a()(e,"data.status.state");return!t||t===u.mf||t===u.nf||t===u.of}async generateRepresentation(e){const t=a()(e,"info.url");return t?Object(f.a)((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then(t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data)).catch(e=>{r(e)}),4,2e3,2):e}async getThumbnailUrl(e){const t=a()(e,"representations.entries[0]"),r=a()(t,"representation"),n=a()(t,"content.url_template"),o=await h.a.getReadToken(Object(l.b)(e.id),this.options.token);if(!r||!n||!o)return null;const s=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:c,url:u}=i.a.parseUrl(s),d=m({},c,{access_token:o}),f=i.a.stringify(d);return"".concat(u,"?").concat(f)}setFileDescription(e,t,r,n){const{id:i,permissions:o}=e;return i&&o?o.can_rename?this.xhr.put({id:Object(l.b)(i),url:this.getUrl(i),data:{description:t}}).then(e=>{let{data:t}=e;if(!this.isDestroyed()){const e=this.merge(this.getCacheKey(i),"description",t.description);r(e)}}).catch(()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(i),"description",e.description);n(t)}}):(n(Object(c.b)()),Promise.reject()):(n(Object(c.a)()),Promise.reject())}async getFile(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const i=this.getCache(),o=this.getCacheKey(e),a=!n.forceFetch&&i.has(o),c=a?i.get(o):{id:e};let d=Object(s.k)(c,n.fields);const f={id:Object(l.b)(e),url:this.getUrl(e),headers:{"X-Rep-Hints":u.Fg}};if(this.errorCode=u.Qb,this.successCallback=t,this.errorCallback=r,!a||0!==d.length||(t(c),d=n.fields||[],n.refreshCache)){d.length>0&&(f.params={fields:d.toString()});try{const{data:e}=await this.xhr.get(f);if(this.isDestroyed())return;const t=Object(s.j)(e,d);i.has(o)?i.merge(o,t):i.set(o,t),this.successHandler(i.get(o))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[u.Yc]})}}t.a=g},function(e,t,r){"use strict";var n=r(0),i=r(4),o=r.n(i),a=r(31);r(438);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}let c;!function(e){e.CENTER="center",e.TOP="top"}(c||(c={}));t.a=e=>{let{children:t,className:r="",crawlerPosition:i=c.CENTER,crawlerSize:u=a.a.DEFAULT,isLoading:d=!1,hideContent:f=!1}=e,h=l(e,["children","className","crawlerPosition","crawlerSize","isLoading","hideContent"]);const p=o()("loading-indicator-veil",{"is-with-top-crawler":i===c.TOP,"is-with-center-crawler":i===c.CENTER},f?"hide-content":"blur-content");return n.createElement("div",s({className:"loading-indicator-wrapper ".concat(r)},h),t,d&&n.createElement("div",{className:p},n.createElement(a.b,{size:u})))}},function(e,t,r){"use strict";
28
28
  /*
29
29
  object-assign
30
30
  (c) Sindre Sorhus
31
31
  @license MIT
32
- */function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(n({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,l=s(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))o.call(r,u)&&(l[u]=r[u]);if(i){n=i(r);for(var d=0;d<n.length;d++)a.call(r,n[d])&&(l[n[d]]=r[n[d]])}}return l}},function(e,t,r){"use strict";var n=r(201);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";(function(e){let r;class n{static getUserAgent(){return e.navigator.userAgent}static isMobile(){const e=n.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(n.getUserAgent())}static isFirefox(){const e=n.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=n.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return n.isMobile()&&n.isSafari()&&!n.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=n.getUserAgent();return n.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canPlayDash(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(void 0===r||t){const t=e.MediaSource;r=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return r}static canWriteToClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.readText)}}t.a=n}).call(this,r(44))},function(e,t,r){var n=r(95),i=r(380),o=r(381),a="[object Null]",s="[object Undefined]",l=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}},function(e,t,r){"use strict";var n=r(82),i=r(1),o=r(18);class a extends n.a{getCacheKey(e){return"".concat(i.u).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/web_links").concat(t)}async getWeblink(e,t,r){let{fields:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const a=this.getCache(),s=this.getCacheKey(e);if(this.errorCode=i.dc,this.successCallback=t,this.errorCallback=r,a.has(s)){if(0===Object(o.k)(a.get(s),n).length)return void t(a.get(s))}const l={url:this.getUrl(e)};n&&(l.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(l);if(this.isDestroyed())return;a.has(s)?a.merge(s,e):a.set(s,e),this.successHandler(a.get(s))}catch(e){this.errorHandler(e)}}}t.a=a},,,function(e,t,r){"use strict";var n=r(1);const i=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class o{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(n.hg)&&!e.startsWith(n.gg))throw i;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw i}static async getReadToken(e,t){const r=await o.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map(e=>o.getReadToken(e,t)),i=await Promise.all(n),a={};return i.forEach((e,t)=>{a[r[t]]=e}),Promise.resolve(a)}static async getWriteToken(e,t){const r=await o.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every(e=>e.startsWith(n.hg)||e.startsWith(n.gg)))throw i;return"function"==typeof t&&await t(e),Promise.resolve()}}t.a=o},function(e,t,r){"use strict";var n=r(484),i=r(57),o=r(485);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function l(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=i({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),r(o(i),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(r):e[t]=r,e}),Object.create(null))):n}t.extract=s,t.parse=l,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var i=e[n];if(void 0===i)return"";if(null===i)return a(n,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(n,e,o.length))})),o.join("&")}return a(n,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:l(s(e),t)}}},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:i.k,fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"}))},,,function(e,t,r){"use strict";var n=r(0),i=r(4),o=r.n(i),a=r(21),s=r.n(a),l=r(145);function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class u extends n.Component{constructor(){var e,t,r;super(...arguments),r=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(t="onClickHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,className:r,isDisabled:i,isSelectItem:a,isSelected:u,showRadar:d}=e,f=c(e,["children","className","isDisabled","isSelectItem","isSelected","showRadar"]),h=s()(f,["role","tabIndex","onClick"]);h.className=o()("menu-item",r,{"is-select-item":a,"is-selected":u}),h.role=a?"menuitemradio":"menuitem",h.tabIndex=-1,h.onClick=this.onClickHandler,a&&(h["aria-checked"]=u),i&&(h["aria-disabled"]="true");let p=n.createElement("li",h,t);return d&&(p=n.createElement(l.a,null,p)),p}}t.a=u},,,,function(e,t,r){var n=r(379),i=r(384);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";var n=r(109),i=r.n(n);t.a=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,i()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach(t=>{t.startsWith(e)&&delete this.cache[t]})}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}}},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(81),a=r(18),s=r(7),l=r(82),c=r(55),u=r(61),d=r(1);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends l.a{constructor(){super(...arguments),p(this,"folderSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{item_collection:r}=t;if(!r)throw Object(s.a)();const{entries:n,total_count:i,limit:a,offset:l}=r;if(!Array.isArray(n)||"number"!=typeof i||"number"!=typeof a||"number"!=typeof l)throw Object(s.a)();const d=Object(o.a)(n,new m(this.options),new c.a(this.options),new u.a(this.options));this.itemCache=(this.itemCache||[]).concat(d),this.getCache().set(this.key,h({},t,{item_collection:h({},r,{entries:this.itemCache})})),this.finish()}),p(this,"folderDetailsSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const r=h({},this.getCache().get(this.key),{},t);this.getCache().set(this.key,r),this.successCallback(r)}),p(this,"createSuccessHandler",e=>{let{data:t}=e;const{id:r}=t;if(this.isDestroyed()||!r)return;const n=this.getCacheKey(r),i=this.getCache(),o=i.get(this.key);if(!o)return void this.successCallback(t);const{item_collection:a}=o;if(!a)throw Object(s.a)();const{total_count:l,entries:c}=a;if(!Array.isArray(c)||"number"!=typeof l)throw Object(s.a)();i.set(n,t),a.entries=[n].concat(c),a.total_count=l+1,this.successCallback(t)})}getCacheKey(e){return"".concat(d.p).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/folders").concat(t)}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:i,path_collection:o,item_collection:a}=t;if(!a||!o)throw Object(s.a)();const{entries:l,offset:c,total_count:u}=a;if(!Array.isArray(l)||"number"!=typeof u)throw Object(s.a)();const d={id:r,name:n,offset:c,percentLoaded:100,permissions:i,boxItem:t,breadcrumbs:o.entries,items:l.map(t=>e.get(t)),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:u};this.successCallback(d)}folderRequest(){let{fields:e,noPagination:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.folderSuccessHandler;if(this.isDestroyed())return Promise.reject();const n=e||a.g;this.errorCode=d.Sb;let i={fields:n.toString()};return t||(i=h({},i,{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:i,headers:n.includes(d.xd)?{"X-Rep-Hints":d.Eg}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(h({},n,{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,i,o,a){let s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=i,this.successCallback=o,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode=d.rb;const t="".concat(this.getUrl(),"?fields=").concat(a.g.toString());return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}t.a=m},function(e,t,r){"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0,o=r;return new Promise((r,a)=>{function s(l){setTimeout(()=>{i+=1,new Promise((t,r)=>{e(t,r,a)}).then(r).catch(e=>{i<t?s(o*=n):a(e)})},l)}s(o)})}r.d(t,"a",(function(){return n}))},,function(e,t,r){var n=r(447);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=function(e){return e},t.defineMessages=function(e){return e}},function(e,t,r){var n=r(172),i=r(173);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?i(r,c,u):n(r,c,u)}return r}},function(e,t,r){"use strict";var n=r(7),i=r(1);t.a=function(e,t,r,o){const a=[];return e.forEach(e=>{const{id:s,type:l}=e;if(!s||!l)throw Object(n.a)();let c;switch(l){case i.jg:c=t;break;case i.ig:c=r;break;case i.kg:c=o;break;default:throw new Error("Unknown Type!")}const u=c.getCache(),d=c.getCacheKey(s);u.has(d)?u.merge(d,e):u.set(d,e),a.push(d)}),a}},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(78),a=r.n(o),s=r(7),l=r(18),c=r(15),u=r(1);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends c.a{constructor(){super(...arguments),f(this,"deleteSuccessHandler",()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw Object(s.a)();const o=this.getCacheKey(this.id),a=n.length,l=n.filter(e=>e!==o),c=l.length,u=this.merge(e,"item_collection",d(r,{entries:l,total_count:i-(a-c)}));this.successCallback(u),this.postDeleteCleanup()}),f(this,"renameSuccessHandler",e=>{let{data:t}=e;if(!this.isDestroyed()){this.getCache().unsetAll(u.t);const e=this.merge(this.getCacheKey(this.id),"name",t.name);this.successCallback(e)}}),f(this,"shareSuccessHandler",(e,t)=>{if(!this.isDestroyed()){const r=t?Object(l.j)(e,t):e,n=this.getCache(),i=this.getCacheKey(this.id);n.has(i)?n.merge(i,r):n.set(i,r),this.successCallback(n.get(i))}})}getParentCacheKey(e){return"".concat(u.p).concat(e)}getCacheKey(e){return"getCacheKey(".concat(e,") should be overriden")}getUrl(e){return"getUrl(".concat(e,") should be overriden")}merge(e,t,r){const n=this.getCache();return n.merge(e,a()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(u.t),this.successCallback())}deleteItem(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.Ab;const{id:n,permissions:o,parent:a,type:l}=e;if(!(n&&o&&a&&l))return r(Object(s.a)(),this.errorCode),Promise.reject();const{id:c}=a,{can_delete:d}=o;if(!d||!c)return r(Object(s.b)(),this.errorCode),Promise.reject();this.id=n,this.parentId=c,this.successCallback=t,this.errorCallback=r;const f="".concat(this.getUrl(n)).concat(l===u.jg?"?recursive=true":"");return this.xhr.delete({url:f}).then(this.deleteSuccessHandler).catch(e=>{this.errorHandler(e)})}rename(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.lc;const{id:o,permissions:a}=e;if(!o||!a)return n(Object(s.a)(),this.errorCode),Promise.reject();const{can_rename:l}=a;return l?(this.id=o,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:"".concat(this.getUrl(o)),data:{name:t}}).then(this.renameSuccessHandler).catch(e=>{this.errorHandler(e)})):(n(Object(s.b)(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!t)throw this.errorCode=u.oc,Object(s.a)();const{can_share:n,can_set_share_access:i}=t;if(!n||!r&&!i)throw this.errorCode=u.oc,Object(s.b)()}async share(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:i,permissions:a,shared_link:s}=e;this.id=i,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(i,a,l);const{fields:c}=o,d={url:this.getUrl(this.id),data:{shared_link:t===u.c?null:{access:t}}};c&&(d.params={fields:c.toString()});const{data:f}=await this.xhr.put(d);return this.shareSuccessHandler(f,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:i,permissions:a}=e;this.id=i,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(i,a);const{fields:s}=o,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}}t.a=h},,,function(e,t,r){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t,r){e.exports=r(448)},,function(e,t,r){var n=r(171),i=r(174);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},,,,,,,function(e,t,r){var n=r(42).Symbol;e.exports=n},,,function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i),a=r(1),s=r(190);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends n.Component{constructor(){var e;super(...arguments),e=this,d(this,"state",{}),d(this,"handleError",(function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.props.errorOrigin;if(!t||!r||!i)return;const o={type:"error",code:r,message:t.message,origin:i,context_info:u({[a.Ae]:!0},n)};e.props.onError(o)}))}componentDidCatch(e,t){this.setState({error:e},()=>{this.handleError(e,a.pc,u({},t),this.props.errorOrigin)})}render(){const e=this.props,{children:t,errorComponent:r}=e,i=l(e,["children","errorComponent"]),{error:o}=this.state;return o?n.createElement(r,{error:o}):n.cloneElement(t,u({},i,{onError:this.handleError}))}}d(f,"defaultProps",{errorComponent:s.a,onError:o.a});var h=f;function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.a;return r=>n.forwardRef((i,o)=>n.createElement(h,p({errorComponent:t,errorOrigin:e},i),n.createElement(r,{ref:o})))};r.d(t,"a",(function(){return m}))},function(e,t,r){"use strict";var n=r(0),i=r(43);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{let{children:t,isDisabled:r,text:s}=e,l=a(e,["children","isDisabled","text"]);return r||!s?t:n.createElement(i.c,o({text:s},l),t)}},function(e,t,r){var n=r(425);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(138),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},,function(e,t,r){"use strict";var n=r(74);const i="localStore",o="0";t.a=class{constructor(){this.memoryStore=new n.a;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return"".concat(i,"/").concat(o,"/").concat(e)}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}}},,function(e,t,r){var n=r(34),i=r(214),o=r(422),a=r(100);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h}));var n=r(0),i=r(266),o=r(11),a=r(142);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){return Object.keys(e).reduce((r,n)=>(r[n]=s({timeZone:t},e[n]),r),{})}function c(e,t){return Object.keys(s(s({},e),t)).reduce((r,n)=>(r[n]=s(s({},e[n]||{}),t[n]||{}),r),{})}function u(e,t){if(!t)return e;const r=a.a.formats;return s(s(s({},r),e),{date:c(l(r.date,t),l(e.date||{},t)),time:c(l(r.time,t),l(e.time||{},t))})}const d=e=>n.createElement(n.Fragment,null,...e);function f(e,t){let{locale:r,formats:n,messages:a,defaultLocale:s,defaultFormats:l,onError:c,timeZone:f}=e,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{id:m,defaultMessage:b}=h;Object(i.a)(!!m,"[React Intl] An `id` must be provided to format a message.");const g=a&&a[String(m)];n=u(n,f),l=u(l,f);let y=[];if(g)try{y=t.getMessageFormat(g,r,n,{formatters:t}).formatHTMLMessage(p)}catch(e){c(Object(o.b)('Error formatting message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":""),e))}else(!b||r&&r.toLowerCase()!==s.toLowerCase())&&c(Object(o.b)('Missing message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":"")));if(!y.length&&b)try{y=t.getMessageFormat(b,s,l).formatHTMLMessage(p)}catch(e){c(Object(o.b)('Error formatting the default message for: "'.concat(m,'"'),e))}return y.length?1===y.length&&"string"==typeof y[0]?y[0]||b||String(m):d(y):(c(Object(o.b)('Cannot format message: "'.concat(m,'", ')+"using message ".concat(g||b?"source":"id"," as fallback."))),"string"==typeof g?g||b||String(m):b||String(m))}function h(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return f(e,t,r,Object.keys(n).reduce((e,t)=>{const r=n[t];return e[t]="string"==typeof r?Object(o.e)(r):r,e},{}))}},function(e,t,r){var n=r(225),i=r(308),o=r(88);e.exports=function(e){return o(e)?n(e):i(e)}},function(e,t,r){var n=r(477),i=r(482)((function(e,t,r){n(e,t,r)}));e.exports=i},,function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(400),i=r(45),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},,,,,function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i);t.a=n.createContext({closeMenu:o.a})},,function(e,t,r){"use strict";var n=r(0),i=r(54),o=r(107),a=r(11),s=r(85);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};const u=r.n(s).a||s,d=(e,t)=>Object(o.b)(l(l({},a.a),{locale:"en"}),Object(a.c)(),e,t);class f extends n.Component{shouldComponentUpdate(e){const t=this.props,{values:r}=t,n=c(t,["values"]),{values:i}=e,o=c(e,["values"]);return!u(i,r)||!u(n,o)}render(){return n.createElement(i.a.Consumer,null,e=>{this.props.defaultMessage||Object(a.h)(e);const{formatMessage:t=d,textComponent:r=n.Fragment}=e||{},{id:i,description:o,defaultMessage:s,values:l,children:c,tagName:u=r}=this.props;let f=t({id:i,description:o,defaultMessage:s},l);return Array.isArray(f)||(f=[f]),"function"==typeof c?c(...f):u?n.createElement(u,null,...f):f})}}f.displayName="FormattedMessage",f.defaultProps={values:{}},t.a=f},function(e,t,r){var n=r(486);e.exports=function(e){return n(e)&&e!=+e}},,,function(e,t,r){(function(e){var n=r(42),i=r(401),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l}).call(this,r(164)(e))},function(e,t,r){var n=r(410),i=r(170),o=r(411),a=r(348),s=r(330),l=r(60),c=r(223),u=c(n),d=c(i),f=c(o),h=c(a),p=c(s),m=l;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case u:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},,function(e,t,r){"use strict";var n=r(0),i=r(51),o=r.n(i),a=r(4),s=r.n(a),l=r(3),c=r.n(l),u=r(12),d=r.n(u),f=r(1);r(505);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p extends n.Component{constructor(){super(...arguments),h(this,"menuID",d()("menu")),h(this,"menuButtonID",d()("menubutton")),h(this,"state",{initialFocusIndex:null,isOpen:!1}),h(this,"openMenuAndSetFocusIndex",e=>{this.setState({initialFocusIndex:e,isOpen:!0})}),h(this,"closeMenu",e=>{const{onMenuClose:t=c.a}=this.props;this.setState({isOpen:!1},()=>t(e))}),h(this,"focusButton",()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()}),h(this,"handleButtonClick",e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)}),h(this,"handleButtonKeyDown",e=>{const{isOpen:t}=this.state;switch(e.key){case f.Be.space:case f.Be.enter:case f.Be.arrowDown:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case f.Be.arrowUp:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case f.Be.escape:t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}}),h(this,"handleMenuClose",(e,t)=>{this.closeMenu(t),this.focusButton()}),h(this,"handleDocumentClick",e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)})}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:e,children:t,className:r,constrainToScrollParent:i,constrainToWindow:a,constrainToWindowWithPin:l,isResponsive:c,isRightAligned:u,tetherAttachment:d,tetherTargetAttachment:f}=this.props,{isOpen:h,initialFocusIndex:p}=this.state,m=n.Children.toArray(t);if(2!==m.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const b=m[0],g=m[1],y={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":h?"true":"false"};void 0===b.props["aria-haspopup"]&&(y["aria-haspopup"]="true"),h&&(y["aria-controls"]=this.menuID);const v={id:this.menuID,key:this.menuID,initialFocusIndex:p,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let w="top left",k="bottom left";u&&(w="top right",k="bottom right");const E=[];i&&E.push({to:"scrollParent",attachment:"together"}),a&&E.push({to:"window",attachment:"together"}),l&&E.push({to:"window",attachment:"together",pin:!0});const x=e instanceof HTMLElement?e:document.body;return n.createElement(o.a,{attachment:d||w,bodyElement:x,className:s()({"bdl-DropdownMenu--responsive":c},r),classPrefix:"dropdown-menu",constraints:E,enabled:h,targetAttachment:f||k},n.cloneElement(b,y),h&&n.cloneElement(g,v))}}h(p,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1}),t.a=p},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(4),s=r.n(a),l=r(117);r(506);function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=".menu-item:not([aria-disabled])",f="ul:not(.submenu) > ".concat(d,", ul:not(.submenu) > li > ").concat(d,", ul:not(.submenu) > span > ").concat(d),h="ul.submenu > ".concat(d,", ul.submenu > li > ").concat(d,", ul.submenu > span > ").concat(d);function p(e){e.stopPropagation(),e.preventDefault()}class m extends n.Component{constructor(e){var t;super(e),t=this,u(this,"setInitialFocusIndex",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;const{initialFocusIndex:r,isHidden:n}=e;n||void 0===r||("number"==typeof r?setTimeout(()=>{t.setFocus(r)},0):null===r&&setTimeout(()=>{t.menuEl&&t.menuEl.focus()},0))})),u(this,"setMenuItemEls",()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?h:f);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]}),u(this,"getMenuItemElFromEventTarget",e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}}),u(this,"setFocus",e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()}),u(this,"focusFirstItem",()=>{this.setFocus(0)}),u(this,"focusLastItem",()=>{this.setFocus(-1)}),u(this,"focusNextItem",()=>{this.setFocus(this.focusIndex+1)}),u(this,"focusPreviousItem",()=>{this.setFocus(this.focusIndex-1)}),u(this,"fireOnCloseHandler",(e,t)=>{const{onClose:r}=this.props;r&&r(e,t)}),u(this,"handleClick",e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)}),u(this,"handleKeyDown",e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":p(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":p(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;p(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":p(e),this.focusFirstItem();break;case"End":case"PageDown":p(e),this.focusLastItem();break;case"Escape":p(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":p(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0}),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate(e){let{isHidden:t,children:r}=e;const{children:i,isHidden:o,isSubmenu:a}=this.props;if(a&&t&&!o&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),n.Children.toArray(r).length!==n.Children.toArray(i).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const e=this.props,{children:t,className:r,isHidden:i,setRef:a,shouldOutlineFocus:u}=e,d=c(e,["children","className","isHidden","setRef","shouldOutlineFocus"]),f=o()(d,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return f.className=s()("aria-menu",r,{"is-hidden":i,"should-outline-focus":u}),f.ref=e=>{this.menuEl=e,a&&a(e)},void 0===f.role&&(f.role="menu"),f.tabIndex=-1,f.onClick=this.handleClick,f.onKeyDown=this.handleKeyDown,n.createElement("ul",f,n.createElement(l.a.Provider,{value:{closeMenu:this.fireOnCloseHandler}},t))}}u(m,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1}),t.a=m},function(e,t,r){"use strict";var n=r(0),i=r.n(n),o=r(188);t.a=e=>{let{language:t,messages:r,children:a}=e;return!!t&&!!r?i.a.createElement(o.a,{locale:t,messages:r},a):n.Children.only(a)}},,,,function(e,t,r){var n=r(369),i=r(370),o=r(371),a=r(372),s=r(373);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(111);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(73)(Object,"create");e.exports=n},function(e,t,r){var n=r(393);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?r:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(225),i=r(405),o=r(88);e.exports=function(e){return o(e)?n(e,!0):i(e)}},function(e,t,r){var n=r(60),i=r(45),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&n(e)==o}},function(e,t,r){"use strict";(function(t){var n=r(32),i=r(453),o=r(239),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?l=r(240):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(l=r(240)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c}).call(this,r(198))},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},,function(e,t,r){"use strict";var n;function i(e){return e.type===n.literal}function o(e){return e.type===n.argument}function a(e){return e.type===n.number}function s(e){return e.type===n.date}function l(e){return e.type===n.time}function c(e){return e.type===n.select}function u(e){return e.type===n.plural}function d(e){return e.type===n.pound}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function h(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(n||(n={}));var p,m=(p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=function(e){function t(r,n,i,o){var a=e.call(this)||this;return a.message=r,a.expected=n,a.found=i,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return m(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?i(e[0])+"-"+i(e[1]):i(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+((a=t)?'"'+n(a)+'"':"end of input")+" found.";var a},t}(Error);var y=function(e,t){t=void 0!==t?t:{};var r,i={},o={start:ut},a=ut,s=function(e){return e.join("")},l=function(e){return b({type:n.literal,value:e},Mt())},c="#",u=nt("#",!1),d=function(){return b({type:n.pound},Mt())},f=ot("argumentElement"),h="{",p=nt("{",!1),m="}",y=nt("}",!1),v=function(e){return b({type:n.argument,value:e},Mt())},w=ot("numberSkeletonId"),k=/^['\/{}]/,E=it(["'","/","{","}"],!1,!1),x={type:"any"},C=ot("numberSkeletonTokenOption"),S="/",O=nt("/",!1),P=function(e){return e},A=ot("numberSkeletonToken"),_=function(e,t){return{stem:e,options:t}},I=function(e){return b({type:0,tokens:e},Mt())},T="::",D=nt("::",!1),M=function(e){return e},j=function(){return Tt.push("numberArgStyle"),!0},F=function(e){return Tt.pop(),e.replace(/\s*$/,"")},R=",",L=nt(",",!1),N="number",U=nt("number",!1),H=function(e,t,r){return b({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},Mt())},z="'",B=nt("'",!1),V=/^[^']/,W=it(["'"],!0,!1),q=/^[^a-zA-Z'{}]/,G=it([["a","z"],["A","Z"],"'","{","}"],!0,!1),X=/^[a-zA-Z]/,K=it([["a","z"],["A","Z"]],!1,!1),$=function(e){return b({type:1,pattern:e},Mt())},Q=function(){return Tt.push("dateOrTimeArgStyle"),!0},Y="date",J=nt("date",!1),Z="time",ee=nt("time",!1),te="plural",re=nt("plural",!1),ne="selectordinal",ie=nt("selectordinal",!1),oe="offset:",ae=nt("offset:",!1),se=function(e,t,r,i){return b({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:i.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&rt('Duplicate option "'+r+'" in plural element: "'+et()+'"',tt()),e[r]={value:n,location:i},e}),{})},Mt())},le="select",ce=nt("select",!1),ue=function(e,t){return b({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&rt('Duplicate option "'+r+'" in select element: "'+et()+'"',tt()),e[r]={value:n,location:i},e}),{})},Mt())},de="=",fe=nt("=",!1),he=function(e){return Tt.push("select"),!0},pe=function(e,t){return Tt.pop(),b({id:e,value:t},Mt())},me=function(e){return Tt.push("plural"),!0},be=function(e,t){return Tt.pop(),b({id:e,value:t},Mt())},ge=ot("whitespace"),ye=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ve=it([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),we=ot("syntax pattern"),ke=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ee=it([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),xe=ot("optional whitespace"),Ce=ot("number"),Se="-",Oe=nt("-",!1),Pe=function(e,t){return t?e?-t:t:0},Ae=(ot("apostrophe"),ot("double apostrophes")),_e="''",Ie=nt("''",!1),Te=function(){return"'"},De=function(e,t){return e+t.replace("''","'")},Me=function(e){return!("{"===e||Dt()&&"#"===e||Tt.length>1&&"}"===e)},je="\n",Fe=nt("\n",!1),Re=function(e){return"{"===e||"}"===e||Dt()&&"#"===e},Le=ot("argNameOrNumber"),Ne=ot("argNumber"),Ue="0",He=nt("0",!1),ze=function(){return 0},Be=/^[1-9]/,Ve=it([["1","9"]],!1,!1),We=/^[0-9]/,qe=it([["0","9"]],!1,!1),Ge=function(e){return parseInt(e.join(""),10)},Xe=ot("argName"),Ke=0,$e=0,Qe=[{line:1,column:1}],Ye=0,Je=[],Ze=0;if(void 0!==t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=o[t.startRule]}function et(){return e.substring($e,Ke)}function tt(){return st($e,Ke)}function rt(e,t){throw function(e,t){return new g(e,[],"",t)}(e,t=void 0!==t?t:st($e,Ke))}function nt(e,t){return{type:"literal",text:e,ignoreCase:t}}function it(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function ot(e){return{type:"other",description:e}}function at(t){var r,n=Qe[t];if(n)return n;for(r=t-1;!Qe[r];)r--;for(n={line:(n=Qe[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Qe[t]=n,n}function st(e,t){var r=at(e),n=at(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function lt(e){Ke<Ye||(Ke>Ye&&(Ye=Ke,Je=[]),Je.push(e))}function ct(e,t,r){return new g(g.buildMessage(e,t),e,t,r)}function ut(){return dt()}function dt(){var e,t;for(e=[],t=ft();t!==i;)e.push(t),t=ft();return e}function ft(){var t;return(t=function(){var e,t;e=Ke,(t=ht())!==i&&($e=e,t=l(t));return e=t}())===i&&(t=function(){var t,r,n,o;Ze++,t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(125===e.charCodeAt(Ke)?(o=m,Ke++):(o=i,0===Ze&&lt(y)),o!==i?($e=t,r=v(n),t=r):(Ke=t,t=i)):(Ke=t,t=i);Ze--,t===i&&(r=i,0===Ze&&lt(f));return t}())===i&&(t=function(){var t;(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i&&xt()!==i?(e.substr(Ke,6)===N?(a=N,Ke+=6):(a=i,0===Ze&&lt(U)),a!==i&&xt()!==i?(s=Ke,44===e.charCodeAt(Ke)?(l=R,Ke++):(l=i,0===Ze&&lt(L)),l!==i&&(c=xt())!==i&&(u=function(){var t,r,n;t=Ke,e.substr(Ke,2)===T?(r=T,Ke+=2):(r=i,0===Ze&&lt(D));r!==i&&(n=function(){var e,t,r;if(e=Ke,t=[],(r=bt())!==i)for(;r!==i;)t.push(r),r=bt();else t=i;t!==i&&($e=e,t=I(t));return e=t}())!==i?($e=t,r=M(n),t=r):(Ke=t,t=i);t===i&&(t=Ke,$e=Ke,(r=(r=j())?void 0:i)!==i&&(n=ht())!==i?($e=t,r=F(n),t=r):(Ke=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ke=s,s=i),s===i&&(s=null),s!==i&&(l=xt())!==i?(125===e.charCodeAt(Ke)?(c=m,Ke++):(c=i,0===Ze&&lt(y)),c!==i?($e=t,r=H(n,a,s),t=r):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i);return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i&&xt()!==i?(e.substr(Ke,4)===Y?(a=Y,Ke+=4):(a=i,0===Ze&&lt(J)),a===i&&(e.substr(Ke,4)===Z?(a=Z,Ke+=4):(a=i,0===Ze&&lt(ee))),a!==i&&xt()!==i?(s=Ke,44===e.charCodeAt(Ke)?(l=R,Ke++):(l=i,0===Ze&&lt(L)),l!==i&&(c=xt())!==i&&(u=function(){var t,r,n;t=Ke,e.substr(Ke,2)===T?(r=T,Ke+=2):(r=i,0===Ze&&lt(D));r!==i&&(n=function(){var t,r,n,o;t=Ke,r=Ke,n=[],(o=gt())===i&&(o=yt());if(o!==i)for(;o!==i;)n.push(o),(o=gt())===i&&(o=yt());else n=i;r=n!==i?e.substring(r,Ke):n;r!==i&&($e=t,r=$(r));return t=r}())!==i?($e=t,r=M(n),t=r):(Ke=t,t=i);t===i&&(t=Ke,$e=Ke,(r=(r=Q())?void 0:i)!==i&&(n=ht())!==i?($e=t,r=F(n),t=r):(Ke=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ke=s,s=i),s===i&&(s=null),s!==i&&(l=xt())!==i?(125===e.charCodeAt(Ke)?(c=m,Ke++):(c=i,0===Ze&&lt(y)),c!==i?($e=t,r=H(n,a,s),t=r):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i);return t}());return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u,d,f;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));if(r!==i)if(xt()!==i)if((n=At())!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i)if(xt()!==i)if(e.substr(Ke,6)===te?(a=te,Ke+=6):(a=i,0===Ze&&lt(re)),a===i&&(e.substr(Ke,13)===ne?(a=ne,Ke+=13):(a=i,0===Ze&&lt(ie))),a!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(s=R,Ke++):(s=i,0===Ze&&lt(L)),s!==i)if(xt()!==i)if(l=Ke,e.substr(Ke,7)===oe?(c=oe,Ke+=7):(c=i,0===Ze&&lt(ae)),c!==i&&(u=xt())!==i&&(d=Ct())!==i?l=c=[c,u,d]:(Ke=l,l=i),l===i&&(l=null),l!==i)if((c=xt())!==i){if(u=[],(d=wt())!==i)for(;d!==i;)u.push(d),d=wt();else u=i;u!==i&&(d=xt())!==i?(125===e.charCodeAt(Ke)?(f=m,Ke++):(f=i,0===Ze&&lt(y)),f!==i?($e=t,r=se(n,a,l,u),t=r):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));if(r!==i)if(xt()!==i)if((n=At())!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i)if(xt()!==i)if(e.substr(Ke,6)===le?(a=le,Ke+=6):(a=i,0===Ze&&lt(ce)),a!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(s=R,Ke++):(s=i,0===Ze&&lt(L)),s!==i)if(xt()!==i){if(l=[],(c=vt())!==i)for(;c!==i;)l.push(c),c=vt();else l=i;l!==i&&(c=xt())!==i?(125===e.charCodeAt(Ke)?(u=m,Ke++):(u=i,0===Ze&&lt(y)),u!==i?($e=t,r=ue(n,l),t=r):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;return t}())===i&&(t=function(){var t,r;t=Ke,35===e.charCodeAt(Ke)?(r=c,Ke++):(r=i,0===Ze&&lt(u));r!==i&&($e=t,r=d());return t=r}()),t}function ht(){var e,t,r;if(e=Ke,t=[],(r=St())===i&&(r=Ot())===i&&(r=Pt()),r!==i)for(;r!==i;)t.push(r),(r=St())===i&&(r=Ot())===i&&(r=Pt());else t=i;return t!==i&&($e=e,t=s(t)),e=t}function pt(){var t,r,n,o,a;if(Ze++,t=Ke,r=[],n=Ke,o=Ke,Ze++,(a=kt())===i&&(k.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(E))),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ke,o=Ke,Ze++,(a=kt())===i&&(k.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(E))),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i);else r=i;return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(w)),t}function mt(){var t,r,n;return Ze++,t=Ke,47===e.charCodeAt(Ke)?(r=S,Ke++):(r=i,0===Ze&&lt(O)),r!==i&&(n=pt())!==i?($e=t,t=r=P(n)):(Ke=t,t=i),Ze--,t===i&&(r=i,0===Ze&&lt(C)),t}function bt(){var e,t,r,n;if(Ze++,e=Ke,xt()!==i)if((t=pt())!==i){for(r=[],n=mt();n!==i;)r.push(n),n=mt();r!==i?($e=e,e=_(t,r)):(Ke=e,e=i)}else Ke=e,e=i;else Ke=e,e=i;return Ze--,e===i&&(i,0===Ze&&lt(A)),e}function gt(){var t,r,n,o;if(t=Ke,39===e.charCodeAt(Ke)?(r=z,Ke++):(r=i,0===Ze&&lt(B)),r!==i){if(n=[],(o=St())===i&&(V.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=i,0===Ze&&lt(W))),o!==i)for(;o!==i;)n.push(o),(o=St())===i&&(V.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=i,0===Ze&&lt(W)));else n=i;n!==i?(39===e.charCodeAt(Ke)?(o=z,Ke++):(o=i,0===Ze&&lt(B)),o!==i?t=r=[r,n,o]:(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;if(t===i)if(t=[],(r=St())===i&&(q.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(G))),r!==i)for(;r!==i;)t.push(r),(r=St())===i&&(q.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(G)));else t=i;return t}function yt(){var t,r;if(t=[],X.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(K)),r!==i)for(;r!==i;)t.push(r),X.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(K));else t=i;return t}function vt(){var t,r,n,o,a;return t=Ke,xt()!==i&&(r=It())!==i&&xt()!==i?(123===e.charCodeAt(Ke)?(n=h,Ke++):(n=i,0===Ze&&lt(p)),n!==i?($e=Ke,(he(r)?void 0:i)!==i&&(o=dt())!==i?(125===e.charCodeAt(Ke)?(a=m,Ke++):(a=i,0===Ze&&lt(y)),a!==i?($e=t,t=pe(r,o)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i),t}function wt(){var t,r,n,o,a;return t=Ke,xt()!==i&&(r=function(){var t,r,n,o;return t=Ke,r=Ke,61===e.charCodeAt(Ke)?(n=de,Ke++):(n=i,0===Ze&&lt(fe)),n!==i&&(o=Ct())!==i?r=n=[n,o]:(Ke=r,r=i),(t=r!==i?e.substring(t,Ke):r)===i&&(t=It()),t}())!==i&&xt()!==i?(123===e.charCodeAt(Ke)?(n=h,Ke++):(n=i,0===Ze&&lt(p)),n!==i?($e=Ke,(me(r)?void 0:i)!==i&&(o=dt())!==i?(125===e.charCodeAt(Ke)?(a=m,Ke++):(a=i,0===Ze&&lt(y)),a!==i?($e=t,t=be(r,o)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i),t}function kt(){var t;return Ze++,ye.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=i,0===Ze&&lt(ve)),Ze--,t===i&&(i,0===Ze&&lt(ge)),t}function Et(){var t;return Ze++,ke.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=i,0===Ze&&lt(Ee)),Ze--,t===i&&(i,0===Ze&&lt(we)),t}function xt(){var t,r,n;for(Ze++,t=Ke,r=[],n=kt();n!==i;)r.push(n),n=kt();return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(xe)),t}function Ct(){var t,r,n;return Ze++,t=Ke,45===e.charCodeAt(Ke)?(r=Se,Ke++):(r=i,0===Ze&&lt(Oe)),r===i&&(r=null),r!==i&&(n=_t())!==i?($e=t,t=r=Pe(r,n)):(Ke=t,t=i),Ze--,t===i&&(r=i,0===Ze&&lt(Ce)),t}function St(){var t,r;return Ze++,t=Ke,e.substr(Ke,2)===_e?(r=_e,Ke+=2):(r=i,0===Ze&&lt(Ie)),r!==i&&($e=t,r=Te()),Ze--,(t=r)===i&&(r=i,0===Ze&&lt(Ae)),t}function Ot(){var t,r,n,o,a,s;if(t=Ke,39===e.charCodeAt(Ke)?(r=z,Ke++):(r=i,0===Ze&&lt(B)),r!==i)if((n=function(){var t,r,n,o;t=Ke,r=Ke,e.length>Ke?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(x));n!==i?($e=Ke,(o=(o=Re(n))?void 0:i)!==i?r=n=[n,o]:(Ke=r,r=i)):(Ke=r,r=i);t=r!==i?e.substring(t,Ke):r;return t}())!==i){for(o=Ke,a=[],e.substr(Ke,2)===_e?(s=_e,Ke+=2):(s=i,0===Ze&&lt(Ie)),s===i&&(V.test(e.charAt(Ke))?(s=e.charAt(Ke),Ke++):(s=i,0===Ze&&lt(W)));s!==i;)a.push(s),e.substr(Ke,2)===_e?(s=_e,Ke+=2):(s=i,0===Ze&&lt(Ie)),s===i&&(V.test(e.charAt(Ke))?(s=e.charAt(Ke),Ke++):(s=i,0===Ze&&lt(W)));(o=a!==i?e.substring(o,Ke):a)!==i?(39===e.charCodeAt(Ke)?(a=z,Ke++):(a=i,0===Ze&&lt(B)),a===i&&(a=null),a!==i?($e=t,t=r=De(n,o)):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;return t}function Pt(){var t,r,n,o;return t=Ke,r=Ke,e.length>Ke?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(x)),n!==i?($e=Ke,(o=(o=Me(n))?void 0:i)!==i?r=n=[n,o]:(Ke=r,r=i)):(Ke=r,r=i),r===i&&(10===e.charCodeAt(Ke)?(r=je,Ke++):(r=i,0===Ze&&lt(Fe))),t=r!==i?e.substring(t,Ke):r}function At(){var t,r;return Ze++,t=Ke,(r=_t())===i&&(r=It()),t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(Le)),t}function _t(){var t,r,n,o,a;if(Ze++,t=Ke,48===e.charCodeAt(Ke)?(r=Ue,Ke++):(r=i,0===Ze&&lt(He)),r!==i&&($e=t,r=ze()),(t=r)===i){if(t=Ke,r=Ke,Be.test(e.charAt(Ke))?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(Ve)),n!==i){for(o=[],We.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(qe));a!==i;)o.push(a),We.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(qe));o!==i?r=n=[n,o]:(Ke=r,r=i)}else Ke=r,r=i;r!==i&&($e=t,r=Ge(r)),t=r}return Ze--,t===i&&(r=i,0===Ze&&lt(Ne)),t}function It(){var t,r,n,o,a;if(Ze++,t=Ke,r=[],n=Ke,o=Ke,Ze++,(a=kt())===i&&(a=Et()),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ke,o=Ke,Ze++,(a=kt())===i&&(a=Et()),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i);else r=i;return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(Xe)),t}var Tt=["root"];function Dt(){return"plural"===Tt[Tt.length-1]}function Mt(){return t&&t.captureLocation?{location:tt()}:{}}if((r=a())!==i&&Ke===e.length)return r;throw r!==i&&Ke<e.length&&lt({type:"end"}),ct(Je,Ye<e.length?e.charAt(Ye):null,Ye<e.length?st(Ye,Ye+1):st(Ye,Ye))},v=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},w=/(^|[^\\])#/g;function k(e,t){var r=y(e,t);return t&&!1===t.normalizeHashtagInPlural||function e(t){t.forEach((function(t){(u(t)||c(t))&&Object.keys(t.options).forEach((function(r){for(var n,o=t.options[r],a=-1,s=void 0,l=0;l<o.value.length;l++){var c=o.value[l];if(i(c)&&w.test(c.value)){a=l,s=c;break}}if(s){var u=s.value.replace(w,"$1{"+t.value+", number}"),d=y(u);(n=o.value).splice.apply(n,v([a,1],d))}e(o.value)}))}))}(r),r}var E=r(49),x=function(){return(x=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},C=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function S(e){var t={};return e.replace(C,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""})),t}var O=/^\.(?:(0+)(\+|#+)?)?$/g,P=/^(@+)?(\+|#+)?$/g;function A(e){var t={};return e.replace(P,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function I(e){var t=_(e);return t||{}}function T(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=x(x(x({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return x(x({},e),I(t))}),{}));continue;case"engineering":t=x(x(x({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return x(x({},e),I(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(O.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(O,(function(e,r,n){return"."===e?t.maximumFractionDigits=0:"+"===n?t.minimumFractionDigits=n.length:"#"===r[0]?t.maximumFractionDigits=r.length:(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+("string"==typeof n?n.length:0)),""})),i.options.length&&(t=x(x({},t),A(i.options[0])))}else if(P.test(i.stem))t=x(x({},t),A(i.stem));else{var o=_(i.stem);o&&(t=x(x({},t),o))}}return t}var D,M=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),j=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},F=function(e){function t(t,r){var n=e.call(this,t)||this;return n.variableId=r,n}return M(t,e),t}(Error);function R(e,t,r,n,p,m,b){if(1===e.length&&i(e[0]))return[{type:0,value:e[0].value}];for(var g,y=[],v=0,w=e;v<w.length;v++){var k=w[v];if(i(k))y.push({type:0,value:k.value});else if(d(k))"number"==typeof m&&y.push({type:0,value:r.getNumberFormat(t).format(m)});else{var E=k.value;if(!(p&&E in p))throw new F('The intl string context variable "'+E+'" was not provided to the string "'+b+'"');var x=p[E];if(o(k))x&&"string"!=typeof x&&"number"!=typeof x||(x="string"==typeof x||"number"==typeof x?String(x):""),y.push({type:1,value:x});else if(s(k)){var C="string"==typeof k.style?n.date[k.style]:void 0;y.push({type:0,value:r.getDateTimeFormat(t,C).format(x)})}else if(l(k)){C="string"==typeof k.style?n.time[k.style]:h(k.style)?S(k.style.pattern):void 0;y.push({type:0,value:r.getDateTimeFormat(t,C).format(x)})}else if(a(k)){C="string"==typeof k.style?n.number[k.style]:f(k.style)?T(k.style.tokens):void 0;y.push({type:0,value:r.getNumberFormat(t,C).format(x)})}else if(c(k)){if(!(O=k.options[x]||k.options.other))throw new RangeError('Invalid values for "'+k.value+'": "'+x+'". Options are "'+Object.keys(k.options).join('", "')+'"');y.push.apply(y,R(O.value,t,r,n,p))}else if(u(k)){var O;if(!(O=k.options["="+x])){if(!Intl.PluralRules)throw new F('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var P=r.getPluralRules(t,{type:k.pluralType}).select(x-(k.offset||0));O=k.options[P]||k.options.other}if(!O)throw new RangeError('Invalid values for "'+k.value+'": "'+x+'". Options are "'+Object.keys(k.options).join('", "')+'"');y.push.apply(y,R(O.value,t,r,n,p,x-(k.offset||0)))}else;}}return(g=y).length<2?g:g.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}var L="@@",N=/@@(\d+_\d+)@@/g,U=0;function H(e,t){return e.split(N).filter(Boolean).map((function(e){return null!=t[e]?t[e]:e})).reduce((function(e,t){return e.length&&"string"==typeof t&&"string"==typeof e[e.length-1]?e[e.length-1]+=t:e.push(t),e}),[])}var z=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,B=Date.now()+"@@",V=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function W(e,t,r,n,i,o){var a=R(e,t,r,n,i,void 0,o),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var r=Date.now()+"_"+ ++U;return s[r]=t.value,e+""+L+r+L}),"");if(!z.test(l))return H(l,s);if(!i)throw new F("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new F("Cannot format XML message without DOMParser");D||(D=new DOMParser);var c=D.parseFromString('<formatted-message id="'+B+'">'+l+"</formatted-message>","text/html").getElementById(B);if(!c)throw new F("Malformed HTML message "+l);var u=Object.keys(i).filter((function(e){return!!c.getElementsByTagName(e).length}));if(!u.length)return H(l,s);var d=u.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new F("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(c.childNodes).reduce((function(e,t){return e.concat(function e(t,r,n){var i=t.tagName,o=t.outerHTML,a=t.textContent,s=t.childNodes;if(!i)return H(a||"",r);i=i.toLowerCase();var l=~V.indexOf(i),c=n[i];if(c&&l)throw new F(i+" is a self-closing tag and can not be used, please use another tag name.");if(!s.length)return[o];var u=Array.prototype.slice.call(s).reduce((function(t,i){return t.concat(e(i,r,n))}),[]);return c?"function"==typeof c?[c.apply(void 0,u)]:[c]:j(["<"+i+">"],u,["</"+i+">"])}(t,s,i))}),[])}var q=function(){return(q=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function G(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?q(q(q({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=q(q({},i[t]),o[t]||{}),e}),{})):i),r}),q({},e)):e}var X=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return function(e,t,r,n,i,o){var a=R(e,t,r,n,i,void 0,o);return 1===a.length?a[0].value:a.reduce((function(e,t){return e+t.value}),"")}(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.formatToParts=function(e){return R(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.formatHTMLMessage=function(e){return W(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=G(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(E.a)(Intl.NumberFormat,o.number),getDateTimeFormat:Object(E.a)(Intl.DateTimeFormat,o.dateTime),getPluralRules:Object(E.a)(Intl.PluralRules,o.pluralRules)})}return e.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,e.__parse=k,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();t.a=X},function(e,t,r){"use strict";var n=r(0),i=r(156);r(508);t.a=e=>{let{children:t}=e;return n.createElement("span",{className:"menu-toggle"},t,n.createElement(i.a,{className:"toggle-arrow",width:7}))}},,function(e,t,r){"use strict";var n=r(0),i=r(12),o=r.n(i),a=r(51),s=r.n(a);r(444);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let d;!function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(d||(d={}));const f={[d.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[d.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[d.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[d.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[d.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[d.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[d.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[d.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[d.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class h extends n.Component{constructor(){super(...arguments),u(this,"tetherRef",n.createRef()),u(this,"radarAnimationID",o()("radarAnimation")),u(this,"position",()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()})}render(){const e=this.props,{children:t,className:r="",constrainToScrollParent:i,constrainToWindow:o,position:a,isShown:u,offset:d,tetherElementClassName:h}=e,p=c(e,["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"]),m=[];i&&m.push({to:"scrollParent",attachment:"together"}),o&&m.push({to:"window",attachment:"together"});const{attachment:b,targetAttachment:g}=f[a],y=n.Children.only(t),v=n.cloneElement(y,{"aria-describedby":this.radarAnimationID}),w={attachment:b,classPrefix:"radar-animation",constraints:m,targetAttachment:g};return h&&(w.className=h),d&&(w.offset=d),n.createElement(s.a,l({ref:this.tetherRef},w),v,u&&n.createElement("div",l({className:"radar ".concat(r),id:this.radarAnimationID},p),n.createElement("div",{className:"radar-dot"}),n.createElement("div",{className:"radar-circle"})))}}u(h,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:d.MIDDLE_RIGHT});var p=h;r.d(t,"a",(function(){return p}))},,,,,,function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(10);t.a=e=>{let{className:t="",color:r="#000",height:o=6,title:a,width:s=10}=e;return n.createElement(i.a,{className:"icon-caret-down ".concat(t),height:o,title:a,viewBox:"0 0 10 6",width:s},n.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"}))}},,,,function(e,t,r){var n=r(349),i=r(88),o=r(270),a=r(314),s=r(467),l=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),o(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},,,function(e,t,r){var n=r(132),i=r(374),o=r(375),a=r(376),s=r(377),l=r(378);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(402),i=r(175),o=r(176),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,r){"use strict";var n=r(0),i=r(31);function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{const t=t=>{let{isLoading:r=!1,loadingIndicatorProps:a={}}=t,s=o(t,["isLoading","loadingIndicatorProps"]);return r?n.createElement(i.b,a):n.createElement(e,s)};return t.displayName="Loadable".concat(e.displayName||e.name||"Component"),t}},function(e,t,r){"use strict";var n=r(0),i=r(281),o=r(282),a=r(283),s=r(284),l=r(211),c=r(285),u=r(286),d=r(287),f=r(288),h=r(289),p=r(290),m=r(291),b=r(292),g=r(293),y=r(294),v=r(295),w=r(296),k=r(297),E=r(298),x=r(299),C=r(300),S=r(207),O=r(301),P=r(302),A=r(212),_=r(303),I=r(304),T=r(305),D=r(306);const M={IconFileAudio:i.a,IconFileBoxCanvas:o.a,IconFileBoxNote:a.a,IconFileCode:s.a,IconFileDefault:l.a,IconFileDocument:S.a,IconFileDwg:c.a,IconFileExcelSpreadsheet:u.a,IconFileGoogleDocs:d.a,IconFileGoogleSheets:f.a,IconFileGoogleSlides:h.a,IconFileIllustrator:p.a,IconFileImage:m.a,IconFileIndesign:b.a,IconFileKeynote:g.a,IconFileNumbers:y.a,IconFilePages:v.a,IconFilePDF:w.a,IconFilePhotoshop:k.a,IconFilePowerpointPresentation:E.a,IconFilePresentation:x.a,IconFileSpreadsheet:C.a,IconFileText:S.a,IconFileThreeD:O.a,IconFileVector:P.a,IconFileVideo:A.a,IconFileWordDocument:_.a,IconFileXbd:I.a,IconFileXdw:T.a,IconFileZip:D.a},j=e=>e.reduce((e,t)=>(e[t]=t,e),{}),F={IconFileAudio:j(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),IconFileBoxCanvas:j(["boxcanvas"]),IconFileBoxNote:j(["boxnote"]),IconFileCode:j(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),IconFileDocument:j(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),IconFileDwg:j(["dwg","dwgzip"]),IconFileExcelSpreadsheet:j(["xls","xlsx","xlsm","xlsb"]),IconFileGoogleDocs:j(["gdoc"]),IconFileGoogleSheets:j(["gsheet"]),IconFileGoogleSlides:j(["gslide","gslides"]),IconFileVector:j(["eps"]),IconFileIllustrator:j(["ai"]),IconFileIndesign:j(["idml","indd","indt","inx"]),IconFileKeynote:j(["key"]),IconFileNumbers:j(["numbers"]),IconFilePages:j(["pages"]),IconFileImage:j(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),IconFilePDF:j(["pdf"]),IconFilePresentation:j(["odp","otp","pot","potx"]),IconFilePowerpointPresentation:j(["ppt","pptx","pptm"]),IconFilePhotoshop:j(["psd"]),IconFileSpreadsheet:j(["csv","ods","tsv","xlt","xltx"]),IconFileText:j(["txt","vi","vim","webdoc"]),IconFileThreeD:j(["3ds","dae","fbx","obj","ply","stl"]),IconFileVideo:j(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),IconFileWordDocument:j(["docx","doc","docm"]),IconFileXbd:j(["xbd"]),IconFileXdw:j(["xdw"]),IconFileZip:j(["rar","tgz","zip"])};t.a=e=>{let{dimension:t=32,extension:r="",title:i}=e;const o=M[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=Object.keys(F).filter(t=>!!F[t][e.toLowerCase()])[0];return t||"IconFileDefault"}(r)];return n.createElement(o,{height:t,title:i,width:t})}},,function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(73)(r(42),"Map");e.exports=n},function(e,t,r){var n=r(60),i=r(39),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=n(e);return t==a||t==s||t==o||t==l}},function(e,t,r){var n=r(173),i=r(111),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(224);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(222),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,r(164)(e))},function(e,t,r){var n=r(408),i=r(228),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(226)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(310);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},,function(e,t,r){"use strict";var n=r(435),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(o[g]||n&&n[g]||m&&m[g]||s&&s[g])){var y=f(r,g);try{c(t,g,y)}catch(e){}}}}return t}},function(e,t,r){var n=r(446),i=r(312);e.exports=function(e,t){return null!=e&&i(e,t,n)}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(54),o=r(11);const a=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function s(e,t){let{locale:r,formats:n,onError:i}=e,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:l}=s,c=l&&Object(o.g)(n,"number",l,i)||{};return t(r,Object(o.f)(s,a,c))}function l(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).format(r)}catch(t){e.onError(Object(o.b)("Error formatting number.",t))}return String(r)}function c(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).formatToParts(r)}catch(t){e.onError(Object(o.b)("Error formatting number.",t))}return[]}const u=["numeric","style"];function d(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};n||(n="second"),Intl.RelativeTimeFormat||e.onError(Object(o.b)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t){let{locale:r,formats:n,onError:i}=e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:s}=a,l=!!s&&Object(o.g)(n,"relative",s,i)||{};return t(r,Object(o.f)(a,u,l))}(e,t,i).format(r,n)}catch(t){e.onError(Object(o.b)("Error formatting relative time.",t))}return String(r)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const h=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function p(e,t,r){let{locale:n,formats:i,onError:a,timeZone:s}=e,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{format:c}=l,u=f(f({},s&&{timeZone:s}),c&&Object(o.g)(i,t,c,a));let d=Object(o.f)(l,h,u);return"time"!==t||d.hour||d.minute||d.second||(d=f(f({},d),{hour:"numeric",minute:"numeric"})),r(n,d)}function m(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).format(i)}catch(t){e.onError(Object(o.b)("Error formatting date.",t))}return String(i)}function b(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).format(i)}catch(t){e.onError(Object(o.b)("Error formatting time.",t))}return String(i)}function g(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).formatToParts(i)}catch(t){e.onError(Object(o.b)("Error formatting date.",t))}return[]}function y(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).formatToParts(i)}catch(t){e.onError(Object(o.b)("Error formatting time.",t))}return[]}const v=["localeMatcher","type"];function w(e,t,r){let{locale:n,onError:i}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||i(Object(o.b)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));const s=Object(o.f)(a,v);try{return t(n,s).select(r)}catch(e){i(Object(o.b)("Error formatting plural.",e))}return"other"}var k=r(107),E=r(85),x=r.n(E);const C=["localeMatcher","type","style"],S=Date.now();function O(e,t,r){let{locale:n,onError:i}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||i(Object(o.b)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));const s=Object(o.f)(a,C);try{const e={},i=r.map((t,r)=>{if("object"==typeof t){const n=function(e){return"".concat(S,"_").concat(e,"_").concat(S)}(r);return e[n]=t,n}return String(t)});return Object.keys(e).length?t(n,s).formatToParts(i).reduce((t,r)=>{const n=r.value;return e[n]?t.push(e[n]):"string"==typeof t[t.length-1]?t[t.length-1]+=n:t.push(n),t},[]):t(n,s).format(i)}catch(e){i(Object(o.b)("Error formatting list.",e))}return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return T}));const A=x.a||E;function _(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function I(e,t){const r=Object(o.c)(t),n=P(P({},o.a),e);if(!n.locale||!function(e,t){if("undefined"==typeof Intl)return!1;if(!e)throw new Error("locales must be supplied.");Array.isArray(e)||(e=[e]);var r=t||[Intl.DateTimeFormat,Intl.NumberFormat,Intl.PluralRules];return!(0===(r=r.filter(Boolean)).length||t&&r.length!==t.length)&&r.every((function(t){return t.supportedLocalesOf(e).length===e.length}))}(n.locale)){const{locale:e,defaultLocale:t,onError:r}=n;"function"==typeof r&&r(Object(o.b)('Missing locale data for locale: "'.concat(e,'". ')+'Using default locale: "'.concat(t,'" as fallback.'))),n.locale=n.defaultLocale||"en"}return P(P({},n),{formatters:r,formatNumber:l.bind(null,n,r.getNumberFormat),formatNumberToParts:c.bind(null,n,r.getNumberFormat),formatRelativeTime:d.bind(null,n,r.getRelativeTimeFormat),formatDate:m.bind(null,n,r.getDateTimeFormat),formatDateToParts:g.bind(null,n,r.getDateTimeFormat),formatTime:b.bind(null,n,r.getDateTimeFormat),formatTimeToParts:y.bind(null,n,r.getDateTimeFormat),formatPlural:w.bind(null,n,r.getPluralRules),formatMessage:k.b.bind(null,n,r),formatHTMLMessage:k.a.bind(null,n,r),formatList:O.bind(null,n,r.getListFormat)})}class T extends n.PureComponent{constructor(){super(...arguments),this.cache=Object(o.d)(),this.state={cache:this.cache,intl:I(_(this.props),this.cache),prevConfig:_(this.props)}}static getDerivedStateFromProps(e,t){let{prevConfig:r,cache:n}=t;const i=_(e);return A(r,i)?null:{intl:I(i,n),prevConfig:i}}render(){return Object(o.h)(this.state.intl),n.createElement(i.b,{value:this.state.intl},this.props.children)}}T.displayName="IntlProvider",T.defaultProps=o.a},,function(e,t,r){"use strict";var n=r(0),i=r(119),o=r(204),a=r(5);r(638);t.a=()=>n.createElement("section",{className:"be-default-error"},n.createElement(o.a,{errorHeader:n.createElement(i.a,a.a.defaultErrorMaskHeaderMessage),errorSubHeader:n.createElement(i.a,a.a.defaultErrorMaskSubHeaderMessage)}))},,function(e,t,r){var n=r(385),i=r(392),o=r(394),a=r(395),s=r(396);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(105),i=r(101);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},function(e,t){e.exports=function(e){return e}},,,function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,,function(e,t,r){"use strict";var n=r(74),i=r(3),o=r.n(i),a=r(120),s=r.n(a),l=r(25),c=r(76),u=r(256),d=r.n(u);function f(){return window.crypto||window.msCrypto}function h(e,t){const r=f();return r!==window.msCrypto?r.subtle.digest(e,t):new Promise((n,i)=>{if("SHA-1"===e)try{const e=d.a.arrayBuffer(t);n(e)}catch(e){i(e)}else{const o=r.subtle.digest({name:e},t);o.oncomplete=e=>{n(e.target.result)},o.onerror=i}})}function p(e,t,r){"use asm";var n=new e.Int32Array(r);function i(e,t){e=e|0;t=t|0;var r=0,i=0,o=0,a=0,s=0,l=0,c=0,u=0,d=0,f=0,h=0,p=0,m=0,b=0;o=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;h=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=o;l=s;u=c;f=d;p=h;for(i=0;(i|0)<64;i=i+4|0){b=n[r+i>>2]|0;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[e+i>>2]=b}for(i=e+64|0;(i|0)<(e+80|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+80|0;(i|0)<(e+160|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+h|0)+1859775393|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+160|0;(i|0)<(e+240|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|s&d|c&d)|0)+((b+h|0)-1894007588|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+240|0;(i|0)<(e+320|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+h|0)-899497514|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}o=o+a|0;s=s+l|0;c=c+u|0;d=d+f|0;h=h+p|0}n[t+320>>2]=o;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=h}return{hash:i}}var m=()=>{const e=new Blob(["const RushaCore = ".concat(p.toString()),";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:i,fileSize:o,partContents:a}=n,s=Date.now();try{if(i.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=i.size,i.offset+i.size===o){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:i};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r},b=r(59),g=r(1),y=r(8),v=r.n(y),w=r(257),k=r.n(w);var E=r(15);function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=5,S=10;class O extends E.a{constructor(){super(...arguments),x(this,"retryCount",0),x(this,"reachabilityRetryCount",0),x(this,"isUploadFallbackLogicEnabled",!1),x(this,"makePreflightRequest",()=>{if(this.isDestroyed())return;let e="".concat(this.getBaseApiUrl(),"/files/content");if(this.fileId&&(e=e.replace("content","".concat(this.fileId,"/content"))),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+="?unreachable_hosts=".concat(t.join(",")))}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})}),x(this,"preflightSuccessReachabilityHandler",async e=>{let{data:t}=e;if(this.isDestroyed())return;const{upload_url:r}=t;if(!r)return void this.preflightSuccessHandler({data:t});const n=this.getUploadHostFromUrl(r);n!=="".concat(g.X,"/")&&n!=="".concat(g.Y,"/")&&n!=="".concat(g.Z,"/")?await this.uploadsReachability.isReachable(n)?this.preflightSuccessHandler({data:t}):this.reachabilityRetryCount>=S?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest()):this.preflightSuccessHandler({data:t})}),x(this,"preflightErrorHandler",e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=C)this.errorCallback(t);else if(t&&409===t.status){if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(e)}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*g.Ke),this.retryCount+=1);else{let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*g.Ke)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}})}readFile(e,t){return new Promise((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n})}getUploadHostFromUrl(e){const t=e.split("/");return"".concat(t[0],"//").concat(t[2],"/")}}var P=O;function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5};var T=class extends P{constructor(e,t,r){super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{shouldRetry:!1})),_(this,"logEvent",(e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})}),this.config=r||I,this.sessionEndpoints=t}};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M=0,j=1,F=2,R=3;var L=class extends T{constructor(e,t,r,n,i,a,s,u,d,f,h,p){super(e,s,u),D(this,"toJSON",()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha256:this.sha256,timing:this.timing})),D(this,"getPart",()=>this.data.part||{}),D(this,"upload",()=>{if(this.isDestroyedOrPaused())return;if(!this.sha256)throw new Error("Part SHA-256 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:"sha-256=".concat(this.sha256),"Content-Range":"bytes ".concat(this.offset,"-").concat(this.rangeEnd,"/").concat(this.fileSize),"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=F,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:g.oe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})}),D(this,"uploadSuccessHandler",e=>{let{data:t}=e;this.isDestroyedOrPaused()||(this.state=R,this.consoleLog("Upload completed: ".concat(this.toJSON(),".")),this.data=t,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)}),D(this,"uploadProgressHandler",e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)}),D(this,"uploadErrorHandler",async e=>{if(this.isDestroyedOrPaused())return;const t=v()(this.xhr,"xhr.readyState",null),r=v()(this.xhr,"xhr.statusText","");this.consoleLog("Upload failure ".concat(e.message," for part ").concat(this.toJSON(),". XHR state: ").concat(t,"."));const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},i=JSON.stringify(n);if(this.sessionEndpoints.logEvent?Object(c.a)((e,t)=>{this.logEvent("part_failure",i).then(e).catch(t)},this.config.retries,this.config.initialRetryDelayMs).catch(e=>this.consoleLog("Failure in logEvent: ".concat(e.message))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,i);const o=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog("Retrying uploading part ".concat(this.toJSON()," in ").concat(o," ms")),this.retryTimeout=setTimeout(this.retryUpload,o)}),D(this,"retryUpload",async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog("Part ".concat(this.toJSON()," is available on server. Not re-uploading.")),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog("Part ".concat(this.toJSON()," is not available on server. Re-uploading.")),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog("Error ".concat(t.status," while listing part ").concat(this.toJSON(),". Re-uploading.")),this.numUploadRetriesPerformed+=1,this.upload()}}),D(this,"listParts",async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new k.a(e);return Object.keys(t).forEach(e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))}),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries}),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=i,this.state=M,this.timing={},this.uploadedBytes=0,this.data={},this.config=u,this.rangeEnd=r+n-1,this.rangeEnd>i-1&&(this.rangeEnd=i-1),this.isPaused=!1,this.onSuccess=f||o.a,this.onError=p||o.a,this.onProgress=h||o.a,this.getNumPartsUploading=d}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=j,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=F,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){H(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z="create_session_misc_error",B="create_session_retries_exceeded",V="file_changed_during_upload",W="part_upload_retries_exceeded",q="commit_retries_exceeded",G="web_worker_error",X="file_reader_received_not_found_error",K="part_digest_retries_exceeded";var $=class extends T{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),H(this,"getBaseUploadUrlFromPreflightResponse",e=>{let{data:t}=e;if(!t||!t.upload_url)return this.getBaseUploadUrl();const r=t.upload_url.split("/");return this.uploadHost="".concat(r[0],"//").concat(r[2]),this.getBaseUploadUrl()}),H(this,"preflightSuccessHandler",async e=>{if(this.isDestroyed())return;const t=this.getBaseUploadUrlFromPreflightResponse(e);let r="".concat(t,"/files/upload_sessions");r.includes("fupload-ec2")&&(this.config.parallelism=1);const n={file_size:this.file.size,file_name:this.fileName};this.fileId?r=r.replace("upload_sessions","".concat(this.fileId,"/upload_sessions")):n.folder_id=this.folderId;try{const e=await this.xhr.post({url:r,data:n});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&t.status===g.re&&t.code===g.Cc||t.status===g.re&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return this.resolveConflict(t),void this.createSessionRetry();this.sessionErrorHandler(e,z,JSON.stringify(e))}}),H(this,"createSessionErrorHandler",e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,B,JSON.stringify(e))))}),H(this,"getSessionInfo",async()=>{const e=this.getBaseUploadUrl(),t="".concat(e,"/files/upload_sessions/").concat(this.sessionId);try{const e=await this.xhr.get({url:t});this.getSessionSuccessHandler(e.data)}catch(e){this.getSessionErrorHandler(e)}}),H(this,"partUploadSuccessHandler",e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()}),H(this,"partUploadErrorHandler",(e,t)=>{if(this.sessionErrorHandler(e,W,t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&t.state===F&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}}),H(this,"updateProgress",(e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))}),H(this,"processNextParts",()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}}),H(this,"onWorkerMessage",e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){this.numPartsDigestComputing-=1;const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=function(e){return btoa(String.fromCharCode.apply(null,e.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))}(t.sha1),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,G,JSON.stringify(t))}),H(this,"sendPartToWorker",(e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog("Part sent to worker: ".concat(JSON.stringify(e),".}"))}),H(this,"onPartDigestError",(e,t)=>{if(this.consoleLog("Error computing digest for part ".concat(JSON.stringify(t),": ").concat(JSON.stringify(e))),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,X,JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,K,JSON.stringify(e));const r=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog("Retrying digest work for part ".concat(JSON.stringify(t)," in ").concat(r," ms")),setTimeout(()=>{this.computeDigestForPart(t)},r)}),H(this,"commitSession",()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map(t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart())).sort((e,t)=>e.offset-t.offset),attributes:{}},r=Object(l.k)(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},i=this.fileSha1,o={Digest:"sha=".concat(i),"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:o}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)}),H(this,"commitSessionSuccessHandler",e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)}),H(this,"commitSessionErrorHandler",e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,q,JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)}),H(this,"getNumPartsUploading",()=>this.numPartsUploading),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo(e){let{file:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.file=t,this.fileName=this.file.name,this.folderId=r,this.errorCallback=n||o.a,this.progressCallback=i||o.a,this.successCallback=a||o.a,this.overwrite=s,this.conflictCallback=l,this.fileId=c}upload(e){let{file:t,fileDescription:r,folderId:n,errorCallback:i,progressCallback:a,successCallback:s,overwrite:c=!0,conflictCallback:u,fileId:d}=e;this.file=t,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=Object(l.k)(this.file),this.folderId=n,this.errorCallback=i||o.a,this.progressCallback=a||o.a,this.successCallback=s||o.a,this.sha1Worker=m(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=u,this.overwrite=c,this.fileId=d,this.fileDescription=r,this.makePreflightRequest()}createSessionRetry(){const e=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog("Retrying create session in ".concat(e," ms")),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=U({},this.sessionEndpoints,{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume(e){let{file:t,folderId:r,errorCallback:n,progressCallback:i,sessionId:o,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.setFileInfo({file:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:a,conflictCallback:l,overwrite:s,fileId:c}),this.sessionId=o,this.sha1Worker||(this.sha1Worker=m()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=U({},this.sessionEndpoints,{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);s()(r)||(e=r*g.Ke)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach(e=>{e.cancel()}),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*g.Ke),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await Object(c.a)((e,n)=>{this.logEvent(t,r).then(e).catch(n)},this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then(()=>{this.sessionId=""})}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(t.state===M)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:i,readCompleteTimestamp:o}=await this.readFile(r,t),a=await h("SHA-256",i),s=btoa([].reduce.call(new Uint8Array(a),(e,t)=>e+String.fromCharCode(t),""));this.sendPartToWorker(e,i),e.sha256=s,e.state=j,e.blob=t,this.numPartsDigestReady+=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:o-n,subtleCryptoTime:l-o},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=g.hb;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const i=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const o=n||i;this.consoleLog("Retrying commit in ".concat(o," ms")),this.commitSessionTimeout=setTimeout(this.commitSession,o)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(t.state===j){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&e.state===R;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new L(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=Object(l.k)(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return b.a.isIE()?(this.sessionErrorHandler(null,V,r),!0):(this.consoleLog("file properties changed during upload: ".concat(r)),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach(e=>{e.cancel()}),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(t)}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Y="Content-MD5";var J=class extends P{constructor(){super(...arguments),Q(this,"uploadSuccessHandler",e=>{let{data:t}=e;const{entries:r}=t;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(r)}),Q(this,"uploadProgressHandler",e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)}),Q(this,"preflightSuccessHandler",async e=>{let{data:t}=e;if(this.isDestroyed())return;let r=t.upload_url;r||(r="".concat(this.getBaseUploadUrl(),"/files/content"),this.fileId&&(r=r.replace("content","".concat(this.fileId,"/content"))));const n={url:r,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:Object(l.k)(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},i=await this.computeSHA1(this.file);i&&(n.headers={[Y]:i}),this.xhr.uploadFile(n)})}upload(e){let{folderId:t,fileId:r,file:n,fileDescription:i,successCallback:a=o.a,errorCallback:s=o.a,progressCallback:l=o.a,conflictCallback:c,overwrite:u=!0}=e;this.isDestroyed()||(this.folderId=t,this.fileId=r,this.file=n,this.fileDescription=i,this.fileName=this.file.name,this.successCallback=a,this.errorCallback=s,this.progressCallback=l,this.overwrite=u,this.conflictCallback=c,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),i=await h("SHA-1",n);t=Array.from(new Uint8Array(i)).map(e=>"00".concat(e.toString(16)).slice(-2)).join("")}catch(e){}return t}},Z=r(75),ee=r(55),te=r(61),re=r(81),ne=r(18),ie=r(7);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class le extends E.a{constructor(){super(...arguments),se(this,"searchSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,total_count:n,limit:i,offset:o}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof i||"number"!=typeof o)throw Object(ie.a)();const a=Object(re.a)(r,new Z.a(this.options),new ee.a(this.options),new te.a(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,{item_collection:ae({},t,{entries:this.itemCache})}),this.finish()}),se(this,"searchErrorHandler",e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)})}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return"".concat(g.t).concat(e,"|").concat(t)}getUrl(){return"".concat(this.getBaseApiUrl(),"/search")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(ie.a)();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw Object(ie.a)();const o={id:this.id,items:n.map(t=>e.get(t)),offset:this.offset,percentLoaded:100,sortBy:g.vd,sortDirection:g.Lf,totalCount:i};this.successCallback(o)}searchRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||ne.g;return this.errorCode=g.nc,this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(g.xd)?{"X-Rep-Hints":g.Eg}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=i,this.errorCallback=o,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}}var ce=le;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class fe extends E.a{constructor(){super(...arguments),de(this,"recentsSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,order:{by:n,direction:i}}=t,o=[];r.forEach(e=>{let{item:t,interacted_at:r}=e;const{path_collection:n}=t;(this.id===g.ib||!!n&&-1!==n.entries.findIndex(e=>e.id===this.id))&&o.push(ue(t,{interacted_at:r}))});const a=Object(re.a)(o,new Z.a(this.options),new ee.a(this.options),new te.a(this.options));this.getCache().set(this.key,{item_collection:{entries:a,order:[{by:n,direction:i}]}}),this.finish()}),de(this,"recentsErrorHandler",e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)})}getCacheKey(e){return"".concat(g.s).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/recent_items")}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(ie.a)();const{entries:n}=r;if(!Array.isArray(n))throw Object(ie.a)();const i={id:this.id,items:n.map(t=>e.get(t)),percentLoaded:100,sortBy:g.Tc,sortDirection:g.Lf};this.successCallback(i)}recentsRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||ne.g;return this.errorCode=g.Wb,this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(g.xd)?{"X-Rep-Hints":g.Eg}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const i=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&i.unset(this.key),i.has(this.key)?this.finish():this.recentsRequest(n)}}var he=fe,pe=r(20);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ge extends E.a{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,i){if(!this.isDestroyed())try{const o=this.getQueryParameters(t,r,i),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:Object(pe.b)(e),params:o}),l=this.data?this.data.entries:[];this.data=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,o=arguments.length>5?arguments[5]:void 0,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,i,a,o)}}var ye=ge;function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){Ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xe=class extends ye{constructor(){super(...arguments),Ee(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/versions")}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return"".concat(this.getUrl(e),"/").concat(t)}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,i=v()(t,["permissions",g.hf],!1);return{entries:r.map(e=>{let{permissions:t}=e;return we({},ke(e,["permissions"]),{permissions:we({can_upload:i},t)})}),total_count:n}}deleteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.Eb;try{this.checkApiCallValidity(g.af,n,r)}catch(e){return void t(e,this.errorCode)}this.delete({id:r,url:this.getVersionUrl(r,o),successCallback:i,errorCallback:t})}getVersions(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ne.e,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];this.errorCode=g.cc,this.offsetGet(e,t,r,n,i,o,a)}getVersion(e,t,r,n){this.errorCode=g.bc,this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:ne.e.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=v()(r,"restored_from.id"),i=t.entries.find(e=>e.id===n);return i&&(e.version_promoted=i.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.kc;try{this.checkApiCallValidity(g.hf,n,r)}catch(e){return void t(e,this.errorCode)}this.post({id:r,data:{data:{id:o,type:"file_version"}},url:this.getVersionUrl(r,"current"),successCallback:i,errorCallback:t})}restoreVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.mc;try{this.checkApiCallValidity(g.af,n,r)}catch(e){return void t(e,this.errorCode)}this.put({id:r,data:{data:{trashed_at:null}},url:this.getVersionUrl(r,o),successCallback:i,errorCallback:t})}};function Ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pe=class extends ye{constructor(){super(...arguments),Oe(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(Se({},e,{entries:t}))})}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/comments")}commentsUrl(e){const t="".concat(this.getBaseApiUrl(),"/comments");return e?"".concat(t,"/").concat(e):t}format(e){return Se({},e,{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment(e){let{file:t,message:r,taggedMessage:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.qb;const{id:a="",permissions:s}=t;try{this.checkApiCallValidity(g.Ye,s,a)}catch(e){return void o(e,this.errorCode)}const l={data:{item:{id:a,type:"file"},message:r,tagged_message:n},params:{fields:ne.b.toString()}};this.post({id:a,url:this.commentsUrl(),data:l,successCallback:i,errorCallback:o})}updateComment(e){let{file:t,commentId:r,message:n,tagged_message:i,permissions:o,successCallback:a,errorCallback:s}=e;this.errorCode=g.rc;const{id:l=""}=t;try{this.checkApiCallValidity(g.cf,o,l)}catch(e){return void s(e,this.errorCode)}const c={data:{message:n,tagged_message:i}};this.put({id:l,url:this.commentsUrl(r),data:c,successCallback:a,errorCallback:s})}deleteComment(e){let{file:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.zb;const{id:a=""}=t;try{this.checkApiCallValidity(g.af,n,a)}catch(e){return void o(e,this.errorCode)}this.delete({id:a,url:this.commentsUrl(r),successCallback:i,errorCallback:o})}getComments(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ne.b,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ye,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,o,a,i,s)}};function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ie(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const Te=[g.we,g.te,g.ve,g.pe,g.xe,g.se];class De extends E.a{constructor(e){let{retryableStatusCodes:t=Te}=e;super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){_e(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Ie(e,["retryableStatusCodes"]),{retryableStatusCodes:t}))}}var Me=De;function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Le(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ne=class extends Me{getUrlForFileTasks(e){return"".concat(this.getBaseApiUrl(),"/undoc/files/").concat(e,"/linked_tasks?limit=").concat(g.l)}getUrlForTaskCreateWithDeps(){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/with_dependencies")}getUrlForTask(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e)}getUrlForTaskWithDeps(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/with_dependencies")}updateTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.uc;const o=i.addedAssignees.map(e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}})),a=i.removedAssignees.map(e=>({op:"delete_task_collaborator",id:e.id})),{id:s,addedAssignees:l,removedAssignees:c}=i,u=Le(i,["id","addedAssignees","removedAssignees"]);this.put({id:r.id,url:this.getUrlForTaskWithDeps(i.id),data:{data:[{op:"update_task",payload:Fe({},u)},...o,...a]},successCallback:n,errorCallback:t})}deleteTask(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.Cb,this.delete({id:r.id,url:this.getUrlForTask(i.id),successCallback:n,errorCallback:t})}getTasksForFile(e){let{errorCallback:t,file:r,successCallback:n}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForFileTasks(r.id),successCallback:n,errorCallback:t})}getTask(e){let{errorCallback:t,file:r,id:n,successCallback:i}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForTask(n),successCallback:i,errorCallback:t})}createTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:i,assignees:o}=e;this.errorCode=g.ub;const a=o.map(e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}})),s=[{target:{id:r.id,type:"file"}}],l={task:Fe({},i),assigned_to:a,task_links:s};this.post({id:r.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:Fe({},l)},successCallback:n,errorCallback:t})}},Ue=r(21),He=r.n(Ue);function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){Ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var We=class extends Me{getUrlForTaskCollaborators(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/task_collaborators?role=ASSIGNEE&limit=").concat(g.l)}getUrlForTaskCollaboratorCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators")}getUrlForTaskCollaborator(e){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/").concat(e)}getUrlForTaskGroupCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/expand_group")}createTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,task:i,user:o}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:i.id},target:{type:"user",id:o.id}}};this.post({id:r.id,url:this.getUrlForTaskCollaboratorCreate(),data:Be({},a),successCallback:n,errorCallback:t})}createTaskCollaboratorsforGroup(e){let{errorCallback:t,file:r,successCallback:n,task:i,group:o}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:i.id},target:{type:"group",id:o.id}}};this.post({id:r.id,url:this.getUrlForTaskGroupCreate(),data:Be({},a),successCallback:n,errorCallback:t})}getTaskCollaborators(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.ac;const o=this.getUrlForTaskCollaborators(i.id);this.get({id:r.id,successCallback:n,errorCallback:t,url:o})}updateTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:i}=e;this.errorCode=g.vc;const o={data:He()(i,"id")};this.put({id:r.id,url:this.getUrlForTaskCollaborator(i.id),data:Be({},o),successCallback:n,errorCallback:t})}deleteTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:i}=e;this.errorCode=g.Db,this.delete({id:r.id,url:this.getUrlForTaskCollaborator(i.id),successCallback:n,errorCallback:t})}};function qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(r),!0).forEach((function(t){Xe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ke=class extends Me{getUrlForTaskLinkCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_links")}createTaskLink(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.wb;const o={data:{target:{id:r.id,type:"file"},task:{id:i.id,type:"task"}}};this.post({id:r.id,url:this.getUrlForTaskLinkCreate(),data:Ge({},o),successCallback:n,errorCallback:t})}};function $e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach((function(t){Ye(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Je extends E.a{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDestroyed())try{const o=this.getUrl(e),a=Qe({},i,{marker:t,limit:r}),{data:s}=await this.xhr.get({url:o,id:Object(pe.b)(e),params:a}),l=this.data?this.data.entries:[];this.data=Qe({},s,{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet(e){let{id:t,successCallback:r,errorCallback:n,marker:i="",limit:o=1e3,requestData:a,shouldFetchAll:s=!0}=e;return this.successCallback=r,this.errorCallback=n,this.markerGetRequest(t,i,o,s,a)}}var Ze=Je;function et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const rt=e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?et(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(rt)),t};function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at=class extends Ze{constructor(){super(...arguments),ot(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(rt(e));const t=e.entries.map(rt);this.successCallback(it({},e,{entries:t}))})}getUrl(e){return"".concat(this.getBaseApiUrl(),"/undoc/comments").concat(e?"?file_id=".concat(e):"")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e,t){return"".concat(this.getUrlForId(e),"/replies").concat(t?"?file_id=".concat(t):"")}createComment(e){let{file:t,message:r,successCallback:n,errorCallback:i}=e;this.errorCode=g.qb;const{id:o,permissions:a}=t;try{this.checkApiCallValidity(g.Ye,a,o)}catch(e){return void i(e,this.errorCode)}this.post({id:o,url:this.getUrl(o),data:{data:{message:r}},successCallback:n,errorCallback:i})}updateComment(e){let{fileId:t,commentId:r,status:n,message:i,permissions:o,successCallback:a,errorCallback:s}=e;if(this.errorCode=g.rc,i)try{this.checkApiCallValidity(g.cf,o,t)}catch(e){return void s(e,this.errorCode)}if(n)try{this.checkApiCallValidity(g.ff,o,t)}catch(e){return void s(e,this.errorCode)}const l={data:{status:n,message:i}};this.put({id:t,url:this.getUrlForId(r),data:l,successCallback:a,errorCallback:s})}deleteComment(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.zb;try{this.checkApiCallValidity(g.af,n,t)}catch(e){return void o(e,this.errorCode)}this.delete({id:t,url:this.getUrlForId(r),successCallback:i,errorCallback:o})}getComment(e){let{commentId:t,errorCallback:r,fileId:n,permissions:i,successCallback:o}=e;this.errorCode=g.Lb;try{this.checkApiCallValidity(g.Ye,i,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,errorCallback:r,successCallback:o,url:this.getUrlForId(t)})}getComments(e){let{fileId:t,permissions:r,successCallback:n,errorCallback:i,marker:o,limit:a,shouldFetchAll:s,repliesCount:l}=e;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ye,r,t)}catch(e){return void i(e,this.errorCode)}this.markerGet({id:t,successCallback:n,errorCallback:i,marker:o,limit:a,requestData:it({},l?{replies_count:l}:null),shouldFetchAll:s})}getCommentReplies(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.Xb;try{this.checkApiCallValidity(g.Ye,n,t)}catch(e){return void o(e,this.errorCode)}this.get({id:t,errorCallback:o,successCallback:i,url:this.getUrlWithRepliesForId(r)})}createCommentReply(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o,message:a}=e;this.errorCode=g.tb;try{this.checkApiCallValidity(g.Ye,n,t)}catch(e){return void o(e,this.errorCode)}this.post({id:t,data:{data:{message:a}},errorCallback:o,successCallback:i,url:this.getUrlWithRepliesForId(r,t)})}};class st extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/file_access_stats/").concat(e)}getFileAccessStats(e,t,r){this.errorCode=g.Hb,this.get({id:e,successCallback:t,errorCallback:r})}}var lt=st;function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ft=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="/file_activities?file_id=".concat(e),i=!!t&&!!t.length,o=r?"true":"false",a="&enable_replies=".concat(o,"&reply_limit=").concat(1),s=i?"&activity_types=".concat(t.join()):"";return"".concat(n).concat(s).concat(a)};class ht extends E.a{getFilteredUrl(e,t,r){return"".concat(this.getBaseApiUrl()).concat(ft(e,t,r))}getActivities(e){let{activityTypes:t,errorCallback:r,fileID:n,permissions:i,repliesCount:o,shouldShowReplies:a,successCallback:s}=e;this.errorCode=g.Ib;try{if(!n)throw new Error("Missing file id!");t.includes(g.Ud)&&this.checkApiCallValidity(g.Ye,i,n),t.includes(g.Sd)&&this.checkApiCallValidity(g.if,i,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,successCallback:s,errorCallback:r,requestData:ut({},o?{replies_count:o}:null),url:this.getFilteredUrl(n,t,a)})}}var pt=ht;function mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(r),!0).forEach((function(t){gt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yt=class extends Ze{getUrl(){return"".concat(this.getBaseApiUrl(),"/groups")}getGroupsInEnterprise(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Ob,this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:bt({usemarker:!0},n),shouldFetchAll:!1})}};function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){kt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et=class extends Ze{getUrl(){return"".concat(this.getBaseApiUrl(),"/users")}getUsersInEnterprise(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Pb,this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:wt({usemarker:!0},n),shouldFetchAll:!1})}};class xt extends E.a{getUrlForGroupCount(e){return"".concat(this.getBaseApiUrl(),"/groups/").concat(e,"/memberships")}getGroupCount(e){let{errorCallback:t=o.a,successCallback:r=o.a,group:n,file:i}=e;return new Promise((e,o)=>this.get({id:i.id,url:this.getUrlForGroupCount(n.id),successCallback:function(){r(...arguments),e(...arguments)},errorCallback:function(){t(...arguments),o()},requestData:{params:{limit:1}}}))}}var Ct=xt,St=r(65),Ot=r.n(St),Pt=r(64);class At extends E.a{getUrl(){return"".concat(this.getBaseApiUrl(),"/users/me")}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return"".concat(this.getBaseApiUrl(),"/users/").concat(e,"/avatar")}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await Pt.a.getReadToken(Object(pe.b)(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},i=Ot.a.stringify(t),o="".concat(this.getAvatarUrl(e),"?").concat(i);return r.set(e,o),o}return null}getUser(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.errorCode=g.Nb,this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}}var _t=At,It=r(12),Tt=r.n(It);class Dt extends ee.a{getMetadataCacheKey(e){return"".concat(g.q).concat(e)}getSkillsCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_skills")}getClassificationCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_classification")}getMetadataUrl(e,t,r){const n="".concat(this.getUrl(e),"/metadata");return t&&r?"".concat(n,"/").concat(t,"/").concat(r):n}getMetadataTemplateUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_templates")}getMetadataTemplateUrlForInstance(e){return"".concat(this.getMetadataTemplateUrl(),"?metadata_instance_id=").concat(e)}getMetadataTemplateSchemaUrl(e){return"".concat(this.getMetadataTemplateUrl(),"/enterprise/").concat(e,"/schema")}getMetadataTemplateUrlForScope(e){return"".concat(this.getMetadataTemplateUrl(),"/").concat(e)}getCustomPropertiesTemplate(){return{id:Tt()("metadata_template_"),scope:g.De,templateKey:g.Ge,hidden:!1}}createEditor(e,t,r){const n={};return Object.keys(e).forEach(t=>{t.startsWith("$")||(n[t]=e[t])}),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}async getTemplates(e,t,r){this.errorCode=g.Vb;let n={};const i=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:i,id:Object(pe.b)(e),params:{limit:g.Fe}})}catch(e){const{status:t}=e;if(Object(ie.e)(t))throw e}return v()(n,"data.entries",[])}getSchemaByTemplateKey(e){const t=this.getMetadataTemplateSchemaUrl(e);return this.xhr.get({url:t})}async getInstances(e){this.errorCode=g.Ub;let t={};try{t=await this.xhr.get({url:this.getMetadataUrl(e),id:Object(pe.b)(e)})}catch(e){const{status:t}=e;if(Object(ie.e)(t))throw e}return v()(t,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let i=[];return r&&(i=n?[e]:[e].concat(t)),i.filter(e=>!e.hidden&&e.templateKey!==g.Ee)}extractClassification(e,t){const r=t.find(e=>e.$template===g.Ee);if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),i=this.getClassificationCacheKey(e);n.set(i,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,i=t.$template,o=t.$scope;let a=r.find(e=>e.templateKey===i&&e.scope===o);if(!a&&o.startsWith(g.Ce)){a=(await this.getTemplates(e,o,n))[0]}return a}async getEditors(e,t,r,n,i,o){const a=[r].concat(n,i),s=this.extractClassification(e,t),l=[];return await Promise.all(s.map(async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&l.push(this.createEditor(t,r,o))})),l}async getMetadata(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const{id:o,permissions:a,is_externally_owned:s}=e;if(this.errorCode=g.Ub,this.successCallback=t,this.errorCallback=r,!o||!a)return void this.errorHandler(Object(ie.a)());const l=this.getCache(),c=this.getMetadataCacheKey(o);if(i.forceFetch&&l.unset(c),!l.has(c)||(this.successHandler(l.get(c)),i.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,i]=await Promise.all([this.getInstances(o),this.getTemplates(o,g.De),n?this.getTemplates(o,g.Ce):Promise.resolve([])]),u={editors:await this.getEditors(o,t,e,i,r,!!a.can_upload),templates:this.getUserAddableTemplates(e,i,n,s)};l.set(c,u),this.isDestroyed()||this.successHandler(u)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.errorCode=g.Yb;const{id:i}=e;if(!i)return void r(Object(ie.a)(),this.errorCode);const o=this.getCache(),a=this.getSkillsCacheKey(i);if(this.successCallback=t,this.errorCallback=r,n&&o.unset(a),o.has(a))return void this.successHandler(o.get(a));let s={data:v()(e,g.kd)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(i,g.De,g.He),id:Object(pe.b)(i)})),!this.isDestroyed()){const e=s.data.cards||[];o.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode=g.tc;const{id:i,permissions:o}=e;if(i&&o)if(o.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(i,g.De,g.He),headers:{[g.ie]:"application/json-patch+json"},id:Object(pe.b)(i),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(i),g.kd,e.data),this.getCache().set(this.getSkillsCacheKey(i),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Object(ie.b)(),this.errorCode);else n(Object(ie.a)(),this.errorCode)}async updateMetadata(e,t,r,n,i){this.errorCode=g.sc,this.successCallback=n,this.errorCallback=i;const{id:o,permissions:a}=e;if(!o||!a)return void this.errorHandler(Object(ie.a)());const s=!!a.can_upload;if(s)try{const e=await this.xhr.put({url:this.getMetadataUrl(o,t.scope,t.templateKey),headers:{[g.ie]:"application/json-patch+json"},id:Object(pe.b)(o),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(o),i=r.get(n),a=this.createEditor(e.data,t,s);i&&i.editors&&i.editors.splice(i.editors.findIndex(e=>{let{instance:t}=e;return t.id===a.instance.id}),1,a),this.successHandler(a)}}catch(e){this.errorHandler(e)}else this.errorHandler(Object(ie.b)())}async createMetadata(e,t,r,n){if(this.errorCode=g.sb,!e||!t)return void n(Object(ie.a)(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(Object(ie.a)(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===g.Ge&&t.scope===g.De;if(!s||a&&!l)n(Object(ie.b)(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:Object(pe.b)(i),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n){if(this.errorCode=g.Bb,!e||!t)return void n(Object(ie.a)(),this.errorCode);const{scope:i,templateKey:o}=t,{id:a,permissions:s}=e;if(a&&s)if(s.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(a,i,o),id:Object(pe.b)(a)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(a),r=e.get(t);r.editors.splice(r.editors.findIndex(e=>e.template.scope===i&&e.template.templateKey===o),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Object(ie.b)(),this.errorCode);else n(Object(ie.a)(),this.errorCode)}}var Mt=Dt;function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rt=class extends Ze{constructor(){var e;super(...arguments),e=this,Ft(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map(e=>{let t;return"group"===e.type?t=e:(t=e).email=t.login,{id:e.id,name:e.name,item:t}});this.successCallback(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{entries:t}))}),Ft(this,"getCollaboratorsWithQuery",(function(t,r,n,i){let{includeGroups:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};i&&""!==i.trim()&&e.getFileCollaborators(t,r,n,{filter_term:i,include_groups:o,include_uploader_collabs:!1})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}getFileCollaborators(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})}};function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Nt=class extends Ze{constructor(){var e;super(...arguments),e=this,Lt(this,"getCollaborations",(function(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;e.markerGet({id:t,limit:o,successCallback:r,errorCallback:n,requestData:i})})),Lt(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})}getUrl(e){return"getUrl(".concat(e,") should be overridden")}};var Ut=class extends Nt{getUrl(e){if(!e)throw new Error("Missing file ID!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborations")}};var Ht=class extends Nt{getUrl(e){if(!e)throw new Error("Missing folder ID!");return"".concat(this.getBaseApiUrl(),"/folders/").concat(e,"/collaborations")}};function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){Vt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Wt extends E.a{constructor(){super(...arguments),Vt(this,"addCollaboration",(e,t,r,n)=>{const{id:i}=e;this.post({id:i,data:{data:Bt({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})})}getUrl(){return"".concat(this.getBaseApiUrl(),"/collaborations")}}var qt=Wt,Gt=r(5),Xt=r(28);var Kt=r(109),$t=r.n(Kt);function Qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(r),!0).forEach((function(t){Jt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Zt extends Ze{constructor(){super(...arguments),Jt(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(rt(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(rt);return void this.successCallback(Yt({},e,{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(Yt({},e,{entries:t}))})}formatReplies(e){return e.replies&&e.replies.length?Yt({},e,{replies:e.replies.map(rt)}):e}getUrl(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e){return"".concat(this.getUrlForId(e),"/replies")}createAnnotation(e,t,r,n,i,o){this.errorCode=g.pb;try{this.checkApiCallValidity(g.Ze,n,e)}catch(e){return void o(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:$t()(a,r)},errorCallback:o,successCallback:i,url:this.getUrl()})}updateAnnotation(e,t,r,n,i,o){this.errorCode=g.Fb;const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(g.cf,r,e)}catch(e){return void o(e,this.errorCode)}if(s)try{this.checkApiCallValidity(g.ff,r,e)}catch(e){return void o(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:o,successCallback:i,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,i){this.errorCode=g.xb;try{this.checkApiCallValidity(g.af,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,i,o){this.errorCode=g.Jb;try{this.checkApiCallValidity(g.if,r,e)}catch(e){return void i(e,this.errorCode)}const a=o?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,i,o,a,s){this.errorCode=g.Kb;try{this.checkApiCallValidity(g.if,r,e)}catch(e){return void i(e,this.errorCode)}const l=Yt({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:i,limit:o,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,i){this.errorCode=g.Xb;try{this.checkApiCallValidity(g.if,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,i,o){this.errorCode=g.tb;try{this.checkApiCallValidity(g.Ze,r,e)}catch(e){return void o(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:o,successCallback:i,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tr=class extends Ze{constructor(){super(...arguments),er(this,"permissions",{}),er(this,"mapAppActivityItem",e=>{const{activity_template:t,app:r,created_by:n,id:i,occurred_at:o,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:o,created_by:n,id:i,permissions:{can_delete:l},rendered_text:a,type:s}}),er(this,"successHandler",e=>{let{entries:t=[]}=e;if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const r=t.map(this.mapAppActivityItem);this.successCallback({entries:r,total_count:r.length})}),er(this,"errorHandler",e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;t.status===g.ue?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)})}getUrl(){return"".concat(this.getBaseApiUrl(),"/app_activities")}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getUrl(),"/").concat(e)}getAppActivity(e,t,r,n){const i={item_id:e,item_type:"file",fields:ne.a.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:i})}deleteAppActivity(e){let{id:t,appActivityId:r,successCallback:n,errorCallback:i}=e;this.errorCode=g.yb,this.delete({id:t,url:this.getDeleteUrl(r),successCallback:n,errorCallback:i})}};function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(r),!0).forEach((function(t){ir(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const ar=g.bg,sr=(e,t)=>{const{replies:r=[]}=e,n=or(e,["replies"]);return nr({replies:r.filter(e=>{let{id:r}=e;return r!==t})},n)},lr=(e,t)=>{const{replies:r=[]}=e;return nr({replies:[...r,t]},or(e,["replies"]))},cr=e=>{return[...e].map(e=>nr({},e,{tagged_message:e.tagged_message||e.message||""}))},ur=e=>{if(!e||!e.entries||!e.entries.length)return[];return e.entries.map(e=>{if(!e.source)return null;const t=nr({},e.source);switch(e.activity_type){case g.Vd:{var r;const e=nr({},t[g.Vd]);if(null===(r=e.assigned_to)||void 0===r?void 0:r.entries){const t=e.assigned_to.entries.map(e=>{const t=nr({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t});e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case g.Ud:{const e=nr({},t[g.Ud]);if(e.replies&&e.replies.length){const t=cr(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case g.Sd:{const e=nr({},t[g.Sd]);if(e.replies&&e.replies.length){const t=cr(e.replies);e.replies=t}return e}case g.Td:{const e=nr({},t[g.Td]);return e.created_at=e.occurred_at,e}case g.Wd:{var n,i;const e=nr({},t[g.Wd]);if(e.type=g.Hc,e.action_by){const t={};1===e.action_by.length&&(e.uploader_display_name=e.action_by[0].name),e.action_by.map(e=>(t[e.id]=nr({},e),e)),e.collaborators=t}var o,a,s,l,c,u;if((null===(n=e.end)||void 0===n?void 0:n.number)&&(e.version_end=e.end.number,e.id=e.end.id),(null===(i=e.start)||void 0===i?void 0:i.number)&&(e.version_start=e.start.number),e.version_start===e.version_end)e.version_number=e.version_start,e.action_type===g.e&&(null===(o=e.start)||void 0===o?void 0:o.created_at)&&(null===(a=e.start)||void 0===a?void 0:a.created_by)&&(e.modified_at=e.start.created_at,e.modified_by=nr({},e.start.created_by)),e.action_type===g.g&&(null===(s=e.start)||void 0===s?void 0:s.trashed_at)&&(null===(l=e.start)||void 0===l?void 0:l.trashed_by)&&(e.trashed_at=e.start.trashed_at,e.trashed_by=nr({},e.start.trashed_by)),e.action_type===g.f&&(null===(c=e.start)||void 0===c?void 0:c.restored_at)&&(null===(u=e.start)||void 0===u?void 0:u.restored_by)&&(e.restored_at=e.start.restored_at,e.restored_by=nr({},e.start.restored_by));return e}default:return null}}).filter(e=>!!e).reverse()};class dr extends E.a{constructor(e){var t;super(e),t=this,ir(this,"updateAnnotation",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();if(!r&&!n)throw Object(ie.d)();this.annotationsAPI=new Zt(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(nr({},s,{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,i,s,e=>{const{replies:r,total_reply_count:n}=e,i=or(e,["replies","total_reply_count"]);this.updateFeedItem(nr({},i,{isPending:!1}),t),this.isDestroyed()||o(e)},(e,r)=>{this.updateCommentErrorCallback(e,r,t)})}),ir(this,"updateCommentErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"updateReplyErrorCallback",(e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Xt.a.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)}),ir(this,"fetchRepliesErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"deleteAnnotation",(e,t,r,n,i)=>{if(this.annotationsAPI=new Zt(this.options),!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),(e,r)=>{this.deleteCommentErrorCallback(e,r,t)})}),ir(this,"fetchThreadedCommentSuccessCallback",(e,t,r)=>{t(r),e()}),ir(this,"updateTaskCollaborator",(e,t,r,n,i,o)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t);const a=new We(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let i;switch(n){case g.Yf:i=Xt.a.taskApproveErrorMessage;break;case g.Zf:i=Xt.a.taskCompleteErrorMessage;break;case g.cg:i=Xt.a.taskRejectErrorMessage;break;default:i=Xt.a.taskCompleteErrorMessage}this.updateFeedItem(this.createFeedError(i,Xt.a.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,i,l)},errorCallback:l})}),ir(this,"updateTaskCollaboratorSuccessCallback",(e,t,r,n,i)=>{this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(nr({},t,{isPending:!1}),e),n(r)},errorCallback:i})}),ir(this,"updateTaskNew",(async function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(!e.id)throw Object(ie.a)();t.file=e,t.errorCallback=i,t.tasksNewAPI=new Ne(t.options),t.updateFeedItem({isPending:!0},r.id);try{const i=r.addedAssignees.filter(e=>e.item&&"group"===e.item.type).map(e=>e.id).map(r=>new Ct(t.options).getGroupCount({file:e,group:{id:r}})),o=(await Promise.all(i)).some(e=>e.total_count>g.Xf),a={code:g.fc,type:"warning"};if(o)return void t.feedErrorCallback(!1,a,g.fc);await new Promise((n,i)=>{t.tasksNewAPI.updateTaskWithDeps({file:e,task:r,successCallback:n,errorCallback:i})}),await new Promise((n,i)=>{t.tasksNewAPI.getTask({file:e,id:r.id,successCallback:e=>{t.updateFeedItem(nr({},e,{isPending:!1}),r.id),n()},errorCallback:e=>{t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc),i()}})}),t.isDestroyed()||n()}catch(e){t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc)}})),ir(this,"deleteComment",(e,t,r,n,i)=>{if(this.commentsAPI=new Pe(this.options),!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})}),ir(this,"deleteThreadedComment",(e,t,r,n,i)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})}),ir(this,"deleteReply",(e,t,r,n,i,o)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,i),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})}),ir(this,"deleteReplySuccessCallback",(e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)}),ir(this,"deleteCommentErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"deleteReplyErrorCallback",(e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Xt.a.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)}),ir(this,"createTaskNew",(e,t,r,n,i,o,a,s,l)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=l;const c=Tt()("task_");let u;if(o){u=new Date(o).toISOString()}const d={created_by:{type:"task_collaborator",target:t,id:Tt()(),role:"CREATOR",status:ar},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:g.Gc,assigned_to:{entries:n.map(e=>({id:Tt()(),target:nr({},e,{avatar_url:"",type:"user"}),status:ar,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"})),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:Tt()(),type:"task_link",target:nr({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:i,status:g.bg},f={description:r,due_at:u,task_type:i,completion_rule:a},h=n.filter(e=>"group"===(e.item&&e.item.type)).map(e=>e.id).map(t=>new Ct(this.options).getGroupCount({file:e,group:{id:t}}));Promise.all(h).then(r=>{const i=r.some(e=>e.total_count>g.Xf),o={code:g.fc,type:"warning"};i?this.feedErrorCallback(!1,o,g.fc):(this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:f,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(nr({},e,{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))}).catch(e=>{this.feedErrorCallback(!1,e,g.ub)})}),ir(this,"deleteTaskNew",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(!e.id)throw Object(ie.a)();t.file=e,t.errorCallback=i,t.tasksNewAPI=new Ne(t.options),t.updateFeedItem({isPending:!0},r.id),t.tasksNewAPI.deleteTask({file:e,task:r,successCallback:t.deleteFeedItem.bind(t,r.id,n),errorCallback:(e,n)=>{t.updateFeedItem(t.createFeedError(Xt.a.taskDeleteErrorMessage),r.id),t.feedErrorCallback(!0,e,n)}})})),ir(this,"deleteFeedItem",(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.a;const n=t.getCachedItems(t.file.id);if(n){const i=n.items.filter(t=>t.id!==e);t.setCachedItems(t.file.id,i),t.isDestroyed()||r(e)}})),ir(this,"deleteReplyItem",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a;const i=t.getCachedItems(t.file.id)||{items:[],errors:[]},a=i.items.map(t=>t.id!==r?t:t.type===g.Dc?sr(t,e):t.type===g.Fc?sr(t,e):t);t.setCachedItems(t.file.id,a),t.isDestroyed()||n(e,r)})),ir(this,"feedErrorCallback",(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;e&&t.errors.push(nr({},r,{code:n})),!t.isDestroyed()&&t.errorCallback&&t.errorCallback(r,n,{error:r,[g.Ae]:e}),console.error(r)})),ir(this,"addPendingItem",(e,t,r)=>{if(!t)throw Object(ie.c)();const n=(new Date).toISOString(),i=nr({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id),a=[...o?o.items:[],i];return this.setCachedItems(e,a),i}),ir(this,"addPendingReply",(e,t,r)=>{if(!this.file.id)throw Object(ie.a)();if(!t)throw Object(ie.c)();const n=(new Date).toISOString(),i=nr({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id);if(o){const t=o.items.map(t=>t.id===e&&t.type===g.Fc?lr(t,i):t.id===e&&t.type===g.Dc?lr(t,i):t);this.setCachedItems(this.file.id,t)}return i}),ir(this,"createCommentSuccessCallback",(e,t,r)=>{const{message:n="",tagged_message:i=""}=e;e.tagged_message=i||n,this.updateFeedItem(nr({},e,{isPending:!1}),t),this.isDestroyed()||r(e)}),ir(this,"createCommentErrorCallback",(e,t,r)=>{const n=e.status===g.qe?Xt.a.commentCreateConflictMessage:Xt.a.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)}),ir(this,"createReplySuccessCallback",(e,t,r,n)=>{this.updateReplyItem(nr({},e,{isPending:!1}),t,r),this.isDestroyed()||n(e)}),ir(this,"createReplyErrorCallback",(e,t,r,n)=>{const i=e.status===g.qe?Xt.a.commentCreateConflictMessage:Xt.a.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(i),r,n),this.feedErrorCallback(!1,e,t)}),ir(this,"updateFeedItem",(e,t)=>{if(!this.file.id)throw Object(ie.a)();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map(r=>r.id===t?nr({},r,{},e):r);return this.setCachedItems(this.file.id,n),n}return null}),ir(this,"updateReplyItem",(e,t,r)=>{if(!this.file.id)throw Object(ie.a)();const n=(e,t,r)=>{const n=nr({},e);return n.replies&&(n.replies=n.replies.map(e=>e.id===t?nr({},e,{},r):e)),n},i=this.getCachedItems(this.file.id);if(i){const o=i.items.map(i=>i.id===t&&i.type===g.Fc?n(i,r,e):i.id===t&&i.type===g.Dc?n(i,r,e):i);this.setCachedItems(this.file.id,o)}}),ir(this,"createComment",(e,t,r,n,i,o)=>{const a=Tt()("comment_"),s={id:a,tagged_message:r,type:g.Fc};if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new Pe(this.options),this.commentsAPI.createComment(nr({file:e},l,{successCallback:e=>{this.createCommentSuccessCallback(e,a,i)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))}),ir(this,"createThreadedComment",(e,t,r,n,i)=>{if(!e.id)throw Object(ie.a)();const o=Tt()("comment_"),a={id:o,tagged_message:r,type:g.Fc};this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,o,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,o)}})}),ir(this,"updateComment",(e,t,r,n,i,o,a)=>{const s={tagged_message:r};if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=a,this.updateFeedItem(nr({},s,{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new Pe(this.options),this.commentsAPI.updateComment(nr({file:e,commentId:t,permissions:i},l,{successCallback:e=>{this.updateFeedItem(nr({},l,{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))}),ir(this,"updateThreadedComment",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();if(!r&&!n)throw Object(ie.d)();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(nr({},s,{isPending:!0}),t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,i=or(e,["replies","total_reply_count"]);this.updateFeedItem(nr({},i,{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})}),ir(this,"updateReply",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(nr({},e,{isPending:!1}),r,t),this.isDestroyed()||o(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})}),ir(this,"modifyFeedItemRepliesCountBy",(e,t)=>{if(!this.file.id)throw Object(ie.a)();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find(t=>{let{id:r}=t;return r===e});if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const i=(n.total_reply_count||0)+t;i>=0&&this.updateFeedItem({total_reply_count:i},e)}),ir(this,"deleteAppActivity",(e,t,r,n)=>{const{id:i}=e;if(!i)throw Object(ie.a)();this.appActivityAPI=new tr(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:i,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})}),ir(this,"deleteAppActivityErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)}),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,i){if(!e.id)throw Object(ie.a)();if(this.file=e,i){const e=nr({},r,{created_by:t,id:n,type:g.Dc});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(nr({},r,{isPending:!1}),n)}getCacheKey(e){return"".concat(g.fg).concat(e)}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,i){let{shouldShowAnnotations:o=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const{id:d,permissions:f={}}=e,h=this.getCachedItems(d);if(h){const{errors:e,items:i}=h;if(e.length?n(i,e):r(i),!t)return}this.file=e,this.errors=[],this.errorCallback=i;const p=!u&&o?this.fetchAnnotations(f,s):Promise.resolve(),m=()=>u?Promise.resolve():s?this.fetchThreadedComments(f):this.fetchComments(f),b=!u&&l?this.fetchTasksNew():Promise.resolve(),y=!u&&a?this.fetchAppActivity(f):Promise.resolve(),v=!u&&c?this.fetchVersions():Promise.resolve(),w=!u&&c?this.fetchCurrentVersion():Promise.resolve(),k=o&&f[g.if]?[g.Sd]:[],E=a?[g.Td]:[],x=l?[g.Vd]:[],C=c?[g.Wd]:[],S=[...k,...E,...f[g.Ye]?[g.Ud]:[],...x,...C],O=u&&S.length?this.fetchFileActivities(f,S,s):Promise.resolve(),P=e=>{this.isDestroyed()||(this.setCachedItems(d,e),this.errors.length?n(e,this.errors):r(e))};u?O.then(e=>{if(!e)return;const t=ur(e);P(t)}):Promise.all([v,w,m(),b,y,p]).then(e=>{let[t,r,...n]=e;const i=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((e,t)=>t?e.concat(t.entries):e,[]).sort((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at))}(r?this.versionsAPI.addCurrentVersion(r,t,this.file):void 0,...n);P(i)})}fetchAnnotations(e,t){return this.annotationsAPI=new Zt(this.options),new Promise(r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)})}fetchComments(e){return this.commentsAPI=new Pe(this.options),new Promise(t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))})}fetchThreadedComment(e,t,r,n){const{id:i,permissions:o}=e;if(!i||!o)throw Object(ie.a)();return this.threadedCommentsAPI=new at(this.options),new Promise(e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:i,permissions:o,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})})}fetchThreadedComments(e){return this.threadedCommentsAPI=new at(this.options),new Promise(t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})})}fetchFileActivities(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.fileActivitiesAPI=new pt(this.options),new Promise(n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})})}fetchReplies(e,t,r,n,i){const{id:o,permissions:a}=e;if(!o||!a)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isRepliesLoading:!0},t);const s=e=>{let{entries:r}=e;this.updateFeedItem({isRepliesLoading:!1,replies:r,total_reply_count:r.length},t),n(r)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===g.Dc?(this.annotationsAPI=new Zt(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===g.Fc&&(this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new xe(this.options),new Promise(e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,ne.c)})}fetchCurrentVersion(){return this.versionsAPI=new xe(this.options),new Promise(e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))})}fetchTasksNew(){return this.tasksNewAPI=new Ne(this.options),new Promise(e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})})}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,i=Object(ie.e)(n);this.feedErrorCallback(i,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{i(e)}})})}createTaskCollaborator(e,t,r){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{i(e)}})})}deleteTaskCollaborator(e,t,r){if(!e.id)throw Object(ie.a)();return this.file.id=e.id,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{i(e)}})})}createTaskLink(e,t){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((r,n)=>{const i=new Ke(this.options);this.taskLinksAPI.push(i),i.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})})}createFeedError(e){return{error:{message:e,title:arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt.a.errorOccured}}}createReply(e,t,r,n,i,o,a){const{id:s,permissions:l}=e;if(!s||!l)throw Object(ie.a)();const c=Tt()("comment_"),u={id:c,tagged_message:i,type:g.Fc};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,o)},f=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===g.Dc?(this.annotationsAPI=new Zt(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,i,d,f)):n===g.Fc&&(this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:i,successCallback:d,errorCallback:f}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach(e=>e.destroy()),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach(e=>e.destroy()),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new tr(this.options),new Promise(t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))})}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}}var fr=dr;class hr extends E.a{getUrl(e){if(!e)throw new Error("Missing app integration id!");return"".concat(this.getBaseApiUrl(),"/app_integrations/").concat(e)}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=g.Gb;const i="".concat(this.getUrl(e),"/execute"),o={data:{item:{id:t,type:g.ig}}};this.post({id:t,url:i,data:o,successCallback:r,errorCallback:n})}}var pr=hr;class mr extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/open_with_integrations")}getOpenWithIntegrations(e,t,r){this.errorCode=g.Tb,this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some(e=>e.appIntegrationId===g.m)&&(t=e.filter(e=>e.appIntegrationId!==g.n)),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map(e=>{let{app_integration:t,disabled_reasons:n,display_name:i,display_description:o,display_order:a,is_disabled:s,should_show_consent_popup:l}=e;const{id:c,type:u}=t;return{appIntegrationId:c,displayDescription:o,disabledReasons:n||[],displayOrder:a,isDefault:!!r&&c===r.id,isDisabled:s,displayName:i,requiresConsent:l,type:u}}).sort((e,t)=>e.displayOrder-t.displayOrder)}}var br=mr;class gr extends E.a{constructor(){var e,t,r;super(...arguments),r=e=>{let{data:t}=e;this.getCache().set(this.key,t),this.finish()},(t="queryMetadataSuccessHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}getCacheKey(e){return"".concat(g.r).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_queries/execute_read")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode=g.jc,this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const{context:i={}}=n;this.key=this.getCacheKey(i.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}}var yr=gr;const vr={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},wr=[{key:"userAgent",subString:vr.EDGE,identity:vr.EDGE},{key:"userAgent",subString:vr.CHROME,identity:vr.CHROME},{key:"userAgent",subString:"criOS",identity:vr.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:vr.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:vr.FIREFOX,identity:vr.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],kr=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:vr.MAC,identity:vr.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function Er(e,t){let r,n=null,i=null,o="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],o=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,i=t[a].device;break}return{identity:n,device:i,versionSearchString:o}}function xr(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}var Cr=new class{constructor(){const{navigator:e}=window,t=Er(e,wr),r=Er(e,kr);this.browser=t.identity||"unknown",this.version=xr(e.userAgent,t.versionSearchString)||xr(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===vr.SAFARI}isFirefox(){return this.browser===vr.FIREFOX}isChrome(){return this.browser===vr.CHROME}isIE(){return this.browser===vr.IE}isEdge(){return this.browser===vr.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}};var Sr=function(e){const t=[];let r,n=0;return new Promise((i,o)=>{e.forEach((a,s)=>{a.then(i).catch((i=>a=>{t[i]=a,(n+=1)===e.length&&(r=new Error("no promises resolved"),o(r))})(s))})})};var Or={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ar=class{constructor(e){Pr(this,"buildNextRequestID",()=>"".concat(Or.REQUEST_ID_PRE).concat(this.window.performance.now())),Pr(this,"buildDetailsObj",(e,t,r)=>{const n=r.toString(),i={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==Or.OPERATION_STATUS){if(!t)throw new TypeError("Data cannot be undefined for ".concat(e));i.data=t}return i}),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ir=2;var Tr=class extends Ar{constructor(e,t){var r;super(e),r=this,_r(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise((o,a)=>{const s=r.buildDetailsObj(e,t,i),l=setTimeout(()=>{a(new Error({status_code:Or.REQUEST_TIMEOUT_RESPONSE_CODE}))},n);r.reqIdToPromiseMap.set(s.req_id,{resolve:o,rejectTimeout:l}),r.executeActiveXEvent({detail:s})})})),_r(this,"repairActiveXConnection",e=>{Cr.isIEAndSpecificBrowserPluginSupported(Or.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=Ir||(this.retryAttempt+=1,setTimeout(()=>{this.executeActiveXEvent(e)},100)))}),_r(this,"executeActiveXEvent",e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}}),_r(this,"createActiveXObjectJSRef",()=>{const{ActiveXObject:e}=this.window;return new e(Or.BOX_TOOLS_PLUGIN_NAME)}),_r(this,"setupActiveXCommunication",()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(Or.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)}),_r(this,"tearDownActiveXCommunication",()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(Or.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)}),_r(this,"appExtensionEventResponseHandler",e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}}),_r(this,"getComServerStatus",(e,t)=>this.executeOperation(Or.OPERATION_STATUS,null,e,t)),_r(this,"sendRequest",(e,t,r)=>this.executeOperation(Or.OPERATION_REQUEST,e,t,r)),_r(this,"sendCommand",(e,t,r)=>this.executeOperation(Or.OPERATION_COMMAND,e,t,r)),_r(this,"destroy",()=>{this.tearDownActiveXCommunication()}),this.isSynchronous=t,this.channelName=Or.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}},Dr=r(103);function Mr(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const{document:o}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push("".concat(e,"=").concat(encodeURIComponent(t))),0!==r&&s.push("; expires=".concat(a.toUTCString())),s.push("; path=".concat(n)),i&&s.push("; domain=".concat(i)),s.push("; secure"),o.cookie=s.join("")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fr="GET",Rr="POST",Lr=31536e6,Nr=17223,Ur=17224,Hr="Content-Type",zr="text/plain; charset=UTF-8",Br="notrunning",Vr=new Dr.a;function Wr(){return Vr.getItem("comUseFallback")?{primary:Ur,fallback:Nr}:{primary:Nr,fallback:Ur}}var qr=class extends Ar{constructor(e,t,r){super(e),jr(this,"createCORSRequest",(e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return(r=new n).open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}}),jr(this,"getComServerStatusInstallationPromise",e=>{let t,r;const n=new Promise((e,n)=>{t=e,r=n}),i=(e,r)=>{this.currentPort=e,e===Nr?Vr.removeItem("comUseFallback"):Vr.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},o=Wr(),a=o.primary,s=o.fallback;return this.checkInstallStatus(a,e).then(i.bind(this,a)).catch(t=>{if(t===Br)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(i.bind(this,s)).catch(()=>{this.comServerInstallationPromiseRejected=!0,r()})}),n}),jr(this,"sendComServerRequest",(e,t,r,n)=>new Promise((i,o)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader(Hr,zr),a.onload=()=>{i(a)},a.onerror=()=>{o(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{o(a)}),setTimeout(()=>{a.send(r)},0)}catch(e){o()}})),jr(this,"checkInstallStatus",(e,t)=>this.sendComServerRequest(Fr,"".concat(this.url).concat(e,"/status"),null,t).then(e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(Br)})),jr(this,"getComChannel",e=>(function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let i,o;for(o=0;o<n;o+=1)if((i=r[o].split("="))[0]===e)return i[1]?decodeURIComponent(i[1]):"";return""})("".concat(e,"-bgp-id"))),jr(this,"setComChannel",e=>{const t=this.getComChannel(e)||this.generateId(),r="bgp-".concat(t),n=(new Date).getTime()+Lr;return Mr("".concat(e,"-bgp-id"),t,n),Mr("bgp-".concat(t),"generic",n),r}),jr(this,"getComServerStatus",e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise),jr(this,"sendRequest",(e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_request?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(Rr,n,e,t).then(e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error("Communication error: ".concat(t.message));return t})}),jr(this,"sendCommand",(e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_command?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(Rr,n,e,t).then(e=>JSON.parse(e.responseText))}),jr(this,"generateId",()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,()=>{return Math.floor((e+16*Math.random())%16).toString(16)})}),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=Wr().primary,this.window=window}};function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Xr="box_extension_input",Kr="box_extension_output";var $r=class extends Ar{constructor(e){var t;super(e),t=this,Gr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise((o,a)=>{const s=t.buildDetailsObj(e,r,i),l=setTimeout(()=>{a(new Error({status_code:Or.REQUEST_TIMEOUT_RESPONSE_CODE}))},n);t.reqIdToPromiseMap.set(s.req_id,{resolve:o,rejectTimeout:l}),t.createAndDispatchAppExtensionEvent({detail:s})})})),Gr(this,"setupSafariExtensionCommunication",()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(Kr,this.appExtensionEventResponseHandler))}),Gr(this,"tearDownSafariExtensionCommunication",()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(Kr,this.appExtensionEventResponseHandler))}),Gr(this,"appExtensionEventResponseHandler",e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}}),Gr(this,"createAndDispatchAppExtensionEvent",e=>{const{CustomEvent:t}=this.window,r=new t(Xr,e);this.document.dispatchEvent(r)}),Gr(this,"getComServerStatus",(e,t)=>this.executeOperation(Or.OPERATION_STATUS,null,e,t)),Gr(this,"sendRequest",(e,t,r)=>this.executeOperation(Or.OPERATION_REQUEST,e,t,r)),Gr(this,"sendCommand",(e,t,r)=>this.executeOperation(Or.OPERATION_COMMAND,e,t,r)),Gr(this,"destroy",()=>{this.tearDownSafariExtensionCommunication()}),this.reqIdToPromiseMap=new Map,this.channelName=Or.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const Qr=55,Yr="16.16299",Jr="17.17134",Zr=5e3;let en;function tn(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=Or;return en.http_channel_status=r,new qr(e,t,n)}function rn(e){const{CREATED_STATUS:t}=Or;return en.safari_channel_status=t,new $r(e)}function nn(e){const{CREATED_STATUS:t}=Or;return en.activex_channel_status=t,new Tr(e,!0)}function on(){const{EDGE:e}=vr;return Cr.isMinBrowser(e,Jr)||Cr.isMinBrowser(e,Yr)&&Cr.getVersion().startsWith("16.")}function an(){return Cr.isEdge()&&!on()}function sn(){const{CHROME:e,FIREFOX:t}=vr;return Cr.isMinBrowser(e,53)||Cr.isMinBrowser(t,Qr)||on()}function ln(){return Cr.isMinBrowser(vr.SAFARI,10)}function cn(){return Cr.isMinBrowser(vr.IE,11)}function un(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:i}=Or;let o=t;return sn()?o=n:cn()?o=n:Cr.isFirefox()||Cr.isChrome()||Cr.isSafari()&&!ln()||an()?o=i:ln()&&(o=r),en.error_message=o,e(new Error(o))}function dn(e){let t=Zr;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function fn(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}var hn=class{constructor(e){var t,r,n;n=!1,(r="isInitialized")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=Cr.getName(),t=Cr.getVersion(),{UNCREATED_STATUS:r}=Or;en={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),sn()?this.channels.push(tn(e)):ln()?this.channels.push(rn(e)):cn()&&Cr.isIEAndSpecificBrowserPluginSupported(Or.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=Or;return en.activex_channel_status=t,new Tr(e,!1)}(e)):Cr.isFirefox()&&!Cr.isMinBrowser(vr.FIREFOX,Qr)||an()||(this.channels=this.channels.concat([tn(e),rn(e),nn(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=Or,r=dn(e),n=fn(r),i=an();return new Promise((e,o)=>i?un.call(null,o):this.channels.length?Sr(this.channels.map(i=>i.getComServerStatus(r,n).then(r=>(this.activeChannel=i,r&&(en.installation_type=r.installation_type,en.box_tools_version=r.version),en["".concat(i.channelName,"_status")]=t,e(r))))).catch(un.bind(null,o)):un.call(null,o))}sendRequest(e,t,r){const n=dn(r),i=fn(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,i):this.getComServerStatus().then(()=>this.activeChannel.sendRequest(e,n,i))}sendCommand(e,t){const r=dn(t),n=fn(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then(()=>this.activeChannel.sendCommand(e,r,n))}};const pn=5e3,mn=100;let bn;let gn=null;class yn{constructor(){return gn instanceof yn||(gn=this),this.extensionRequestQueue=new Map,gn}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise((e,r)=>{t.resolve=e,t.reject=r});return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new hn(Or.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map(async e=>{try{return[e,await this.getAppForExtension(e)]}catch(t){return[e,""]}})),r=new Map;return t.forEach(e=>r.set(...e)),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:Cr.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,pn)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=Or;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return bn||(bn=setTimeout(()=>{this.processExtensionRequestQueue()},mn)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach((r,n)=>{e.set(n,r),t.push(n)}),this.extensionRequestQueue.clear(),bn=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then(r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach(t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}})}t.forEach(t=>{const r=e.get(t);r&&r.reject()})})}}var vn=yn;function wn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){this.options=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wn(Object(r),!0).forEach((function(t){kn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{apiHost:e.apiHost||g.U,uploadHost:e.uploadHost||g.X,cache:e.cache||new n.a,language:e.language})}destroy(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),e&&(this.options.cache=new n.a)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case g.jg:t=this.getFolderAPI();break;case g.ig:t=this.getFileAPI();break;case g.kg:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.destroy(),this.fileAPI=new ee.a(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new te.a(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new J(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new $(this.options),this.chunkedUploadAPI}getFolderAPI(){return this.destroy(),this.folderAPI=new Z.a(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new ce(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new he(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new Mt(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new xe(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new Pe(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new We(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new Ke(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new lt(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new pt(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new Rt(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new Ut(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new Ht(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new qt(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new yt(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new Et(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new Ct(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new _t(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new fr(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new br(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new pr(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.destroy(),this.metadataQueryAPI=new yr(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new vn,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Zt(this.options),this.annotationsAPI}}},,,function(e,t,r){"use strict";var n=r(0),i=r(79),o=r(119),a=r(10);var s=e=>{let{className:t="",color:r="#979797",height:i=64,title:o,width:s=64}=e;return n.createElement(a.a,{className:"icon-sad-cloud ".concat(t),height:i,title:o,viewBox:"0 0 1224 792",width:s},n.createElement("g",{transform:"translate(1 1)"},n.createElement("path",{className:"fill-color",d:"M273.7 788.9c-142 0-257.6-116.5-257.6-259.7 0-140.3 110.9-255 249-259.6 4.6-70.2 33.9-135.4 83.6-185.3C402.8 29.7 475-.3 551.9-.3c56.8 0 110.7 11.3 156 32.7 43.7 20.7 78.4 50.5 101.3 86.9 7.8-1.9 16.2-2.9 25.1-2.9 43.4 0 97.3 23.8 128.2 56.6l.2.2c23.9 26 41.2 59.1 48.9 93.1 4.1 18.3 5 35.1 2.8 49.2 15.8 3.5 32.3 9.8 48.9 18.7 25.1 13.5 49.9 32.7 71.7 55.4 48.9 51.2 77 113.7 77 171.7 0 61.1-23.4 118.4-66 161.3-42.5 42.8-99.1 66.4-159.5 66.4l-712.8-.1zm0-479.5c-120 0-217.6 98.6-217.6 219.7 0 121.2 97.6 219.7 217.6 219.7h712.8c49.6 0 96.2-19.4 131.1-54.6 35.1-35.3 54.4-82.6 54.4-133.1 0-47.7-24-100.2-65.9-144-37.8-39.5-84.7-65-119.6-65-7.9 0-15.1-4.6-18.3-11.9-3.2-7.2-1.9-15.6 3.4-21.5 2.8-3.1 6.8-18 1-43.8-6.1-26.9-20.4-54.1-39.3-74.8-23.2-24.6-66.7-43.9-99-43.9-9.9 0-18.3 1.7-24.8 5.2-4.7 2.5-10.3 3-15.3 1.4-5.1-1.6-9.3-5.2-11.8-9.9-18.2-35.5-49.9-64.7-91.6-84.4-40-18.9-88-28.9-138.9-28.9-66.2 0-128.3 25.8-175 72.8-46.8 47.1-72.6 109.9-72.6 176.9 0 11-9 20-20 20h-10.6z",fill:r}),n.createElement("path",{className:"fill-color",d:"M442.7 585.5c-2.9 0-5.9-.6-8.7-2-10-4.8-14.1-16.7-9.3-26.7 15.4-32 39.7-59.1 70.3-78.1 31-19.3 66.9-29.5 104-29.5 75.5 0 141.4 40 176.2 107.1 5.1 9.8 1.3 21.9-8.5 27-9.8 5.1-21.9 1.3-27-8.5-27.8-53.6-80.3-85.5-140.6-85.5-29.6 0-58.2 8.1-82.8 23.5-24.1 15.1-43.3 36.3-55.4 61.5-3.6 7-10.7 11.2-18.2 11.2z",fill:r}),n.createElement("circle",{className:"fill-color",cx:"496.3",cy:"351.5",fill:r,r:"32.1"}),n.createElement("circle",{className:"fill-color",cx:"688.9",cy:"351.5",fill:r,r:"32.1"})))};r(637);const l=Object(i.defineMessages)({errorMaskIconSadCloudText:{id:"boxui.errorMask.iconSadCloudText",defaultMessage:"Sad Box Cloud"}});t.a=e=>{let{errorHeader:t,errorSubHeader:r}=e;return n.createElement("div",{className:"error-mask"},n.createElement(s,{className:"error-mask-sad-cloud",height:50,title:n.createElement(o.a,l.errorMaskIconSadCloudText)}),n.createElement("h4",null,t),n.createElement("h5",null,r))}},,,function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:i.b,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 01-.5-.5c0-.276.23-.5.5-.5h7zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 01-.5-.5c0-.276.229-.5.5-.5h11zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 01-.501-.5c0-.276.23-.5.501-.5h10z"})))},,,function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#009AED",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M19.723 18.973l-5.914 3.957a.543.543 0 01-.809-.473v-7.914a.543.543 0 01.809-.473l5.914 3.957a.543.543 0 010 .946z"})))},,function(e,t,r){var n=r(34),i=r(138),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(10),o=r(2);t.a=e=>{let{className:t="",color:r=o.m,height:a=16,title:s,width:l=16}=e;return n.createElement(i.a,{className:"icon-open-with ".concat(t),height:a,title:s,viewBox:"0 0 16 16",width:l},n.createElement("path",{className:"fill-color",fill:r,fillRule:"evenodd",d:"M12 2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 2v6h-1V6.71l-4.65 4.64-.7-.7L9.29 6H5V5h6z"}))}},,,function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(44))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(73),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,r){var n=r(399),i=r(112),o=r(34),a=r(123),s=r(136),l=r(165),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&a(e),f=!r&&!u&&!d&&l(e),h=r||u||d||f,p=h?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||h&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){(function(e){var n=r(42),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(164)(e))},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(178),i=r(179),o=r(177),a=r(228),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},function(e,t,r){var n=r(178),i=r(34);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},function(e,t,r){var n=r(230),i=r(229),o=r(137);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(180);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(267),i=r(179),o=r(151);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},function(e,t,r){var n=r(60),i=r(179),o=r(45),a="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||n(e)!=a)return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==d}},function(e,t,r){var n=r(431),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),n(e,this,c)}}},function(e,t,r){var n=r(432),i=r(434)(n);e.exports=i},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(32);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,r){"use strict";var n=r(32),i=r(454),o=r(455),a=r(238),s=r(456),l=r(459),c=r(460),u=r(241),d=r(139),f=r(140);e.exports=function(e){return new Promise((function(t,r){var h,p=e.data,m=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(p)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(v+":"+w)}var k=s(e.baseURL,e.url);function E(){if(y){var n="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};i((function(e){t(e),g()}),(function(e){r(e),g()}),o),y=null}}if(y.open(e.method.toUpperCase(),a(k,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(r(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var x=(e.withCredentials||c(k))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&n.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){y&&(r(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null),y.send(p)}))}},function(e,t,r){"use strict";var n=r(239);e.exports=function(e,t,r,i,o){var a=new Error(e);return n(a,t,r,i,o)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function l(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==l||(r[e]=i)})),r}},function(e,t){e.exports={version:"0.25.0"}},function(e,t,r){var n=r(469),i=r(470),o=r(473),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},function(e,t,r){var n=r(173),i=r(111);e.exports=function(e,t,r){(void 0===r||i(e[t],r))&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,r){},,,,,,function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var i,o,a,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,o(this.listener,this.target,e))}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):m(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var c=l.length,u=m(l,c);for(r=0;r<c;++r)o(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){var n=r(245)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
32
+ */function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(n({},i)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,l=s(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]))o.call(r,u)&&(l[u]=r[u]);if(i){n=i(r);for(var d=0;d<n.length;d++)a.call(r,n[d])&&(l[n[d]]=r[n[d]])}}return l}},function(e,t,r){"use strict";var n=r(201);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";(function(e){let r;class n{static getUserAgent(){return e.navigator.userAgent}static isMobile(){const e=n.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(n.getUserAgent())}static isFirefox(){const e=n.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=n.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return n.isMobile()&&n.isSafari()&&!n.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=n.getUserAgent();return n.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canPlayDash(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(void 0===r||t){const t=e.MediaSource;r=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return r}static canWriteToClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.readText)}}t.a=n}).call(this,r(44))},function(e,t,r){var n=r(95),i=r(380),o=r(381),a="[object Null]",s="[object Undefined]",l=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?i(e):o(e)}},function(e,t,r){"use strict";var n=r(82),i=r(1),o=r(18);class a extends n.a{getCacheKey(e){return"".concat(i.u).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/web_links").concat(t)}async getWeblink(e,t,r){let{fields:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const a=this.getCache(),s=this.getCacheKey(e);if(this.errorCode=i.dc,this.successCallback=t,this.errorCallback=r,a.has(s)){if(0===Object(o.k)(a.get(s),n).length)return void t(a.get(s))}const l={url:this.getUrl(e)};n&&(l.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(l);if(this.isDestroyed())return;a.has(s)?a.merge(s,e):a.set(s,e),this.successHandler(a.get(s))}catch(e){this.errorHandler(e)}}}t.a=a},,,function(e,t,r){"use strict";var n=r(1);const i=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class o{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(n.jg)&&!e.startsWith(n.ig))throw i;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw i}static async getReadToken(e,t){const r=await o.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map(e=>o.getReadToken(e,t)),i=await Promise.all(n),a={};return i.forEach((e,t)=>{a[r[t]]=e}),Promise.resolve(a)}static async getWriteToken(e,t){const r=await o.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every(e=>e.startsWith(n.jg)||e.startsWith(n.ig)))throw i;return"function"==typeof t&&await t(e),Promise.resolve()}}t.a=o},function(e,t,r){"use strict";var n=r(484),i=r(57),o=r(485);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function l(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=i({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),i=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:o(a),r(o(i),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=function e(t){return Array.isArray(t)?t.sort():"object"==typeof t?e(Object.keys(t)).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return t[e]})):t}(r):e[t]=r,e}),Object.create(null))):n}t.extract=s,t.parse=l,t.stringify=function(e,t){!1===(t=i({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var i=e[n];if(void 0===i)return"";if(null===i)return a(n,t);if(Array.isArray(i)){var o=[];return i.slice().forEach((function(e){void 0!==e&&o.push(r(n,e,o.length))})),o.join("&")}return a(n,t)+"="+a(i,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:l(s(e),t)}}},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:i.k,fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"}))},,,function(e,t,r){"use strict";var n=r(0),i=r(4),o=r.n(i),a=r(21),s=r.n(a),l=r(145);function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}class u extends n.Component{constructor(){var e,t,r;super(...arguments),r=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(t="onClickHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,className:r,isDisabled:i,isSelectItem:a,isSelected:u,showRadar:d}=e,f=c(e,["children","className","isDisabled","isSelectItem","isSelected","showRadar"]),h=s()(f,["role","tabIndex","onClick"]);h.className=o()("menu-item",r,{"is-select-item":a,"is-selected":u}),h.role=a?"menuitemradio":"menuitem",h.tabIndex=-1,h.onClick=this.onClickHandler,a&&(h["aria-checked"]=u),i&&(h["aria-disabled"]="true");let p=n.createElement("li",h,t);return d&&(p=n.createElement(l.a,null,p)),p}}t.a=u},,,,function(e,t,r){var n=r(379),i=r(384);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";var n=r(109),i=r.n(n);t.a=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,i()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach(t=>{t.startsWith(e)&&delete this.cache[t]})}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}}},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(81),a=r(18),s=r(7),l=r(82),c=r(55),u=r(61),d=r(1);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends l.a{constructor(){super(...arguments),p(this,"folderSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{item_collection:r}=t;if(!r)throw Object(s.a)();const{entries:n,total_count:i,limit:a,offset:l}=r;if(!Array.isArray(n)||"number"!=typeof i||"number"!=typeof a||"number"!=typeof l)throw Object(s.a)();const d=Object(o.a)(n,new m(this.options),new c.a(this.options),new u.a(this.options));this.itemCache=(this.itemCache||[]).concat(d),this.getCache().set(this.key,h({},t,{item_collection:h({},r,{entries:this.itemCache})})),this.finish()}),p(this,"folderDetailsSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const r=h({},this.getCache().get(this.key),{},t);this.getCache().set(this.key,r),this.successCallback(r)}),p(this,"createSuccessHandler",e=>{let{data:t}=e;const{id:r}=t;if(this.isDestroyed()||!r)return;const n=this.getCacheKey(r),i=this.getCache(),o=i.get(this.key);if(!o)return void this.successCallback(t);const{item_collection:a}=o;if(!a)throw Object(s.a)();const{total_count:l,entries:c}=a;if(!Array.isArray(c)||"number"!=typeof l)throw Object(s.a)();i.set(n,t),a.entries=[n].concat(c),a.total_count=l+1,this.successCallback(t)})}getCacheKey(e){return"".concat(d.p).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/folders").concat(t)}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:i,path_collection:o,item_collection:a}=t;if(!a||!o)throw Object(s.a)();const{entries:l,offset:c,total_count:u}=a;if(!Array.isArray(l)||"number"!=typeof u)throw Object(s.a)();const d={id:r,name:n,offset:c,percentLoaded:100,permissions:i,boxItem:t,breadcrumbs:o.entries,items:l.map(t=>e.get(t)),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:u};this.successCallback(d)}folderRequest(){let{fields:e,noPagination:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.folderSuccessHandler;if(this.isDestroyed())return Promise.reject();const n=e||a.g;this.errorCode=d.Sb;let i={fields:n.toString()};return t||(i=h({},i,{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:i,headers:n.includes(d.zd)?{"X-Rep-Hints":d.Gg}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(h({},n,{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,i,o,a){let s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=i,this.successCallback=o,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode=d.rb;const t="".concat(this.getUrl(),"?fields=").concat(a.g.toString());return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}t.a=m},function(e,t,r){"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=0,o=r;return new Promise((r,a)=>{function s(l){setTimeout(()=>{i+=1,new Promise((t,r)=>{e(t,r,a)}).then(r).catch(e=>{i<t?s(o*=n):a(e)})},l)}s(o)})}r.d(t,"a",(function(){return n}))},,function(e,t,r){var n=r(447);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=function(e){return e},t.defineMessages=function(e){return e}},function(e,t,r){var n=r(172),i=r(173);e.exports=function(e,t,r,o){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=o?o(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?i(r,c,u):n(r,c,u)}return r}},function(e,t,r){"use strict";var n=r(7),i=r(1);t.a=function(e,t,r,o){const a=[];return e.forEach(e=>{const{id:s,type:l}=e;if(!s||!l)throw Object(n.a)();let c;switch(l){case i.lg:c=t;break;case i.kg:c=r;break;case i.mg:c=o;break;default:throw new Error("Unknown Type!")}const u=c.getCache(),d=c.getCacheKey(s);u.has(d)?u.merge(d,e):u.set(d,e),a.push(d)}),a}},function(e,t,r){"use strict";var n=r(3),i=r.n(n),o=r(78),a=r.n(o),s=r(7),l=r(18),c=r(14),u=r(1);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends c.a{constructor(){super(...arguments),f(this,"deleteSuccessHandler",()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw Object(s.a)();const o=this.getCacheKey(this.id),a=n.length,l=n.filter(e=>e!==o),c=l.length,u=this.merge(e,"item_collection",d(r,{entries:l,total_count:i-(a-c)}));this.successCallback(u),this.postDeleteCleanup()}),f(this,"renameSuccessHandler",e=>{let{data:t}=e;if(!this.isDestroyed()){this.getCache().unsetAll(u.t);const e=this.merge(this.getCacheKey(this.id),"name",t.name);this.successCallback(e)}}),f(this,"shareSuccessHandler",(e,t)=>{if(!this.isDestroyed()){const r=t?Object(l.j)(e,t):e,n=this.getCache(),i=this.getCacheKey(this.id);n.has(i)?n.merge(i,r):n.set(i,r),this.successCallback(n.get(i))}})}getParentCacheKey(e){return"".concat(u.p).concat(e)}getCacheKey(e){return"getCacheKey(".concat(e,") should be overriden")}getUrl(e){return"getUrl(".concat(e,") should be overriden")}merge(e,t,r){const n=this.getCache();return n.merge(e,a()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(u.t),this.successCallback())}deleteItem(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.Ab;const{id:n,permissions:o,parent:a,type:l}=e;if(!(n&&o&&a&&l))return r(Object(s.a)(),this.errorCode),Promise.reject();const{id:c}=a,{can_delete:d}=o;if(!d||!c)return r(Object(s.b)(),this.errorCode),Promise.reject();this.id=n,this.parentId=c,this.successCallback=t,this.errorCallback=r;const f="".concat(this.getUrl(n)).concat(l===u.lg?"?recursive=true":"");return this.xhr.delete({url:f}).then(this.deleteSuccessHandler).catch(e=>{this.errorHandler(e)})}rename(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.mc;const{id:o,permissions:a}=e;if(!o||!a)return n(Object(s.a)(),this.errorCode),Promise.reject();const{can_rename:l}=a;return l?(this.id=o,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:"".concat(this.getUrl(o)),data:{name:t}}).then(this.renameSuccessHandler).catch(e=>{this.errorHandler(e)})):(n(Object(s.b)(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!t)throw this.errorCode=u.pc,Object(s.a)();const{can_share:n,can_set_share_access:i}=t;if(!n||!r&&!i)throw this.errorCode=u.pc,Object(s.b)()}async share(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:i,permissions:a,shared_link:s}=e;this.id=i,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(i,a,l);const{fields:c}=o,d={url:this.getUrl(this.id),data:{shared_link:t===u.c?null:{access:t}}};c&&(d.params={fields:c.toString()});const{data:f}=await this.xhr.put(d);return this.shareSuccessHandler(f,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:i,permissions:a}=e;this.id=i,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(i,a);const{fields:s}=o,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}}t.a=h},,,function(e,t,r){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t,r){e.exports=r(448)},,function(e,t,r){var n=r(171),i=r(174);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},,,,,,,function(e,t,r){var n=r(42).Symbol;e.exports=n},,,function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i),a=r(1),s=r(190);function l(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach((function(t){d(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends n.Component{constructor(){var e;super(...arguments),e=this,d(this,"state",{}),d(this,"handleError",(function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.props.errorOrigin;if(!t||!r||!i)return;const o={type:"error",code:r,message:t.message,origin:i,context_info:u({[a.Ce]:!0},n)};e.props.onError(o)}))}componentDidCatch(e,t){this.setState({error:e},()=>{this.handleError(e,a.qc,u({},t),this.props.errorOrigin)})}render(){const e=this.props,{children:t,errorComponent:r}=e,i=l(e,["children","errorComponent"]),{error:o}=this.state;return o?n.createElement(r,{error:o}):n.cloneElement(t,u({},i,{onError:this.handleError}))}}d(f,"defaultProps",{errorComponent:s.a,onError:o.a});var h=f;function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.a;return r=>n.forwardRef((i,o)=>n.createElement(h,p({errorComponent:t,errorOrigin:e},i),n.createElement(r,{ref:o})))};r.d(t,"a",(function(){return m}))},function(e,t,r){"use strict";var n=r(0),i=r(43);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{let{children:t,isDisabled:r,text:s}=e,l=a(e,["children","isDisabled","text"]);return r||!s?t:n.createElement(i.c,o({text:s},l),t)}},function(e,t,r){var n=r(425);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(138),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},,function(e,t,r){"use strict";var n=r(74);const i="localStore",o="0";t.a=class{constructor(){this.memoryStore=new n.a;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return"".concat(i,"/").concat(o,"/").concat(e)}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}}},,function(e,t,r){var n=r(34),i=r(214),o=r(422),a=r(100);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:o(a(e))}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h}));var n=r(0),i=r(266),o=r(11),a=r(142);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function l(e,t){return Object.keys(e).reduce((r,n)=>(r[n]=s({timeZone:t},e[n]),r),{})}function c(e,t){return Object.keys(s(s({},e),t)).reduce((r,n)=>(r[n]=s(s({},e[n]||{}),t[n]||{}),r),{})}function u(e,t){if(!t)return e;const r=a.a.formats;return s(s(s({},r),e),{date:c(l(r.date,t),l(e.date||{},t)),time:c(l(r.time,t),l(e.time||{},t))})}const d=e=>n.createElement(n.Fragment,null,...e);function f(e,t){let{locale:r,formats:n,messages:a,defaultLocale:s,defaultFormats:l,onError:c,timeZone:f}=e,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{id:m,defaultMessage:b}=h;Object(i.a)(!!m,"[React Intl] An `id` must be provided to format a message.");const g=a&&a[String(m)];n=u(n,f),l=u(l,f);let y=[];if(g)try{y=t.getMessageFormat(g,r,n,{formatters:t}).formatHTMLMessage(p)}catch(e){c(Object(o.b)('Error formatting message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":""),e))}else(!b||r&&r.toLowerCase()!==s.toLowerCase())&&c(Object(o.b)('Missing message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":"")));if(!y.length&&b)try{y=t.getMessageFormat(b,s,l).formatHTMLMessage(p)}catch(e){c(Object(o.b)('Error formatting the default message for: "'.concat(m,'"'),e))}return y.length?1===y.length&&"string"==typeof y[0]?y[0]||b||String(m):d(y):(c(Object(o.b)('Cannot format message: "'.concat(m,'", ')+"using message ".concat(g||b?"source":"id"," as fallback."))),"string"==typeof g?g||b||String(m):b||String(m))}function h(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return f(e,t,r,Object.keys(n).reduce((e,t)=>{const r=n[t];return e[t]="string"==typeof r?Object(o.e)(r):r,e},{}))}},function(e,t,r){var n=r(225),i=r(308),o=r(88);e.exports=function(e){return o(e)?n(e):i(e)}},function(e,t,r){var n=r(477),i=r(482)((function(e,t,r){n(e,t,r)}));e.exports=i},,function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(400),i=r(45),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},,,,,function(e,t,r){"use strict";var n=r(0),i=r(3),o=r.n(i);t.a=n.createContext({closeMenu:o.a})},,function(e,t,r){"use strict";var n=r(0),i=r(54),o=r(107),a=r(11),s=r(85);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};const u=r.n(s).a||s,d=(e,t)=>Object(o.b)(l(l({},a.a),{locale:"en"}),Object(a.c)(),e,t);class f extends n.Component{shouldComponentUpdate(e){const t=this.props,{values:r}=t,n=c(t,["values"]),{values:i}=e,o=c(e,["values"]);return!u(i,r)||!u(n,o)}render(){return n.createElement(i.a.Consumer,null,e=>{this.props.defaultMessage||Object(a.h)(e);const{formatMessage:t=d,textComponent:r=n.Fragment}=e||{},{id:i,description:o,defaultMessage:s,values:l,children:c,tagName:u=r}=this.props;let f=t({id:i,description:o,defaultMessage:s},l);return Array.isArray(f)||(f=[f]),"function"==typeof c?c(...f):u?n.createElement(u,null,...f):f})}}f.displayName="FormattedMessage",f.defaultProps={values:{}},t.a=f},function(e,t,r){var n=r(486);e.exports=function(e){return n(e)&&e!=+e}},,,function(e,t,r){(function(e){var n=r(42),i=r(401),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l}).call(this,r(164)(e))},function(e,t,r){var n=r(410),i=r(170),o=r(411),a=r(348),s=r(330),l=r(60),c=r(223),u=c(n),d=c(i),f=c(o),h=c(a),p=c(s),m=l;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||i&&"[object Map]"!=m(new i)||o&&"[object Promise]"!=m(o.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case u:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case p:return"[object WeakMap]"}return t}),e.exports=m},,function(e,t,r){"use strict";var n=r(0),i=r(51),o=r.n(i),a=r(4),s=r.n(a),l=r(3),c=r.n(l),u=r(12),d=r.n(u),f=r(1);r(505);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p extends n.Component{constructor(){super(...arguments),h(this,"menuID",d()("menu")),h(this,"menuButtonID",d()("menubutton")),h(this,"state",{initialFocusIndex:null,isOpen:!1}),h(this,"openMenuAndSetFocusIndex",e=>{this.setState({initialFocusIndex:e,isOpen:!0})}),h(this,"closeMenu",e=>{const{onMenuClose:t=c.a}=this.props;this.setState({isOpen:!1},()=>t(e))}),h(this,"focusButton",()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()}),h(this,"handleButtonClick",e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)}),h(this,"handleButtonKeyDown",e=>{const{isOpen:t}=this.state;switch(e.key){case f.De.space:case f.De.enter:case f.De.arrowDown:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case f.De.arrowUp:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case f.De.escape:t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}}),h(this,"handleMenuClose",(e,t)=>{this.closeMenu(t),this.focusButton()}),h(this,"handleDocumentClick",e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)})}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:e,children:t,className:r,constrainToScrollParent:i,constrainToWindow:a,constrainToWindowWithPin:l,isResponsive:c,isRightAligned:u,tetherAttachment:d,tetherTargetAttachment:f}=this.props,{isOpen:h,initialFocusIndex:p}=this.state,m=n.Children.toArray(t);if(2!==m.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const b=m[0],g=m[1],y={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":h?"true":"false"};void 0===b.props["aria-haspopup"]&&(y["aria-haspopup"]="true"),h&&(y["aria-controls"]=this.menuID);const v={id:this.menuID,key:this.menuID,initialFocusIndex:p,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let w="top left",k="bottom left";u&&(w="top right",k="bottom right");const E=[];i&&E.push({to:"scrollParent",attachment:"together"}),a&&E.push({to:"window",attachment:"together"}),l&&E.push({to:"window",attachment:"together",pin:!0});const x=e instanceof HTMLElement?e:document.body;return n.createElement(o.a,{attachment:d||w,bodyElement:x,className:s()({"bdl-DropdownMenu--responsive":c},r),classPrefix:"dropdown-menu",constraints:E,enabled:h,targetAttachment:f||k},n.cloneElement(b,y),h&&n.cloneElement(g,v))}}h(p,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1}),t.a=p},function(e,t,r){"use strict";var n=r(0),i=r(21),o=r.n(i),a=r(4),s=r.n(a),l=r(117);r(506);function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=".menu-item:not([aria-disabled])",f="ul:not(.submenu) > ".concat(d,", ul:not(.submenu) > li > ").concat(d,", ul:not(.submenu) > span > ").concat(d),h="ul.submenu > ".concat(d,", ul.submenu > li > ").concat(d,", ul.submenu > span > ").concat(d);function p(e){e.stopPropagation(),e.preventDefault()}class m extends n.Component{constructor(e){var t;super(e),t=this,u(this,"setInitialFocusIndex",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;const{initialFocusIndex:r,isHidden:n}=e;n||void 0===r||("number"==typeof r?setTimeout(()=>{t.setFocus(r)},0):null===r&&setTimeout(()=>{t.menuEl&&t.menuEl.focus()},0))})),u(this,"setMenuItemEls",()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?h:f);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]}),u(this,"getMenuItemElFromEventTarget",e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}}),u(this,"setFocus",e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()}),u(this,"focusFirstItem",()=>{this.setFocus(0)}),u(this,"focusLastItem",()=>{this.setFocus(-1)}),u(this,"focusNextItem",()=>{this.setFocus(this.focusIndex+1)}),u(this,"focusPreviousItem",()=>{this.setFocus(this.focusIndex-1)}),u(this,"fireOnCloseHandler",(e,t)=>{const{onClose:r}=this.props;r&&r(e,t)}),u(this,"handleClick",e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)}),u(this,"handleKeyDown",e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":p(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":p(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;p(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":p(e),this.focusFirstItem();break;case"End":case"PageDown":p(e),this.focusLastItem();break;case"Escape":p(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":p(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0}),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate(e){let{isHidden:t,children:r}=e;const{children:i,isHidden:o,isSubmenu:a}=this.props;if(a&&t&&!o&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),n.Children.toArray(r).length!==n.Children.toArray(i).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const e=this.props,{children:t,className:r,isHidden:i,setRef:a,shouldOutlineFocus:u}=e,d=c(e,["children","className","isHidden","setRef","shouldOutlineFocus"]),f=o()(d,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return f.className=s()("aria-menu",r,{"is-hidden":i,"should-outline-focus":u}),f.ref=e=>{this.menuEl=e,a&&a(e)},void 0===f.role&&(f.role="menu"),f.tabIndex=-1,f.onClick=this.handleClick,f.onKeyDown=this.handleKeyDown,n.createElement("ul",f,n.createElement(l.a.Provider,{value:{closeMenu:this.fireOnCloseHandler}},t))}}u(m,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1}),t.a=m},function(e,t,r){"use strict";var n=r(0),i=r.n(n),o=r(188);t.a=e=>{let{language:t,messages:r,children:a}=e;return!!t&&!!r?i.a.createElement(o.a,{locale:t,messages:r},a):n.Children.only(a)}},,,,function(e,t,r){var n=r(369),i=r(370),o=r(371),a=r(372),s=r(373);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(111);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(73)(Object,"create");e.exports=n},function(e,t,r){var n=r(393);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var i=typeof e;return!!(t=null==t?r:t)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(225),i=r(405),o=r(88);e.exports=function(e){return o(e)?n(e,!0):i(e)}},function(e,t,r){var n=r(60),i=r(45),o="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||i(e)&&n(e)==o}},function(e,t,r){"use strict";(function(t){var n=r(32),i=r(453),o=r(239),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?l=r(240):void 0!==t&&"[object process]"===Object.prototype.toString.call(t)&&(l=r(240)),l),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||i&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c}).call(this,r(198))},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},,function(e,t,r){"use strict";var n;function i(e){return e.type===n.literal}function o(e){return e.type===n.argument}function a(e){return e.type===n.number}function s(e){return e.type===n.date}function l(e){return e.type===n.time}function c(e){return e.type===n.select}function u(e){return e.type===n.plural}function d(e){return e.type===n.pound}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function h(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(n||(n={}));var p,m=(p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),b=function(){return(b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=function(e){function t(r,n,i,o){var a=e.call(this)||this;return a.message=r,a.expected=n,a.found=i,a.location=o,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return m(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?i(e[0])+"-"+i(e[1]):i(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(o);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+((a=t)?'"'+n(a)+'"':"end of input")+" found.";var a},t}(Error);var y=function(e,t){t=void 0!==t?t:{};var r,i={},o={start:ut},a=ut,s=function(e){return e.join("")},l=function(e){return b({type:n.literal,value:e},Mt())},c="#",u=nt("#",!1),d=function(){return b({type:n.pound},Mt())},f=ot("argumentElement"),h="{",p=nt("{",!1),m="}",y=nt("}",!1),v=function(e){return b({type:n.argument,value:e},Mt())},w=ot("numberSkeletonId"),k=/^['\/{}]/,E=it(["'","/","{","}"],!1,!1),x={type:"any"},C=ot("numberSkeletonTokenOption"),S="/",O=nt("/",!1),P=function(e){return e},A=ot("numberSkeletonToken"),_=function(e,t){return{stem:e,options:t}},I=function(e){return b({type:0,tokens:e},Mt())},T="::",D=nt("::",!1),M=function(e){return e},j=function(){return Tt.push("numberArgStyle"),!0},F=function(e){return Tt.pop(),e.replace(/\s*$/,"")},R=",",L=nt(",",!1),N="number",U=nt("number",!1),H=function(e,t,r){return b({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},Mt())},z="'",B=nt("'",!1),V=/^[^']/,W=it(["'"],!0,!1),q=/^[^a-zA-Z'{}]/,G=it([["a","z"],["A","Z"],"'","{","}"],!0,!1),X=/^[a-zA-Z]/,K=it([["a","z"],["A","Z"]],!1,!1),$=function(e){return b({type:1,pattern:e},Mt())},Q=function(){return Tt.push("dateOrTimeArgStyle"),!0},Y="date",J=nt("date",!1),Z="time",ee=nt("time",!1),te="plural",re=nt("plural",!1),ne="selectordinal",ie=nt("selectordinal",!1),oe="offset:",ae=nt("offset:",!1),se=function(e,t,r,i){return b({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:i.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&rt('Duplicate option "'+r+'" in plural element: "'+et()+'"',tt()),e[r]={value:n,location:i},e}),{})},Mt())},le="select",ce=nt("select",!1),ue=function(e,t){return b({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,i=t.location;return r in e&&rt('Duplicate option "'+r+'" in select element: "'+et()+'"',tt()),e[r]={value:n,location:i},e}),{})},Mt())},de="=",fe=nt("=",!1),he=function(e){return Tt.push("select"),!0},pe=function(e,t){return Tt.pop(),b({id:e,value:t},Mt())},me=function(e){return Tt.push("plural"),!0},be=function(e,t){return Tt.pop(),b({id:e,value:t},Mt())},ge=ot("whitespace"),ye=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ve=it([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),we=ot("syntax pattern"),ke=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ee=it([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),xe=ot("optional whitespace"),Ce=ot("number"),Se="-",Oe=nt("-",!1),Pe=function(e,t){return t?e?-t:t:0},Ae=(ot("apostrophe"),ot("double apostrophes")),_e="''",Ie=nt("''",!1),Te=function(){return"'"},De=function(e,t){return e+t.replace("''","'")},Me=function(e){return!("{"===e||Dt()&&"#"===e||Tt.length>1&&"}"===e)},je="\n",Fe=nt("\n",!1),Re=function(e){return"{"===e||"}"===e||Dt()&&"#"===e},Le=ot("argNameOrNumber"),Ne=ot("argNumber"),Ue="0",He=nt("0",!1),ze=function(){return 0},Be=/^[1-9]/,Ve=it([["1","9"]],!1,!1),We=/^[0-9]/,qe=it([["0","9"]],!1,!1),Ge=function(e){return parseInt(e.join(""),10)},Xe=ot("argName"),Ke=0,$e=0,Qe=[{line:1,column:1}],Ye=0,Je=[],Ze=0;if(void 0!==t.startRule){if(!(t.startRule in o))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=o[t.startRule]}function et(){return e.substring($e,Ke)}function tt(){return st($e,Ke)}function rt(e,t){throw function(e,t){return new g(e,[],"",t)}(e,t=void 0!==t?t:st($e,Ke))}function nt(e,t){return{type:"literal",text:e,ignoreCase:t}}function it(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function ot(e){return{type:"other",description:e}}function at(t){var r,n=Qe[t];if(n)return n;for(r=t-1;!Qe[r];)r--;for(n={line:(n=Qe[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Qe[t]=n,n}function st(e,t){var r=at(e),n=at(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function lt(e){Ke<Ye||(Ke>Ye&&(Ye=Ke,Je=[]),Je.push(e))}function ct(e,t,r){return new g(g.buildMessage(e,t),e,t,r)}function ut(){return dt()}function dt(){var e,t;for(e=[],t=ft();t!==i;)e.push(t),t=ft();return e}function ft(){var t;return(t=function(){var e,t;e=Ke,(t=ht())!==i&&($e=e,t=l(t));return e=t}())===i&&(t=function(){var t,r,n,o;Ze++,t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(125===e.charCodeAt(Ke)?(o=m,Ke++):(o=i,0===Ze&&lt(y)),o!==i?($e=t,r=v(n),t=r):(Ke=t,t=i)):(Ke=t,t=i);Ze--,t===i&&(r=i,0===Ze&&lt(f));return t}())===i&&(t=function(){var t;(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i&&xt()!==i?(e.substr(Ke,6)===N?(a=N,Ke+=6):(a=i,0===Ze&&lt(U)),a!==i&&xt()!==i?(s=Ke,44===e.charCodeAt(Ke)?(l=R,Ke++):(l=i,0===Ze&&lt(L)),l!==i&&(c=xt())!==i&&(u=function(){var t,r,n;t=Ke,e.substr(Ke,2)===T?(r=T,Ke+=2):(r=i,0===Ze&&lt(D));r!==i&&(n=function(){var e,t,r;if(e=Ke,t=[],(r=bt())!==i)for(;r!==i;)t.push(r),r=bt();else t=i;t!==i&&($e=e,t=I(t));return e=t}())!==i?($e=t,r=M(n),t=r):(Ke=t,t=i);t===i&&(t=Ke,$e=Ke,(r=(r=j())?void 0:i)!==i&&(n=ht())!==i?($e=t,r=F(n),t=r):(Ke=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ke=s,s=i),s===i&&(s=null),s!==i&&(l=xt())!==i?(125===e.charCodeAt(Ke)?(c=m,Ke++):(c=i,0===Ze&&lt(y)),c!==i?($e=t,r=H(n,a,s),t=r):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i);return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));r!==i&&xt()!==i&&(n=At())!==i&&xt()!==i?(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i&&xt()!==i?(e.substr(Ke,4)===Y?(a=Y,Ke+=4):(a=i,0===Ze&&lt(J)),a===i&&(e.substr(Ke,4)===Z?(a=Z,Ke+=4):(a=i,0===Ze&&lt(ee))),a!==i&&xt()!==i?(s=Ke,44===e.charCodeAt(Ke)?(l=R,Ke++):(l=i,0===Ze&&lt(L)),l!==i&&(c=xt())!==i&&(u=function(){var t,r,n;t=Ke,e.substr(Ke,2)===T?(r=T,Ke+=2):(r=i,0===Ze&&lt(D));r!==i&&(n=function(){var t,r,n,o;t=Ke,r=Ke,n=[],(o=gt())===i&&(o=yt());if(o!==i)for(;o!==i;)n.push(o),(o=gt())===i&&(o=yt());else n=i;r=n!==i?e.substring(r,Ke):n;r!==i&&($e=t,r=$(r));return t=r}())!==i?($e=t,r=M(n),t=r):(Ke=t,t=i);t===i&&(t=Ke,$e=Ke,(r=(r=Q())?void 0:i)!==i&&(n=ht())!==i?($e=t,r=F(n),t=r):(Ke=t,t=i));return t}())!==i?s=l=[l,c,u]:(Ke=s,s=i),s===i&&(s=null),s!==i&&(l=xt())!==i?(125===e.charCodeAt(Ke)?(c=m,Ke++):(c=i,0===Ze&&lt(y)),c!==i?($e=t,r=H(n,a,s),t=r):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i);return t}());return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u,d,f;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));if(r!==i)if(xt()!==i)if((n=At())!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i)if(xt()!==i)if(e.substr(Ke,6)===te?(a=te,Ke+=6):(a=i,0===Ze&&lt(re)),a===i&&(e.substr(Ke,13)===ne?(a=ne,Ke+=13):(a=i,0===Ze&&lt(ie))),a!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(s=R,Ke++):(s=i,0===Ze&&lt(L)),s!==i)if(xt()!==i)if(l=Ke,e.substr(Ke,7)===oe?(c=oe,Ke+=7):(c=i,0===Ze&&lt(ae)),c!==i&&(u=xt())!==i&&(d=Ct())!==i?l=c=[c,u,d]:(Ke=l,l=i),l===i&&(l=null),l!==i)if((c=xt())!==i){if(u=[],(d=wt())!==i)for(;d!==i;)u.push(d),d=wt();else u=i;u!==i&&(d=xt())!==i?(125===e.charCodeAt(Ke)?(f=m,Ke++):(f=i,0===Ze&&lt(y)),f!==i?($e=t,r=se(n,a,l,u),t=r):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;return t}())===i&&(t=function(){var t,r,n,o,a,s,l,c,u;t=Ke,123===e.charCodeAt(Ke)?(r=h,Ke++):(r=i,0===Ze&&lt(p));if(r!==i)if(xt()!==i)if((n=At())!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(o=R,Ke++):(o=i,0===Ze&&lt(L)),o!==i)if(xt()!==i)if(e.substr(Ke,6)===le?(a=le,Ke+=6):(a=i,0===Ze&&lt(ce)),a!==i)if(xt()!==i)if(44===e.charCodeAt(Ke)?(s=R,Ke++):(s=i,0===Ze&&lt(L)),s!==i)if(xt()!==i){if(l=[],(c=vt())!==i)for(;c!==i;)l.push(c),c=vt();else l=i;l!==i&&(c=xt())!==i?(125===e.charCodeAt(Ke)?(u=m,Ke++):(u=i,0===Ze&&lt(y)),u!==i?($e=t,r=ue(n,l),t=r):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;else Ke=t,t=i;return t}())===i&&(t=function(){var t,r;t=Ke,35===e.charCodeAt(Ke)?(r=c,Ke++):(r=i,0===Ze&&lt(u));r!==i&&($e=t,r=d());return t=r}()),t}function ht(){var e,t,r;if(e=Ke,t=[],(r=St())===i&&(r=Ot())===i&&(r=Pt()),r!==i)for(;r!==i;)t.push(r),(r=St())===i&&(r=Ot())===i&&(r=Pt());else t=i;return t!==i&&($e=e,t=s(t)),e=t}function pt(){var t,r,n,o,a;if(Ze++,t=Ke,r=[],n=Ke,o=Ke,Ze++,(a=kt())===i&&(k.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(E))),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ke,o=Ke,Ze++,(a=kt())===i&&(k.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(E))),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i);else r=i;return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(w)),t}function mt(){var t,r,n;return Ze++,t=Ke,47===e.charCodeAt(Ke)?(r=S,Ke++):(r=i,0===Ze&&lt(O)),r!==i&&(n=pt())!==i?($e=t,t=r=P(n)):(Ke=t,t=i),Ze--,t===i&&(r=i,0===Ze&&lt(C)),t}function bt(){var e,t,r,n;if(Ze++,e=Ke,xt()!==i)if((t=pt())!==i){for(r=[],n=mt();n!==i;)r.push(n),n=mt();r!==i?($e=e,e=_(t,r)):(Ke=e,e=i)}else Ke=e,e=i;else Ke=e,e=i;return Ze--,e===i&&(i,0===Ze&&lt(A)),e}function gt(){var t,r,n,o;if(t=Ke,39===e.charCodeAt(Ke)?(r=z,Ke++):(r=i,0===Ze&&lt(B)),r!==i){if(n=[],(o=St())===i&&(V.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=i,0===Ze&&lt(W))),o!==i)for(;o!==i;)n.push(o),(o=St())===i&&(V.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=i,0===Ze&&lt(W)));else n=i;n!==i?(39===e.charCodeAt(Ke)?(o=z,Ke++):(o=i,0===Ze&&lt(B)),o!==i?t=r=[r,n,o]:(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;if(t===i)if(t=[],(r=St())===i&&(q.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(G))),r!==i)for(;r!==i;)t.push(r),(r=St())===i&&(q.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(G)));else t=i;return t}function yt(){var t,r;if(t=[],X.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(K)),r!==i)for(;r!==i;)t.push(r),X.test(e.charAt(Ke))?(r=e.charAt(Ke),Ke++):(r=i,0===Ze&&lt(K));else t=i;return t}function vt(){var t,r,n,o,a;return t=Ke,xt()!==i&&(r=It())!==i&&xt()!==i?(123===e.charCodeAt(Ke)?(n=h,Ke++):(n=i,0===Ze&&lt(p)),n!==i?($e=Ke,(he(r)?void 0:i)!==i&&(o=dt())!==i?(125===e.charCodeAt(Ke)?(a=m,Ke++):(a=i,0===Ze&&lt(y)),a!==i?($e=t,t=pe(r,o)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i),t}function wt(){var t,r,n,o,a;return t=Ke,xt()!==i&&(r=function(){var t,r,n,o;return t=Ke,r=Ke,61===e.charCodeAt(Ke)?(n=de,Ke++):(n=i,0===Ze&&lt(fe)),n!==i&&(o=Ct())!==i?r=n=[n,o]:(Ke=r,r=i),(t=r!==i?e.substring(t,Ke):r)===i&&(t=It()),t}())!==i&&xt()!==i?(123===e.charCodeAt(Ke)?(n=h,Ke++):(n=i,0===Ze&&lt(p)),n!==i?($e=Ke,(me(r)?void 0:i)!==i&&(o=dt())!==i?(125===e.charCodeAt(Ke)?(a=m,Ke++):(a=i,0===Ze&&lt(y)),a!==i?($e=t,t=be(r,o)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i)):(Ke=t,t=i),t}function kt(){var t;return Ze++,ye.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=i,0===Ze&&lt(ve)),Ze--,t===i&&(i,0===Ze&&lt(ge)),t}function Et(){var t;return Ze++,ke.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=i,0===Ze&&lt(Ee)),Ze--,t===i&&(i,0===Ze&&lt(we)),t}function xt(){var t,r,n;for(Ze++,t=Ke,r=[],n=kt();n!==i;)r.push(n),n=kt();return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(xe)),t}function Ct(){var t,r,n;return Ze++,t=Ke,45===e.charCodeAt(Ke)?(r=Se,Ke++):(r=i,0===Ze&&lt(Oe)),r===i&&(r=null),r!==i&&(n=_t())!==i?($e=t,t=r=Pe(r,n)):(Ke=t,t=i),Ze--,t===i&&(r=i,0===Ze&&lt(Ce)),t}function St(){var t,r;return Ze++,t=Ke,e.substr(Ke,2)===_e?(r=_e,Ke+=2):(r=i,0===Ze&&lt(Ie)),r!==i&&($e=t,r=Te()),Ze--,(t=r)===i&&(r=i,0===Ze&&lt(Ae)),t}function Ot(){var t,r,n,o,a,s;if(t=Ke,39===e.charCodeAt(Ke)?(r=z,Ke++):(r=i,0===Ze&&lt(B)),r!==i)if((n=function(){var t,r,n,o;t=Ke,r=Ke,e.length>Ke?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(x));n!==i?($e=Ke,(o=(o=Re(n))?void 0:i)!==i?r=n=[n,o]:(Ke=r,r=i)):(Ke=r,r=i);t=r!==i?e.substring(t,Ke):r;return t}())!==i){for(o=Ke,a=[],e.substr(Ke,2)===_e?(s=_e,Ke+=2):(s=i,0===Ze&&lt(Ie)),s===i&&(V.test(e.charAt(Ke))?(s=e.charAt(Ke),Ke++):(s=i,0===Ze&&lt(W)));s!==i;)a.push(s),e.substr(Ke,2)===_e?(s=_e,Ke+=2):(s=i,0===Ze&&lt(Ie)),s===i&&(V.test(e.charAt(Ke))?(s=e.charAt(Ke),Ke++):(s=i,0===Ze&&lt(W)));(o=a!==i?e.substring(o,Ke):a)!==i?(39===e.charCodeAt(Ke)?(a=z,Ke++):(a=i,0===Ze&&lt(B)),a===i&&(a=null),a!==i?($e=t,t=r=De(n,o)):(Ke=t,t=i)):(Ke=t,t=i)}else Ke=t,t=i;else Ke=t,t=i;return t}function Pt(){var t,r,n,o;return t=Ke,r=Ke,e.length>Ke?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(x)),n!==i?($e=Ke,(o=(o=Me(n))?void 0:i)!==i?r=n=[n,o]:(Ke=r,r=i)):(Ke=r,r=i),r===i&&(10===e.charCodeAt(Ke)?(r=je,Ke++):(r=i,0===Ze&&lt(Fe))),t=r!==i?e.substring(t,Ke):r}function At(){var t,r;return Ze++,t=Ke,(r=_t())===i&&(r=It()),t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(Le)),t}function _t(){var t,r,n,o,a;if(Ze++,t=Ke,48===e.charCodeAt(Ke)?(r=Ue,Ke++):(r=i,0===Ze&&lt(He)),r!==i&&($e=t,r=ze()),(t=r)===i){if(t=Ke,r=Ke,Be.test(e.charAt(Ke))?(n=e.charAt(Ke),Ke++):(n=i,0===Ze&&lt(Ve)),n!==i){for(o=[],We.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(qe));a!==i;)o.push(a),We.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(qe));o!==i?r=n=[n,o]:(Ke=r,r=i)}else Ke=r,r=i;r!==i&&($e=t,r=Ge(r)),t=r}return Ze--,t===i&&(r=i,0===Ze&&lt(Ne)),t}function It(){var t,r,n,o,a;if(Ze++,t=Ke,r=[],n=Ke,o=Ke,Ze++,(a=kt())===i&&(a=Et()),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i),n!==i)for(;n!==i;)r.push(n),n=Ke,o=Ke,Ze++,(a=kt())===i&&(a=Et()),Ze--,a===i?o=void 0:(Ke=o,o=i),o!==i?(e.length>Ke?(a=e.charAt(Ke),Ke++):(a=i,0===Ze&&lt(x)),a!==i?n=o=[o,a]:(Ke=n,n=i)):(Ke=n,n=i);else r=i;return t=r!==i?e.substring(t,Ke):r,Ze--,t===i&&(r=i,0===Ze&&lt(Xe)),t}var Tt=["root"];function Dt(){return"plural"===Tt[Tt.length-1]}function Mt(){return t&&t.captureLocation?{location:tt()}:{}}if((r=a())!==i&&Ke===e.length)return r;throw r!==i&&Ke<e.length&&lt({type:"end"}),ct(Je,Ye<e.length?e.charAt(Ye):null,Ye<e.length?st(Ye,Ye+1):st(Ye,Ye))},v=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},w=/(^|[^\\])#/g;function k(e,t){var r=y(e,t);return t&&!1===t.normalizeHashtagInPlural||function e(t){t.forEach((function(t){(u(t)||c(t))&&Object.keys(t.options).forEach((function(r){for(var n,o=t.options[r],a=-1,s=void 0,l=0;l<o.value.length;l++){var c=o.value[l];if(i(c)&&w.test(c.value)){a=l,s=c;break}}if(s){var u=s.value.replace(w,"$1{"+t.value+", number}"),d=y(u);(n=o.value).splice.apply(n,v([a,1],d))}e(o.value)}))}))}(r),r}var E=r(49),x=function(){return(x=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},C=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function S(e){var t={};return e.replace(C,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""})),t}var O=/^\.(?:(0+)(\+|#+)?)?$/g,P=/^(@+)?(\+|#+)?$/g;function A(e){var t={};return e.replace(P,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function I(e){var t=_(e);return t||{}}function T(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=x(x(x({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return x(x({},e),I(t))}),{}));continue;case"engineering":t=x(x(x({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return x(x({},e),I(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(O.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(O,(function(e,r,n){return"."===e?t.maximumFractionDigits=0:"+"===n?t.minimumFractionDigits=n.length:"#"===r[0]?t.maximumFractionDigits=r.length:(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+("string"==typeof n?n.length:0)),""})),i.options.length&&(t=x(x({},t),A(i.options[0])))}else if(P.test(i.stem))t=x(x({},t),A(i.stem));else{var o=_(i.stem);o&&(t=x(x({},t),o))}}return t}var D,M=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),j=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},F=function(e){function t(t,r){var n=e.call(this,t)||this;return n.variableId=r,n}return M(t,e),t}(Error);function R(e,t,r,n,p,m,b){if(1===e.length&&i(e[0]))return[{type:0,value:e[0].value}];for(var g,y=[],v=0,w=e;v<w.length;v++){var k=w[v];if(i(k))y.push({type:0,value:k.value});else if(d(k))"number"==typeof m&&y.push({type:0,value:r.getNumberFormat(t).format(m)});else{var E=k.value;if(!(p&&E in p))throw new F('The intl string context variable "'+E+'" was not provided to the string "'+b+'"');var x=p[E];if(o(k))x&&"string"!=typeof x&&"number"!=typeof x||(x="string"==typeof x||"number"==typeof x?String(x):""),y.push({type:1,value:x});else if(s(k)){var C="string"==typeof k.style?n.date[k.style]:void 0;y.push({type:0,value:r.getDateTimeFormat(t,C).format(x)})}else if(l(k)){C="string"==typeof k.style?n.time[k.style]:h(k.style)?S(k.style.pattern):void 0;y.push({type:0,value:r.getDateTimeFormat(t,C).format(x)})}else if(a(k)){C="string"==typeof k.style?n.number[k.style]:f(k.style)?T(k.style.tokens):void 0;y.push({type:0,value:r.getNumberFormat(t,C).format(x)})}else if(c(k)){if(!(O=k.options[x]||k.options.other))throw new RangeError('Invalid values for "'+k.value+'": "'+x+'". Options are "'+Object.keys(k.options).join('", "')+'"');y.push.apply(y,R(O.value,t,r,n,p))}else if(u(k)){var O;if(!(O=k.options["="+x])){if(!Intl.PluralRules)throw new F('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var P=r.getPluralRules(t,{type:k.pluralType}).select(x-(k.offset||0));O=k.options[P]||k.options.other}if(!O)throw new RangeError('Invalid values for "'+k.value+'": "'+x+'". Options are "'+Object.keys(k.options).join('", "')+'"');y.push.apply(y,R(O.value,t,r,n,p,x-(k.offset||0)))}else;}}return(g=y).length<2?g:g.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}var L="@@",N=/@@(\d+_\d+)@@/g,U=0;function H(e,t){return e.split(N).filter(Boolean).map((function(e){return null!=t[e]?t[e]:e})).reduce((function(e,t){return e.length&&"string"==typeof t&&"string"==typeof e[e.length-1]?e[e.length-1]+=t:e.push(t),e}),[])}var z=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,B=Date.now()+"@@",V=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function W(e,t,r,n,i,o){var a=R(e,t,r,n,i,void 0,o),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var r=Date.now()+"_"+ ++U;return s[r]=t.value,e+""+L+r+L}),"");if(!z.test(l))return H(l,s);if(!i)throw new F("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new F("Cannot format XML message without DOMParser");D||(D=new DOMParser);var c=D.parseFromString('<formatted-message id="'+B+'">'+l+"</formatted-message>","text/html").getElementById(B);if(!c)throw new F("Malformed HTML message "+l);var u=Object.keys(i).filter((function(e){return!!c.getElementsByTagName(e).length}));if(!u.length)return H(l,s);var d=u.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new F("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(c.childNodes).reduce((function(e,t){return e.concat(function e(t,r,n){var i=t.tagName,o=t.outerHTML,a=t.textContent,s=t.childNodes;if(!i)return H(a||"",r);i=i.toLowerCase();var l=~V.indexOf(i),c=n[i];if(c&&l)throw new F(i+" is a self-closing tag and can not be used, please use another tag name.");if(!s.length)return[o];var u=Array.prototype.slice.call(s).reduce((function(t,i){return t.concat(e(i,r,n))}),[]);return c?"function"==typeof c?[c.apply(void 0,u)]:[c]:j(["<"+i+">"],u,["</"+i+">"])}(t,s,i))}),[])}var q=function(){return(q=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function G(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?q(q(q({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=q(q({},i[t]),o[t]||{}),e}),{})):i),r}),q({},e)):e}var X=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return function(e,t,r,n,i,o){var a=R(e,t,r,n,i,void 0,o);return 1===a.length?a[0].value:a.reduce((function(e,t){return e+t.value}),"")}(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.formatToParts=function(e){return R(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.formatHTMLMessage=function(e){return W(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=G(e.formats,n),this.locales=r,this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(E.a)(Intl.NumberFormat,o.number),getDateTimeFormat:Object(E.a)(Intl.DateTimeFormat,o.dateTime),getPluralRules:Object(E.a)(Intl.PluralRules,o.pluralRules)})}return e.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,e.__parse=k,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();t.a=X},function(e,t,r){"use strict";var n=r(0),i=r(156);r(508);t.a=e=>{let{children:t}=e;return n.createElement("span",{className:"menu-toggle"},t,n.createElement(i.a,{className:"toggle-arrow",width:7}))}},,function(e,t,r){"use strict";var n=r(0),i=r(12),o=r.n(i),a=r(51),s=r.n(a);r(444);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let d;!function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(d||(d={}));const f={[d.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[d.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[d.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[d.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[d.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[d.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[d.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[d.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[d.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class h extends n.Component{constructor(){super(...arguments),u(this,"tetherRef",n.createRef()),u(this,"radarAnimationID",o()("radarAnimation")),u(this,"position",()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()})}render(){const e=this.props,{children:t,className:r="",constrainToScrollParent:i,constrainToWindow:o,position:a,isShown:u,offset:d,tetherElementClassName:h}=e,p=c(e,["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"]),m=[];i&&m.push({to:"scrollParent",attachment:"together"}),o&&m.push({to:"window",attachment:"together"});const{attachment:b,targetAttachment:g}=f[a],y=n.Children.only(t),v=n.cloneElement(y,{"aria-describedby":this.radarAnimationID}),w={attachment:b,classPrefix:"radar-animation",constraints:m,targetAttachment:g};return h&&(w.className=h),d&&(w.offset=d),n.createElement(s.a,l({ref:this.tetherRef},w),v,u&&n.createElement("div",l({className:"radar ".concat(r),id:this.radarAnimationID},p),n.createElement("div",{className:"radar-dot"}),n.createElement("div",{className:"radar-circle"})))}}u(h,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:d.MIDDLE_RIGHT});var p=h;r.d(t,"a",(function(){return p}))},,,,,,function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(10);t.a=e=>{let{className:t="",color:r="#000",height:o=6,title:a,width:s=10}=e;return n.createElement(i.a,{className:"icon-caret-down ".concat(t),height:o,title:a,viewBox:"0 0 10 6",width:s},n.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"}))}},,,,function(e,t,r){var n=r(349),i=r(88),o=r(270),a=r(314),s=r(467),l=Math.max;e.exports=function(e,t,r,c){e=i(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),o(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},,,function(e,t,r){var n=r(132),i=r(374),o=r(375),a=r(376),s=r(377),l=r(378);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(402),i=r(175),o=r(176),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},function(e,t,r){"use strict";var n=r(0),i=r(31);function o(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}t.a=e=>{const t=t=>{let{isLoading:r=!1,loadingIndicatorProps:a={}}=t,s=o(t,["isLoading","loadingIndicatorProps"]);return r?n.createElement(i.b,a):n.createElement(e,s)};return t.displayName="Loadable".concat(e.displayName||e.name||"Component"),t}},function(e,t,r){"use strict";var n=r(0),i=r(281),o=r(282),a=r(283),s=r(284),l=r(211),c=r(285),u=r(286),d=r(287),f=r(288),h=r(289),p=r(290),m=r(291),b=r(292),g=r(293),y=r(294),v=r(295),w=r(296),k=r(297),E=r(298),x=r(299),C=r(300),S=r(207),O=r(301),P=r(302),A=r(212),_=r(303),I=r(304),T=r(305),D=r(306);const M={IconFileAudio:i.a,IconFileBoxCanvas:o.a,IconFileBoxNote:a.a,IconFileCode:s.a,IconFileDefault:l.a,IconFileDocument:S.a,IconFileDwg:c.a,IconFileExcelSpreadsheet:u.a,IconFileGoogleDocs:d.a,IconFileGoogleSheets:f.a,IconFileGoogleSlides:h.a,IconFileIllustrator:p.a,IconFileImage:m.a,IconFileIndesign:b.a,IconFileKeynote:g.a,IconFileNumbers:y.a,IconFilePages:v.a,IconFilePDF:w.a,IconFilePhotoshop:k.a,IconFilePowerpointPresentation:E.a,IconFilePresentation:x.a,IconFileSpreadsheet:C.a,IconFileText:S.a,IconFileThreeD:O.a,IconFileVector:P.a,IconFileVideo:A.a,IconFileWordDocument:_.a,IconFileXbd:I.a,IconFileXdw:T.a,IconFileZip:D.a},j=e=>e.reduce((e,t)=>(e[t]=t,e),{}),F={IconFileAudio:j(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),IconFileBoxCanvas:j(["boxcanvas"]),IconFileBoxNote:j(["boxnote"]),IconFileCode:j(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),IconFileDocument:j(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),IconFileDwg:j(["dwg","dwgzip"]),IconFileExcelSpreadsheet:j(["xls","xlsx","xlsm","xlsb"]),IconFileGoogleDocs:j(["gdoc"]),IconFileGoogleSheets:j(["gsheet"]),IconFileGoogleSlides:j(["gslide","gslides"]),IconFileVector:j(["eps"]),IconFileIllustrator:j(["ai"]),IconFileIndesign:j(["idml","indd","indt","inx"]),IconFileKeynote:j(["key"]),IconFileNumbers:j(["numbers"]),IconFilePages:j(["pages"]),IconFileImage:j(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),IconFilePDF:j(["pdf"]),IconFilePresentation:j(["odp","otp","pot","potx"]),IconFilePowerpointPresentation:j(["ppt","pptx","pptm"]),IconFilePhotoshop:j(["psd"]),IconFileSpreadsheet:j(["csv","ods","tsv","xlt","xltx"]),IconFileText:j(["txt","vi","vim","webdoc"]),IconFileThreeD:j(["3ds","dae","fbx","obj","ply","stl"]),IconFileVideo:j(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),IconFileWordDocument:j(["docx","doc","docm"]),IconFileXbd:j(["xbd"]),IconFileXdw:j(["xdw"]),IconFileZip:j(["rar","tgz","zip"])};t.a=e=>{let{dimension:t=32,extension:r="",title:i}=e;const o=M[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const t=Object.keys(F).filter(t=>!!F[t][e.toLowerCase()])[0];return t||"IconFileDefault"}(r)];return n.createElement(o,{height:t,title:i,width:t})}},,function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},function(e,t,r){var n=r(73)(r(42),"Map");e.exports=n},function(e,t,r){var n=r(60),i=r(39),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=n(e);return t==a||t==s||t==o||t==l}},function(e,t,r){var n=r(173),i=r(111),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];o.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(224);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(222),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i&&n.process,s=function(){try{var e=o&&o.require&&o.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,r(164)(e))},function(e,t,r){var n=r(408),i=r(228),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},function(e,t,r){var n=r(226)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(310);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},,function(e,t,r){"use strict";var n=r(435),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(o[g]||n&&n[g]||m&&m[g]||s&&s[g])){var y=f(r,g);try{c(t,g,y)}catch(e){}}}}return t}},function(e,t,r){var n=r(446),i=r(312);e.exports=function(e,t){return null!=e&&i(e,t,n)}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(54),o=r(11);const a=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function s(e,t){let{locale:r,formats:n,onError:i}=e,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:l}=s,c=l&&Object(o.g)(n,"number",l,i)||{};return t(r,Object(o.f)(s,a,c))}function l(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).format(r)}catch(t){e.onError(Object(o.b)("Error formatting number.",t))}return String(r)}function c(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).formatToParts(r)}catch(t){e.onError(Object(o.b)("Error formatting number.",t))}return[]}const u=["numeric","style"];function d(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};n||(n="second"),Intl.RelativeTimeFormat||e.onError(Object(o.b)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t){let{locale:r,formats:n,onError:i}=e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:s}=a,l=!!s&&Object(o.g)(n,"relative",s,i)||{};return t(r,Object(o.f)(a,u,l))}(e,t,i).format(r,n)}catch(t){e.onError(Object(o.b)("Error formatting relative time.",t))}return String(r)}function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const h=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function p(e,t,r){let{locale:n,formats:i,onError:a,timeZone:s}=e,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{format:c}=l,u=f(f({},s&&{timeZone:s}),c&&Object(o.g)(i,t,c,a));let d=Object(o.f)(l,h,u);return"time"!==t||d.hour||d.minute||d.second||(d=f(f({},d),{hour:"numeric",minute:"numeric"})),r(n,d)}function m(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).format(i)}catch(t){e.onError(Object(o.b)("Error formatting date.",t))}return String(i)}function b(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).format(i)}catch(t){e.onError(Object(o.b)("Error formatting time.",t))}return String(i)}function g(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).formatToParts(i)}catch(t){e.onError(Object(o.b)("Error formatting date.",t))}return[]}function y(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).formatToParts(i)}catch(t){e.onError(Object(o.b)("Error formatting time.",t))}return[]}const v=["localeMatcher","type"];function w(e,t,r){let{locale:n,onError:i}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||i(Object(o.b)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));const s=Object(o.f)(a,v);try{return t(n,s).select(r)}catch(e){i(Object(o.b)("Error formatting plural.",e))}return"other"}var k=r(107),E=r(85),x=r.n(E);const C=["localeMatcher","type","style"],S=Date.now();function O(e,t,r){let{locale:n,onError:i}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||i(Object(o.b)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));const s=Object(o.f)(a,C);try{const e={},i=r.map((t,r)=>{if("object"==typeof t){const n=function(e){return"".concat(S,"_").concat(e,"_").concat(S)}(r);return e[n]=t,n}return String(t)});return Object.keys(e).length?t(n,s).formatToParts(i).reduce((t,r)=>{const n=r.value;return e[n]?t.push(e[n]):"string"==typeof t[t.length-1]?t[t.length-1]+=n:t.push(n),t},[]):t(n,s).format(i)}catch(e){i(Object(o.b)("Error formatting list.",e))}return r}function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}r.d(t,"a",(function(){return T}));const A=x.a||E;function _(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function I(e,t){const r=Object(o.c)(t),n=P(P({},o.a),e);if(!n.locale||!function(e,t){if("undefined"==typeof Intl)return!1;if(!e)throw new Error("locales must be supplied.");Array.isArray(e)||(e=[e]);var r=t||[Intl.DateTimeFormat,Intl.NumberFormat,Intl.PluralRules];return!(0===(r=r.filter(Boolean)).length||t&&r.length!==t.length)&&r.every((function(t){return t.supportedLocalesOf(e).length===e.length}))}(n.locale)){const{locale:e,defaultLocale:t,onError:r}=n;"function"==typeof r&&r(Object(o.b)('Missing locale data for locale: "'.concat(e,'". ')+'Using default locale: "'.concat(t,'" as fallback.'))),n.locale=n.defaultLocale||"en"}return P(P({},n),{formatters:r,formatNumber:l.bind(null,n,r.getNumberFormat),formatNumberToParts:c.bind(null,n,r.getNumberFormat),formatRelativeTime:d.bind(null,n,r.getRelativeTimeFormat),formatDate:m.bind(null,n,r.getDateTimeFormat),formatDateToParts:g.bind(null,n,r.getDateTimeFormat),formatTime:b.bind(null,n,r.getDateTimeFormat),formatTimeToParts:y.bind(null,n,r.getDateTimeFormat),formatPlural:w.bind(null,n,r.getPluralRules),formatMessage:k.b.bind(null,n,r),formatHTMLMessage:k.a.bind(null,n,r),formatList:O.bind(null,n,r.getListFormat)})}class T extends n.PureComponent{constructor(){super(...arguments),this.cache=Object(o.d)(),this.state={cache:this.cache,intl:I(_(this.props),this.cache),prevConfig:_(this.props)}}static getDerivedStateFromProps(e,t){let{prevConfig:r,cache:n}=t;const i=_(e);return A(r,i)?null:{intl:I(i,n),prevConfig:i}}render(){return Object(o.h)(this.state.intl),n.createElement(i.b,{value:this.state.intl},this.props.children)}}T.displayName="IntlProvider",T.defaultProps=o.a},,function(e,t,r){"use strict";var n=r(0),i=r(119),o=r(204),a=r(5);r(638);t.a=()=>n.createElement("section",{className:"be-default-error"},n.createElement(o.a,{errorHeader:n.createElement(i.a,a.a.defaultErrorMaskHeaderMessage),errorSubHeader:n.createElement(i.a,a.a.defaultErrorMaskSubHeaderMessage)}))},,function(e,t,r){var n=r(385),i=r(392),o=r(394),a=r(395),s=r(396);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(105),i=r(101);e.exports=function(e,t){for(var r=0,o=(t=n(t,e)).length;null!=e&&r<o;)e=e[i(t[r++])];return r&&r==o?e:void 0}},function(e,t){e.exports=function(e){return e}},,,function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},,,function(e,t,r){"use strict";var n=r(74),i=r(3),o=r.n(i),a=r(120),s=r.n(a),l=r(25),c=r(76),u=r(256),d=r.n(u);function f(){return window.crypto||window.msCrypto}function h(e,t){const r=f();return r!==window.msCrypto?r.subtle.digest(e,t):new Promise((n,i)=>{if("SHA-1"===e)try{const e=d.a.arrayBuffer(t);n(e)}catch(e){i(e)}else{const o=r.subtle.digest({name:e},t);o.oncomplete=e=>{n(e.target.result)},o.onerror=i}})}function p(e,t,r){"use asm";var n=new e.Int32Array(r);function i(e,t){e=e|0;t=t|0;var r=0,i=0,o=0,a=0,s=0,l=0,c=0,u=0,d=0,f=0,h=0,p=0,m=0,b=0;o=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;h=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=o;l=s;u=c;f=d;p=h;for(i=0;(i|0)<64;i=i+4|0){b=n[r+i>>2]|0;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[e+i>>2]=b}for(i=e+64|0;(i|0)<(e+80|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+80|0;(i|0)<(e+160|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+h|0)+1859775393|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+160|0;(i|0)<(e+240|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s&c|s&d|c&d)|0)+((b+h|0)-1894007588|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}for(i=e+240|0;(i|0)<(e+320|0);i=i+4|0){b=(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])<<1|(n[i-12>>2]^n[i-32>>2]^n[i-56>>2]^n[i-64>>2])>>>31;m=((o<<5|o>>>27)+(s^c^d)|0)+((b+h|0)-899497514|0)|0;h=d;d=c;c=s<<30|s>>>2;s=o;o=m;n[i>>2]=b}o=o+a|0;s=s+l|0;c=c+u|0;d=d+f|0;h=h+p|0}n[t+320>>2]=o;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=h}return{hash:i}}var m=()=>{const e=new Blob(["const RushaCore = ".concat(p.toString()),";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:i,fileSize:o,partContents:a}=n,s=Date.now();try{if(i.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=i.size,i.offset+i.size===o){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:i};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r},b=r(59),g=r(1),y=r(8),v=r.n(y),w=r(257),k=r.n(w);var E=r(14);function x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=5,S=10;class O extends E.a{constructor(){super(...arguments),x(this,"retryCount",0),x(this,"reachabilityRetryCount",0),x(this,"isUploadFallbackLogicEnabled",!1),x(this,"makePreflightRequest",()=>{if(this.isDestroyed())return;let e="".concat(this.getBaseApiUrl(),"/files/content");if(this.fileId&&(e=e.replace("content","".concat(this.fileId,"/content"))),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+="?unreachable_hosts=".concat(t.join(",")))}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})}),x(this,"preflightSuccessReachabilityHandler",async e=>{let{data:t}=e;if(this.isDestroyed())return;const{upload_url:r}=t;if(!r)return void this.preflightSuccessHandler({data:t});const n=this.getUploadHostFromUrl(r);n!=="".concat(g.X,"/")&&n!=="".concat(g.Y,"/")&&n!=="".concat(g.Z,"/")?await this.uploadsReachability.isReachable(n)?this.preflightSuccessHandler({data:t}):this.reachabilityRetryCount>=S?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest()):this.preflightSuccessHandler({data:t})}),x(this,"preflightErrorHandler",e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=C)this.errorCallback(t);else if(t&&409===t.status){if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(e)}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*g.Me),this.retryCount+=1);else{let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*g.Me)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}})}readFile(e,t){return new Promise((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n})}getUploadHostFromUrl(e){const t=e.split("/");return"".concat(t[0],"//").concat(t[2],"/")}}var P=O;function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5};var T=class extends P{constructor(e,t,r){super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{shouldRetry:!1})),_(this,"logEvent",(e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})}),this.config=r||I,this.sessionEndpoints=t}};function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M=0,j=1,F=2,R=3;var L=class extends T{constructor(e,t,r,n,i,a,s,u,d,f,h,p){super(e,s,u),D(this,"toJSON",()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha256:this.sha256,timing:this.timing})),D(this,"getPart",()=>this.data.part||{}),D(this,"upload",()=>{if(this.isDestroyedOrPaused())return;if(!this.sha256)throw new Error("Part SHA-256 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:"sha-256=".concat(this.sha256),"Content-Range":"bytes ".concat(this.offset,"-").concat(this.rangeEnd,"/").concat(this.fileSize),"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=F,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:g.qe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})}),D(this,"uploadSuccessHandler",e=>{let{data:t}=e;this.isDestroyedOrPaused()||(this.state=R,this.consoleLog("Upload completed: ".concat(this.toJSON(),".")),this.data=t,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)}),D(this,"uploadProgressHandler",e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)}),D(this,"uploadErrorHandler",async e=>{if(this.isDestroyedOrPaused())return;const t=v()(this.xhr,"xhr.readyState",null),r=v()(this.xhr,"xhr.statusText","");this.consoleLog("Upload failure ".concat(e.message," for part ").concat(this.toJSON(),". XHR state: ").concat(t,"."));const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},i=JSON.stringify(n);if(this.sessionEndpoints.logEvent?Object(c.a)((e,t)=>{this.logEvent("part_failure",i).then(e).catch(t)},this.config.retries,this.config.initialRetryDelayMs).catch(e=>this.consoleLog("Failure in logEvent: ".concat(e.message))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,i);const o=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog("Retrying uploading part ".concat(this.toJSON()," in ").concat(o," ms")),this.retryTimeout=setTimeout(this.retryUpload,o)}),D(this,"retryUpload",async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog("Part ".concat(this.toJSON()," is available on server. Not re-uploading.")),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog("Part ".concat(this.toJSON()," is not available on server. Re-uploading.")),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog("Error ".concat(t.status," while listing part ").concat(this.toJSON(),". Re-uploading.")),this.numUploadRetriesPerformed+=1,this.upload()}}),D(this,"listParts",async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new k.a(e);return Object.keys(t).forEach(e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))}),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries}),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=i,this.state=M,this.timing={},this.uploadedBytes=0,this.data={},this.config=u,this.rangeEnd=r+n-1,this.rangeEnd>i-1&&(this.rangeEnd=i-1),this.isPaused=!1,this.onSuccess=f||o.a,this.onError=p||o.a,this.onProgress=h||o.a,this.getNumPartsUploading=d}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=j,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=F,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N(Object(r),!0).forEach((function(t){H(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z="create_session_misc_error",B="create_session_retries_exceeded",V="file_changed_during_upload",W="part_upload_retries_exceeded",q="commit_retries_exceeded",G="web_worker_error",X="file_reader_received_not_found_error",K="part_digest_retries_exceeded";var $=class extends T{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),H(this,"getBaseUploadUrlFromPreflightResponse",e=>{let{data:t}=e;if(!t||!t.upload_url)return this.getBaseUploadUrl();const r=t.upload_url.split("/");return this.uploadHost="".concat(r[0],"//").concat(r[2]),this.getBaseUploadUrl()}),H(this,"preflightSuccessHandler",async e=>{if(this.isDestroyed())return;const t=this.getBaseUploadUrlFromPreflightResponse(e);let r="".concat(t,"/files/upload_sessions");r.includes("fupload-ec2")&&(this.config.parallelism=1);const n={file_size:this.file.size,file_name:this.fileName};this.fileId?r=r.replace("upload_sessions","".concat(this.fileId,"/upload_sessions")):n.folder_id=this.folderId;try{const e=await this.xhr.post({url:r,data:n});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&t.status===g.te&&t.code===g.Dc||t.status===g.te&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return this.resolveConflict(t),void this.createSessionRetry();this.sessionErrorHandler(e,z,JSON.stringify(e))}}),H(this,"createSessionErrorHandler",e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,B,JSON.stringify(e))))}),H(this,"getSessionInfo",async()=>{const e=this.getBaseUploadUrl(),t="".concat(e,"/files/upload_sessions/").concat(this.sessionId);try{const e=await this.xhr.get({url:t});this.getSessionSuccessHandler(e.data)}catch(e){this.getSessionErrorHandler(e)}}),H(this,"partUploadSuccessHandler",e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()}),H(this,"partUploadErrorHandler",(e,t)=>{if(this.sessionErrorHandler(e,W,t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&t.state===F&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}}),H(this,"updateProgress",(e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))}),H(this,"processNextParts",()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}}),H(this,"onWorkerMessage",e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){this.numPartsDigestComputing-=1;const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=function(e){return btoa(String.fromCharCode.apply(null,e.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))}(t.sha1),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,G,JSON.stringify(t))}),H(this,"sendPartToWorker",(e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog("Part sent to worker: ".concat(JSON.stringify(e),".}"))}),H(this,"onPartDigestError",(e,t)=>{if(this.consoleLog("Error computing digest for part ".concat(JSON.stringify(t),": ").concat(JSON.stringify(e))),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,X,JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,K,JSON.stringify(e));const r=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog("Retrying digest work for part ".concat(JSON.stringify(t)," in ").concat(r," ms")),setTimeout(()=>{this.computeDigestForPart(t)},r)}),H(this,"commitSession",()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map(t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart())).sort((e,t)=>e.offset-t.offset),attributes:{}},r=Object(l.k)(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},i=this.fileSha1,o={Digest:"sha=".concat(i),"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:o}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)}),H(this,"commitSessionSuccessHandler",e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)}),H(this,"commitSessionErrorHandler",e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,q,JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)}),H(this,"getNumPartsUploading",()=>this.numPartsUploading),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo(e){let{file:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.file=t,this.fileName=this.file.name,this.folderId=r,this.errorCallback=n||o.a,this.progressCallback=i||o.a,this.successCallback=a||o.a,this.overwrite=s,this.conflictCallback=l,this.fileId=c}upload(e){let{file:t,fileDescription:r,folderId:n,errorCallback:i,progressCallback:a,successCallback:s,overwrite:c=!0,conflictCallback:u,fileId:d}=e;this.file=t,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=Object(l.k)(this.file),this.folderId=n,this.errorCallback=i||o.a,this.progressCallback=a||o.a,this.successCallback=s||o.a,this.sha1Worker=m(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=u,this.overwrite=c,this.fileId=d,this.fileDescription=r,this.makePreflightRequest()}createSessionRetry(){const e=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog("Retrying create session in ".concat(e," ms")),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=U({},this.sessionEndpoints,{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume(e){let{file:t,folderId:r,errorCallback:n,progressCallback:i,sessionId:o,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.setFileInfo({file:t,folderId:r,errorCallback:n,progressCallback:i,successCallback:a,conflictCallback:l,overwrite:s,fileId:c}),this.sessionId=o,this.sha1Worker||(this.sha1Worker=m()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=U({},this.sessionEndpoints,{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);s()(r)||(e=r*g.Me)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach(e=>{e.cancel()}),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*g.Me),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await Object(c.a)((e,n)=>{this.logEvent(t,r).then(e).catch(n)},this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then(()=>{this.sessionId=""})}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(t.state===M)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:i,readCompleteTimestamp:o}=await this.readFile(r,t),a=await h("SHA-256",i),s=btoa([].reduce.call(new Uint8Array(a),(e,t)=>e+String.fromCharCode(t),""));this.sendPartToWorker(e,i),e.sha256=s,e.state=j,e.blob=t,this.numPartsDigestReady+=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:o-n,subtleCryptoTime:l-o},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=g.hb;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const i=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const o=n||i;this.consoleLog("Retrying commit in ".concat(o," ms")),this.commitSessionTimeout=setTimeout(this.commitSession,o)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(t.state===j){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&e.state===R;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new L(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=Object(l.k)(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return b.a.isIE()?(this.sessionErrorHandler(null,V,r),!0):(this.consoleLog("file properties changed during upload: ".concat(r)),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach(e=>{e.cancel()}),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(t)}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function Q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Y="Content-MD5";var J=class extends P{constructor(){super(...arguments),Q(this,"uploadSuccessHandler",e=>{let{data:t}=e;const{entries:r}=t;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(r)}),Q(this,"uploadProgressHandler",e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)}),Q(this,"preflightSuccessHandler",async e=>{let{data:t}=e;if(this.isDestroyed())return;let r=t.upload_url;r||(r="".concat(this.getBaseUploadUrl(),"/files/content"),this.fileId&&(r=r.replace("content","".concat(this.fileId,"/content"))));const n={url:r,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:Object(l.k)(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},i=await this.computeSHA1(this.file);i&&(n.headers={[Y]:i}),this.xhr.uploadFile(n)})}upload(e){let{folderId:t,fileId:r,file:n,fileDescription:i,successCallback:a=o.a,errorCallback:s=o.a,progressCallback:l=o.a,conflictCallback:c,overwrite:u=!0}=e;this.isDestroyed()||(this.folderId=t,this.fileId=r,this.file=n,this.fileDescription=i,this.fileName=this.file.name,this.successCallback=a,this.errorCallback=s,this.progressCallback=l,this.overwrite=u,this.conflictCallback=c,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),i=await h("SHA-1",n);t=Array.from(new Uint8Array(i)).map(e=>"00".concat(e.toString(16)).slice(-2)).join("")}catch(e){}return t}},Z=r(75),ee=r(55),te=r(61),re=r(81),ne=r(18),ie=r(7);function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class le extends E.a{constructor(){super(...arguments),se(this,"searchSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,total_count:n,limit:i,offset:o}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof i||"number"!=typeof o)throw Object(ie.a)();const a=Object(re.a)(r,new Z.a(this.options),new ee.a(this.options),new te.a(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,{item_collection:ae({},t,{entries:this.itemCache})}),this.finish()}),se(this,"searchErrorHandler",e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)})}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return"".concat(g.t).concat(e,"|").concat(t)}getUrl(){return"".concat(this.getBaseApiUrl(),"/search")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(ie.a)();const{entries:n,total_count:i}=r;if(!Array.isArray(n)||"number"!=typeof i)throw Object(ie.a)();const o={id:this.id,items:n.map(t=>e.get(t)),offset:this.offset,percentLoaded:100,sortBy:g.xd,sortDirection:g.Nf,totalCount:i};this.successCallback(o)}searchRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||ne.g;return this.errorCode=g.oc,this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(g.zd)?{"X-Rep-Hints":g.Gg}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,i,o){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=i,this.errorCallback=o,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}}var ce=le;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class fe extends E.a{constructor(){super(...arguments),de(this,"recentsSuccessHandler",e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,order:{by:n,direction:i}}=t,o=[];r.forEach(e=>{let{item:t,interacted_at:r}=e;const{path_collection:n}=t;(this.id===g.ib||!!n&&-1!==n.entries.findIndex(e=>e.id===this.id))&&o.push(ue(t,{interacted_at:r}))});const a=Object(re.a)(o,new Z.a(this.options),new ee.a(this.options),new te.a(this.options));this.getCache().set(this.key,{item_collection:{entries:a,order:[{by:n,direction:i}]}}),this.finish()}),de(this,"recentsErrorHandler",e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)})}getCacheKey(e){return"".concat(g.s).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/recent_items")}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(ie.a)();const{entries:n}=r;if(!Array.isArray(n))throw Object(ie.a)();const i={id:this.id,items:n.map(t=>e.get(t)),percentLoaded:100,sortBy:g.Uc,sortDirection:g.Nf};this.successCallback(i)}recentsRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||ne.g;return this.errorCode=g.Wb,this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(g.zd)?{"X-Rep-Hints":g.Gg}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const i=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&i.unset(this.key),i.has(this.key)?this.finish():this.recentsRequest(n)}}var he=fe,pe=r(20);function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class ge extends E.a{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,i){if(!this.isDestroyed())try{const o=this.getQueryParameters(t,r,i),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:Object(pe.b)(e),params:o}),l=this.data?this.data.entries:[];this.data=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){be(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,o=arguments.length>5?arguments[5]:void 0,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,i,a,o)}}var ye=ge;function ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ve(Object(r),!0).forEach((function(t){Ee(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ke(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xe=class extends ye{constructor(){super(...arguments),Ee(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/versions")}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return"".concat(this.getUrl(e),"/").concat(t)}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,i=v()(t,["permissions",g.jf],!1);return{entries:r.map(e=>{let{permissions:t}=e;return we({},ke(e,["permissions"]),{permissions:we({can_upload:i},t)})}),total_count:n}}deleteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.Eb;try{this.checkApiCallValidity(g.cf,n,r)}catch(e){return void t(e,this.errorCode)}this.delete({id:r,url:this.getVersionUrl(r,o),successCallback:i,errorCallback:t})}getVersions(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:ne.e,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];this.errorCode=g.cc,this.offsetGet(e,t,r,n,i,o,a)}getVersion(e,t,r,n){this.errorCode=g.bc,this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:ne.e.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=v()(r,"restored_from.id"),i=t.entries.find(e=>e.id===n);return i&&(e.version_promoted=i.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.lc;try{this.checkApiCallValidity(g.jf,n,r)}catch(e){return void t(e,this.errorCode)}this.post({id:r,data:{data:{id:o,type:"file_version"}},url:this.getVersionUrl(r,"current"),successCallback:i,errorCallback:t})}restoreVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:i,versionId:o}=e;this.errorCode=g.nc;try{this.checkApiCallValidity(g.cf,n,r)}catch(e){return void t(e,this.errorCode)}this.put({id:r,data:{data:{trashed_at:null}},url:this.getVersionUrl(r,o),successCallback:i,errorCallback:t})}};function Ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Se(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(r),!0).forEach((function(t){Oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Pe=class extends ye{constructor(){super(...arguments),Oe(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(Se({},e,{entries:t}))})}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/comments")}commentsUrl(e){const t="".concat(this.getBaseApiUrl(),"/comments");return e?"".concat(t,"/").concat(e):t}format(e){return Se({},e,{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment(e){let{file:t,message:r,taggedMessage:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.qb;const{id:a="",permissions:s}=t;try{this.checkApiCallValidity(g.af,s,a)}catch(e){return void o(e,this.errorCode)}const l={data:{item:{id:a,type:"file"},message:r,tagged_message:n},params:{fields:ne.b.toString()}};this.post({id:a,url:this.commentsUrl(),data:l,successCallback:i,errorCallback:o})}updateComment(e){let{file:t,commentId:r,message:n,tagged_message:i,permissions:o,successCallback:a,errorCallback:s}=e;this.errorCode=g.sc;const{id:l=""}=t;try{this.checkApiCallValidity(g.ef,o,l)}catch(e){return void s(e,this.errorCode)}const c={data:{message:n,tagged_message:i}};this.put({id:l,url:this.commentsUrl(r),data:c,successCallback:a,errorCallback:s})}deleteComment(e){let{file:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.zb;const{id:a=""}=t;try{this.checkApiCallValidity(g.cf,n,a)}catch(e){return void o(e,this.errorCode)}this.delete({id:a,url:this.commentsUrl(r),successCallback:i,errorCallback:o})}getComments(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:ne.b,o=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.af,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,o,a,i,s)}};function Ae(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ie(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const Te=[g.ye,g.ve,g.xe,g.re,g.ze,g.ue];class De extends E.a{constructor(e){let{retryableStatusCodes:t=Te}=e;super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(r),!0).forEach((function(t){_e(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ae(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},Ie(e,["retryableStatusCodes"]),{retryableStatusCodes:t}))}}var Me=De;function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Le(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var Ne=class extends Me{getUrlForFileTasks(e){return"".concat(this.getBaseApiUrl(),"/undoc/files/").concat(e,"/linked_tasks?limit=").concat(g.l)}getUrlForTaskCreateWithDeps(){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/with_dependencies")}getUrlForTask(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e)}getUrlForTaskWithDeps(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/with_dependencies")}updateTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.vc;const o=i.addedAssignees.map(e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}})),a=i.removedAssignees.map(e=>({op:"delete_task_collaborator",id:e.id})),{id:s,addedAssignees:l,removedAssignees:c}=i,u=Le(i,["id","addedAssignees","removedAssignees"]);this.put({id:r.id,url:this.getUrlForTaskWithDeps(i.id),data:{data:[{op:"update_task",payload:Fe({},u)},...o,...a]},successCallback:n,errorCallback:t})}deleteTask(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.Cb,this.delete({id:r.id,url:this.getUrlForTask(i.id),successCallback:n,errorCallback:t})}getTasksForFile(e){let{errorCallback:t,file:r,successCallback:n}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForFileTasks(r.id),successCallback:n,errorCallback:t})}getTask(e){let{errorCallback:t,file:r,id:n,successCallback:i}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForTask(n),successCallback:i,errorCallback:t})}createTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:i,assignees:o}=e;this.errorCode=g.ub;const a=o.map(e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}})),s=[{target:{id:r.id,type:"file"}}],l={task:Fe({},i),assigned_to:a,task_links:s};this.post({id:r.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:Fe({},l)},successCallback:n,errorCallback:t})}},Ue=r(21),He=r.n(Ue);function ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ze(Object(r),!0).forEach((function(t){Ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var We=class extends Me{getUrlForTaskCollaborators(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/task_collaborators?role=ASSIGNEE&limit=").concat(g.l)}getUrlForTaskCollaboratorCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators")}getUrlForTaskCollaborator(e){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/").concat(e)}getUrlForTaskGroupCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/expand_group")}createTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,task:i,user:o}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:i.id},target:{type:"user",id:o.id}}};this.post({id:r.id,url:this.getUrlForTaskCollaboratorCreate(),data:Be({},a),successCallback:n,errorCallback:t})}createTaskCollaboratorsforGroup(e){let{errorCallback:t,file:r,successCallback:n,task:i,group:o}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:i.id},target:{type:"group",id:o.id}}};this.post({id:r.id,url:this.getUrlForTaskGroupCreate(),data:Be({},a),successCallback:n,errorCallback:t})}getTaskCollaborators(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.ac;const o=this.getUrlForTaskCollaborators(i.id);this.get({id:r.id,successCallback:n,errorCallback:t,url:o})}updateTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:i}=e;this.errorCode=g.wc;const o={data:He()(i,"id")};this.put({id:r.id,url:this.getUrlForTaskCollaborator(i.id),data:Be({},o),successCallback:n,errorCallback:t})}deleteTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:i}=e;this.errorCode=g.Db,this.delete({id:r.id,url:this.getUrlForTaskCollaborator(i.id),successCallback:n,errorCallback:t})}};function qe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qe(Object(r),!0).forEach((function(t){Xe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ke=class extends Me{getUrlForTaskLinkCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_links")}createTaskLink(e){let{errorCallback:t,file:r,successCallback:n,task:i}=e;this.errorCode=g.wb;const o={data:{target:{id:r.id,type:"file"},task:{id:i.id,type:"task"}}};this.post({id:r.id,url:this.getUrlForTaskLinkCreate(),data:Ge({},o),successCallback:n,errorCallback:t})}};function $e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$e(Object(r),!0).forEach((function(t){Ye(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$e(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Je extends E.a{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDestroyed())try{const o=this.getUrl(e),a=Qe({},i,{marker:t,limit:r}),{data:s}=await this.xhr.get({url:o,id:Object(pe.b)(e),params:a}),l=this.data?this.data.entries:[];this.data=Qe({},s,{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,i);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet(e){let{id:t,successCallback:r,errorCallback:n,marker:i="",limit:o=1e3,requestData:a,shouldFetchAll:s=!0}=e;return this.successCallback=r,this.errorCallback=n,this.markerGetRequest(t,i,o,s,a)}}var Ze=Je;function et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const rt=e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?et(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(rt)),t};function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function it(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){ot(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at=class extends Ze{constructor(){super(...arguments),ot(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(rt(e));const t=e.entries.map(rt);this.successCallback(it({},e,{entries:t}))})}getUrl(e){return"".concat(this.getBaseApiUrl(),"/undoc/comments").concat(e?"?file_id=".concat(e):"")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e,t){return"".concat(this.getUrlForId(e),"/replies").concat(t?"?file_id=".concat(t):"")}createComment(e){let{file:t,message:r,successCallback:n,errorCallback:i}=e;this.errorCode=g.qb;const{id:o,permissions:a}=t;try{this.checkApiCallValidity(g.af,a,o)}catch(e){return void i(e,this.errorCode)}this.post({id:o,url:this.getUrl(o),data:{data:{message:r}},successCallback:n,errorCallback:i})}updateComment(e){let{fileId:t,commentId:r,status:n,message:i,permissions:o,successCallback:a,errorCallback:s}=e;if(this.errorCode=g.sc,i)try{this.checkApiCallValidity(g.ef,o,t)}catch(e){return void s(e,this.errorCode)}if(n)try{this.checkApiCallValidity(g.hf,o,t)}catch(e){return void s(e,this.errorCode)}const l={data:{status:n,message:i}};this.put({id:t,url:this.getUrlForId(r),data:l,successCallback:a,errorCallback:s})}deleteComment(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.zb;try{this.checkApiCallValidity(g.cf,n,t)}catch(e){return void o(e,this.errorCode)}this.delete({id:t,url:this.getUrlForId(r),successCallback:i,errorCallback:o})}getComment(e){let{commentId:t,errorCallback:r,fileId:n,permissions:i,successCallback:o}=e;this.errorCode=g.Lb;try{this.checkApiCallValidity(g.af,i,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,errorCallback:r,successCallback:o,url:this.getUrlForId(t)})}getComments(e){let{fileId:t,permissions:r,successCallback:n,errorCallback:i,marker:o,limit:a,shouldFetchAll:s,repliesCount:l}=e;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.af,r,t)}catch(e){return void i(e,this.errorCode)}this.markerGet({id:t,successCallback:n,errorCallback:i,marker:o,limit:a,requestData:it({},l?{replies_count:l}:null),shouldFetchAll:s})}getCommentReplies(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o}=e;this.errorCode=g.Xb;try{this.checkApiCallValidity(g.af,n,t)}catch(e){return void o(e,this.errorCode)}this.get({id:t,errorCallback:o,successCallback:i,url:this.getUrlWithRepliesForId(r)})}createCommentReply(e){let{fileId:t,commentId:r,permissions:n,successCallback:i,errorCallback:o,message:a}=e;this.errorCode=g.tb;try{this.checkApiCallValidity(g.af,n,t)}catch(e){return void o(e,this.errorCode)}this.post({id:t,data:{data:{message:a}},errorCallback:o,successCallback:i,url:this.getUrlWithRepliesForId(r,t)})}};class st extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/file_access_stats/").concat(e)}getFileAccessStats(e,t,r){this.errorCode=g.Hb,this.get({id:e,successCallback:t,errorCallback:r})}}var lt=st;function ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ut(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ct(Object(r),!0).forEach((function(t){dt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ft=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="/file_activities?file_id=".concat(e),i=!!t&&!!t.length,o=r?"true":"false",a="&enable_replies=".concat(o,"&reply_limit=").concat(1),s=i?"&activity_types=".concat(t.join()):"";return"".concat(n).concat(s).concat(a)};class ht extends E.a{getFilteredUrl(e,t,r){return"".concat(this.getBaseApiUrl()).concat(ft(e,t,r))}getActivities(e){let{activityTypes:t,errorCallback:r,fileID:n,permissions:i,repliesCount:o,shouldShowReplies:a,successCallback:s}=e;this.errorCode=g.Ib;try{if(!n)throw new Error("Missing file id!");t.includes(g.Wd)&&this.checkApiCallValidity(g.af,i,n),t.includes(g.Ud)&&this.checkApiCallValidity(g.kf,i,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,successCallback:s,errorCallback:r,requestData:ut({},o?{replies_count:o}:null),url:this.getFilteredUrl(n,t,a)})}}var pt=ht;function mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(r),!0).forEach((function(t){gt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var yt=class extends Ze{getUrl(){return"".concat(this.getBaseApiUrl(),"/groups")}getGroupsInEnterprise(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Ob,this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:bt({usemarker:!0},n),shouldFetchAll:!1})}};function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){kt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et=class extends Ze{getUrl(){return"".concat(this.getBaseApiUrl(),"/users")}getUsersInEnterprise(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Pb,this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:wt({usemarker:!0},n),shouldFetchAll:!1})}};class xt extends E.a{getUrlForGroupCount(e){return"".concat(this.getBaseApiUrl(),"/groups/").concat(e,"/memberships")}getGroupCount(e){let{errorCallback:t=o.a,successCallback:r=o.a,group:n,file:i}=e;return new Promise((e,o)=>this.get({id:i.id,url:this.getUrlForGroupCount(n.id),successCallback:function(){r(...arguments),e(...arguments)},errorCallback:function(){t(...arguments),o()},requestData:{params:{limit:1}}}))}}var Ct=xt,St=r(65),Ot=r.n(St),Pt=r(64);class At extends E.a{getUrl(){return"".concat(this.getBaseApiUrl(),"/users/me")}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return"".concat(this.getBaseApiUrl(),"/users/").concat(e,"/avatar")}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await Pt.a.getReadToken(Object(pe.b)(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},i=Ot.a.stringify(t),o="".concat(this.getAvatarUrl(e),"?").concat(i);return r.set(e,o),o}return null}getUser(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.errorCode=g.Nb,this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}}var _t=At,It=r(12),Tt=r.n(It);class Dt extends ee.a{getMetadataCacheKey(e){return"".concat(g.q).concat(e)}getSkillsCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_skills")}getClassificationCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_classification")}getMetadataUrl(e,t,r){const n="".concat(this.getUrl(e),"/metadata");return t&&r?"".concat(n,"/").concat(t,"/").concat(r):n}getMetadataTemplateUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_templates")}getMetadataTemplateUrlForInstance(e){return"".concat(this.getMetadataTemplateUrl(),"?metadata_instance_id=").concat(e)}getMetadataTemplateSchemaUrl(e){return"".concat(this.getMetadataTemplateUrl(),"/enterprise/").concat(e,"/schema")}getMetadataTemplateUrlForScope(e){return"".concat(this.getMetadataTemplateUrl(),"/").concat(e)}getCustomPropertiesTemplate(){return{id:Tt()("metadata_template_"),scope:g.Fe,templateKey:g.Ie,hidden:!1}}createEditor(e,t,r){const n={};return Object.keys(e).forEach(t=>{t.startsWith("$")||(n[t]=e[t])}),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}async getTemplates(e,t,r){this.errorCode=g.Vb;let n={};const i=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:i,id:Object(pe.b)(e),params:{limit:g.He}})}catch(e){const{status:t}=e;if(Object(ie.e)(t))throw e}return v()(n,"data.entries",[])}getSchemaByTemplateKey(e){const t=this.getMetadataTemplateSchemaUrl(e);return this.xhr.get({url:t})}async getInstances(e){this.errorCode=g.Ub;let t={};try{t=await this.xhr.get({url:this.getMetadataUrl(e),id:Object(pe.b)(e)})}catch(e){const{status:t}=e;if(Object(ie.e)(t))throw e}return v()(t,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let i=[];return r&&(i=n?[e]:[e].concat(t)),i.filter(e=>!e.hidden&&e.templateKey!==g.Ge)}extractClassification(e,t){const r=t.find(e=>e.$template===g.Ge);if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),i=this.getClassificationCacheKey(e);n.set(i,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,i=t.$template,o=t.$scope;let a=r.find(e=>e.templateKey===i&&e.scope===o);if(!a&&o.startsWith(g.Ee)){a=(await this.getTemplates(e,o,n))[0]}return a}async getEditors(e,t,r,n,i,o){const a=[r].concat(n,i),s=this.extractClassification(e,t),l=[];return await Promise.all(s.map(async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&l.push(this.createEditor(t,r,o))})),l}async getMetadata(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const{id:o,permissions:a,is_externally_owned:s}=e;if(this.errorCode=g.Ub,this.successCallback=t,this.errorCallback=r,!o||!a)return void this.errorHandler(Object(ie.a)());const l=this.getCache(),c=this.getMetadataCacheKey(o);if(i.forceFetch&&l.unset(c),!l.has(c)||(this.successHandler(l.get(c)),i.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,i]=await Promise.all([this.getInstances(o),this.getTemplates(o,g.Fe),n?this.getTemplates(o,g.Ee):Promise.resolve([])]),u={editors:await this.getEditors(o,t,e,i,r,!!a.can_upload),templates:this.getUserAddableTemplates(e,i,n,s)};l.set(c,u),this.isDestroyed()||this.successHandler(u)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.errorCode=g.Yb;const{id:i}=e;if(!i)return void r(Object(ie.a)(),this.errorCode);const o=this.getCache(),a=this.getSkillsCacheKey(i);if(this.successCallback=t,this.errorCallback=r,n&&o.unset(a),o.has(a))return void this.successHandler(o.get(a));let s={data:v()(e,g.ld)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(i,g.Fe,g.Je),id:Object(pe.b)(i)})),!this.isDestroyed()){const e=s.data.cards||[];o.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode=g.uc;const{id:i,permissions:o}=e;if(i&&o)if(o.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(i,g.Fe,g.Je),headers:{[g.ke]:"application/json-patch+json"},id:Object(pe.b)(i),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(i),g.ld,e.data),this.getCache().set(this.getSkillsCacheKey(i),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Object(ie.b)(),this.errorCode);else n(Object(ie.a)(),this.errorCode)}async updateMetadata(e,t,r,n,i){this.errorCode=g.tc,this.successCallback=n,this.errorCallback=i;const{id:o,permissions:a}=e;if(!o||!a)return void this.errorHandler(Object(ie.a)());const s=!!a.can_upload;if(s)try{const e=await this.xhr.put({url:this.getMetadataUrl(o,t.scope,t.templateKey),headers:{[g.ke]:"application/json-patch+json"},id:Object(pe.b)(o),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(o),i=r.get(n),a=this.createEditor(e.data,t,s);i&&i.editors&&i.editors.splice(i.editors.findIndex(e=>{let{instance:t}=e;return t.id===a.instance.id}),1,a),this.successHandler(a)}}catch(e){this.errorHandler(e)}else this.errorHandler(Object(ie.b)())}async createMetadata(e,t,r,n){if(this.errorCode=g.sb,!e||!t)return void n(Object(ie.a)(),this.errorCode);const{id:i,permissions:o,is_externally_owned:a}=e;if(!i||!o)return void n(Object(ie.a)(),this.errorCode);const s=!!o.can_upload,l=t.templateKey===g.Ie&&t.scope===g.Fe;if(!s||a&&!l)n(Object(ie.b)(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(i,t.scope,t.templateKey),id:Object(pe.b)(i),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n){if(this.errorCode=g.Bb,!e||!t)return void n(Object(ie.a)(),this.errorCode);const{scope:i,templateKey:o}=t,{id:a,permissions:s}=e;if(a&&s)if(s.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(a,i,o),id:Object(pe.b)(a)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(a),r=e.get(t);r.editors.splice(r.editors.findIndex(e=>e.template.scope===i&&e.template.templateKey===o),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Object(ie.b)(),this.errorCode);else n(Object(ie.a)(),this.errorCode)}}var Mt=Dt;function jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rt=class extends Ze{constructor(){var e;super(...arguments),e=this,Ft(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map(e=>{let t;return"group"===e.type?t=e:(t=e).email=t.login,{id:e.id,name:e.name,item:t}});this.successCallback(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?jt(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{entries:t}))}),Ft(this,"getCollaboratorsWithQuery",(function(t,r,n,i){let{includeGroups:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};i&&""!==i.trim()&&e.getFileCollaborators(t,r,n,{filter_term:i,include_groups:o,include_uploader_collabs:!1})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}getFileCollaborators(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;this.markerGet({id:e,limit:i,successCallback:t,errorCallback:r,requestData:n})}};function Lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Nt=class extends Ze{constructor(){var e;super(...arguments),e=this,Lt(this,"getCollaborations",(function(t,r,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;e.markerGet({id:t,limit:o,successCallback:r,errorCallback:n,requestData:i})})),Lt(this,"successHandler",e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})}getUrl(e){return"getUrl(".concat(e,") should be overridden")}};var Ut=class extends Nt{getUrl(e){if(!e)throw new Error("Missing file ID!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborations")}};var Ht=class extends Nt{getUrl(e){if(!e)throw new Error("Missing folder ID!");return"".concat(this.getBaseApiUrl(),"/folders/").concat(e,"/collaborations")}};function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){Vt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Wt extends E.a{constructor(){super(...arguments),Vt(this,"addCollaboration",(e,t,r,n)=>{const{id:i}=e;this.post({id:i,data:{data:Bt({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})})}getUrl(){return"".concat(this.getBaseApiUrl(),"/collaborations")}}var qt=Wt,Gt=r(5),Xt=r(28);var Kt=r(109),$t=r.n(Kt);function Qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(r),!0).forEach((function(t){Jt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Zt extends Ze{constructor(){super(...arguments),Jt(this,"successHandler",e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(rt(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(rt);return void this.successCallback(Yt({},e,{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(Yt({},e,{entries:t}))})}formatReplies(e){return e.replies&&e.replies.length?Yt({},e,{replies:e.replies.map(rt)}):e}getUrl(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e){return"".concat(this.getUrlForId(e),"/replies")}createAnnotation(e,t,r,n,i,o){this.errorCode=g.pb;try{this.checkApiCallValidity(g.bf,n,e)}catch(e){return void o(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:$t()(a,r)},errorCallback:o,successCallback:i,url:this.getUrl()})}updateAnnotation(e,t,r,n,i,o){this.errorCode=g.Fb;const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(g.ef,r,e)}catch(e){return void o(e,this.errorCode)}if(s)try{this.checkApiCallValidity(g.hf,r,e)}catch(e){return void o(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:o,successCallback:i,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,i){this.errorCode=g.xb;try{this.checkApiCallValidity(g.cf,r,e)}catch(e){return void i(e,this.errorCode)}this.delete({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,i,o){this.errorCode=g.Jb;try{this.checkApiCallValidity(g.kf,r,e)}catch(e){return void i(e,this.errorCode)}const a=o?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,i,o,a,s){this.errorCode=g.Kb;try{this.checkApiCallValidity(g.kf,r,e)}catch(e){return void i(e,this.errorCode)}const l=Yt({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:i,limit:o,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,i){this.errorCode=g.Xb;try{this.checkApiCallValidity(g.kf,r,e)}catch(e){return void i(e,this.errorCode)}this.get({id:e,errorCallback:i,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,i,o){this.errorCode=g.tb;try{this.checkApiCallValidity(g.bf,r,e)}catch(e){return void o(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:o,successCallback:i,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}function er(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tr=class extends Ze{constructor(){super(...arguments),er(this,"permissions",{}),er(this,"mapAppActivityItem",e=>{const{activity_template:t,app:r,created_by:n,id:i,occurred_at:o,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:o,created_by:n,id:i,permissions:{can_delete:l},rendered_text:a,type:s}}),er(this,"successHandler",e=>{let{entries:t=[]}=e;if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const r=t.map(this.mapAppActivityItem);this.successCallback({entries:r,total_count:r.length})}),er(this,"errorHandler",e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;t.status===g.we?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)})}getUrl(){return"".concat(this.getBaseApiUrl(),"/app_activities")}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getUrl(),"/").concat(e)}getAppActivity(e,t,r,n){const i={item_id:e,item_type:"file",fields:ne.a.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:i})}deleteAppActivity(e){let{id:t,appActivityId:r,successCallback:n,errorCallback:i}=e;this.errorCode=g.yb,this.delete({id:t,url:this.getDeleteUrl(r),successCallback:n,errorCallback:i})}};function rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(r),!0).forEach((function(t){ir(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function or(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const ar=g.dg,sr=(e,t)=>{const{replies:r=[]}=e,n=or(e,["replies"]);return nr({replies:r.filter(e=>{let{id:r}=e;return r!==t})},n)},lr=(e,t)=>{const{replies:r=[]}=e;return nr({replies:[...r,t]},or(e,["replies"]))},cr=e=>{return[...e].map(e=>nr({},e,{tagged_message:e.tagged_message||e.message||""}))},ur=e=>{if(!e||!e.entries||!e.entries.length)return[];return e.entries.map(e=>{if(!e.source)return null;const t=nr({},e.source);switch(e.activity_type){case g.Xd:{var r;const e=nr({},t[g.Xd]);if(null===(r=e.assigned_to)||void 0===r?void 0:r.entries){const t=e.assigned_to.entries.map(e=>{const t=nr({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t});e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case g.Wd:{const e=nr({},t[g.Wd]);if(e.replies&&e.replies.length){const t=cr(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case g.Ud:{const e=nr({},t[g.Ud]);if(e.replies&&e.replies.length){const t=cr(e.replies);e.replies=t}return e}case g.Vd:{const e=nr({},t[g.Vd]);return e.created_at=e.occurred_at,e}case g.Yd:{var n,i;const e=nr({},t[g.Yd]);if(e.type=g.Ic,e.action_by){const t={};1===e.action_by.length&&(e.uploader_display_name=e.action_by[0].name),e.action_by.map(e=>(t[e.id]=nr({},e),e)),e.collaborators=t}var o,a,s,l,c,u;if((null===(n=e.end)||void 0===n?void 0:n.number)&&(e.version_end=e.end.number,e.id=e.end.id),(null===(i=e.start)||void 0===i?void 0:i.number)&&(e.version_start=e.start.number),e.version_start===e.version_end)e.version_number=e.version_start,e.action_type===g.e&&(null===(o=e.start)||void 0===o?void 0:o.created_at)&&(null===(a=e.start)||void 0===a?void 0:a.created_by)&&(e.modified_at=e.start.created_at,e.modified_by=nr({},e.start.created_by)),e.action_type===g.g&&(null===(s=e.start)||void 0===s?void 0:s.trashed_at)&&(null===(l=e.start)||void 0===l?void 0:l.trashed_by)&&(e.trashed_at=e.start.trashed_at,e.trashed_by=nr({},e.start.trashed_by)),e.action_type===g.f&&(null===(c=e.start)||void 0===c?void 0:c.restored_at)&&(null===(u=e.start)||void 0===u?void 0:u.restored_by)&&(e.restored_at=e.start.restored_at,e.restored_by=nr({},e.start.restored_by));return e}default:return null}}).filter(e=>!!e).reverse()};class dr extends E.a{constructor(e){var t;super(e),t=this,ir(this,"updateAnnotation",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();if(!r&&!n)throw Object(ie.d)();this.annotationsAPI=new Zt(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(nr({},s,{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,i,s,e=>{const{replies:r,total_reply_count:n}=e,i=or(e,["replies","total_reply_count"]);this.updateFeedItem(nr({},i,{isPending:!1}),t),this.isDestroyed()||o(e)},(e,r)=>{this.updateCommentErrorCallback(e,r,t)})}),ir(this,"updateCommentErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"updateReplyErrorCallback",(e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Xt.a.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)}),ir(this,"fetchRepliesErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"deleteAnnotation",(e,t,r,n,i)=>{if(this.annotationsAPI=new Zt(this.options),!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),(e,r)=>{this.deleteCommentErrorCallback(e,r,t)})}),ir(this,"fetchThreadedCommentSuccessCallback",(e,t,r)=>{t(r),e()}),ir(this,"updateTaskCollaborator",(e,t,r,n,i,o)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t);const a=new We(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let i;switch(n){case g.ag:i=Xt.a.taskApproveErrorMessage;break;case g.bg:i=Xt.a.taskCompleteErrorMessage;break;case g.eg:i=Xt.a.taskRejectErrorMessage;break;default:i=Xt.a.taskCompleteErrorMessage}this.updateFeedItem(this.createFeedError(i,Xt.a.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,i,l)},errorCallback:l})}),ir(this,"updateTaskCollaboratorSuccessCallback",(e,t,r,n,i)=>{this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(nr({},t,{isPending:!1}),e),n(r)},errorCallback:i})}),ir(this,"updateTaskNew",(async function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(!e.id)throw Object(ie.a)();t.file=e,t.errorCallback=i,t.tasksNewAPI=new Ne(t.options),t.updateFeedItem({isPending:!0},r.id);try{const i=r.addedAssignees.filter(e=>e.item&&"group"===e.item.type).map(e=>e.id).map(r=>new Ct(t.options).getGroupCount({file:e,group:{id:r}})),o=(await Promise.all(i)).some(e=>e.total_count>g.Zf),a={code:g.fc,type:"warning"};if(o)return void t.feedErrorCallback(!1,a,g.fc);await new Promise((n,i)=>{t.tasksNewAPI.updateTaskWithDeps({file:e,task:r,successCallback:n,errorCallback:i})}),await new Promise((n,i)=>{t.tasksNewAPI.getTask({file:e,id:r.id,successCallback:e=>{t.updateFeedItem(nr({},e,{isPending:!1}),r.id),n()},errorCallback:e=>{t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.vc),i()}})}),t.isDestroyed()||n()}catch(e){t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.vc)}})),ir(this,"deleteComment",(e,t,r,n,i)=>{if(this.commentsAPI=new Pe(this.options),!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})}),ir(this,"deleteThreadedComment",(e,t,r,n,i)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})}),ir(this,"deleteReply",(e,t,r,n,i,o)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,i),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})}),ir(this,"deleteReplySuccessCallback",(e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)}),ir(this,"deleteCommentErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)}),ir(this,"deleteReplyErrorCallback",(e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Xt.a.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)}),ir(this,"createTaskNew",(e,t,r,n,i,o,a,s,l)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=l;const c=Tt()("task_");let u;if(o){u=new Date(o).toISOString()}const d={created_by:{type:"task_collaborator",target:t,id:Tt()(),role:"CREATOR",status:ar},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:g.Hc,assigned_to:{entries:n.map(e=>({id:Tt()(),target:nr({},e,{avatar_url:"",type:"user"}),status:ar,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"})),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:Tt()(),type:"task_link",target:nr({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:i,status:g.dg},f={description:r,due_at:u,task_type:i,completion_rule:a},h=n.filter(e=>"group"===(e.item&&e.item.type)).map(e=>e.id).map(t=>new Ct(this.options).getGroupCount({file:e,group:{id:t}}));Promise.all(h).then(r=>{const i=r.some(e=>e.total_count>g.Zf),o={code:g.fc,type:"warning"};i?this.feedErrorCallback(!1,o,g.fc):(this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:f,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(nr({},e,{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))}).catch(e=>{this.feedErrorCallback(!1,e,g.ub)})}),ir(this,"deleteTaskNew",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(!e.id)throw Object(ie.a)();t.file=e,t.errorCallback=i,t.tasksNewAPI=new Ne(t.options),t.updateFeedItem({isPending:!0},r.id),t.tasksNewAPI.deleteTask({file:e,task:r,successCallback:t.deleteFeedItem.bind(t,r.id,n),errorCallback:(e,n)=>{t.updateFeedItem(t.createFeedError(Xt.a.taskDeleteErrorMessage),r.id),t.feedErrorCallback(!0,e,n)}})})),ir(this,"deleteFeedItem",(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.a;const n=t.getCachedItems(t.file.id);if(n){const i=n.items.filter(t=>t.id!==e);t.setCachedItems(t.file.id,i),t.isDestroyed()||r(e)}})),ir(this,"deleteReplyItem",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a;const i=t.getCachedItems(t.file.id)||{items:[],errors:[]},a=i.items.map(t=>t.id!==r?t:t.type===g.Ec?sr(t,e):t.type===g.Gc?sr(t,e):t);t.setCachedItems(t.file.id,a),t.isDestroyed()||n(e,r)})),ir(this,"feedErrorCallback",(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;e&&t.errors.push(nr({},r,{code:n})),!t.isDestroyed()&&t.errorCallback&&t.errorCallback(r,n,{error:r,[g.Ce]:e}),console.error(r)})),ir(this,"addPendingItem",(e,t,r)=>{if(!t)throw Object(ie.c)();const n=(new Date).toISOString(),i=nr({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id),a=[...o?o.items:[],i];return this.setCachedItems(e,a),i}),ir(this,"addPendingReply",(e,t,r)=>{if(!this.file.id)throw Object(ie.a)();if(!t)throw Object(ie.c)();const n=(new Date).toISOString(),i=nr({created_at:n,created_by:t,modified_at:n,isPending:!0},r),o=this.getCachedItems(this.file.id);if(o){const t=o.items.map(t=>t.id===e&&t.type===g.Gc?lr(t,i):t.id===e&&t.type===g.Ec?lr(t,i):t);this.setCachedItems(this.file.id,t)}return i}),ir(this,"createCommentSuccessCallback",(e,t,r)=>{const{message:n="",tagged_message:i=""}=e;e.tagged_message=i||n,this.updateFeedItem(nr({},e,{isPending:!1}),t),this.isDestroyed()||r(e)}),ir(this,"createCommentErrorCallback",(e,t,r)=>{const n=e.status===g.se?Xt.a.commentCreateConflictMessage:Xt.a.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)}),ir(this,"createReplySuccessCallback",(e,t,r,n)=>{this.updateReplyItem(nr({},e,{isPending:!1}),t,r),this.isDestroyed()||n(e)}),ir(this,"createReplyErrorCallback",(e,t,r,n)=>{const i=e.status===g.se?Xt.a.commentCreateConflictMessage:Xt.a.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(i),r,n),this.feedErrorCallback(!1,e,t)}),ir(this,"updateFeedItem",(e,t)=>{if(!this.file.id)throw Object(ie.a)();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map(r=>r.id===t?nr({},r,{},e):r);return this.setCachedItems(this.file.id,n),n}return null}),ir(this,"updateReplyItem",(e,t,r)=>{if(!this.file.id)throw Object(ie.a)();const n=(e,t,r)=>{const n=nr({},e);return n.replies&&(n.replies=n.replies.map(e=>e.id===t?nr({},e,{},r):e)),n},i=this.getCachedItems(this.file.id);if(i){const o=i.items.map(i=>i.id===t&&i.type===g.Gc?n(i,r,e):i.id===t&&i.type===g.Ec?n(i,r,e):i);this.setCachedItems(this.file.id,o)}}),ir(this,"createComment",(e,t,r,n,i,o)=>{const a=Tt()("comment_"),s={id:a,tagged_message:r,type:g.Gc};if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new Pe(this.options),this.commentsAPI.createComment(nr({file:e},l,{successCallback:e=>{this.createCommentSuccessCallback(e,a,i)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))}),ir(this,"createThreadedComment",(e,t,r,n,i)=>{if(!e.id)throw Object(ie.a)();const o=Tt()("comment_"),a={id:o,tagged_message:r,type:g.Gc};this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,o,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,o)}})}),ir(this,"updateComment",(e,t,r,n,i,o,a)=>{const s={tagged_message:r};if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=a,this.updateFeedItem(nr({},s,{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new Pe(this.options),this.commentsAPI.updateComment(nr({file:e,commentId:t,permissions:i},l,{successCallback:e=>{this.updateFeedItem(nr({},l,{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))}),ir(this,"updateThreadedComment",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();if(!r&&!n)throw Object(ie.d)();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(nr({},s,{isPending:!0}),t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,i=or(e,["replies","total_reply_count"]);this.updateFeedItem(nr({},i,{isPending:!1}),t),this.isDestroyed()||o(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})}),ir(this,"updateReply",(e,t,r,n,i,o,a)=>{if(!e.id)throw Object(ie.a)();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:i,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(nr({},e,{isPending:!1}),r,t),this.isDestroyed()||o(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})}),ir(this,"modifyFeedItemRepliesCountBy",(e,t)=>{if(!this.file.id)throw Object(ie.a)();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find(t=>{let{id:r}=t;return r===e});if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const i=(n.total_reply_count||0)+t;i>=0&&this.updateFeedItem({total_reply_count:i},e)}),ir(this,"deleteAppActivity",(e,t,r,n)=>{const{id:i}=e;if(!i)throw Object(ie.a)();this.appActivityAPI=new tr(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:i,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})}),ir(this,"deleteAppActivityErrorCallback",(e,t,r)=>{this.updateFeedItem(this.createFeedError(Xt.a.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)}),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,i){if(!e.id)throw Object(ie.a)();if(this.file=e,i){const e=nr({},r,{created_by:t,id:n,type:g.Ec});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(nr({},r,{isPending:!1}),n)}getCacheKey(e){return"".concat(g.hg).concat(e)}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,i){let{shouldShowAnnotations:o=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const{id:d,permissions:f={}}=e,h=this.getCachedItems(d);if(h){const{errors:e,items:i}=h;if(e.length?n(i,e):r(i),!t)return}this.file=e,this.errors=[],this.errorCallback=i;const p=!u&&o?this.fetchAnnotations(f,s):Promise.resolve(),m=()=>u?Promise.resolve():s?this.fetchThreadedComments(f):this.fetchComments(f),b=!u&&l?this.fetchTasksNew():Promise.resolve(),y=!u&&a?this.fetchAppActivity(f):Promise.resolve(),v=!u&&c?this.fetchVersions():Promise.resolve(),w=!u&&c?this.fetchCurrentVersion():Promise.resolve(),k=o&&f[g.kf]?[g.Ud]:[],E=a?[g.Vd]:[],x=l?[g.Xd]:[],C=c?[g.Yd]:[],S=[...k,...E,...f[g.af]?[g.Wd]:[],...x,...C],O=u&&S.length?this.fetchFileActivities(f,S,s):Promise.resolve(),P=e=>{this.isDestroyed()||(this.setCachedItems(d,e),this.errors.length?n(e,this.errors):r(e))};u?O.then(e=>{if(!e)return;const t=ur(e);P(t)}):Promise.all([v,w,m(),b,y,p]).then(e=>{let[t,r,...n]=e;const i=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((e,t)=>t?e.concat(t.entries):e,[]).sort((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at))}(r?this.versionsAPI.addCurrentVersion(r,t,this.file):void 0,...n);P(i)})}fetchAnnotations(e,t){return this.annotationsAPI=new Zt(this.options),new Promise(r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)})}fetchComments(e){return this.commentsAPI=new Pe(this.options),new Promise(t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))})}fetchThreadedComment(e,t,r,n){const{id:i,permissions:o}=e;if(!i||!o)throw Object(ie.a)();return this.threadedCommentsAPI=new at(this.options),new Promise(e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:i,permissions:o,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})})}fetchThreadedComments(e){return this.threadedCommentsAPI=new at(this.options),new Promise(t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})})}fetchFileActivities(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.fileActivitiesAPI=new pt(this.options),new Promise(n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})})}fetchReplies(e,t,r,n,i){const{id:o,permissions:a}=e;if(!o||!a)throw Object(ie.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isRepliesLoading:!0},t);const s=e=>{let{entries:r}=e;this.updateFeedItem({isRepliesLoading:!1,replies:r,total_reply_count:r.length},t),n(r)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===g.Ec?(this.annotationsAPI=new Zt(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===g.Gc&&(this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new xe(this.options),new Promise(e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,ne.c)})}fetchCurrentVersion(){return this.versionsAPI=new xe(this.options),new Promise(e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))})}fetchTasksNew(){return this.tasksNewAPI=new Ne(this.options),new Promise(e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})})}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,i=Object(ie.e)(n);this.feedErrorCallback(i,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{i(e)}})})}createTaskCollaborator(e,t,r){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{i(e)}})})}deleteTaskCollaborator(e,t,r){if(!e.id)throw Object(ie.a)();return this.file.id=e.id,new Promise((n,i)=>{const o=new We(this.options);this.taskCollaboratorsAPI.push(o),o.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{i(e)}})})}createTaskLink(e,t){if(!e.id)throw Object(ie.a)();return this.file=e,new Promise((r,n)=>{const i=new Ke(this.options);this.taskLinksAPI.push(i),i.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})})}createFeedError(e){return{error:{message:e,title:arguments.length>1&&void 0!==arguments[1]?arguments[1]:Gt.a.errorOccured}}}createReply(e,t,r,n,i,o,a){const{id:s,permissions:l}=e;if(!s||!l)throw Object(ie.a)();const c=Tt()("comment_"),u={id:c,tagged_message:i,type:g.Gc};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,o)},f=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===g.Ec?(this.annotationsAPI=new Zt(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,i,d,f)):n===g.Gc&&(this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:i,successCallback:d,errorCallback:f}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach(e=>e.destroy()),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach(e=>e.destroy()),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new tr(this.options),new Promise(t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))})}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}}var fr=dr;class hr extends E.a{getUrl(e){if(!e)throw new Error("Missing app integration id!");return"".concat(this.getBaseApiUrl(),"/app_integrations/").concat(e)}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=g.Gb;const i="".concat(this.getUrl(e),"/execute"),o={data:{item:{id:t,type:g.kg}}};this.post({id:t,url:i,data:o,successCallback:r,errorCallback:n})}}var pr=hr;class mr extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/open_with_integrations")}getOpenWithIntegrations(e,t,r){this.errorCode=g.Tb,this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some(e=>e.appIntegrationId===g.m)&&(t=e.filter(e=>e.appIntegrationId!==g.n)),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map(e=>{let{app_integration:t,disabled_reasons:n,display_name:i,display_description:o,display_order:a,is_disabled:s,should_show_consent_popup:l}=e;const{id:c,type:u}=t;return{appIntegrationId:c,displayDescription:o,disabledReasons:n||[],displayOrder:a,isDefault:!!r&&c===r.id,isDisabled:s,displayName:i,requiresConsent:l,type:u}}).sort((e,t)=>e.displayOrder-t.displayOrder)}}var br=mr;class gr extends E.a{constructor(){var e,t,r;super(...arguments),r=e=>{let{data:t}=e;this.getCache().set(this.key,t),this.finish()},(t="queryMetadataSuccessHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}getCacheKey(e){return"".concat(g.r).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_queries/execute_read")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode=g.kc,this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const{context:i={}}=n;this.key=this.getCacheKey(i.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}}var yr=gr;const vr={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},wr=[{key:"userAgent",subString:vr.EDGE,identity:vr.EDGE},{key:"userAgent",subString:vr.CHROME,identity:vr.CHROME},{key:"userAgent",subString:"criOS",identity:vr.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:vr.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:vr.FIREFOX,identity:vr.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],kr=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:vr.MAC,identity:vr.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function Er(e,t){let r,n=null,i=null,o="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],o=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,i=t[a].device;break}return{identity:n,device:i,versionSearchString:o}}function xr(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}var Cr=new class{constructor(){const{navigator:e}=window,t=Er(e,wr),r=Er(e,kr);this.browser=t.identity||"unknown",this.version=xr(e.userAgent,t.versionSearchString)||xr(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===vr.SAFARI}isFirefox(){return this.browser===vr.FIREFOX}isChrome(){return this.browser===vr.CHROME}isIE(){return this.browser===vr.IE}isEdge(){return this.browser===vr.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}};var Sr=function(e){const t=[];let r,n=0;return new Promise((i,o)=>{e.forEach((a,s)=>{a.then(i).catch((i=>a=>{t[i]=a,(n+=1)===e.length&&(r=new Error("no promises resolved"),o(r))})(s))})})};var Or={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ar=class{constructor(e){Pr(this,"buildNextRequestID",()=>"".concat(Or.REQUEST_ID_PRE).concat(this.window.performance.now())),Pr(this,"buildDetailsObj",(e,t,r)=>{const n=r.toString(),i={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==Or.OPERATION_STATUS){if(!t)throw new TypeError("Data cannot be undefined for ".concat(e));i.data=t}return i}),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function _r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ir=2;var Tr=class extends Ar{constructor(e,t){var r;super(e),r=this,_r(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise((o,a)=>{const s=r.buildDetailsObj(e,t,i),l=setTimeout(()=>{a(new Error({status_code:Or.REQUEST_TIMEOUT_RESPONSE_CODE}))},n);r.reqIdToPromiseMap.set(s.req_id,{resolve:o,rejectTimeout:l}),r.executeActiveXEvent({detail:s})})})),_r(this,"repairActiveXConnection",e=>{Cr.isIEAndSpecificBrowserPluginSupported(Or.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=Ir||(this.retryAttempt+=1,setTimeout(()=>{this.executeActiveXEvent(e)},100)))}),_r(this,"executeActiveXEvent",e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}}),_r(this,"createActiveXObjectJSRef",()=>{const{ActiveXObject:e}=this.window;return new e(Or.BOX_TOOLS_PLUGIN_NAME)}),_r(this,"setupActiveXCommunication",()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(Or.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)}),_r(this,"tearDownActiveXCommunication",()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(Or.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)}),_r(this,"appExtensionEventResponseHandler",e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}}),_r(this,"getComServerStatus",(e,t)=>this.executeOperation(Or.OPERATION_STATUS,null,e,t)),_r(this,"sendRequest",(e,t,r)=>this.executeOperation(Or.OPERATION_REQUEST,e,t,r)),_r(this,"sendCommand",(e,t,r)=>this.executeOperation(Or.OPERATION_COMMAND,e,t,r)),_r(this,"destroy",()=>{this.tearDownActiveXCommunication()}),this.isSynchronous=t,this.channelName=Or.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}},Dr=r(103);function Mr(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const{document:o}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push("".concat(e,"=").concat(encodeURIComponent(t))),0!==r&&s.push("; expires=".concat(a.toUTCString())),s.push("; path=".concat(n)),i&&s.push("; domain=".concat(i)),s.push("; secure"),o.cookie=s.join("")}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Fr="GET",Rr="POST",Lr=31536e6,Nr=17223,Ur=17224,Hr="Content-Type",zr="text/plain; charset=UTF-8",Br="notrunning",Vr=new Dr.a;function Wr(){return Vr.getItem("comUseFallback")?{primary:Ur,fallback:Nr}:{primary:Nr,fallback:Ur}}var qr=class extends Ar{constructor(e,t,r){super(e),jr(this,"createCORSRequest",(e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return(r=new n).open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}}),jr(this,"getComServerStatusInstallationPromise",e=>{let t,r;const n=new Promise((e,n)=>{t=e,r=n}),i=(e,r)=>{this.currentPort=e,e===Nr?Vr.removeItem("comUseFallback"):Vr.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},o=Wr(),a=o.primary,s=o.fallback;return this.checkInstallStatus(a,e).then(i.bind(this,a)).catch(t=>{if(t===Br)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(i.bind(this,s)).catch(()=>{this.comServerInstallationPromiseRejected=!0,r()})}),n}),jr(this,"sendComServerRequest",(e,t,r,n)=>new Promise((i,o)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader(Hr,zr),a.onload=()=>{i(a)},a.onerror=()=>{o(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{o(a)}),setTimeout(()=>{a.send(r)},0)}catch(e){o()}})),jr(this,"checkInstallStatus",(e,t)=>this.sendComServerRequest(Fr,"".concat(this.url).concat(e,"/status"),null,t).then(e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(Br)})),jr(this,"getComChannel",e=>(function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let i,o;for(o=0;o<n;o+=1)if((i=r[o].split("="))[0]===e)return i[1]?decodeURIComponent(i[1]):"";return""})("".concat(e,"-bgp-id"))),jr(this,"setComChannel",e=>{const t=this.getComChannel(e)||this.generateId(),r="bgp-".concat(t),n=(new Date).getTime()+Lr;return Mr("".concat(e,"-bgp-id"),t,n),Mr("bgp-".concat(t),"generic",n),r}),jr(this,"getComServerStatus",e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise),jr(this,"sendRequest",(e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_request?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(Rr,n,e,t).then(e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error("Communication error: ".concat(t.message));return t})}),jr(this,"sendCommand",(e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_command?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(Rr,n,e,t).then(e=>JSON.parse(e.responseText))}),jr(this,"generateId",()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,()=>{return Math.floor((e+16*Math.random())%16).toString(16)})}),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=Wr().primary,this.window=window}};function Gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Xr="box_extension_input",Kr="box_extension_output";var $r=class extends Ar{constructor(e){var t;super(e),t=this,Gr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise((o,a)=>{const s=t.buildDetailsObj(e,r,i),l=setTimeout(()=>{a(new Error({status_code:Or.REQUEST_TIMEOUT_RESPONSE_CODE}))},n);t.reqIdToPromiseMap.set(s.req_id,{resolve:o,rejectTimeout:l}),t.createAndDispatchAppExtensionEvent({detail:s})})})),Gr(this,"setupSafariExtensionCommunication",()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(Kr,this.appExtensionEventResponseHandler))}),Gr(this,"tearDownSafariExtensionCommunication",()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(Kr,this.appExtensionEventResponseHandler))}),Gr(this,"appExtensionEventResponseHandler",e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}}),Gr(this,"createAndDispatchAppExtensionEvent",e=>{const{CustomEvent:t}=this.window,r=new t(Xr,e);this.document.dispatchEvent(r)}),Gr(this,"getComServerStatus",(e,t)=>this.executeOperation(Or.OPERATION_STATUS,null,e,t)),Gr(this,"sendRequest",(e,t,r)=>this.executeOperation(Or.OPERATION_REQUEST,e,t,r)),Gr(this,"sendCommand",(e,t,r)=>this.executeOperation(Or.OPERATION_COMMAND,e,t,r)),Gr(this,"destroy",()=>{this.tearDownSafariExtensionCommunication()}),this.reqIdToPromiseMap=new Map,this.channelName=Or.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const Qr=55,Yr="16.16299",Jr="17.17134",Zr=5e3;let en;function tn(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=Or;return en.http_channel_status=r,new qr(e,t,n)}function rn(e){const{CREATED_STATUS:t}=Or;return en.safari_channel_status=t,new $r(e)}function nn(e){const{CREATED_STATUS:t}=Or;return en.activex_channel_status=t,new Tr(e,!0)}function on(){const{EDGE:e}=vr;return Cr.isMinBrowser(e,Jr)||Cr.isMinBrowser(e,Yr)&&Cr.getVersion().startsWith("16.")}function an(){return Cr.isEdge()&&!on()}function sn(){const{CHROME:e,FIREFOX:t}=vr;return Cr.isMinBrowser(e,53)||Cr.isMinBrowser(t,Qr)||on()}function ln(){return Cr.isMinBrowser(vr.SAFARI,10)}function cn(){return Cr.isMinBrowser(vr.IE,11)}function un(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:i}=Or;let o=t;return sn()?o=n:cn()?o=n:Cr.isFirefox()||Cr.isChrome()||Cr.isSafari()&&!ln()||an()?o=i:ln()&&(o=r),en.error_message=o,e(new Error(o))}function dn(e){let t=Zr;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function fn(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}var hn=class{constructor(e){var t,r,n;n=!1,(r="isInitialized")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=Cr.getName(),t=Cr.getVersion(),{UNCREATED_STATUS:r}=Or;en={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),sn()?this.channels.push(tn(e)):ln()?this.channels.push(rn(e)):cn()&&Cr.isIEAndSpecificBrowserPluginSupported(Or.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=Or;return en.activex_channel_status=t,new Tr(e,!1)}(e)):Cr.isFirefox()&&!Cr.isMinBrowser(vr.FIREFOX,Qr)||an()||(this.channels=this.channels.concat([tn(e),rn(e),nn(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=Or,r=dn(e),n=fn(r),i=an();return new Promise((e,o)=>i?un.call(null,o):this.channels.length?Sr(this.channels.map(i=>i.getComServerStatus(r,n).then(r=>(this.activeChannel=i,r&&(en.installation_type=r.installation_type,en.box_tools_version=r.version),en["".concat(i.channelName,"_status")]=t,e(r))))).catch(un.bind(null,o)):un.call(null,o))}sendRequest(e,t,r){const n=dn(r),i=fn(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,i):this.getComServerStatus().then(()=>this.activeChannel.sendRequest(e,n,i))}sendCommand(e,t){const r=dn(t),n=fn(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then(()=>this.activeChannel.sendCommand(e,r,n))}};const pn=5e3,mn=100;let bn;let gn=null;class yn{constructor(){return gn instanceof yn||(gn=this),this.extensionRequestQueue=new Map,gn}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise((e,r)=>{t.resolve=e,t.reject=r});return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new hn(Or.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map(async e=>{try{return[e,await this.getAppForExtension(e)]}catch(t){return[e,""]}})),r=new Map;return t.forEach(e=>r.set(...e)),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:Cr.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,pn)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=Or;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return bn||(bn=setTimeout(()=>{this.processExtensionRequestQueue()},mn)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach((r,n)=>{e.set(n,r),t.push(n)}),this.extensionRequestQueue.clear(),bn=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then(r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach(t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}})}t.forEach(t=>{const r=e.get(t);r&&r.reject()})})}}var vn=yn;class wn extends E.a{async ask(e,t,r,n){if(this.errorCode=g.gc,!e)throw new Error("Missing prompt!");if(!t||0===t.length)throw new Error("Missing items!");t.forEach(e=>{if(!e.id||!e.type)throw new Error("Invalid item!")});const i="".concat(this.getBaseApiUrl(),"/ai/ask");this.successCallback=r,this.errorCallback=n,await this.xhr.post({url:i,id:t[0].id,data:{mode:"single_item_qa",prompt:e,items:t}}).then(this.successHandler).catch(this.errorHandler)}}var kn=wn;function En(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){this.options=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?En(Object(r),!0).forEach((function(t){xn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):En(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{apiHost:e.apiHost||g.U,uploadHost:e.uploadHost||g.X,cache:e.cache||new n.a,language:e.language})}destroy(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.intelligenceAPI&&(this.intelligenceAPI.destroy(),delete this.intelligenceAPI),e&&(this.options.cache=new n.a)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case g.lg:t=this.getFolderAPI();break;case g.kg:t=this.getFileAPI();break;case g.mg:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.destroy(),this.fileAPI=new ee.a(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new te.a(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new J(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new $(this.options),this.chunkedUploadAPI}getFolderAPI(){return this.destroy(),this.folderAPI=new Z.a(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new ce(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new he(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new Mt(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new xe(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new Pe(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new at(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new Ne(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new We(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new Ke(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new lt(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new pt(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new Rt(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new Ut(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new Ht(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new qt(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new yt(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new Et(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new Ct(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new _t(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new fr(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new br(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new pr(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.destroy(),this.metadataQueryAPI=new yr(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new vn,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Zt(this.options),this.annotationsAPI}getIntelligenceAPI(e){return e&&this.destroy(),this.intelligenceAPI=new kn(this.options),this.intelligenceAPI}}},,,function(e,t,r){"use strict";var n=r(0),i=r(79),o=r(119),a=r(10);var s=e=>{let{className:t="",color:r="#979797",height:i=64,title:o,width:s=64}=e;return n.createElement(a.a,{className:"icon-sad-cloud ".concat(t),height:i,title:o,viewBox:"0 0 1224 792",width:s},n.createElement("g",{transform:"translate(1 1)"},n.createElement("path",{className:"fill-color",d:"M273.7 788.9c-142 0-257.6-116.5-257.6-259.7 0-140.3 110.9-255 249-259.6 4.6-70.2 33.9-135.4 83.6-185.3C402.8 29.7 475-.3 551.9-.3c56.8 0 110.7 11.3 156 32.7 43.7 20.7 78.4 50.5 101.3 86.9 7.8-1.9 16.2-2.9 25.1-2.9 43.4 0 97.3 23.8 128.2 56.6l.2.2c23.9 26 41.2 59.1 48.9 93.1 4.1 18.3 5 35.1 2.8 49.2 15.8 3.5 32.3 9.8 48.9 18.7 25.1 13.5 49.9 32.7 71.7 55.4 48.9 51.2 77 113.7 77 171.7 0 61.1-23.4 118.4-66 161.3-42.5 42.8-99.1 66.4-159.5 66.4l-712.8-.1zm0-479.5c-120 0-217.6 98.6-217.6 219.7 0 121.2 97.6 219.7 217.6 219.7h712.8c49.6 0 96.2-19.4 131.1-54.6 35.1-35.3 54.4-82.6 54.4-133.1 0-47.7-24-100.2-65.9-144-37.8-39.5-84.7-65-119.6-65-7.9 0-15.1-4.6-18.3-11.9-3.2-7.2-1.9-15.6 3.4-21.5 2.8-3.1 6.8-18 1-43.8-6.1-26.9-20.4-54.1-39.3-74.8-23.2-24.6-66.7-43.9-99-43.9-9.9 0-18.3 1.7-24.8 5.2-4.7 2.5-10.3 3-15.3 1.4-5.1-1.6-9.3-5.2-11.8-9.9-18.2-35.5-49.9-64.7-91.6-84.4-40-18.9-88-28.9-138.9-28.9-66.2 0-128.3 25.8-175 72.8-46.8 47.1-72.6 109.9-72.6 176.9 0 11-9 20-20 20h-10.6z",fill:r}),n.createElement("path",{className:"fill-color",d:"M442.7 585.5c-2.9 0-5.9-.6-8.7-2-10-4.8-14.1-16.7-9.3-26.7 15.4-32 39.7-59.1 70.3-78.1 31-19.3 66.9-29.5 104-29.5 75.5 0 141.4 40 176.2 107.1 5.1 9.8 1.3 21.9-8.5 27-9.8 5.1-21.9 1.3-27-8.5-27.8-53.6-80.3-85.5-140.6-85.5-29.6 0-58.2 8.1-82.8 23.5-24.1 15.1-43.3 36.3-55.4 61.5-3.6 7-10.7 11.2-18.2 11.2z",fill:r}),n.createElement("circle",{className:"fill-color",cx:"496.3",cy:"351.5",fill:r,r:"32.1"}),n.createElement("circle",{className:"fill-color",cx:"688.9",cy:"351.5",fill:r,r:"32.1"})))};r(637);const l=Object(i.defineMessages)({errorMaskIconSadCloudText:{id:"boxui.errorMask.iconSadCloudText",defaultMessage:"Sad Box Cloud"}});t.a=e=>{let{errorHeader:t,errorSubHeader:r}=e;return n.createElement("div",{className:"error-mask"},n.createElement(s,{className:"error-mask-sad-cloud",height:50,title:n.createElement(o.a,l.errorMaskIconSadCloudText)}),n.createElement("h4",null,t),n.createElement("h5",null,r))}},,,function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:i.b,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 01-.5-.5c0-.276.23-.5.5-.5h7zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 01-.5-.5c0-.276.229-.5.5-.5h11zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 01-.501-.5c0-.276.23-.5.501-.5h10z"})))},,,function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#009AED",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M19.723 18.973l-5.914 3.957a.543.543 0 01-.809-.473v-7.914a.543.543 0 01.809-.473l5.914 3.957a.543.543 0 010 .946z"})))},,function(e,t,r){var n=r(34),i=r(138),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(a.test(e)||!o.test(e)||null!=t&&e in Object(t))}},,,,,function(e,t,r){"use strict";var n=r(0),i=r(10),o=r(2);t.a=e=>{let{className:t="",color:r=o.m,height:a=16,title:s,width:l=16}=e;return n.createElement(i.a,{className:"icon-open-with ".concat(t),height:a,title:s,viewBox:"0 0 16 16",width:l},n.createElement("path",{className:"fill-color",fill:r,fillRule:"evenodd",d:"M12 2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm0 1H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1zm-1 2v6h-1V6.71l-4.65 4.64-.7-.7L9.29 6H5V5h6z"}))}},,,function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(44))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(73),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t,r){var n=r(399),i=r(112),o=r(34),a=r(123),s=r(136),l=r(165),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=o(e),u=!r&&i(e),d=!r&&!u&&a(e),f=!r&&!u&&!d&&l(e),h=r||u||d||f,p=h?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||h&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){(function(e){var n=r(42),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(164)(e))},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(178),i=r(179),o=r(177),a=r(228),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,o(e)),e=i(e);return t}:a;e.exports=s},function(e,t,r){var n=r(178),i=r(34);e.exports=function(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}},function(e,t,r){var n=r(230),i=r(229),o=r(137);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(180);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(267),i=r(179),o=r(151);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:n(i(e))}},function(e,t,r){var n=r(60),i=r(179),o=r(45),a="[object Object]",s=Function.prototype,l=Object.prototype,c=s.toString,u=l.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||n(e)!=a)return!1;var t=i(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==d}},function(e,t,r){var n=r(431),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=o[a];return c[t]=r(l),n(e,this,c)}}},function(e,t,r){var n=r(432),i=r(434)(n);e.exports=i},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(32);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(i(t)+"="+i(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,r){"use strict";var n=r(32),i=r(454),o=r(455),a=r(238),s=r(456),l=r(459),c=r(460),u=r(241),d=r(139),f=r(140);e.exports=function(e){return new Promise((function(t,r){var h,p=e.data,m=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(p)&&delete m["Content-Type"];var y=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(v+":"+w)}var k=s(e.baseURL,e.url);function E(){if(y){var n="getAllResponseHeaders"in y?l(y.getAllResponseHeaders()):null,o={data:b&&"text"!==b&&"json"!==b?y.response:y.responseText,status:y.status,statusText:y.statusText,headers:n,config:e,request:y};i((function(e){t(e),g()}),(function(e){r(e),g()}),o),y=null}}if(y.open(e.method.toUpperCase(),a(k,e.params,e.paramsSerializer),!0),y.timeout=e.timeout,"onloadend"in y?y.onloadend=E:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(E)},y.onabort=function(){y&&(r(u("Request aborted",e,"ECONNABORTED",y)),y=null)},y.onerror=function(){r(u("Network Error",e,null,y)),y=null},y.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",y)),y=null},n.isStandardBrowserEnv()){var x=(e.withCredentials||c(k))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;x&&(m[e.xsrfHeaderName]=x)}"setRequestHeader"in y&&n.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:y.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(y.withCredentials=!!e.withCredentials),b&&"json"!==b&&(y.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&y.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&y.upload&&y.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){y&&(r(!e||e&&e.type?new f("canceled"):e),y.abort(),y=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null),y.send(p)}))}},function(e,t,r){"use strict";var n=r(239);e.exports=function(e,t,r,i,o){var a=new Error(e);return n(a,t,r,i,o)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){t=t||{};var r={};function i(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function o(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return i(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:i(void 0,e[r]):i(void 0,t[r])}function l(r){return r in t?i(e[r],t[r]):r in e?i(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||o,i=t(e);n.isUndefined(i)&&t!==l||(r[e]=i)})),r}},function(e,t){e.exports={version:"0.25.0"}},function(e,t,r){var n=r(469),i=r(470),o=r(473),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(o(i(t).replace(a,"")),e,"")}}},function(e,t,r){var n=r(173),i=r(111);e.exports=function(e,t,r){(void 0===r||i(e[t],r))&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,r){},,,,,,function(e,t,r){"use strict";var n,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var i,o,a,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=c(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,o(this.listener,this.target,e))}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):m(i,i.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,i=this._events;if(void 0!==i)n=n&&void 0===i.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)o(l,this,t);else{var c=l.length,u=m(l,c);for(r=0;r<c;++r)o(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,i,o,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){var n=r(245)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;
33
33
  /*
34
34
  * [js-sha1]{@link https://github.com/emn178/js-sha1}
35
35
  *
@@ -49,7 +49,7 @@ object-assign
49
49
  * http://blog.stevenlevithan.com/archives/parseuri
50
50
  * Copyright 2007, Steven Levithan
51
51
  * Released under the MIT license.
52
- */!function(i){var o={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(o.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,i,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(o.query_separator)).length;t<c;t++)0!==(i=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,i)),l=a(n.substring(i+1)),u.push(-1===i?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=o.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<o;){var a;n in i&&(a=i[n],e.call(r,a,n,i)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,i="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],i.length>0&&(i+="&"),null===r[1]?i+=r[0]:(i+=r[0],i+="=",void 0!==r[1]&&(i+=encodeURIComponent(r[1])));return i.length>0?"?"+i:i},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,i=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&i.push(r[1]);return i},l.prototype.deleteQueryParam=function(e,t){var r,n,i,o,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)i=a((n=this.queryPairs[r])[0])===a(e),o=n[1]===t,(1!==arguments.length||i)&&(2!==arguments.length||i&&o)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,i,o=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(i[1])===a(r)){o=n;break}o>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,o)}else{for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)){o=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,o)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),o.ends_with_slashes.test(t)||o.starts_with_slashes.test(e)?(t&&t.replace(o.ends_with_slashes,"/"),e=e.replace(o.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},,function(e,t,r){"use strict";var n=r(254),i=r.n(n),o=r(40),a=r.n(o);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={language:"en-US",messages:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.ask":"Ask","boxui.contentAnswers.askDisabledTooltip":"You can submit another question once Box AI has finished responding","boxui.contentAnswers.askQuestionPlaceholder":"Ask anything about this document","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.maxCharactersReachedError":"Maximum of {characterLimit} characters reached","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for '{itemName}'","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"})},u=r(1);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends i.a{constructor(){super(...arguments),d(this,"language",c.language),d(this,"messages",c.messages),d(this,"setComponent",e=>{this.component=e}),d(this,"onInteraction",e=>{this.emit("interaction",e)})}show(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.id=e,this.token=t,this.options=r,this.options.version="0.0.0-semantically-released",this.emit=this.emit.bind(this);const n=r.container||u.R;this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),a.a.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}t.a=f},,,,,,,function(e,t,r){"use strict";function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(39),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(39),i=r(138),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=l.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):s.test(e)?o:+e}},,function(e,t,r){var n=r(60),i=r(34),o=r(45),a="[object String]";e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&n(e)==a}},,,,,,function(e,t,r){var n=r(163),i=r(397),o=r(172),a=r(398),s=r(404),l=r(227),c=r(197),u=r(407),d=r(409),f=r(309),h=r(231),p=r(124),m=r(412),b=r(413),g=r(233),y=r(34),v=r(123),w=r(417),k=r(39),E=r(419),x=r(108),C=1,S=2,O=4,P="[object Arguments]",A="[object Function]",_="[object GeneratorFunction]",I="[object Object]",T={};T[P]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[I]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[A]=T["[object WeakMap]"]=!1,e.exports=function e(t,r,D,M,j,F){var R,L=r&C,N=r&S,U=r&O;if(D&&(R=j?D(t,M,j,F):D(t)),void 0!==R)return R;if(!k(t))return t;var H=y(t);if(H){if(R=m(t),!L)return c(t,R)}else{var z=p(t),B=z==A||z==_;if(v(t))return l(t,L);if(z==I||z==P||B&&!j){if(R=N||B?{}:g(t),!L)return N?d(t,s(R,t)):u(t,a(R,t))}else{if(!T[z])return j?t:{};R=b(t,z,L)}}F||(F=new n);var V=F.get(t);if(V)return V;F.set(t,R),E(t)?t.forEach((function(n){R.add(e(n,r,D,n,t,F))})):w(t)&&t.forEach((function(n,i){R.set(i,e(n,r,D,i,t,F))}));var W=U?N?h:f:N?keysIn:x,q=H?void 0:W(t);return i(q||t,(function(n,i){q&&(n=t[i=n]),o(R,i,e(n,r,D,i,t,F))})),R}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new P(n||[]);return o._invoke=function(e,t,r){var n=u;return function(i,o){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===i)throw o;return _()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,a),o}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function b(){}function g(){}var y={};y[o]=function(){return this};var v=Object.getPrototypeOf,w=v&&v(v(A([])));w&&w!==r&&n.call(w,o)&&(y=w);var k=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){var t;this._invoke=function(r,i){function o(){return new Promise((function(t,o){!function t(r,i,o,a){var s=c(e[r],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(u).then((function(e){l.value=e,o(l)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}(r,i,t,o)}))}return t=t?t.then(o,o):o()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=c(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:_}}function _(){return{value:t,done:!0}}return b.prototype=k.constructor=g,g.constructor=b,g[s]=b.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var o=new x(l(t,r,n,i));return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(k),k[s]="Generator",k[o]=function(){return this},k.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=A,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(268),i=1/0,o=17976931348623157e292;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(111),i=r(88),o=r(136),a=r(39);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},,function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.t,d:"M9 3h9.172a2 2 0 011.414.586l5.83 5.828A2 2 0 0126 10.83V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M18.75 17h-5.5a.25.25 0 00-.25.25v4.25a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-6.35a.75.75 0 01.75-.75h6.5a.75.75 0 01.75.75v7.75a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-2.85a.25.25 0 00-.25-.25zm-5.5-1h5.5a.25.25 0 00.25-.25V14.5a.5.5 0 00-.5-.5h-5a.5.5 0 00-.5.5v1.25c0 .138.112.25.25.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.585a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:i.r}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm3.729 4.521c.125-.016.44-.059.912.059l.09.022c.674.164 2.394.583 4.48 2.218.196.167.697.602.78.675.038.034.214.211.411.41.24.242.51.515.6.598V26a65.511 65.511 0 01-1.164-1.172c-.521-.541-.876-.87-1.345-1.3-.469-.43-1.733-1.361-2.488-1.675-.756-.313-1.08-.444-1.398-.49l.007.021a1.28 1.28 0 00.068.172c.016.034.028.06.039.104l.238.524.031.067.009.02.006.012.01.026.183.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.754.508-.537 0-1.303-.421-1.543-.567l-.086-.052a7.211 7.211 0 01-.621-.413c-.327-.234-.444-.362-.53-.455a2.335 2.335 0 00-.045-.049c-.094-.097-.319-.333-.359-.657-.023-.183.001-.398.107-.55.062-.088.16-.215.44-.25a.649.649 0 01.436.133c.051.036.151.137.27.255a6.17 6.17 0 00.608.555c.203.166.445.364.603.425-.032-.072-.09-.195-.147-.318v-.001a18.603 18.603 0 01-.137-.297 11.247 11.247 0 00-.194-.41c-.333-.684-.663-1.381-.807-1.814l-.024-.073c-.13-.387-.205-.612-.129-.884.052-.185.111-.32.337-.438.09-.047.23-.098.348-.113l.01-.002zm.71-6.778l2.483 3.974a.511.511 0 01-.44.783h-4.966a.515.515 0 01-.44-.783l2.484-3.974a.519.519 0 01.878 0zm-9.44 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 01-.822.822h-3.356a.822.822 0 01-.822-.822v-3.356z",fill:"#fff"}),n.createElement("path",{opacity:.5,d:"M19.285 3.286l6.421 6.421a1 1 0 01.204.293h-4.911a2 2 0 01-1.995-1.85L19 8V3.09a1 1 0 01.286.196z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:i.i,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#9725DD",d:"M18.526 14.146l-.92 1.375h-6.92a.685.685 0 01-.686-.688c0-.38.31-.687.687-.687h7.839z"}),n.createElement("path",{fill:i.b,d:"M16.379 17.583l-.92 1.375h-4.762a.69.69 0 01-.697-.687c0-.38.31-.688.697-.688h5.682z"}),n.createElement("path",{fill:"#00C8C0",d:"M14.231 21.02l-.424.637a2.166 2.166 0 00-.229.493l-.031.118-.028.127H10.69a.687.687 0 110-1.374h3.541z"}),n.createElement("path",{fill:i.z,d:"M14.841 21.332l4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 01-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 01-.314.607l-.28.417-.09-.016a1.714 1.714 0 01-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M17.553 13.776a.5.5 0 01.894.448l-4 8a.5.5 0 01-.894-.448zm-4.83 1.808a.5.5 0 11.554.832L10.901 18l2.376 1.584a.5.5 0 11-.554.832l-3-2a.5.5 0 010-.832zm6.554 0l3 2a.5.5 0 010 .832l-3 2a.5.5 0 11-.554-.832L21.099 18l-2.376-1.584a.5.5 0 01.554-.832z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4zm-1 2h-3v-3h3v3z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#87BDA0",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm-4.5-9.75H12v-1.5h3.75v1.5zm4.5 0H16.5v-1.5h3.75v1.5zm0 3H16.5V16h3.75v2.25zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564zm8.344-.188H16.5V19h3.75v2.25zm0 3H16.5V22h3.75v2.25zm-4.5 0H12v-1.5h3.75v1.5z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#4083F7",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M16 23v1h-6v-1h6zm5-3v1H10v-1h11zm0-3v1H10v-1h11zm0-3v1H10v-1h11z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.505.505 0 01-.501-.51v-8.98c0-.282.23-.51.501-.51h10zM11 21v2h4v-2.001L11 21zm5 0v2h4v-2h-4zm4-3h-4v2h4v-2zm0-3h-4v2h4v-2zm-5 0h-4v2l4-.001V15zm-4 5l4-.001v-2L11 18v2z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1zm10 7h-9v-5h9v5z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF9400",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16zM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.521 0-.899-.318-.899-.902 0-.567.404-.903.917-.903z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#3FB87F",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M14.754 18.128l3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767a72386.439 72386.439 0 013.9-4.089.444.444 0 01.64-.016zM17.5 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF57A1",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.449 5.449 0 01-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 00-.528-.09z"})))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#1A66EF"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.991 16.925l-.697-4.338a.697.697 0 00-.688-.587h-8.212a.697.697 0 00-.688.587l-.697 4.338a.698.698 0 00.688.807h9.606a.698.698 0 00.688-.807zM17.979 24.225h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388z",fill:"#fff"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 14.169l-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479z",fill:"#66C155"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 010-.958l1.695.479-1.695.479z",fill:"#FA9E27"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 011.047-.296v1.549l-1.047-1.253z",fill:"#AB4287"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 00-.648-.774 1.957 1.957 0 00-1.047-.296v1.549l1.695.479a1.365 1.365 0 000-.958z",fill:"#61D9FE"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253z",fill:"#FBCE5A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 13.69c.117-.314.347-.584.648-.774l1.047 1.253-1.695-.479z",fill:"#E85A5E"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31z",fill:"#C7E8FD"}))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#18D31D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 01.164-.322.584.584 0 01.322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 01.185.001c.06.002.122.006.183.017a.616.616 0 01.322.165.585.585 0 01.165.322c.01.06.014.122.016.183a3.95 3.95 0 01.001.185v2.003l-.001.084a1.224 1.224 0 01-.016.183.618.618 0 01-.165.323.584.584 0 01-.322.165 1.21 1.21 0 01-.183.016l-.084.001H10.77l-.084-.001a1.207 1.207 0 01-.182-.016.616.616 0 01-.323-.165.587.587 0 01-.165-.323 1.24 1.24 0 01-.016-.183v-.084l-.001-.1v-1.903zM12.928 18.453v-.1l.002-.085c.001-.06.005-.122.016-.183a.62.62 0 01.165-.322.587.587 0 01.322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.061.002.123.006.183.017a.616.616 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.183l.001.085V23.616a1.237 1.237 0 01-.017.183.618.618 0 01-.165.323.585.585 0 01-.322.165 1.21 1.21 0 01-.183.016 3.93 3.93 0 01-.084.001H13.7l-.084-.001a1.208 1.208 0 01-.183-.016.616.616 0 01-.322-.165.585.585 0 01-.165-.323 1.212 1.212 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-5.08zM15.857 12.873v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 01.165-.322.586.586 0 01.322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.06.002.122.006.183.017a.619.619 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.184l.001.084V23.532l-.001.084a1.238 1.238 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 01-.084.001H16.629l-.084-.001a1.234 1.234 0 01-.183-.016.619.619 0 01-.322-.165.585.585 0 01-.165-.323 1.21 1.21 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-10.66zM18.785 16.02v-.1l.002-.084a1.21 1.21 0 01.016-.183.62.62 0 01.165-.323.587.587 0 01.322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 01.184.001c.061.002.123.005.183.016a.615.615 0 01.322.165.587.587 0 01.165.323c.011.06.015.122.016.183l.002.085V23.53c0 .029 0 .057-.002.085a1.224 1.224 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 01-.084.001H19.557l-.084-.001a1.208 1.208 0 01-.183-.016.617.617 0 01-.322-.165.585.585 0 01-.165-.323 1.213 1.213 0 01-.016-.183 3.94 3.94 0 01-.001-.084V16.02z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.414 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#FB8517"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 00-.314-.314z",fill:"#FFC78A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42 23.653l-.399.683a.158.158 0 00.216.216l.683-.399-.5-.5zM9.653 23.256l.664.664c.049.05.124.06.185.028a7.674 7.674 0 001.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 00-1.368 1.863.158.158 0 00.028.185zM16.107 18.838a.158.158 0 00.223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 000 .223l1.372 1.372z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M13.133 16.998c0 .354-.054.66-.162.918a1.745 1.745 0 01-1.044 1.012 2.057 2.057 0 01-.693.122h-.621v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 011.089.945c.118.258.176.576.176.954zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 00-.504-.189h-.459v1.665h.459a.665.665 0 00.504-.22c.138-.148.207-.359.207-.635zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 01-.824.639c-.333.15-.727.225-1.183.225H14.2V15h1.791c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.851-.49h-.351v3.852h.351c.348 0 .631-.163.85-.49.22-.328.329-.8.329-1.418zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305h-1.656z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#26C9FF",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107zM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#E19E8D",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M16 24a5.947 5.947 0 004.239-1.76 6.07 6.07 0 00.94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0022 18a5.947 5.947 0 00-1.76-4.239 6.07 6.07 0 00-1.214-.94 5.894 5.894 0 00-1.432-.607A5.862 5.862 0 0016 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 00-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0010 15v6a.748.748 0 00.75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152zm0-9.75h-3.668A5.186 5.186 0 0116 12.75v1.5zm5.197 3H17.5V15a.73.73 0 00-.219-.527.847.847 0 00-.241-.161.703.703 0 00-.29-.062v-1.447a5.086 5.086 0 011.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 01-.577.331c-.22.077-.458.115-.712.115h-.62v1.593zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526zM16 23.25a5.186 5.186 0 01-3.668-1.5h4.418a.748.748 0 00.75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 01-1.353 2.32 5.258 5.258 0 01-2.317 1.353A5.155 5.155 0 0116 23.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M15.643 20.354a.5.5 0 00.707 0l5.003-5a.5.5 0 10-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 00-.707 0L9.646 21.65a.5.5 0 10.708.707l3.643-3.649 1.646 1.647z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M22 23.49c0 .282-.229.51-.5.51h-11a.505.505 0 01-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98zM11 23h2v-2h-2v2zm10-2h-7v2h7v-2zm0-1v-2h-7v2h7zm-10 0h2v-2h-2v2zm10-3v-2h-7v2h7zm-8-2h-2v2h2v-2z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M20 14.068l-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M13.195 17.07l.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 11-.999-.078c.289-1.994 1.516-3.763 3.2-4.772l.43-.257zm5.618.003l.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 11-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052zM16 14a2 2 0 011.937 1.5h4.592c.26 0 .471.21.471.47v.06c0 .26-.21.47-.47.47l-4.593.001a2 2 0 01-3.874 0L9.471 16.5a.47.47 0 01-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0116 14zm0 1a1 1 0 00-1 .98v.039l.007.098A1 1 0 1016 15z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#8BACDE",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm0-9.75H12v-1.5h8.25v1.5zm0 3H16.5V16h3.75v2.25zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8zm8.104-.188H16.5V19h3.75v2.25zm0 3H12v-1.5h3.75a.748.748 0 00.75-.75h3.75v2.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:i.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578zM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995z",fill:i.D}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:i.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27zm6.01 0l-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21h-1.125zM14.5 17.031v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64z",fill:i.D}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.m,d:"M10 24h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V8zm1 15h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V9z"})))},,function(e,t,r){var n=r(151),i=r(403),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(230),i=r(177),o=r(108);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(42).Uint8Array;e.exports=n},function(e,t){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},function(e,t,r){var n=r(105),i=r(112),o=r(34),a=r(136),s=r(174),l=r(101);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(o(e)||i(e))}},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t,r){var n=r(278);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},,,,,,,,,,,,,,,,function(e,t,r){var n=r(73)(r(42),"WeakMap");e.exports=n},function(e,t,r){var n=r(428),i=r(235),o=r(236);e.exports=function(e){return o(i(e,void 0,n),e+"")}},function(e,t){(function(t){e.exports=t}).call(this,{})},,,,,,,,,,,,,,,,function(e,t,r){var n=r(73)(r(42),"Set");e.exports=n},function(e,t,r){var n=r(313),i=r(465),o=r(466);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},function(e,t,r){var n=r(478)();e.exports=n},,,,,,,,,,,,,,,function(e,t,r){"use strict";
52
+ */!function(i){var o={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(o.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,i,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(o.query_separator)).length;t<c;t++)0!==(i=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,i)),l=a(n.substring(i+1)),u.push(-1===i?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=o.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var i=Object(this),o=i.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<o;){var a;n in i&&(a=i[n],e.call(r,a,n,i)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,i="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],i.length>0&&(i+="&"),null===r[1]?i+=r[0]:(i+=r[0],i+="=",void 0!==r[1]&&(i+=encodeURIComponent(r[1])));return i.length>0?"?"+i:i},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,i=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&i.push(r[1]);return i},l.prototype.deleteQueryParam=function(e,t){var r,n,i,o,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)i=a((n=this.queryPairs[r])[0])===a(e),o=n[1]===t,(1!==arguments.length||i)&&(2!==arguments.length||i&&o)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,i,o=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(i[1])===a(r)){o=n;break}o>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,o)}else{for(n=0;n<s;n++)if(a((i=this.queryPairs[n])[0])===a(e)){o=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,o)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),o.ends_with_slashes.test(t)||o.starts_with_slashes.test(e)?(t&&t.replace(o.ends_with_slashes,"/"),e=e.replace(o.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},,function(e,t,r){"use strict";var n=r(254),i=r.n(n),o=r(40),a=r.n(o);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c={language:"en-US",messages:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.ask":"Ask","boxui.contentAnswers.askDisabledTooltip":"You can submit another question once Box AI has finished responding","boxui.contentAnswers.askQuestionPlaceholder":"Ask anything about this document","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.intelligenceUnavailableDescription":"The Box AI service is not responding.","boxui.contentAnswers.intelligenceUnavailableHeading":"Box AI is unavailable","boxui.contentAnswers.intelligenceUnavailableTryAgain":"Please try again later.","boxui.contentAnswers.maxCharactersReachedError":"Maximum of {characterLimit} characters reached","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for '{itemName}'","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"})},u=r(1);function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends i.a{constructor(){super(...arguments),d(this,"language",c.language),d(this,"messages",c.messages),d(this,"setComponent",e=>{this.component=e}),d(this,"onInteraction",e=>{this.emit("interaction",e)})}show(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.id=e,this.token=t,this.options=r,this.options.version="0.0.0-semantically-released",this.emit=this.emit.bind(this);const n=r.container||u.R;this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),a.a.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}t.a=f},,,,,,,function(e,t,r){"use strict";function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(39),i=Object.create,o=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=o},function(e,t,r){var n=r(39),i=r(138),o=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var r=l.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):s.test(e)?o:+e}},,function(e,t,r){var n=r(60),i=r(34),o=r(45),a="[object String]";e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&n(e)==a}},,,,,,function(e,t,r){var n=r(163),i=r(397),o=r(172),a=r(398),s=r(404),l=r(227),c=r(197),u=r(407),d=r(409),f=r(309),h=r(231),p=r(124),m=r(412),b=r(413),g=r(233),y=r(34),v=r(123),w=r(417),k=r(39),E=r(419),x=r(108),C=1,S=2,O=4,P="[object Arguments]",A="[object Function]",_="[object GeneratorFunction]",I="[object Object]",T={};T[P]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[I]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[A]=T["[object WeakMap]"]=!1,e.exports=function e(t,r,D,M,j,F){var R,L=r&C,N=r&S,U=r&O;if(D&&(R=j?D(t,M,j,F):D(t)),void 0!==R)return R;if(!k(t))return t;var H=y(t);if(H){if(R=m(t),!L)return c(t,R)}else{var z=p(t),B=z==A||z==_;if(v(t))return l(t,L);if(z==I||z==P||B&&!j){if(R=N||B?{}:g(t),!L)return N?d(t,s(R,t)):u(t,a(R,t))}else{if(!T[z])return j?t:{};R=b(t,z,L)}}F||(F=new n);var V=F.get(t);if(V)return V;F.set(t,R),E(t)?t.forEach((function(n){R.add(e(n,r,D,n,t,F))})):w(t)&&t.forEach((function(n,i){R.set(i,e(n,r,D,i,t,F))}));var W=U?N?h:f:N?keysIn:x,q=H?void 0:W(t);return i(q||t,(function(n,i){q&&(n=t[i=n]),o(R,i,e(n,r,D,i,t,F))})),R}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(e,t,r,n){var i=t&&t.prototype instanceof m?t:m,o=Object.create(i.prototype),a=new P(n||[]);return o._invoke=function(e,t,r){var n=u;return function(i,o){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===i)throw o;return _()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var s=C(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,a),o}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function b(){}function g(){}var y={};y[o]=function(){return this};var v=Object.getPrototypeOf,w=v&&v(v(A([])));w&&w!==r&&n.call(w,o)&&(y=w);var k=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){var t;this._invoke=function(r,i){function o(){return new Promise((function(t,o){!function t(r,i,o,a){var s=c(e[r],e,i);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,o,a)}),(function(e){t("throw",e,o,a)})):Promise.resolve(u).then((function(e){l.value=e,o(l)}),(function(e){return t("throw",e,o,a)}))}a(s.arg)}(r,i,t,o)}))}return t=t?t.then(o,o):o()}}function C(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=c(n,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,p;var o=i.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function A(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:_}}function _(){return{value:t,done:!0}}return b.prototype=k.constructor=g,g.constructor=b,g[s]=b.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},E(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,r,n,i){var o=new x(l(t,r,n,i));return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},E(k),k[s]="Generator",k[o]=function(){return this},k.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=A,P.prototype={constructor:P,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:A(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(268),i=1/0,o=17976931348623157e292;e.exports=function(e){return e?(e=n(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(111),i=r(88),o=r(136),a=r(39);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?i(r)&&o(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},,function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.t,d:"M9 3h9.172a2 2 0 011.414.586l5.83 5.828A2 2 0 0126 10.83V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M18.75 17h-5.5a.25.25 0 00-.25.25v4.25a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-6.35a.75.75 0 01.75-.75h6.5a.75.75 0 01.75.75v7.75a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-2.85a.25.25 0 00-.25-.25zm-5.5-1h5.5a.25.25 0 00.25-.25V14.5a.5.5 0 00-.5-.5h-5a.5.5 0 00-.5.5v1.25c0 .138.112.25.25.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.585a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:i.r}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm3.729 4.521c.125-.016.44-.059.912.059l.09.022c.674.164 2.394.583 4.48 2.218.196.167.697.602.78.675.038.034.214.211.411.41.24.242.51.515.6.598V26a65.511 65.511 0 01-1.164-1.172c-.521-.541-.876-.87-1.345-1.3-.469-.43-1.733-1.361-2.488-1.675-.756-.313-1.08-.444-1.398-.49l.007.021a1.28 1.28 0 00.068.172c.016.034.028.06.039.104l.238.524.031.067.009.02.006.012.01.026.183.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.754.508-.537 0-1.303-.421-1.543-.567l-.086-.052a7.211 7.211 0 01-.621-.413c-.327-.234-.444-.362-.53-.455a2.335 2.335 0 00-.045-.049c-.094-.097-.319-.333-.359-.657-.023-.183.001-.398.107-.55.062-.088.16-.215.44-.25a.649.649 0 01.436.133c.051.036.151.137.27.255a6.17 6.17 0 00.608.555c.203.166.445.364.603.425-.032-.072-.09-.195-.147-.318v-.001a18.603 18.603 0 01-.137-.297 11.247 11.247 0 00-.194-.41c-.333-.684-.663-1.381-.807-1.814l-.024-.073c-.13-.387-.205-.612-.129-.884.052-.185.111-.32.337-.438.09-.047.23-.098.348-.113l.01-.002zm.71-6.778l2.483 3.974a.511.511 0 01-.44.783h-4.966a.515.515 0 01-.44-.783l2.484-3.974a.519.519 0 01.878 0zm-9.44 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 01-.822.822h-3.356a.822.822 0 01-.822-.822v-3.356z",fill:"#fff"}),n.createElement("path",{opacity:.5,d:"M19.285 3.286l6.421 6.421a1 1 0 01.204.293h-4.911a2 2 0 01-1.995-1.85L19 8V3.09a1 1 0 01.286.196z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:i.i,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#9725DD",d:"M18.526 14.146l-.92 1.375h-6.92a.685.685 0 01-.686-.688c0-.38.31-.687.687-.687h7.839z"}),n.createElement("path",{fill:i.b,d:"M16.379 17.583l-.92 1.375h-4.762a.69.69 0 01-.697-.687c0-.38.31-.688.697-.688h5.682z"}),n.createElement("path",{fill:"#00C8C0",d:"M14.231 21.02l-.424.637a2.166 2.166 0 00-.229.493l-.031.118-.028.127H10.69a.687.687 0 110-1.374h3.541z"}),n.createElement("path",{fill:i.z,d:"M14.841 21.332l4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 01-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 01-.314.607l-.28.417-.09-.016a1.714 1.714 0 01-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M17.553 13.776a.5.5 0 01.894.448l-4 8a.5.5 0 01-.894-.448zm-4.83 1.808a.5.5 0 11.554.832L10.901 18l2.376 1.584a.5.5 0 11-.554.832l-3-2a.5.5 0 010-.832zm6.554 0l3 2a.5.5 0 010 .832l-3 2a.5.5 0 11-.554-.832L21.099 18l-2.376-1.584a.5.5 0 01.554-.832z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4zm-1 2h-3v-3h3v3z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#87BDA0",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm-4.5-9.75H12v-1.5h3.75v1.5zm4.5 0H16.5v-1.5h3.75v1.5zm0 3H16.5V16h3.75v2.25zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564zm8.344-.188H16.5V19h3.75v2.25zm0 3H16.5V22h3.75v2.25zm-4.5 0H12v-1.5h3.75v1.5z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#4083F7",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M16 23v1h-6v-1h6zm5-3v1H10v-1h11zm0-3v1H10v-1h11zm0-3v1H10v-1h11z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.505.505 0 01-.501-.51v-8.98c0-.282.23-.51.501-.51h10zM11 21v2h4v-2.001L11 21zm5 0v2h4v-2h-4zm4-3h-4v2h4v-2zm0-3h-4v2h4v-2zm-5 0h-4v2l4-.001V15zm-4 5l4-.001v-2L11 18v2z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1zm10 7h-9v-5h9v5z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF9400",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16zM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.521 0-.899-.318-.899-.902 0-.567.404-.903.917-.903z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#3FB87F",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M14.754 18.128l3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767a72386.439 72386.439 0 013.9-4.089.444.444 0 01.64-.016zM17.5 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF57A1",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.449 5.449 0 01-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 00-.528-.09z"})))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#1A66EF"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.991 16.925l-.697-4.338a.697.697 0 00-.688-.587h-8.212a.697.697 0 00-.688.587l-.697 4.338a.698.698 0 00.688.807h9.606a.698.698 0 00.688-.807zM17.979 24.225h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388z",fill:"#fff"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 14.169l-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479z",fill:"#66C155"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 010-.958l1.695.479-1.695.479z",fill:"#FA9E27"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 011.047-.296v1.549l-1.047-1.253z",fill:"#AB4287"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 00-.648-.774 1.957 1.957 0 00-1.047-.296v1.549l1.695.479a1.365 1.365 0 000-.958z",fill:"#61D9FE"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253z",fill:"#FBCE5A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 13.69c.117-.314.347-.584.648-.774l1.047 1.253-1.695-.479z",fill:"#E85A5E"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31z",fill:"#C7E8FD"}))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#18D31D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 01.164-.322.584.584 0 01.322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 01.185.001c.06.002.122.006.183.017a.616.616 0 01.322.165.585.585 0 01.165.322c.01.06.014.122.016.183a3.95 3.95 0 01.001.185v2.003l-.001.084a1.224 1.224 0 01-.016.183.618.618 0 01-.165.323.584.584 0 01-.322.165 1.21 1.21 0 01-.183.016l-.084.001H10.77l-.084-.001a1.207 1.207 0 01-.182-.016.616.616 0 01-.323-.165.587.587 0 01-.165-.323 1.24 1.24 0 01-.016-.183v-.084l-.001-.1v-1.903zM12.928 18.453v-.1l.002-.085c.001-.06.005-.122.016-.183a.62.62 0 01.165-.322.587.587 0 01.322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.061.002.123.006.183.017a.616.616 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.183l.001.085V23.616a1.237 1.237 0 01-.017.183.618.618 0 01-.165.323.585.585 0 01-.322.165 1.21 1.21 0 01-.183.016 3.93 3.93 0 01-.084.001H13.7l-.084-.001a1.208 1.208 0 01-.183-.016.616.616 0 01-.322-.165.585.585 0 01-.165-.323 1.212 1.212 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-5.08zM15.857 12.873v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 01.165-.322.586.586 0 01.322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.06.002.122.006.183.017a.619.619 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.184l.001.084V23.532l-.001.084a1.238 1.238 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 01-.084.001H16.629l-.084-.001a1.234 1.234 0 01-.183-.016.619.619 0 01-.322-.165.585.585 0 01-.165-.323 1.21 1.21 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-10.66zM18.785 16.02v-.1l.002-.084a1.21 1.21 0 01.016-.183.62.62 0 01.165-.323.587.587 0 01.322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 01.184.001c.061.002.123.005.183.016a.615.615 0 01.322.165.587.587 0 01.165.323c.011.06.015.122.016.183l.002.085V23.53c0 .029 0 .057-.002.085a1.224 1.224 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 01-.084.001H19.557l-.084-.001a1.208 1.208 0 01-.183-.016.617.617 0 01-.322-.165.585.585 0 01-.165-.323 1.213 1.213 0 01-.016-.183 3.94 3.94 0 01-.001-.084V16.02z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(9);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(i.a,o({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.414 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#FB8517"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 00-.314-.314z",fill:"#FFC78A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42 23.653l-.399.683a.158.158 0 00.216.216l.683-.399-.5-.5zM9.653 23.256l.664.664c.049.05.124.06.185.028a7.674 7.674 0 001.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 00-1.368 1.863.158.158 0 00.028.185zM16.107 18.838a.158.158 0 00.223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 000 .223l1.372 1.372z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M13.133 16.998c0 .354-.054.66-.162.918a1.745 1.745 0 01-1.044 1.012 2.057 2.057 0 01-.693.122h-.621v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 011.089.945c.118.258.176.576.176.954zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 00-.504-.189h-.459v1.665h.459a.665.665 0 00.504-.22c.138-.148.207-.359.207-.635zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 01-.824.639c-.333.15-.727.225-1.183.225H14.2V15h1.791c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.851-.49h-.351v3.852h.351c.348 0 .631-.163.85-.49.22-.328.329-.8.329-1.418zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305h-1.656z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#26C9FF",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107zM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#E19E8D",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M16 24a5.947 5.947 0 004.239-1.76 6.07 6.07 0 00.94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0022 18a5.947 5.947 0 00-1.76-4.239 6.07 6.07 0 00-1.214-.94 5.894 5.894 0 00-1.432-.607A5.862 5.862 0 0016 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 00-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0010 15v6a.748.748 0 00.75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152zm0-9.75h-3.668A5.186 5.186 0 0116 12.75v1.5zm5.197 3H17.5V15a.73.73 0 00-.219-.527.847.847 0 00-.241-.161.703.703 0 00-.29-.062v-1.447a5.086 5.086 0 011.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 01-.577.331c-.22.077-.458.115-.712.115h-.62v1.593zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526zM16 23.25a5.186 5.186 0 01-3.668-1.5h4.418a.748.748 0 00.75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 01-1.353 2.32 5.258 5.258 0 01-2.317 1.353A5.155 5.155 0 0116 23.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M15.643 20.354a.5.5 0 00.707 0l5.003-5a.5.5 0 10-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 00-.707 0L9.646 21.65a.5.5 0 10.708.707l3.643-3.649 1.646 1.647z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M22 23.49c0 .282-.229.51-.5.51h-11a.505.505 0 01-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98zM11 23h2v-2h-2v2zm10-2h-7v2h7v-2zm0-1v-2h-7v2h7zm-10 0h2v-2h-2v2zm10-3v-2h-7v2h7zm-8-2h-2v2h2v-2z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M20 14.068l-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.D,d:"M13.195 17.07l.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 11-.999-.078c.289-1.994 1.516-3.763 3.2-4.772l.43-.257zm5.618.003l.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 11-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052zM16 14a2 2 0 011.937 1.5h4.592c.26 0 .471.21.471.47v.06c0 .26-.21.47-.47.47l-4.593.001a2 2 0 01-3.874 0L9.471 16.5a.47.47 0 01-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0116 14zm0 1a1 1 0 00-1 .98v.039l.007.098A1 1 0 1016 15z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#8BACDE",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:i.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm0-9.75H12v-1.5h8.25v1.5zm0 3H16.5V16h3.75v2.25zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8zm8.104-.188H16.5V19h3.75v2.25zm0 3H12v-1.5h3.75a.748.748 0 00.75-.75h3.75v2.25z"})))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:i.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578zM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995z",fill:i.D}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:i.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27zm6.01 0l-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21h-1.125zM14.5 17.031v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64z",fill:i.D}))},function(e,t,r){"use strict";var n=r(0),i=r(2),o=r(9);function a(){return(a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}t.a=e=>n.createElement(o.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:i.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:i.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:i.m,d:"M10 24h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V8zm1 15h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V9z"})))},,function(e,t,r){var n=r(151),i=r(403),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))o.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(230),i=r(177),o=r(108);e.exports=function(e){return n(e,o,i)}},function(e,t,r){var n=r(42).Uint8Array;e.exports=n},function(e,t){e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(i);++n<i;)o[n]=e[n+t];return o}},function(e,t,r){var n=r(105),i=r(112),o=r(34),a=r(136),s=r(174),l=r(101);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(o(e)||i(e))}},function(e,t){e.exports=function(e,t,r,n){for(var i=e.length,o=r+(n?1:-1);n?o--:++o<i;)if(t(e[o],o,e))return o;return-1}},function(e,t,r){var n=r(278);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},,,,,,,,,,,,,,,,function(e,t,r){var n=r(73)(r(42),"WeakMap");e.exports=n},function(e,t,r){var n=r(428),i=r(235),o=r(236);e.exports=function(e){return o(i(e,void 0,n),e+"")}},function(e,t){(function(t){e.exports=t}).call(this,{})},,,,,,,,,,,,,,,,function(e,t,r){var n=r(73)(r(42),"Set");e.exports=n},function(e,t,r){var n=r(313),i=r(465),o=r(466);e.exports=function(e,t,r){return t==t?o(e,t,r):n(e,i,r)}},function(e,t,r){var n=r(478)();e.exports=n},,,,,,,,,,,,,,,function(e,t,r){"use strict";
53
53
  /** @license React v17.0.1
54
54
  * react.production.min.js
55
55
  *
@@ -81,4 +81,4 @@ object-assign
81
81
  *
82
82
  * This source code is licensed under the MIT license found in the
83
83
  * LICENSE file in the root directory of this source tree.
84
- */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case l:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case b:case c:return e;default:return t}}case o:return t}}}function E(e){return k(e)===f}t.typeOf=k,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=i,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=o,t.Profiler=l,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===u||e.$$typeof===h||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||k(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return k(e)===h},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===b},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p}},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(0)),i=s(r(440)),o=s(r(40)),a=s(r(443));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var b=void 0!==o.default.createPortal,g=[i.default.string,i.default.shape({appendChild:i.default.func.isRequired})],y=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],v=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?p(e):t}(this,f(t).call(this,e)),m(p(p(r)),"_targetNode",null),m(p(p(r)),"_elementParentNode",null),m(p(p(r)),"_tether",null),m(p(p(r)),"_elementComponent",null),m(p(p(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,i,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),r=t,(i=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,i,o=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,u(o)),(i=this._elementParentNode.classList).add.apply(i,u(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(b||o.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=o.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():b?this._updateTether():o.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=c(e,["children","renderElementTag","renderElementTo","id","className","style"]),i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){m(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),o=t||"";if(this._elementParentNode.id!==o&&(this._elementParentNode.id=o),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(i):(this._tether=new a.default(i),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?b&&this._elementComponent?[this._targetComponent,o.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}])&&d(r.prototype,i),s&&d(r,s),t}(n.Component);function w(e){this.updateChildrenComponents(e)}m(v,"propTypes",{renderElementTag:i.default.string,renderElementTo:i.default.oneOfType(g),attachment:i.default.oneOf(y).isRequired,targetAttachment:i.default.oneOf(y),offset:i.default.string,targetOffset:i.default.string,targetModifier:i.default.string,enabled:i.default.bool,classes:i.default.object,classPrefix:i.default.string,optimizations:i.default.object,constraints:i.default.array,id:i.default.string,className:i.default.string,style:i.default.object,onUpdate:i.default.func,onRepositioned:i.default.func,children:function(e,t,r){var i=e.children,o=n.Children.count(i);return o<=0?new Error("".concat(r," expects at least one child to use as the target element.")):o>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),m(v,"defaultProps",{renderElementTag:"div",renderElementTo:null});var k,E,x=n.default.version.split(".").map(Number),C=(E=2,function(e){if(Array.isArray(e))return e}(k=x)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(k,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),S=C[0],O=C[1];S<16||16===S&&O<9?v.prototype.componentWillUpdate=w:v.prototype.UNSAFE_componentWillUpdate=w;var P=v;t.default=P},function(e,t,r){e.exports=r(441)()},function(e,t,r){"use strict";var n=r(442);function i(){}e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=i,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n,i,o;/*! tether 1.4.7 */i=[],void 0===(o="function"==typeof(n=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function i(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=i(o);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function o(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var i=void 0;try{i=getComputedStyle(n)}catch(e){}if(null==i)return r.push(n),r;var o=i,a=o.overflow,s=o.overflowX,l=o.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=i(e),x((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=i(e),o=c();return n.top-=o.top,n.left-=o.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function f(e){return e.offsetParent||document.documentElement}var h=null;function p(){if(h)return h;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var i=r-n;return h={width:i,height:i}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=v(e).replace(r," ");w(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=v(e)+" "+t;w(e,r)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=v(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function v(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function k(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&y(e,r)&&b(e,r)})),t.forEach((function(t){y(e,t)||g(e,t)}))}var E=[],x=function(e){E.push(e)},C=function(){for(var e=void 0;e=E.pop();)e()},S=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,l=o.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:d,getOffsetParent:f,extend:m,addClass:g,removeClass:b,hasClass:y,updateClasses:k,defer:x,flush:C,uniqueId:s,Evented:S,getScrollBarSize:p,removeUtilElements:u};var O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},P=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var i=e,o=t,a=r;n=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;e=c,t=o,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var o=($=r.Utils).getScrollParents,f=(d=$.getBounds,$.getOffsetParent),g=(m=$.extend,$.addClass),b=$.removeClass,p=(k=$.updateClasses,x=$.defer,C=$.flush,$.getScrollBarSize),u=$.removeUtilElements;function A(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var _,I,T,D,M=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),j=[],F=function(){j.forEach((function(e){e.position(!1)})),C()};function R(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}_=null,I=null,T=null,D=function e(){if(void 0!==I&&I>16)return I=Math.min(I-16,250),void(T=setTimeout(e,250));void 0!==_&&R()-_<10||(null!=T&&(clearTimeout(T),T=null),_=R(),F(),I=R()-_)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,D)}));var L={center:"center",left:"right",right:"left"},N={middle:"middle",top:"bottom",bottom:"top"},U={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=L[t.left]),"auto"===n&&(n=N[t.top]),{left:r,top:n}},z=function(e){var t=e.left,r=e.top;return void 0!==U[e.left]&&(t=U[e.left]),void 0!==U[e.top]&&(r=U[e.top]),{left:t,top:r}};function B(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var W=function(e){var t=e.split(" "),r=O(t,2);return{top:r[0],left:r[1]}},q=W,G=function(n){function i(e){var n=this;t(this,i),P(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),j.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),e(i,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(n,e);var i=this.options,a=i.element,s=i.target,l=i.targetModifier;if(this.element=a,this.target=s,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=W(this.options.offset),this.targetOffset=W(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var i=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,o={width:15,height:.975*i*(i/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;i<408&&this.target===document.body&&(a=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-i);return o.top=s*(i-o.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),j.forEach((function(t,r){t===e&&j.splice(r,1)})),0===j.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var n=this._addAttachClasses;e.top&&n.push(this.getClass("element-attached")+"-"+e.top),e.left&&n.push(this.getClass("element-attached")+"-"+e.left),t.top&&n.push(this.getClass("target-attached")+"-"+t.top),t.left&&n.push(this.getClass("target-attached")+"-"+t.left);var i=[];["left","top","bottom","right","middle","center"].forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),x((function(){void 0!==r._addAttachClasses&&(k(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&k(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",(function(){return d(e.element)})),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=V(z(this.attachment),{width:o,height:a}),h=V(z(n),c),m=V(this.offset,{width:o,height:a}),b=V(this.targetOffset,c);u=B(u,m),h=B(h,b);for(var g=l.left+h.left-u.left,y=l.top+h.top-u.top,v=0;v<r.modules.length;++v){var w=r.modules[v],k=w.position.call(this,{left:g,top:y,targetAttachment:n,targetPos:l,elementPos:i,offset:u,targetOffset:h,manualOffset:m,manualTargetOffset:b,scrollbarSize:O,attachment:this.attachment});if(!1===k)return!1;void 0!==k&&"object"==typeof k&&(y=k.top,g=k.left)}var E={page:{top:y,left:g},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},x=this.target.ownerDocument,S=x.defaultView,O=void 0;return S.innerHeight>x.documentElement.clientHeight&&(O=this.cache("scrollbar-size",p),E.viewport.bottom-=O.height),S.innerWidth>x.documentElement.clientWidth&&(O=this.cache("scrollbar-size",p),E.viewport.right-=O.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(E.page.bottom=x.body.scrollHeight-y-a,E.page.right=x.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return f(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),i=r,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=x.body.scrollWidth-r.left-i.width+o.right,r.bottom=x.body.scrollHeight-r.top-i.height+o.bottom,E.page.top>=r.top+o.top&&E.page.bottom>=r.bottom&&E.page.left>=r.left+o.left&&E.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;E.offset={top:E.page.top-r.top+a-o.top,left:E.page.left-r.left+s-o.left}}}(),this.move(E),this.history.unshift(E),this.history.length>3&&this.history.pop(),t&&C(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var r={};for(var n in e)for(var i in r[n]={},e[n]){for(var o=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[n]&&!A(s[n][i],e[n][i])){o=!0;break}}o||(r[n][i]=!0)}var l,c,u={top:"",left:"",right:"",bottom:""},d=function(e,r){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var n=void 0,i=void 0;e.top?(u.top=0,n=r.top):(u.bottom=0,n=-r.bottom),e.left?(u.left=0,i=r.left):(u.right=0,i=-r.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),u[M]="translateX("+i+"px) translateY("+n+"px)","msTransform"!==M&&(u[M]+=" translateZ(0)")}else e.top?u.top=r.top+"px":u.bottom=r.bottom+"px",e.left?u.left=r.left+"px":u.right=r.right+"px"},h=!1;if((r.page.top||r.page.bottom)&&(r.page.left||r.page.right)?(u.position="absolute",d(r.page,e.page)):(r.viewport.top||r.viewport.bottom)&&(r.viewport.left||r.viewport.right)?(u.position="fixed",d(r.viewport,e.viewport)):void 0!==r.offset&&r.offset.top&&r.offset.left?function(){u.position="absolute";var n=t.cache("target-offsetparent",(function(){return f(t.target)}));f(t.element)!==n&&x((function(){t.element.parentNode.removeChild(t.element),n.appendChild(t.element)})),d(r.offset,e.offset),h=!0}():(u.position="absolute",d({top:!0,left:!0},e.page)),!h)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=!0,b=this.element.parentNode;b&&1===b.nodeType&&"BODY"!==b.tagName&&(c=void 0,((c=(l=b).ownerDocument).fullscreenElement||c.webkitFullscreenElement||c.mozFullScreenElement||c.msFullscreenElement)!==l);){if("static"!==getComputedStyle(b).position){p=!1;break}b=b.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var i in u){var v=u[i];this.element.style[i]!==v&&(y=!0,g[i]=v)}y&&x((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),i}(S);G.modules=[],r.position=F;var X=m(G,r);O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=($=r.Utils).getBounds;var m=$.extend,K=(k=$.updateClasses,x=$.defer,["left","top","right","bottom"]);r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,f=c.width,h=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&h.push(t),r&&h.push(r)})),h.forEach((function(e){["left","top","right","bottom"].forEach((function(t){h.push(e+"-"+t)}))}));var p=[],b=m({},i),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var h=void 0,m=void 0;if(l.indexOf(" ")>=0){var y=l.split(" "),v=O(y,2);m=v[0],h=v[1]}else h=m=l;var w=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,i=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}K.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(i["border"+e+"Width"]):t[r]-=parseFloat(i["border"+e+"Width"])}))}(),t}(t,o);"target"!==m&&"both"!==m||(r<w[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>w[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===m&&("top"===b.top&&("bottom"===g.top&&r<w[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>w[3]&&r-(a-u)>=w[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>w[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<w[1]&&r+(2*a-u)<=w[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>w[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==h&&"both"!==h||(n<w[0]&&"left"===b.left&&(n+=f,b.left="right"),n+s>w[2]&&"right"===b.left&&(n-=f,b.left="left")),"together"===h&&(n<w[0]&&"left"===b.left?"right"===g.left?(n+=f,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=f,b.left="right",n-=s,g.left="right"):n+s>w[2]&&"right"===b.left?"left"===g.left?(n-=f,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=f,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>w[2]&&"left"===g.left?(n-=s,g.left="right"):n<w[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==m&&"both"!==m||(r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>w[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==h&&"both"!==h||(n<w[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>w[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var k,E,x=[],C=[];r<w[1]&&(c.indexOf("top")>=0?(r=w[1],x.push("top")):C.push("top")),r+a>w[3]&&(c.indexOf("bottom")>=0?(r=w[3]-a,x.push("bottom")):C.push("bottom")),n<w[0]&&(c.indexOf("left")>=0?(n=w[0],x.push("left")):C.push("left")),n+s>w[2]&&(c.indexOf("right")>=0?(n=w[2]-s,x.push("right")):C.push("right")),x.length&&(k=void 0,k=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(k),x.forEach((function(e){p.push(k+"-"+e)}))),C.length&&(E=void 0,E=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(E),C.forEach((function(e){p.push(E+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(g.left=b.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===i.top&&b.left===i.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),x((function(){!1!==t.options.addTargetClasses&&k(t.target,p,h),k(t.element,p,h)})),{top:r,left:n}}});var $,d=($=r.Utils).getBounds,k=$.updateClasses;return x=$.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=this.cache("element-bounds",(function(){return d(t.element)})),o=i.height,a=i.width,s=this.getTargetBounds(),l=r+o,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var f=[],h=[];return f.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),u.length&&h.push(this.getClass("abutted")),u.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),x((function(){!1!==t.options.addTargetClasses&&k(t.target,h,f),k(t.element,h,f)})),!0}}),O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var i=void 0,o=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=O(n,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=n.top,o=n.left;return{top:t+=i,left:r+=o}}}}),X})?n.apply(t,i):n)||(e.exports=o)},function(e,t,r){},function(e,t,r){},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(172),i=r(105),o=r(136),a=r(39),s=r(101);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,d=u-1,f=e;null!=f&&++c<u;){var h=s(t[c]),p=r;if(c!=d){var m=f[h];void 0===(p=l?l(m,h,f):void 0)&&(p=a(m)?m:o(t[c+1])?[]:{})}n(f,h,p),f=f[h]}return e}},function(e,t,r){"use strict";var n=r(32),i=r(237),o=r(449),a=r(243);var s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(139));s.Axios=o,s.Cancel=r(140),s.CancelToken=r(462),s.isCancel=r(242),s.VERSION=r(244).version,s.all=function(e){return Promise.all(e)},s.spread=r(463),s.isAxiosError=r(464),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(32),i=r(238),o=r(450),a=r(451),s=r(243),l=r(461),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var f=t;n.length;){var h=n.shift(),p=n.shift();try{f=h(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(32);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,r){"use strict";var n=r(32),i=r(452),o=r(242),a=r(139),s=r(140);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(32),i=r(139);e.exports=function(e,t,r){var o=this||i;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(241);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(457),i=r(458);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(32),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(244).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var o=n[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:i}},function(e,t,r){"use strict";var n=r(140);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(468),i=r(108);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(169);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},function(e,t,r){var n=r(471),i=r(100),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},function(e,t,r){var n=r(472)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(474),i=r(475),o=r(100),a=r(476);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?i(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return r.test(e)}},function(e,t){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+a+"|"+s+")",f="(?:"+u+"|"+s+")",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),m="(?:"+[o,l,c].join("|")+")"+p,b=RegExp([u+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,u,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,u+d,"$"].join("|")+")",u+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");e.exports=function(e){return e.match(b)||[]}},function(e,t,r){var n=r(163),i=r(246),o=r(350),a=r(479),s=r(39),l=r(137),c=r(247);e.exports=function e(t,r,u,d,f){t!==r&&o(r,(function(o,l){if(f||(f=new n),s(o))a(t,r,l,u,e,d,f);else{var h=d?d(c(t,l),o,l+"",t,r,f):void 0;void 0===h&&(h=o),i(t,l,h)}}),l)}},function(e,t){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},function(e,t,r){var n=r(246),i=r(227),o=r(232),a=r(197),s=r(233),l=r(112),c=r(34),u=r(480),d=r(123),f=r(171),h=r(39),p=r(234),m=r(165),b=r(247),g=r(481);e.exports=function(e,t,r,y,v,w,k){var E=b(e,r),x=b(t,r),C=k.get(x);if(C)n(e,r,C);else{var S=w?w(E,x,r+"",e,t,k):void 0,O=void 0===S;if(O){var P=c(x),A=!P&&d(x),_=!P&&!A&&m(x);S=x,P||A||_?c(E)?S=E:u(E)?S=a(E):A?(O=!1,S=i(x,!0)):_?(O=!1,S=o(x,!0)):S=[]:p(x)||l(x)?(S=E,l(E)?S=g(E):h(E)&&!f(E)||(S=s(x))):O=!1}O&&(k.set(x,S),v(S,x,y,w,k),k.delete(x)),n(e,r,S)}}},function(e,t,r){var n=r(88),i=r(45);e.exports=function(e){return i(e)&&n(e)}},function(e,t,r){var n=r(80),i=r(137);e.exports=function(e){return n(e,i(e))}},function(e,t,r){var n=r(483),i=r(279);e.exports=function(e){return n((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var l=r[n];l&&e(t,l,n,a)}return t}))}},function(e,t,r){var n=r(194),i=r(235),o=r(236);e.exports=function(e,t){return o(i(e,t,n),e+"")}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=i.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var n=a(r[0]);n!==r[0]&&(t[r[0]]=n)}r=i.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),s=0;s<o.length;s++){var l=o[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},function(e,t,r){var n=r(60),i=r(45),o="[object Number]";e.exports=function(e){return"number"==typeof e||i(e)&&n(e)==o}},,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},,function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(0),i=r.n(n),o=r(4),a=r.n(o),s=r(12),l=r.n(s),c=r(3),u=r.n(c),d=r(119),f=r(65),h=r.n(f),p=r(128),m=r(5),b=r(98),g=r(58),y=r(204),v=r(31),w=r(40);var k=e=>{let{integrationWindow:t,children:r}=e;const n=t.document.createElement("div");return function(e,t){Array.from(e.styleSheets).forEach(e=>{if(!e.href)return;const r=t.document.createElement("link");r.rel="stylesheet",r.href=e.href,t.document.head.appendChild(r)}),t.document.body.style.margin=0,t.document.body.style.padding=0}(document,t),t.document.body.appendChild(n),Object(w.createPortal)(r,n)};var E=e=>{let{hasError:t,integrationWindow:r}=e;return n.createElement(k,{integrationWindow:r},n.createElement("div",{className:"be bcow bcow-portal-container"},t?n.createElement(y.a,{errorHeader:n.createElement(d.a,m.a.executeIntegrationOpenWithErrorHeader),errorSubHeader:n.createElement(d.a,m.a.executeIntegrationOpenWithErrorSubHeader)}):n.createElement(v.b,{className:"bcow-portal-loading-indicator",size:"large"})))},x=r(126),C=r(127),S=r(69),O=r(1),P=r(10);function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _="icon-google-docs";class I extends n.Component{constructor(){super(...arguments),A(this,"idPrefix","".concat(l()(_),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(_," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#1a237e",stopOpacity:".2"}),n.createElement("stop",{offset:"1",stopColor:"#1a237e",stopOpacity:".02"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#4285f4"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M9.45 21.82h10.91v-1.37H9.45zm0 2.73h8.19v-1.37H9.45zm0-9.55v1.36h10.91V15zm0 4.09h10.91v-1.36H9.45z",fill:"#f1f1f1"}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#a1c2fa"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}))}}A(I,"defaultProps",{className:"",height:30,width:30});var T=I;function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M="icon-google-sheets";class j extends n.Component{constructor(){super(...arguments),D(this,"idPrefix","".concat(l()(M),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(M," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#208256"}),n.createElement("stop",{offset:".55",stopColor:"#19955a",stopOpacity:".2"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#22a565"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#8ed1b1"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),n.createElement("path",{d:"M10 14v10h10V14zm1 1h3.5v2H11zm0 3h3.5v2H11zm0 5v-2h3.5v2zm8 0h-3.5v-2H19zm0-3h-3.5v-2H19zm0-3h-3.5v-2H19z",fill:"#f1f1f1"}))}}D(j,"defaultProps",{className:"",height:30,width:30});var F=j;function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const L="icon-google-slides";class N extends n.Component{constructor(){super(...arguments),R(this,"idPrefix","".concat(l()(L),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(L," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#d08714",stopOpacity:".88"}),n.createElement("stop",{offset:".55",stopColor:"#cf8714",stopOpacity:".2"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#f4b912"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#fadc87"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),n.createElement("path",{d:"M10 15v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm9 6h-8v-4h8z",fill:"#f1f1f1"}))}}R(N,"defaultProps",{className:"",height:30,width:30});var U=N,H=r(167);const z={"Google Docs":T,"Google Docs (beta)":T,"Google Sheets":F,"Google Sheets (beta)":F,"Google Slides":U,"Google Slides (beta)":U};var B=function(e){return z[e]||H.a},V=r(8),W=r.n(V);r(724);function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const G="https://cloud.box.com/v/installboxtools",X="Box Tools";var K=e=>{let{boxToolsName:t=X,boxToolsInstallUrl:r=G}=e;return n.createElement(d.a,q({},m.a.boxToolsInstallMessage,{values:{boxTools:n.createElement("a",{href:"#",onClick:()=>{window.open(r)},rel:"noopener noreferrer"},t)}}))};var $=e=>{return W()(e,"disabledReasons.0.type")===K};r(725);var Q=e=>{let{integration:t,onClick:r}=e;const{displayName:i,displayDescription:o,isDisabled:s,extension:l,disabledReasons:c}=t,u=B(i),f=s?function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const r=t[0],i=n.createElement(d.a,m.a.errorOpenWithDescription);switch(r){case"blocked_by_shield_access_policy":e=n.createElement(d.a,m.a.boxEditErrorBlockedByPolicy);break;case"collaborators_hidden":e=i;break;default:e=t[0]||i}return e}(c):o,h=a()({"bcow-box-tools-uninstalled":$(t)});return n.createElement(S.a,{className:h,isDisabled:s,onClick:()=>r(t)},n.createElement(u,{dimension:O.Ne,extension:l,height:O.Ne,width:O.Ne}),n.createElement("span",null,n.createElement("p",{className:"bcow-menu-item-title"},i),n.createElement("p",{className:"bcow-menu-item-description"},f)))},Y=r(143),J=r(219),Z=r(26),ee=r(99);var te=e=>{let{children:t}=e;return n.createElement(n.Fragment,null,t,n.createElement("span",{className:"bcow-btn-header-text"},n.createElement(d.a,m.a.open)))};function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ne=e=>n.createElement(ee.a,{position:"middle-left",text:n.createElement(d.a,m.a.defaultOpenWithDescription)},n.createElement(Z.b,re({"data-testid":"multipleintegrationsbutton"},e),n.createElement(Y.a,null,n.createElement(te,null,n.createElement(J.a,{className:O.v,dimension:O.Me,height:O.Me,width:O.Me})))));const ie="right";var oe=e=>{let{dropdownAlignment:t=ie,integrations:r,onClick:i}=e;return n.createElement(x.a,{isRightAligned:t===ie},n.createElement(ne,null),n.createElement(C.a,{className:"bcow-menu"},r.map(e=>n.createElement(Q,{key:e.appIntegrationId,integration:e,onClick:i}))))};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const se=function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t)return null;let o=n.createElement(d.a,m.a.emptyOpenWithDescription);return i.length>0?[o]=i:r?o=n.createElement(d.a,m.a.errorOpenWithDescription):e&&(o=e),o};var le=e=>{let{error:t,onClick:r=u.a,displayIntegration:i,isLoading:o}=e;const{displayName:a,isDisabled:s,extension:l,disabledReasons:c,displayDescription:d}=i||{},f=!!s||!a,h=a?B(a):J.a,p=$(i)?{isShown:!0,showCloseButton:!0}:{};return n.createElement(ee.a,ae({className:"bcow-tooltip",position:"bottom-center",text:se(d,o,t,c)},p),n.createElement(Z.b,{"data-testid":"singleintegrationbutton",isDisabled:f,onClick:()=>i?r(i):u.a},n.createElement(te,null,n.createElement(h,{className:O.v,dimension:O.Me,extension:l,height:O.Me,width:O.Me}))))};var ce=e=>{let{error:t}=e;return n.createElement("div",{className:"be bcow"},n.createElement(le,{error:t,isLoading:!1}))};class ue extends n.PureComponent{constructor(e){super(e),this.ref=i.a.createRef()}componentDidMount(){const{onSubmit:e}=this.props;this.ref.current.submit(),e()}render(){const{executePostData:{url:e,params:t},id:r,windowName:n}=this.props;return i.a.createElement("form",{ref:this.ref,action:e,id:"bcow-execute-form-".concat(r),method:O.ne,rel:"noreferrer noopener",target:n||"_blank"},t&&t.map(e=>{let{key:t,value:r}=e;return i.a.createElement("input",{key:t,name:t,type:"hidden",value:r})}))}}var de=ue;r(248),r(726);function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const me="Integration invocation using this HTTP method type is not supported",be="boxToolsBlacklistedError",ge="boxToolsInstallErrorMessage",ye="executeIntegrationOpenWithErrorHeader",ve="auth_code";class we extends n.PureComponent{constructor(e){super(e),pe(this,"initialState",{isDropdownOpen:!1,integrations:null,isLoading:!0,fetchError:null,executePostData:null,shouldRenderErrorIntegrationPortal:!1,shouldRenderLoadingIntegrationPortal:!1}),pe(this,"fetchOpenWithSuccessHandler",async e=>{const{boxToolsName:t,boxToolsInstallUrl:r}=this.props,n=e.find(e=>{let{appIntegrationId:t}=e;return this.isBoxEditIntegration(t)});if(n&&!n.isDisabled)try{const{extension:e}=await this.getIntegrationFileExtension();n.extension=e,await this.isBoxEditAvailable(),await this.canOpenExtensionWithBoxEdit(n)}catch(e){const o=m.a[e.message]||m.a[ye];let a=i.a.createElement(d.a,o);e.message===ge&&(a=i.a.createElement(K,{boxToolsInstallUrl:r,boxToolsName:t})),n.disabledReasons.push(a),n.isDisabled=!0}this.setState({integrations:e,isLoading:!1})}),pe(this,"getIntegrationFileExtension",()=>{const{fileId:e}=this.props;return new Promise((t,r)=>{this.api.getFileAPI().getFileExtension(e,t,()=>r(new Error(ye)))})}),pe(this,"isBoxEditAvailable",()=>this.api.getBoxEditAPI().checkBoxEditAvailability().catch(()=>{throw new Error(ge)})),pe(this,"canOpenExtensionWithBoxEdit",e=>{let{extension:t=""}=e;return this.api.getBoxEditAPI().getAppForExtension(t).catch(()=>{throw new Error(be)})}),pe(this,"fetchErrorHandler",(e,t)=>{this.props.onError(e,t,{error:e}),this.setState({fetchError:e,isLoading:!1})}),pe(this,"onIntegrationClick",e=>{let{appIntegrationId:t,displayName:r}=e;const{fileId:n}=this.props,i=this.isBoxEditIntegration(t);if(this.api.getAppIntegrationsAPI(!1).execute(t,n,this.executeIntegrationSuccessHandler.bind(this,t),i?this.executeBoxEditErrorHandler:this.executeIntegrationErrorHandler),i)return;const o="left=".concat(window.screenX,",top=").concat(window.screenY,",height=").concat(window.outerHeight,",width=").concat(window.innerWidth,",toolbar=0");this.integrationWindow=this.window.open("","".concat(l()(t)),o),this.integrationWindow.document.title=r,this.integrationWindow.onunload=this.cleanupIntegrationWindow,this.setState({shouldRenderLoadingIntegrationPortal:!0,shouldRenderErrorIntegrationPortal:!1})}),pe(this,"cleanupIntegrationWindow",()=>{this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!1})}),pe(this,"executeIntegrationSuccessHandler",(e,t)=>{this.isBoxEditIntegration(e)?this.executeBoxEditSuccessHandler(e,t):this.executeOnlineIntegrationSuccessHandler(t),this.onExecute(e)}),pe(this,"executeOnlineIntegrationSuccessHandler",e=>{const{method:t,url:r}=e;switch(t){case O.ne:this.setState({executePostData:e});break;case O.ke:if(!this.integrationWindow)return;this.integrationWindow.location=r,this.integrationWindow.opener=null;break;default:this.executeIntegrationErrorHandler(Error(me),O.Gb)}this.integrationWindow=null}),pe(this,"executeBoxEditSuccessHandler",(e,t)=>{let{url:r}=t;const{fileId:n,token:i,onError:o}=this.props,a=h.a.parse(r)[ve],s=this.isBoxEditSFCIntegration(e);this.api.getBoxEditAPI().openFile(n,{data:{auth_code:a,token:i,token_scope:s?O.ig:O.jg}}).catch(e=>{o(e,O.Gb,{error:e})})}),pe(this,"onExecuteFormSubmit",()=>{this.setState({executePostData:null})}),pe(this,"executeIntegrationErrorHandler",(e,t)=>{this.props.onError(e,t,{error:e}),console.error(e),this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!0})}),pe(this,"executeBoxEditErrorHandler",e=>{this.props.onError(e),console.error(e)});const{token:t,apiHost:r,clientName:n,language:o,requestInterceptor:a,responseInterceptor:s}=e;this.id=l()("bcow_"),this.api=new g.a({apiHost:r,clientName:n,language:o,requestInterceptor:a,responseInterceptor:s,token:t}),this.state=he({},this.initialState)}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.api.destroy(!1)}componentDidMount(){const{fileId:e}=this.props;e&&(this.window=window,this.fetchOpenWithData())}componentDidUpdate(e){const{fileId:t}=this.props,{fileId:r}=e;t&&t!==r&&(this.setState(he({},this.initialState)),this.fetchOpenWithData())}isBoxEditIntegration(e){return e===O.m||this.isBoxEditSFCIntegration(e)}isBoxEditSFCIntegration(e){return e===O.n}fetchOpenWithData(){const{fileId:e}=this.props;this.api.getOpenWithAPI(!1).getOpenWithIntegrations(e,this.fetchOpenWithSuccessHandler,this.fetchErrorHandler)}onExecute(e){this.props.onExecute(e),this.setState({shouldRenderLoadingIntegrationPortal:!1})}getDisplayIntegration(){const{integrations:e}=this.state;return Array.isArray(e)&&1===e.length?e[0]:null}render(){const{language:e,messages:t,dropdownAlignment:r}=this.props,{fetchError:n,isLoading:o,integrations:s,executePostData:l,shouldRenderLoadingIntegrationPortal:c,shouldRenderErrorIntegrationPortal:u}=this.state,d=a()("be bcow",this.props.className),f=this.getDisplayIntegration(),h=s?s.length:0;return i.a.createElement(p.a,{language:e,messages:t},i.a.createElement("div",{className:d,"data-testid":"bcow-content",id:this.id},h<=1?i.a.createElement(le,{displayIntegration:f,error:n,isLoading:o,onClick:this.onIntegrationClick}):i.a.createElement(oe,{dropdownAlignment:r,integrations:s,onClick:this.onIntegrationClick}),(c||u)&&i.a.createElement(E,{hasError:u,integrationWindow:this.integrationWindow}),l&&i.a.createElement(de,{executePostData:l,id:this.id,onSubmit:this.onExecuteFormSubmit,windowName:this.integrationWindow&&this.integrationWindow.name})))}}pe(we,"defaultProps",{apiHost:O.U,className:"",clientName:O.L,onExecute:u.a,onError:u.a});var ke=Object(b.a)(O.Te,ce)(we);r.d(t,"default",(function(){return ke}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t),function(e){r(277);var n=r(0),i=r.n(n),o=r(40),a=r(259),s=r(676);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class u extends a.a{constructor(){super(...arguments),c(this,"onExecute",e=>{this.emit("execute",e)}),c(this,"onError",e=>{this.emit("error",e)})}render(){Object(o.render)(i.a.createElement(s.default,l({componentRef:this.setComponent,fileId:this.id,language:this.language,messages:this.messages,onError:this.onError,onExecute:this.onExecute,onInteraction:this.onInteraction,token:this.token},this.options)),this.container)}}e.Box=e.Box||{},e.Box.ContentOpenWith=u,t.default=u}.call(this,r(44))}]);
84
+ */Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case d:case f:case a:case l:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case b:case c:return e;default:return t}}case o:return t}}}function E(e){return k(e)===f}t.typeOf=k,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=i,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=o,t.Profiler=l,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===u||e.$$typeof===h||e.$$typeof===y||e.$$typeof===v||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||k(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return k(e)===u},t.isContextProvider=function(e){return k(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return k(e)===h},t.isFragment=function(e){return k(e)===a},t.isLazy=function(e){return k(e)===g},t.isMemo=function(e){return k(e)===b},t.isPortal=function(e){return k(e)===o},t.isProfiler=function(e){return k(e)===l},t.isStrictMode=function(e){return k(e)===s},t.isSuspense=function(e){return k(e)===p}},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(0)),i=s(r(440)),o=s(r(40)),a=s(r(443));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var b=void 0!==o.default.createPortal,g=[i.default.string,i.default.shape({appendChild:i.default.func.isRequired})],y=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],v=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?p(e):t}(this,f(t).call(this,e)),m(p(p(r)),"_targetNode",null),m(p(p(r)),"_elementParentNode",null),m(p(p(r)),"_tether",null),m(p(p(r)),"_elementComponent",null),m(p(p(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,i,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),r=t,(i=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,i,o=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,u(o)),(i=this._elementParentNode.classList).add.apply(i,u(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(b||o.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=o.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():b?this._updateTether():o.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=c(e,["children","renderElementTag","renderElementTo","id","className","style"]),i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){m(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),o=t||"";if(this._elementParentNode.id!==o&&(this._elementParentNode.id=o),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(i):(this._tether=new a.default(i),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?b&&this._elementComponent?[this._targetComponent,o.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}])&&d(r.prototype,i),s&&d(r,s),t}(n.Component);function w(e){this.updateChildrenComponents(e)}m(v,"propTypes",{renderElementTag:i.default.string,renderElementTo:i.default.oneOfType(g),attachment:i.default.oneOf(y).isRequired,targetAttachment:i.default.oneOf(y),offset:i.default.string,targetOffset:i.default.string,targetModifier:i.default.string,enabled:i.default.bool,classes:i.default.object,classPrefix:i.default.string,optimizations:i.default.object,constraints:i.default.array,id:i.default.string,className:i.default.string,style:i.default.object,onUpdate:i.default.func,onRepositioned:i.default.func,children:function(e,t,r){var i=e.children,o=n.Children.count(i);return o<=0?new Error("".concat(r," expects at least one child to use as the target element.")):o>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),m(v,"defaultProps",{renderElementTag:"div",renderElementTo:null});var k,E,x=n.default.version.split(".").map(Number),C=(E=2,function(e){if(Array.isArray(e))return e}(k=x)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(k,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),S=C[0],O=C[1];S<16||16===S&&O<9?v.prototype.componentWillUpdate=w:v.prototype.UNSAFE_componentWillUpdate=w;var P=v;t.default=P},function(e,t,r){e.exports=r(441)()},function(e,t,r){"use strict";var n=r(442);function i(){}e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=i,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n,i,o;/*! tether 1.4.7 */i=[],void 0===(o="function"==typeof(n=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function i(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var o=e.ownerDocument.defaultView.frameElement;if(o){var a=i(o);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function o(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var i=void 0;try{i=getComputedStyle(n)}catch(e){}if(null==i)return r.push(n),r;var o=i,a=o.overflow,s=o.overflowX,l=o.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(i.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=i(e),x((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=i(e),o=c();return n.top-=o.top,n.left-=o.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function f(e){return e.offsetParent||document.documentElement}var h=null;function p(){if(h)return h;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var i=r-n;return h={width:i,height:i}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=v(e).replace(r," ");w(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=v(e)+" "+t;w(e,r)}}function y(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=v(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function v(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function k(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&y(e,r)&&b(e,r)})),t.forEach((function(t){y(e,t)||g(e,t)}))}var E=[],x=function(e){E.push(e)},C=function(){for(var e=void 0;e=E.pop();)e()},S=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];for(;t<this.bindings[e].length;){var o=this.bindings[e][t],a=o.handler,s=o.ctx,l=o.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:i,getScrollParents:o,getBounds:d,getOffsetParent:f,extend:m,addClass:g,removeClass:b,hasClass:y,updateClasses:k,defer:x,flush:C,uniqueId:s,Evented:S,getScrollBarSize:p,removeUtilElements:u};var O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},P=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var i=e,o=t,a=r;n=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(i);if(null===c)return;e=c,t=o,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var o=($=r.Utils).getScrollParents,f=(d=$.getBounds,$.getOffsetParent),g=(m=$.extend,$.addClass),b=$.removeClass,p=(k=$.updateClasses,x=$.defer,C=$.flush,$.getScrollBarSize),u=$.removeUtilElements;function A(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var _,I,T,D,M=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),j=[],F=function(){j.forEach((function(e){e.position(!1)})),C()};function R(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}_=null,I=null,T=null,D=function e(){if(void 0!==I&&I>16)return I=Math.min(I-16,250),void(T=setTimeout(e,250));void 0!==_&&R()-_<10||(null!=T&&(clearTimeout(T),T=null),_=R(),F(),I=R()-_)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,D)}));var L={center:"center",left:"right",right:"left"},N={middle:"middle",top:"bottom",bottom:"top"},U={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=L[t.left]),"auto"===n&&(n=N[t.top]),{left:r,top:n}},z=function(e){var t=e.left,r=e.top;return void 0!==U[e.left]&&(t=U[e.left]),void 0!==U[e.top]&&(r=U[e.top]),{left:t,top:r}};function B(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function V(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var W=function(e){var t=e.split(" "),r=O(t,2);return{top:r[0],left:r[1]}},q=W,G=function(n){function i(e){var n=this;t(this,i),P(Object.getPrototypeOf(i.prototype),"constructor",this).call(this),this.position=this.position.bind(this),j.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(i,n),e(i,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(n,e);var i=this.options,a=i.element,s=i.target,l=i.targetModifier;if(this.element=a,this.target=s,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=W(this.options.offset),this.targetOffset=W(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((o={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(o.height,e.height-(pageYOffset-e.top)),o.height=Math.min(o.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),o.height=Math.min(innerHeight,o.height),o.height-=2,o.width=Math.min(o.width,e.width-(pageXOffset-e.left)),o.width=Math.min(o.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),o.width=Math.min(innerWidth,o.width),o.width-=2,o.top<pageYOffset&&(o.top=pageYOffset),o.left<pageXOffset&&(o.left=pageXOffset),o);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var i=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,o={width:15,height:.975*i*(i/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;i<408&&this.target===document.body&&(a=-11e-5*Math.pow(i,2)-.00727*i+22.58),this.target!==document.body&&(o.height=Math.max(o.height,24));var s=this.target.scrollTop/(t.scrollHeight-i);return o.top=s*(i-o.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(o.height=Math.max(o.height,24)),o}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),j.forEach((function(t,r){t===e&&j.splice(r,1)})),0===j.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment,void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var n=this._addAttachClasses;e.top&&n.push(this.getClass("element-attached")+"-"+e.top),e.left&&n.push(this.getClass("element-attached")+"-"+e.left),t.top&&n.push(this.getClass("target-attached")+"-"+t.top),t.left&&n.push(this.getClass("target-attached")+"-"+t.left);var i=[];["left","top","bottom","right","middle","center"].forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),x((function(){void 0!==r._addAttachClasses&&(k(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&k(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",(function(){return d(e.element)})),o=i.width,a=i.height;if(0===o&&0===a&&void 0!==this.lastSize){var s=this.lastSize;o=s.width,a=s.height}else this.lastSize={width:o,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=V(z(this.attachment),{width:o,height:a}),h=V(z(n),c),m=V(this.offset,{width:o,height:a}),b=V(this.targetOffset,c);u=B(u,m),h=B(h,b);for(var g=l.left+h.left-u.left,y=l.top+h.top-u.top,v=0;v<r.modules.length;++v){var w=r.modules[v],k=w.position.call(this,{left:g,top:y,targetAttachment:n,targetPos:l,elementPos:i,offset:u,targetOffset:h,manualOffset:m,manualTargetOffset:b,scrollbarSize:O,attachment:this.attachment});if(!1===k)return!1;void 0!==k&&"object"==typeof k&&(y=k.top,g=k.left)}var E={page:{top:y,left:g},viewport:{top:y-pageYOffset,bottom:pageYOffset-y-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-o+innerWidth}},x=this.target.ownerDocument,S=x.defaultView,O=void 0;return S.innerHeight>x.documentElement.clientHeight&&(O=this.cache("scrollbar-size",p),E.viewport.bottom-=O.height),S.innerWidth>x.documentElement.clientWidth&&(O=this.cache("scrollbar-size",p),E.viewport.right-=O.width),-1!==["","static"].indexOf(x.body.style.position)&&-1!==["","static"].indexOf(x.body.parentElement.style.position)||(E.page.bottom=x.body.scrollHeight-y-a,E.page.right=x.body.scrollWidth-g-o),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return f(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),i=r,o={};if(["Top","Left","Bottom","Right"].forEach((function(e){o[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=x.body.scrollWidth-r.left-i.width+o.right,r.bottom=x.body.scrollHeight-r.top-i.height+o.bottom,E.page.top>=r.top+o.top&&E.page.bottom>=r.bottom&&E.page.left>=r.left+o.left&&E.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;E.offset={top:E.page.top-r.top+a-o.top,left:E.page.left-r.left+s-o.left}}}(),this.move(E),this.history.unshift(E),this.history.length>3&&this.history.pop(),t&&C(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var r={};for(var n in e)for(var i in r[n]={},e[n]){for(var o=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[n]&&!A(s[n][i],e[n][i])){o=!0;break}}o||(r[n][i]=!0)}var l,c,u={top:"",left:"",right:"",bottom:""},d=function(e,r){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var n=void 0,i=void 0;e.top?(u.top=0,n=r.top):(u.bottom=0,n=-r.bottom),e.left?(u.left=0,i=r.left):(u.right=0,i=-r.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(i=Math.round(i*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),u[M]="translateX("+i+"px) translateY("+n+"px)","msTransform"!==M&&(u[M]+=" translateZ(0)")}else e.top?u.top=r.top+"px":u.bottom=r.bottom+"px",e.left?u.left=r.left+"px":u.right=r.right+"px"},h=!1;if((r.page.top||r.page.bottom)&&(r.page.left||r.page.right)?(u.position="absolute",d(r.page,e.page)):(r.viewport.top||r.viewport.bottom)&&(r.viewport.left||r.viewport.right)?(u.position="fixed",d(r.viewport,e.viewport)):void 0!==r.offset&&r.offset.top&&r.offset.left?function(){u.position="absolute";var n=t.cache("target-offsetparent",(function(){return f(t.target)}));f(t.element)!==n&&x((function(){t.element.parentNode.removeChild(t.element),n.appendChild(t.element)})),d(r.offset,e.offset),h=!0}():(u.position="absolute",d({top:!0,left:!0},e.page)),!h)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var p=!0,b=this.element.parentNode;b&&1===b.nodeType&&"BODY"!==b.tagName&&(c=void 0,((c=(l=b).ownerDocument).fullscreenElement||c.webkitFullscreenElement||c.mozFullScreenElement||c.msFullscreenElement)!==l);){if("static"!==getComputedStyle(b).position){p=!1;break}b=b.parentNode}p||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},y=!1;for(var i in u){var v=u[i];this.element.style[i]!==v&&(y=!0,g[i]=v)}y&&x((function(){m(t.element.style,g),t.trigger("repositioned")}))}}}]),i}(S);G.modules=[],r.position=F;var X=m(G,r);O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=($=r.Utils).getBounds;var m=$.extend,K=(k=$.updateClasses,x=$.defer,["left","top","right","bottom"]);r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=e.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",(function(){return d(t.element)})),a=o.height,s=o.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,f=c.width,h=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&h.push(t),r&&h.push(r)})),h.forEach((function(e){["left","top","right","bottom"].forEach((function(t){h.push(e+"-"+t)}))}));var p=[],b=m({},i),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var o=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var h=void 0,m=void 0;if(l.indexOf(" ")>=0){var y=l.split(" "),v=O(y,2);m=v[0],h=v[1]}else h=m=l;var w=function(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,i=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var o=e.ownerDocument.defaultView;t[0]+=o.pageXOffset,t[1]+=o.pageYOffset,t[2]+=o.pageXOffset,t[3]+=o.pageYOffset}K.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(i["border"+e+"Width"]):t[r]-=parseFloat(i["border"+e+"Width"])}))}(),t}(t,o);"target"!==m&&"both"!==m||(r<w[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>w[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===m&&("top"===b.top&&("bottom"===g.top&&r<w[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>w[3]&&r-(a-u)>=w[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>w[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<w[1]&&r+(2*a-u)<=w[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>w[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==h&&"both"!==h||(n<w[0]&&"left"===b.left&&(n+=f,b.left="right"),n+s>w[2]&&"right"===b.left&&(n-=f,b.left="left")),"together"===h&&(n<w[0]&&"left"===b.left?"right"===g.left?(n+=f,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=f,b.left="right",n-=s,g.left="right"):n+s>w[2]&&"right"===b.left?"left"===g.left?(n-=f,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=f,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>w[2]&&"left"===g.left?(n-=s,g.left="right"):n<w[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==m&&"both"!==m||(r<w[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>w[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==h&&"both"!==h||(n<w[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>w[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var k,E,x=[],C=[];r<w[1]&&(c.indexOf("top")>=0?(r=w[1],x.push("top")):C.push("top")),r+a>w[3]&&(c.indexOf("bottom")>=0?(r=w[3]-a,x.push("bottom")):C.push("bottom")),n<w[0]&&(c.indexOf("left")>=0?(n=w[0],x.push("left")):C.push("left")),n+s>w[2]&&(c.indexOf("right")>=0?(n=w[2]-s,x.push("right")):C.push("right")),x.length&&(k=void 0,k=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(k),x.forEach((function(e){p.push(k+"-"+e)}))),C.length&&(E=void 0,E=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(E),C.forEach((function(e){p.push(E+"-"+e)}))),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(g.left=b.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===i.top&&b.left===i.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),x((function(){!1!==t.options.addTargetClasses&&k(t.target,p,h),k(t.element,p,h)})),{top:r,left:n}}});var $,d=($=r.Utils).getBounds,k=$.updateClasses;return x=$.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,i=this.cache("element-bounds",(function(){return d(t.element)})),o=i.height,a=i.width,s=this.getTargetBounds(),l=r+o,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var f=[],h=[];return f.push(this.getClass("abutted")),["left","top","right","bottom"].forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),u.length&&h.push(this.getClass("abutted")),u.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),x((function(){!1!==t.options.addTargetClasses&&k(t.target,h,f),k(t.element,h,f)})),!0}}),O=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var i=void 0,o=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=O(n,2);i=a[0],o=a[1],i=parseFloat(i,10),o=parseFloat(o,10)}else i=n.top,o=n.left;return{top:t+=i,left:r+=o}}}}),X})?n.apply(t,i):n)||(e.exports=o)},function(e,t,r){},function(e,t,r){},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(172),i=r(105),o=r(136),a=r(39),s=r(101);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=i(t,e)).length,d=u-1,f=e;null!=f&&++c<u;){var h=s(t[c]),p=r;if(c!=d){var m=f[h];void 0===(p=l?l(m,h,f):void 0)&&(p=a(m)?m:o(t[c+1])?[]:{})}n(f,h,p),f=f[h]}return e}},function(e,t,r){"use strict";var n=r(32),i=r(237),o=r(449),a=r(243);var s=function e(t){var r=new o(t),s=i(o.prototype.request,r);return n.extend(s,o.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(139));s.Axios=o,s.Cancel=r(140),s.CancelToken=r(462),s.isCancel=r(242),s.VERSION=r(244).version,s.all=function(e){return Promise.all(e)},s.spread=r(463),s.isAxiosError=r(464),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(32),i=r(238),o=r(450),a=r(451),s=r(243),l=r(461),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],i=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(i=i&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!i){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var f=t;n.length;){var h=n.shift(),p=n.shift();try{f=h(f)}catch(e){p(e);break}}try{o=a(f)}catch(e){return Promise.reject(e)}for(;u.length;)o=o.then(u.shift(),u.shift());return o},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(32);function i(){this.handlers=[]}i.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},function(e,t,r){"use strict";var n=r(32),i=r(452),o=r(242),a=r(139),s=r(140);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(l(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(32),i=r(139);e.exports=function(e,t,r){var o=this||i;return n.forEach(r,(function(r){e=r.call(o,e,t)})),e}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(241);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(i)&&s.push("path="+i),n.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(457),i=r(458);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(32),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,a={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(a[t]&&i.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(244).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(i(n," has been removed"+(t?" in "+t:"")));return t&&!o[n]&&(o[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var o=n[i],a=t[o];if(a){var s=e[o],l=void 0===s||a(s,o,e);if(!0!==l)throw new TypeError("option "+o+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+o)}},validators:i}},function(e,t,r){"use strict";var n=r(140);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},i.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(468),i=r(108);e.exports=function(e){return null==e?[]:n(e,i(e))}},function(e,t,r){var n=r(169);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t){e.exports=function(e,t,r,n){var i=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++i]);++i<o;)r=t(r,e[i],i,e);return r}},function(e,t,r){var n=r(471),i=r(100),o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=i(e))&&e.replace(o,n).replace(a,"")}},function(e,t,r){var n=r(472)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(474),i=r(475),o=r(100),a=r(476);e.exports=function(e,t,r){return e=o(e),void 0===(t=r?void 0:t)?i(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return r.test(e)}},function(e,t){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",c="[\\ud800-\\udbff][\\udc00-\\udfff]",u="[A-Z\\xc0-\\xd6\\xd8-\\xde]",d="(?:"+a+"|"+s+")",f="(?:"+u+"|"+s+")",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,c].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),m="(?:"+[o,l,c].join("|")+")"+p,b=RegExp([u+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,u,"$"].join("|")+")",f+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,u+d,"$"].join("|")+")",u+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?",u+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,m].join("|"),"g");e.exports=function(e){return e.match(b)||[]}},function(e,t,r){var n=r(163),i=r(246),o=r(350),a=r(479),s=r(39),l=r(137),c=r(247);e.exports=function e(t,r,u,d,f){t!==r&&o(r,(function(o,l){if(f||(f=new n),s(o))a(t,r,l,u,e,d,f);else{var h=d?d(c(t,l),o,l+"",t,r,f):void 0;void 0===h&&(h=o),i(t,l,h)}}),l)}},function(e,t){e.exports=function(e){return function(t,r,n){for(var i=-1,o=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===r(o[l],l,o))break}return t}}},function(e,t,r){var n=r(246),i=r(227),o=r(232),a=r(197),s=r(233),l=r(112),c=r(34),u=r(480),d=r(123),f=r(171),h=r(39),p=r(234),m=r(165),b=r(247),g=r(481);e.exports=function(e,t,r,y,v,w,k){var E=b(e,r),x=b(t,r),C=k.get(x);if(C)n(e,r,C);else{var S=w?w(E,x,r+"",e,t,k):void 0,O=void 0===S;if(O){var P=c(x),A=!P&&d(x),_=!P&&!A&&m(x);S=x,P||A||_?c(E)?S=E:u(E)?S=a(E):A?(O=!1,S=i(x,!0)):_?(O=!1,S=o(x,!0)):S=[]:p(x)||l(x)?(S=E,l(E)?S=g(E):h(E)&&!f(E)||(S=s(x))):O=!1}O&&(k.set(x,S),v(S,x,y,w,k),k.delete(x)),n(e,r,S)}}},function(e,t,r){var n=r(88),i=r(45);e.exports=function(e){return i(e)&&n(e)}},function(e,t,r){var n=r(80),i=r(137);e.exports=function(e){return n(e,i(e))}},function(e,t,r){var n=r(483),i=r(279);e.exports=function(e){return n((function(t,r){var n=-1,o=r.length,a=o>1?r[o-1]:void 0,s=o>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(r[0],r[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++n<o;){var l=r[n];l&&e(t,l,n,a)}return t}))}},function(e,t,r){var n=r(194),i=r(235),o=r(236);e.exports=function(e,t){return o(i(e,t,n),e+"")}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],o(r),o(n))}function a(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n),r=1;r<t.length;r++)t=(e=o(t,r).join("")).match(n);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=i.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var n=a(r[0]);n!==r[0]&&(t[r[0]]=n)}r=i.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),s=0;s<o.length;s++){var l=o[s];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},function(e,t,r){var n=r(60),i=r(45),o="[object Number]";e.exports=function(e){return"number"==typeof e||i(e)&&n(e)==o}},,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},,function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t);var n=r(0),i=r.n(n),o=r(4),a=r.n(o),s=r(12),l=r.n(s),c=r(3),u=r.n(c),d=r(119),f=r(65),h=r.n(f),p=r(128),m=r(5),b=r(98),g=r(58),y=r(204),v=r(31),w=r(40);var k=e=>{let{integrationWindow:t,children:r}=e;const n=t.document.createElement("div");return function(e,t){Array.from(e.styleSheets).forEach(e=>{if(!e.href)return;const r=t.document.createElement("link");r.rel="stylesheet",r.href=e.href,t.document.head.appendChild(r)}),t.document.body.style.margin=0,t.document.body.style.padding=0}(document,t),t.document.body.appendChild(n),Object(w.createPortal)(r,n)};var E=e=>{let{hasError:t,integrationWindow:r}=e;return n.createElement(k,{integrationWindow:r},n.createElement("div",{className:"be bcow bcow-portal-container"},t?n.createElement(y.a,{errorHeader:n.createElement(d.a,m.a.executeIntegrationOpenWithErrorHeader),errorSubHeader:n.createElement(d.a,m.a.executeIntegrationOpenWithErrorSubHeader)}):n.createElement(v.b,{className:"bcow-portal-loading-indicator",size:"large"})))},x=r(126),C=r(127),S=r(69),O=r(1),P=r(10);function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _="icon-google-docs";class I extends n.Component{constructor(){super(...arguments),A(this,"idPrefix","".concat(l()(_),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(_," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#1a237e",stopOpacity:".2"}),n.createElement("stop",{offset:"1",stopColor:"#1a237e",stopOpacity:".02"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#4285f4"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M9.45 21.82h10.91v-1.37H9.45zm0 2.73h8.19v-1.37H9.45zm0-9.55v1.36h10.91V15zm0 4.09h10.91v-1.36H9.45z",fill:"#f1f1f1"}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#a1c2fa"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}))}}A(I,"defaultProps",{className:"",height:30,width:30});var T=I;function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M="icon-google-sheets";class j extends n.Component{constructor(){super(...arguments),D(this,"idPrefix","".concat(l()(M),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(M," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#208256"}),n.createElement("stop",{offset:".55",stopColor:"#19955a",stopOpacity:".2"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#22a565"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#8ed1b1"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),n.createElement("path",{d:"M10 14v10h10V14zm1 1h3.5v2H11zm0 3h3.5v2H11zm0 5v-2h3.5v2zm8 0h-3.5v-2H19zm0-3h-3.5v-2H19zm0-3h-3.5v-2H19z",fill:"#f1f1f1"}))}}D(j,"defaultProps",{className:"",height:30,width:30});var F=j;function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const L="icon-google-slides";class N extends n.Component{constructor(){super(...arguments),R(this,"idPrefix","".concat(l()(L),"-"))}render(){const{className:e,height:t,title:r,width:i}=this.props;return n.createElement(P.a,{className:"".concat(L," ").concat(e),height:t,title:r,viewBox:"0 0 30 30",width:i},n.createElement("defs",null,n.createElement("linearGradient",{gradientTransform:"matrix(2.67 0 0 -2.67 596.67 1357)",gradientUnits:"userSpaceOnUse",id:"".concat(this.idPrefix,"a"),x1:"-215.49",x2:"-215.49",y1:"505.79",y2:"503.19"},n.createElement("stop",{offset:"0",stopColor:"#d08714",stopOpacity:".88"}),n.createElement("stop",{offset:".55",stopColor:"#cf8714",stopOpacity:".2"}))),n.createElement("path",{d:"M17.64 0H6.05A2.05 2.05 0 0 0 4 2.05V28a2.05 2.05 0 0 0 2.05 2h17.72a2.05 2.05 0 0 0 2.05-2V8.18l-4.77-3.41z",fill:"#f4b912"}),n.createElement("path",{d:"M18.23 7.58l7.59 7.58V8.18l-7.59-.6z",fill:"url(#".concat(this.idPrefix,"a)")}),n.createElement("path",{d:"M17.64 0v6.14a2 2 0 0 0 2 2h6.14z",fill:"#fadc87"}),n.createElement("path",{d:"M6.05 0A2.05 2.05 0 0 0 4 2.05v.17A2.05 2.05 0 0 1 6.05.17h11.59V0z",fill:"#fff",fillOpacity:".2"}),n.createElement("path",{d:"M19.68 8.18a2 2 0 0 1-2-2v.17a2 2 0 0 0 2 2h6.14v-.17z",fill:"#1a237e",fillOpacity:".1"}),n.createElement("path",{d:"M10 15v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-8a1 1 0 0 0-1 1zm9 6h-8v-4h8z",fill:"#f1f1f1"}))}}R(N,"defaultProps",{className:"",height:30,width:30});var U=N,H=r(167);const z={"Google Docs":T,"Google Docs (beta)":T,"Google Sheets":F,"Google Sheets (beta)":F,"Google Slides":U,"Google Slides (beta)":U};var B=function(e){return z[e]||H.a},V=r(8),W=r.n(V);r(724);function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const G="https://cloud.box.com/v/installboxtools",X="Box Tools";var K=e=>{let{boxToolsName:t=X,boxToolsInstallUrl:r=G}=e;return n.createElement(d.a,q({},m.a.boxToolsInstallMessage,{values:{boxTools:n.createElement("a",{href:"#",onClick:()=>{window.open(r)},rel:"noopener noreferrer"},t)}}))};var $=e=>{return W()(e,"disabledReasons.0.type")===K};r(725);var Q=e=>{let{integration:t,onClick:r}=e;const{displayName:i,displayDescription:o,isDisabled:s,extension:l,disabledReasons:c}=t,u=B(i),f=s?function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const r=t[0],i=n.createElement(d.a,m.a.errorOpenWithDescription);switch(r){case"blocked_by_shield_access_policy":e=n.createElement(d.a,m.a.boxEditErrorBlockedByPolicy);break;case"collaborators_hidden":e=i;break;default:e=t[0]||i}return e}(c):o,h=a()({"bcow-box-tools-uninstalled":$(t)});return n.createElement(S.a,{className:h,isDisabled:s,onClick:()=>r(t)},n.createElement(u,{dimension:O.Pe,extension:l,height:O.Pe,width:O.Pe}),n.createElement("span",null,n.createElement("p",{className:"bcow-menu-item-title"},i),n.createElement("p",{className:"bcow-menu-item-description"},f)))},Y=r(143),J=r(219),Z=r(26),ee=r(99);var te=e=>{let{children:t}=e;return n.createElement(n.Fragment,null,t,n.createElement("span",{className:"bcow-btn-header-text"},n.createElement(d.a,m.a.open)))};function re(){return(re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var ne=e=>n.createElement(ee.a,{position:"middle-left",text:n.createElement(d.a,m.a.defaultOpenWithDescription)},n.createElement(Z.b,re({"data-testid":"multipleintegrationsbutton"},e),n.createElement(Y.a,null,n.createElement(te,null,n.createElement(J.a,{className:O.v,dimension:O.Oe,height:O.Oe,width:O.Oe})))));const ie="right";var oe=e=>{let{dropdownAlignment:t=ie,integrations:r,onClick:i}=e;return n.createElement(x.a,{isRightAligned:t===ie},n.createElement(ne,null),n.createElement(C.a,{className:"bcow-menu"},r.map(e=>n.createElement(Q,{key:e.appIntegrationId,integration:e,onClick:i}))))};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}const se=function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];if(t)return null;let o=n.createElement(d.a,m.a.emptyOpenWithDescription);return i.length>0?[o]=i:r?o=n.createElement(d.a,m.a.errorOpenWithDescription):e&&(o=e),o};var le=e=>{let{error:t,onClick:r=u.a,displayIntegration:i,isLoading:o}=e;const{displayName:a,isDisabled:s,extension:l,disabledReasons:c,displayDescription:d}=i||{},f=!!s||!a,h=a?B(a):J.a,p=$(i)?{isShown:!0,showCloseButton:!0}:{};return n.createElement(ee.a,ae({className:"bcow-tooltip",position:"bottom-center",text:se(d,o,t,c)},p),n.createElement(Z.b,{"data-testid":"singleintegrationbutton",isDisabled:f,onClick:()=>i?r(i):u.a},n.createElement(te,null,n.createElement(h,{className:O.v,dimension:O.Oe,extension:l,height:O.Oe,width:O.Oe}))))};var ce=e=>{let{error:t}=e;return n.createElement("div",{className:"be bcow"},n.createElement(le,{error:t,isLoading:!1}))};class ue extends n.PureComponent{constructor(e){super(e),this.ref=i.a.createRef()}componentDidMount(){const{onSubmit:e}=this.props;this.ref.current.submit(),e()}render(){const{executePostData:{url:e,params:t},id:r,windowName:n}=this.props;return i.a.createElement("form",{ref:this.ref,action:e,id:"bcow-execute-form-".concat(r),method:O.pe,rel:"noreferrer noopener",target:n||"_blank"},t&&t.map(e=>{let{key:t,value:r}=e;return i.a.createElement("input",{key:t,name:t,type:"hidden",value:r})}))}}var de=ue;r(248),r(726);function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const me="Integration invocation using this HTTP method type is not supported",be="boxToolsBlacklistedError",ge="boxToolsInstallErrorMessage",ye="executeIntegrationOpenWithErrorHeader",ve="auth_code";class we extends n.PureComponent{constructor(e){super(e),pe(this,"initialState",{isDropdownOpen:!1,integrations:null,isLoading:!0,fetchError:null,executePostData:null,shouldRenderErrorIntegrationPortal:!1,shouldRenderLoadingIntegrationPortal:!1}),pe(this,"fetchOpenWithSuccessHandler",async e=>{const{boxToolsName:t,boxToolsInstallUrl:r}=this.props,n=e.find(e=>{let{appIntegrationId:t}=e;return this.isBoxEditIntegration(t)});if(n&&!n.isDisabled)try{const{extension:e}=await this.getIntegrationFileExtension();n.extension=e,await this.isBoxEditAvailable(),await this.canOpenExtensionWithBoxEdit(n)}catch(e){const o=m.a[e.message]||m.a[ye];let a=i.a.createElement(d.a,o);e.message===ge&&(a=i.a.createElement(K,{boxToolsInstallUrl:r,boxToolsName:t})),n.disabledReasons.push(a),n.isDisabled=!0}this.setState({integrations:e,isLoading:!1})}),pe(this,"getIntegrationFileExtension",()=>{const{fileId:e}=this.props;return new Promise((t,r)=>{this.api.getFileAPI().getFileExtension(e,t,()=>r(new Error(ye)))})}),pe(this,"isBoxEditAvailable",()=>this.api.getBoxEditAPI().checkBoxEditAvailability().catch(()=>{throw new Error(ge)})),pe(this,"canOpenExtensionWithBoxEdit",e=>{let{extension:t=""}=e;return this.api.getBoxEditAPI().getAppForExtension(t).catch(()=>{throw new Error(be)})}),pe(this,"fetchErrorHandler",(e,t)=>{this.props.onError(e,t,{error:e}),this.setState({fetchError:e,isLoading:!1})}),pe(this,"onIntegrationClick",e=>{let{appIntegrationId:t,displayName:r}=e;const{fileId:n}=this.props,i=this.isBoxEditIntegration(t);if(this.api.getAppIntegrationsAPI(!1).execute(t,n,this.executeIntegrationSuccessHandler.bind(this,t),i?this.executeBoxEditErrorHandler:this.executeIntegrationErrorHandler),i)return;const o="left=".concat(window.screenX,",top=").concat(window.screenY,",height=").concat(window.outerHeight,",width=").concat(window.innerWidth,",toolbar=0");this.integrationWindow=this.window.open("","".concat(l()(t)),o),this.integrationWindow.document.title=r,this.integrationWindow.onunload=this.cleanupIntegrationWindow,this.setState({shouldRenderLoadingIntegrationPortal:!0,shouldRenderErrorIntegrationPortal:!1})}),pe(this,"cleanupIntegrationWindow",()=>{this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!1})}),pe(this,"executeIntegrationSuccessHandler",(e,t)=>{this.isBoxEditIntegration(e)?this.executeBoxEditSuccessHandler(e,t):this.executeOnlineIntegrationSuccessHandler(t),this.onExecute(e)}),pe(this,"executeOnlineIntegrationSuccessHandler",e=>{const{method:t,url:r}=e;switch(t){case O.pe:this.setState({executePostData:e});break;case O.me:if(!this.integrationWindow)return;this.integrationWindow.location=r,this.integrationWindow.opener=null;break;default:this.executeIntegrationErrorHandler(Error(me),O.Gb)}this.integrationWindow=null}),pe(this,"executeBoxEditSuccessHandler",(e,t)=>{let{url:r}=t;const{fileId:n,token:i,onError:o}=this.props,a=h.a.parse(r)[ve],s=this.isBoxEditSFCIntegration(e);this.api.getBoxEditAPI().openFile(n,{data:{auth_code:a,token:i,token_scope:s?O.kg:O.lg}}).catch(e=>{o(e,O.Gb,{error:e})})}),pe(this,"onExecuteFormSubmit",()=>{this.setState({executePostData:null})}),pe(this,"executeIntegrationErrorHandler",(e,t)=>{this.props.onError(e,t,{error:e}),console.error(e),this.setState({shouldRenderLoadingIntegrationPortal:!1,shouldRenderErrorIntegrationPortal:!0})}),pe(this,"executeBoxEditErrorHandler",e=>{this.props.onError(e),console.error(e)});const{token:t,apiHost:r,clientName:n,language:o,requestInterceptor:a,responseInterceptor:s}=e;this.id=l()("bcow_"),this.api=new g.a({apiHost:r,clientName:n,language:o,requestInterceptor:a,responseInterceptor:s,token:t}),this.state=he({},this.initialState)}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.api.destroy(!1)}componentDidMount(){const{fileId:e}=this.props;e&&(this.window=window,this.fetchOpenWithData())}componentDidUpdate(e){const{fileId:t}=this.props,{fileId:r}=e;t&&t!==r&&(this.setState(he({},this.initialState)),this.fetchOpenWithData())}isBoxEditIntegration(e){return e===O.m||this.isBoxEditSFCIntegration(e)}isBoxEditSFCIntegration(e){return e===O.n}fetchOpenWithData(){const{fileId:e}=this.props;this.api.getOpenWithAPI(!1).getOpenWithIntegrations(e,this.fetchOpenWithSuccessHandler,this.fetchErrorHandler)}onExecute(e){this.props.onExecute(e),this.setState({shouldRenderLoadingIntegrationPortal:!1})}getDisplayIntegration(){const{integrations:e}=this.state;return Array.isArray(e)&&1===e.length?e[0]:null}render(){const{language:e,messages:t,dropdownAlignment:r}=this.props,{fetchError:n,isLoading:o,integrations:s,executePostData:l,shouldRenderLoadingIntegrationPortal:c,shouldRenderErrorIntegrationPortal:u}=this.state,d=a()("be bcow",this.props.className),f=this.getDisplayIntegration(),h=s?s.length:0;return i.a.createElement(p.a,{language:e,messages:t},i.a.createElement("div",{className:d,"data-testid":"bcow-content",id:this.id},h<=1?i.a.createElement(le,{displayIntegration:f,error:n,isLoading:o,onClick:this.onIntegrationClick}):i.a.createElement(oe,{dropdownAlignment:r,integrations:s,onClick:this.onIntegrationClick}),(c||u)&&i.a.createElement(E,{hasError:u,integrationWindow:this.integrationWindow}),l&&i.a.createElement(de,{executePostData:l,id:this.id,onSubmit:this.onExecuteFormSubmit,windowName:this.integrationWindow&&this.integrationWindow.name})))}}pe(we,"defaultProps",{apiHost:O.U,className:"",clientName:O.L,onExecute:u.a,onError:u.a});var ke=Object(b.a)(O.Ve,ce)(we);r.d(t,"default",(function(){return ke}))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";r.r(t),function(e){r(277);var n=r(0),i=r.n(n),o=r(40),a=r(259),s=r(676);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class u extends a.a{constructor(){super(...arguments),c(this,"onExecute",e=>{this.emit("execute",e)}),c(this,"onError",e=>{this.emit("error",e)})}render(){Object(o.render)(i.a.createElement(s.default,l({componentRef:this.setComponent,fileId:this.id,language:this.language,messages:this.messages,onError:this.onError,onExecute:this.onExecute,onInteraction:this.onInteraction,token:this.token},this.options)),this.container)}}e.Box=e.Box||{},e.Box.ContentOpenWith=u,t.default=u}.call(this,r(44))}]);