�����JFIF��XX����������    $.' ",#(7),01444'9=82<.342  2!!22222222222222222222222222222222222222222222222222�����"����4���������������������������� ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������,�PG"Z_�4�˷����kjز�Z�,F+��_z�,�© �����zh6�٨�ic�fu������������������������������������#ډb���_�N��?�����������wQ���5-�~�I���8���������������������������������TK<5o�Iv-������������������k�_U_������������������������������~b�M��d��������Ӝ�U�Hh��?]��E�w��Q���k�{��_}qFW7HTՑ��Y��F�����?_�'ϔ��_�Ջt������������������������=||I �����6�έ"�����D���/[�k�9����Y�8������ds|\���Ҿp6�Ҵ���]��.����6���z<�v��@]�i%������������������������$j��~����g��J>��no����pM[me�i$[�����������s�o�ᘨ�˸ nɜG-�ĨU�ycP���3.DB�li�;���������������������hj���x����7Z^�N�h��������N3u{�:j�����x�힞��#M��&��jL P@��_���� P�������������������&��o8��������9������@Sz���6�t7#O�ߋ �����s}Yf�T������lmr����Z)'N��k�۞p�����w\�T���������������ȯ?�8`���O��i{wﭹW�[�r�� ��Q4F�׊������3m&L�=��h3�������z~��#����\�l :�F,j@�� ʱ�wQT����8�"kJO����6�֚l������������������}����R�>ډK���]��y����&����p�}b������;N�1�m�r$����|��7�>e�@���B�TM*-i�H��g�D�)� E�m�|�ؘbҗ�a���Ҿ����������������t4�����o���G��*oCN�rP���Q��@z,|?W[0���������:�n,j���WiE��W������$~/�hp\��?��{(�0���+�Y8rΟ�+����>S-S���������������VN;���}�s?.����� w��9��˟<���Mq4�Wv'������{)0�1mB����V����W[��������8�/<� �%���wT^�5���b��)iM� p�g�N�&ݝ������������VO~��q���u���9��� ����!��J27�����$����O-���! �:���%H��� ـ�������y�ΠM=t{!S�� �oK8�������t<����è��������:a��������[������ա�H���~��w��Qz`�p����o�^ ������Q��n����� �,uu�C��$ ^���,�������8�#��:�6��e�|~�����������!�3��3.�\0�����q��o�4`.|� ����y�Q�`~;�d�ׯ,��O�Zw�������`73�v�܋�<�����Ȏ�� ـ4k��5�K�a�u�=9Yd��$>x�A�&�� j0� ���vF��� Y���|�y��� ~�6�@c��1vOp��������Ig�����4��l�OD�����L����� R���c���j�_�uX�6��3?nk��Wy�f;^*B� ��@���~a�`��Eu�������+�����6�L��.ü>��}y���}_�O�6�͐�:�Yr���G�X��kG������l^w����������~㒶sy���Iu�!���� W ��X��N�7BV��O��!X�2����wvG�R�f�T#�����t�/?���%8�^�W�aT����G�cL�M���I��(J����1~�8�?aT ���]����AS�E��(��*E}� 2������#I/�׍qz��^t�̔���������b�Yz4x����t�){ OH�����+(E��A&�N�������XT��o��"�XC����'���)}�J�z�p� ����~5�}�^����+�6����w��c��Q�|�Lp�d�H��}�(�.|����k��c4^�����"�����Z?ȕ ��a<�������L�!0�39C� �Eu�����C�F�Ew�ç ;�n?�*o���B�8�bʝ���'#Rqf����M}7����]�������s2tcS{�\icTx;�\��7K���P������ʇ Z O-��~�������c>"��?��������P�����E��O�8��@�8��G��Q�g�a�Վ���󁶠��䧘��_%#r�>�����1�z�a���eb��qcP��ѵ��n���#L��� =��׀t� L�7�`�����V����A{�C:�g���e@�����w1 Xp�3�c3�ġ�������p��M"'-�@n4���fG���B3�DJ�8[Jo�ߐ���gK)ƛ��$���� �������8�3�����+���� �����6�ʻ���� ���S�kI�*KZlT _`�������?��K�����QK�d���������B`�s}�>���`������*�>��,*@J�d�oF*�����弝��O}�k��s��]��y�ߘ�������c1G�V���<=�7��7����6��q�PT��tXԀ�!9*4�4Tހ���3XΛex�46�������Y��D ����� ����BdemDa����\�_l,����G�/���֌7���Y�](�xTt^%�GE�����4�}bT����ڹ�����;��Y)���B�Q��u��>J/J ���⮶.�XԄ��j�ݳ������+E��d ���r�5�_D�����1 ���o�� �B�x�΢�#����<��W�����8���R6�@���g�M�.��� dr�D��>(otU��@�x=��~v���2� ӣ�d�oBd�����3�eO�6�㣷����������ݜ�6��6Y��Qz`����S��{���\P��~z m5{J/L��1������<�e�ͅPu���b�]�ϔ��������'�������f�b� Zpw��c`"��i���BD@:)ִ�:�]��h���v�E��w���T�l�������P����"Ju�}��وV ��J��G6��. J/�Qgl߭�e�����@�z�Zev2u����)]կ���������7x�������s�M�-<ɯ�c��r��v�����@��$�ޮ}lk���a����'����>x��O\�Z������Fu>������ck#��&:��`�$��ai�>2Δ����l���oF[h�������lE�ܺ�Π���k:)���`������� $[6�����9�����kOw�\|�����8}������ބ:��񶐕��������I�A1/���=�2[�,�!��.}gN#�u����b���� ~���������݊��}34q�����d�E��L��������c��$���"�[q�U�硬g^��%B ��z���r�p�������J�ru%v\h�����1Y�ne`������ǥ:g����pQM~�^��Xi� ��`S�:V2������9.�P���V������?B�k�� ��������AEvw%�_�9C�Q����wKekP�ؠ�\������;Io d�{ ߞo�c1eP�����\� `����E=���@K<�Y��������eڼ�J����w����{av�F�'�M�@��������������/J��+9p����|]���������Iw &`���8���&�M�hg���[�{�������Xj���%��Ӓ�������������������$��(�����ʹN�������<>�I���RY�����K2�NPlL�ɀ�)��&e��������B+ь����(������������������� � �JTx����_?EZ� }@���� 6�U���뙢ط�z��dWI��n` D����噥�[��uV��"�G&�����Ú����2�g�}&m���������������������?ċ���"����Om#�������������������������� ��{���������������������ON��"S�X���Ne��ysQ���@�������������Fn��Vg�����dX�~nj����������������������]J�<�K]:����FW���b�������62����������=��5f����JKw����bf�X������������������������55��~J �%^�������:�-�QIE��P��v�nZum� z � ~ə ���� ���ة����;�f��\v�������g�8�1��f2�������������������������4;�V���ǔ�)�������������������9���1\������������������������������c��v�/'Ƞ�w������������������$�4�R-��t����������������������������������� e�6�/�ġ �̕Ecy�J���u�B���<�W�ַ~�w[B1L۲�-JS΂�{���΃�������������������������������������������A��20�c#���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������@���� 0!1@AP"#2Q`$3V�%45a6�FRUq����� ������^7ׅ,$n��������+��F�`��2X'��0vM��p�L=�������5��8������u�p~���.�`r�����\����O��,ư�0oS ��_�M�����l���4�kv\JSd���x���SW�<��Ae�IX����������$I���w�:S���y���›R��9�Q[���,�5�;�@]�%���u�@ *ro�lbI �� ��+���%m:�͇ZV�����u�̉����θau<�fc�.����{�4Ա� �Q����*�Sm��8\ujqs]{kN���)qO�y�_*dJ�b�7���yQqI&9�ԌK!�M}�R�;�������S�T���1���i[U�ɵz�]��U)V�S6���3$K{��ߊ<�(� E]Զ[ǼENg�����'�\?#)Dkf��J���o��v���'�%ƞ�&K�u��!��b�35LX�Ϸ��63$K�a�;�9>,R��W��3�3� d�JeTYE.Mϧ��-�o�j3+y��y^�c�������VO�9NV\nd�1 ��!͕_)a�v;����թ�M�lWR1��)El��P;��yوÏ�u 3�k�5Pr6<�⒲l�!˞*��u־�n�!�l:����UNW ��%��Chx8vL'��X�@��*��)���̮��ˍ��� ����D-M�+J�U�kvK����+�x8��cY������?�Ԡ��~3mo��|�u@[XeY�C�\Kp�x8�oC�C�&����N�~3-H���� ��MX�s�u<`���~"WL��$8ξ��3���a�)|:@�m�\���^�`�@ҷ)�5p+��6���p�%i)P M���ngc�����#0Aruz���RL+xSS?���ʮ}()#�t��mˇ!��0}}y����<�e� �-ή�Ԩ��X������ MF���ԙ~l L.3���}�V뽺�v������멬��Nl�)�2����^�Iq��a��M��qG��T�����c3#������3U�Ǎ���}��לS�|qa��ڃ�+���-��2�f����/��bz��ڐ�� �ݼ[2�ç����k�X�2�* �Z�d���J�G����M*9W���s{��w���T��x��y,�in�O�v��]���n����P�$��JB@=4�OTI�n��e�22a\����q�d���%�$��(���:���: /*�K[PR�fr\nڙdN���F�n�$�4��[�� U�zƶ����� �mʋ���,�ao�u 3�z� �x��Kn����\[��VFmbE;�_U��&V�Gg�]L�۪&#n%�$ɯ��dG���D�TI=�%+AB�Ru#��b4�1�»x�cs�YzڙJG��f��Il���d�eF'T� iA��T���uC�$����Y��H?����[!G`}���ͪ� �纤Hv\������j�Ex�K���!���OiƸ�Yj�+u-<���'q����uN�*�r\��+�]���<�wOZ.fp�ێ��,-*)V?j-kÊ#�`�r��dV����(�ݽBk�����G�ƛk�QmUڗe��Z���f}|����8�8��a���i��3'J�����~G_�^���d�8w������ R�`(�~�.��u���l�s+g�bv���W���lGc}��u���afE~1�Ue������Z�0�8�=e�� f@/�jqEKQQ�J���oN��J���W5~M>$6�Lt�;$ʳ{���^��6�{����v6���ķܰg�V�cnn �~z�x�«�,2�u�?cE+Ș�H؎�%�Za�)���X>uW�Tz�Nyo����s���FQƤ��$��*�&�LLXL)�1�" L��eO��ɟ�9=���:t��Z���c��Ž���Y?�ӭV�wv�~,Y��r�ۗ�|�y��GaF�����C�����.�+� ���v1���fήJ�����]�S��T��B��n5sW}y�$��~z�'�c ��8 ��� ,! �p��VN�S��N�N�q��y8z˱�A��4��*��'������2n<�s���^ǧ˭P�Jޮɏ�U�G�L�J�*#��<�V��t7�8����TĜ>��i}K%,���)[��z�21z ?�N�i�n1?T�I�R#��m-�����������������1����lA�`��fT5+��ܐ�c�q՝��ʐ��,���3�f2U�եmab��#ŠdQ�y>\��)�SLY����w#��.���ʑ�f��� ,"+�w�~�N�'�c�O�3F�������N<���)j��&��,-� �љ���֊�_�zS���TǦ����w�>��?�������n��U仆�V���e�����0���$�C�d���rP �m�׈e�Xm�Vu� �L��.�bֹ��� �[Դaզ���*��\y�8�Է:�Ez\�0�Kq�C b��̘��cө���Q��=0Y��s�N��S.����3.���O�o:���#���v7�[#߫ ��5�܎�L���Er4���9n��COWlG�^��0k�%<���ZB���aB_���������'=��{i�v�l�$�uC���mƎҝ{�c㱼�y]���W�i ��ߧc��m�H� m�"�"�����;Y�ߝ�Z�Ǔ�����:S#��|}�y�,/k�Ld� TA�(�AI$+I3��;Y*���Z��}|��ӧO��d�v��..#:n��f>�>���ȶI�TX��� 8��y����"d�R�|�)0���=���n4��6ⲑ�+��r<�O�܂~zh�z����7ܓ�HH�Ga롏���nCo�>������a ���~]���R���̲c?�6(�q�;5%� |�uj�~z8R�=X��I�V=�|{v�Gj\gc��q����z�؋%M�ߍ����1y��#��@f^���^�>N������#x#۹��6�Y~�?�dfPO��{��P�4��V��u1E1J �*|���%����JN��`eWu�zk M6���q t[�� ��g�G���v��WIG��u_ft����5�j�"�Y�:T��ɐ���*�;� e5���4����q$C��2d�}���� _S�L#m�Yp��O�.�C�;��c����Hi#֩%+) �Ӎ��ƲV���SYź��g |���tj��3�8���r|���V��1#;.SQ�A[���S������#���`n�+���$��$�I �P\[�@�s��(�ED�z���P��])8�G#��0B��[ى��X�II�q<��9�~[Z멜�Z�⊔IWU&A>�P~�#��dp<�?����7���c��'~���5 ��+$���lx@�M�dm��n<=e�dyX��?{�|Aef ,|n3�<~z�ƃ�uۧ�����P��Y,�ӥQ�*g�#먙R�\���;T��i,��[9Qi歉����c>]9�� ��"�c��P�� �Md?٥��If�ت�u��k��/����F��9�c*9��Ǎ:�ØF���z�n*�@|I�ށ9����N3{'��[�'ͬ�Ҳ4��#}��!�V� Fu��,�,mTIk���v C�7v���B�6k�T9��1�*l� '~��ƞF��lU��'�M ����][ΩũJ_�{�i�I�n��$����L�� j��O�dx�����kza۪��#�E��Cl����x˘�o�����V���ɞ�ljr��)�/,�߬h�L��#��^��L�ф�,íMƁe�̩�NB�L�����iL����q�}��(��q��6IçJ$�W�E$��:������=#����(�K�B����zђ <��K(�N�۫K�w��^O{!����)��H���>x�������lx�?>Պ�+�>�W���,Ly!_�D���Ō�l���Q�!�[ �S����J��1��Ɛ�Y}��b,+�Lo�x�ɓ)����=�y�oh�@�꥟/��I��ѭ=��P�y9��� �ۍYӘ�e+�p�Jnϱ?V\SO%�(�t� ���=?MR�[Ș�����d�/ ��n�l��B�7j� ��!�;ӥ�/�[-���A�>��dN�sLj ��,ɪv��=1c�.SQ�O3�U���ƀ�ܽ�E����������̻��9G�ϷD�7(�}��Ävӌ\��y�_0[w ���<΍>����a_��[0+�L��F.�޺��f�>oN�T����q;���y\��bՃ��y�jH�<|q-eɏ�_?_9+P���Hp$�����[ux�K w�Mw��N�ی'$Y2�=��q���KB��P��~�������Yul:�[<����F1�2�O���5=d����]Y�sw:���Ϯ���E��j,_Q��X��z`H1,#II ��d�wr��P˂@�ZJV����y$�\y�{}��^~���[:N����ߌ�U�������O��d�����ؾe��${p>G��3c���Ė�lʌ�� ת��[��`ϱ�-W����dg�I��ig2��� ��}s ��ؤ(%#sS@���~���3�X�nRG�~\jc3�v��ӍL��M[JB�T��s3}��j�Nʖ��W����;7���ç?=X�F=-�=����q�ߚ���#���='�c��7���ڑW�I(O+=:uxq�������������e2�zi+�kuG�R��������0�&e�n���iT^J����~\jy���p'dtG��s����O��3����9* �b#Ɋ�� p������[Bws�T�>d4�ۧs���nv�n���U���_�~,�v����ƜJ1��s�� �QIz���)�(lv8M���U=�;����56��G���s#�K���MP�=��LvyGd��}�VwWBF�'�à �?MH�U�g2�� ����!�p�7Q��j��ڴ����=��j�u��� Jn�A s���uM������e��Ɔ�Ҕ�!)�'��8Ϣ�ٔ���ޝ(��Vp���צ֖d=�IC�J�Ǡ{q������kԭ�߸���i��@K����u�|�p=..�*+����x�����z[Aqġ#s2a�Ɗ���RR�)*HRsi�~�a &f��M��P����-K�L@��Z��Xy�'x�{}��Zm+���:�)�) IJ�-i�u���� ���ܒH��'��L(7�y�GӜq���� j��� 6ߌg1�g�o���,kر���tY�?W,���p���e���f�OQS��!K�۟cҒA�|ս�j�>��=⬒��˧L[�� �߿2JaB~R��u�:��Q�] �0H~���]�7��Ƽ�I���(�}��cq '�ήET���q�?f�ab���ӥvr� �)o��-Q��_'����ᴎo��K������;��V���o��%���~OK ����*��b�f:���-ťIR��`B�5!RB@���ï�� �u �̯e\�_U�_������� g�ES��3��������QT��a�����x����U<~�c?�*�#]�MW,[8O�a�x��]�1bC|踤�P��lw5V%�)�{t�<��d��5���0i�XSU��m:��Z�┵�i�"��1�^B�-��P�hJ��&)O��*�D��c�W��vM��)����}���P��ܗ-q����\mmζZ-l@�}��a��E�6��F�@��&Sg@���ݚ�M����� ȹ 4����#p�\H����dYDo�H���"��\��..R�B�H�z_�/5˘����6��KhJR��P�mƶi�m���3��,#c�co��q�a)*P�t����R�m�k�7x�D�E�\Y�閣_X�<���~�)���c[[�BP����6�Yq���S��0����%_����;��Àv�~�| VS؇ ��'O0��F0��\���U�-�d@�����7�SJ*z��3n��y��P����O����������m�~�P�3|Y��ʉr#�C�<�G~�.,! ���bqx���h~0=��!ǫ�jy����l��O,�[B��~��|9��ٱ����Xly�#�i�B��g%�S��������tˋ���e���ې��\[d�t)��.+u�|1 ������#�~Oj����hS�%��i.�~X���I�H�m��0n���c�1uE�q��cF�RF�o���7� �O�ꮧ� ���ۛ{��ʛi5�rw?׌#Qn�TW��~?y$��m\�\o����%W� ?=>S�N@�� �Ʈ���R����N�)�r"C�:��:����� �����#��qb��Y�. �6[��2K����2u�Ǧ�HYR��Q�MV��� �G�$��Q+.>�����nNH��q�^��� ����q��mM��V��D�+�-�#*�U�̒ ���p욳��u:�������IB���m����PV@O���r[b= �� ��1U�E��_Nm�yKbN�O���U�}�the�`�|6֮P>�\2�P�V���I�D�i�P�O;�9�r�mAHG�W�S]��J*�_�G��+kP�2����Ka�Z���H�'K�x�W�MZ%�O�YD�Rc+o��?�q��Ghm��d�S�oh�\�D�|:W������UA�Qc yT�q��������~^�H��/��#p�CZ���T�I�1�ӏT����4��"�ČZ�����}��`w�#�*,ʹ�� ��0�i��課�Om�*�da��^gJ݅{���l�e9uF#T�ֲ��̲�ٞC"�q���ߍ ոޑ�o#�XZTp����@ o�8��(jd��xw�]�,f���`~��|,s��^����f�1���t��|��m�򸄭/ctr��5s��7�9Q�4�H1꠲BB@�l9@���C�����+�wp�xu�£Yc�9��?`@#�o�mH�s2��)�=��2�.�l����jg�9$�Y�S�%*L������R�Y������7Z���,*=�䷘$�������arm�o�ϰ���UW.|�r�uf����IGw�t����Zwo��~5 ��YյhO+=8fF�)�W�7�L9lM�̘·Y���֘YLf�큹�pRF���99.A �"wz��=E\Z���'a� 2��Ǚ�#;�'}�G���*��l��^"q��+2FQ� hj��kŦ��${���ޮ-�T�٭cf�|�3#~�RJ����t��$b�(R��(����r���dx� >U b�&9,>���%E\� Ά�e�$��'�q't��*�א���ެ�b��-|d���SB�O�O��$�R+�H�)�܎�K��1m`;�J�2�Y~9��O�g8=vqD`K[�F)k�[���1m޼c��n���]s�k�z$@��)!I �x՝"v��9=�ZA=`Ɠi �:�E��)`�7��vI��}d�YI�_ �o�:ob���o ���3Q��&D&�2=�� �Ά��;>�h����y.*ⅥS������Ӭ�+q&����j|UƧ�����}���J0��WW< ۋS�)jQR�j���Ư��rN)�Gű�4Ѷ(�S)Ǣ�8��i��W52���No˓� ۍ%�5brOn�L�;�n��\G����=�^U�dI���8$�&���h��'���+�(������cȁ߫k�l��S^���cƗjԌE�ꭔ��gF���Ȓ��@���}O���*;e�v�WV���YJ\�]X'5��ղ�k�F��b 6R�o՜m��i N�i�����>J����?��lPm�U��}>_Z&�KK��q�r��I�D�Չ~�q�3fL�:S�e>���E���-G���{L�6p�e,8��������QI��h��a�Xa��U�A'���ʂ���s�+טIjP�-��y�8ۈZ?J$��W�P� ��R�s�]��|�l(�ԓ��sƊi��o(��S0���Y� 8�T97.�����WiL��c�~�dxc�E|�2!�X�K�Ƙਫ਼�$((�6�~|d9u+�qd�^3�89��Y�6L�.I�����?���iI�q���9�)O/뚅����O���X��X�V��ZF[�یgQ�L��K1���RҖr@v�#��X�l��F���Нy�S�8�7�kF!A��sM���^rkp�jP�DyS$N���q���nxҍ!U�f�!eh�i�2�m����`�Y�I�9r�6� �TF���C}/�y�^���Η���5d�'��9A-��J��>{�_l+�`��A���[�'��յ�ϛ#w:݅�%��X�}�&�PSt�Q�"�-��\縵�/����$Ɨh�Xb�*�y��BS����;W�ջ_mc�����vt?2}1�;qS�d�d~u:2k5�2�R�~�z+|HE!)�Ǟl��7`��0�<�,�2*���Hl-��x�^����'_TV�gZA�'j� ^�2Ϊ��N7t�����?w�� �x1��f��Iz�C-Ȗ��K�^q�;���-W�DvT�7��8�Z�������� hK�(P:��Q- �8�n�Z���܃e貾�<�1�YT<�,�����"�6{�/ �?�͟��|1�:�#g��W�>$����d��J��d�B���=��jf[��%rE^��il:��B���x���Sּ�1հ��,�=��*�7 fcG��#q� �eh?��2�7�����,�!7x��6�n�LC�4x��},Geǝ�tC.��vS �F�43��zz\��;QYC,6����~;RYS/6���|2���5���v��T��i����������mlv��������&� �nRh^ejR�LG�f���? �ۉҬܦƩ��|��Ȱ����>3����!v��i�ʯ�>�v��オ�X3e���_1z�Kȗ\<������!�8���V��]��?b�k41�Re��T�q��mz��TiOʦ�Z��Xq���L������q"+���2ۨ��8}�&N7XU7Ap�d�X��~�׿��&4e�o�F��� �H�����O���č�c�� 懴�6���͉��+)��v;j��ݷ�� �UV�� i��� j���Y9GdÒJ1��詞�����V?h��l�����l�cGs�ځ�������y�Ac������\V3�? �� ܙg�>qH�S,�E�W�[�㺨�uch�⍸�O�}���a��>�q�6�n6�����N6�q��������N� ���! 1AQaq�0@����"2BRb�#Pr���3C`��Scst���$4D���%Td���� ?�����N����a��3��m���C���w��������xA�m�q�m����m������$����4n淿t'��C"w��zU=D�\R+w�p+Y�T�&�պ@��ƃ��3ޯ?�Aﶂ��aŘ���@-�����Q�=���9D��ռ�ѻ@��M�V��P��܅�G5�f�Y<�u=,EC)�<�Fy'�"�&�չ�X~f��l�KԆV��?�� �W�N����=(� �;���{�r����ٌ�Y���h{�١������jW����P���Tc�����X�K�r��}���w�R��%��?���E��m�� �Y�q|����\lEE4����r���}�lsI�Y������f�$�=�d�yO����p�����yBj8jU�o�/�S��?�U��*������ˍ�0�������u�q�m [�?f����a�� )Q�>����6#������� ?����0UQ����,IX���(6ڵ[�DI�MNލ�c&���υ�j\��X�R|,4��� j������T�hA�e��^���d���b<����n�� �즇�=!���3�^�`j�h�ȓr��jẕ�c�,ٞX����-����a�ﶔ���#�$��]w�O��Ӫ�1y%��L�Y<�wg#�ǝ�̗`�x�xa�t�w��»1���o7o5��>�m뭛C���Uƃߜ}�C���y1Xνm�F8�jI���]����H���ۺиE@I�i;r�8ӭ�����V�F�Շ| ��&?�3|x�B�MuS�Ge�=Ӕ�#BE5G������Y!z��_e��q�р/W>|-�Ci߇�t�1ޯќd�R3�u��g�=0 5��[?�#͏��q�cf���H��{ ?u�=?�?ǯ���}Z��z���hmΔ�BFTW�����<�q��(v� ��!��z���iW]*�J�V�z��gX֧A�q�&��/w���u�gYӘa���; �i=����g:��?2�dž6�ى�k�4�>�Pxs����}������G�9���3 ���)gG�R<>r h�$��'nc�h�P��Bj��J�ҧH� -��N1���N��?��~��}-q!=��_2hc�M��l�vY%UE�@|�v����M2�.Y[|y�"Eï��K�ZF,�ɯ?,q�?v�M 80jx�"�;�9vk�����+ ֧�� �ȺU��?�%�vcV��mA�6��Qg^M�����A}�3�nl� QRN�l8�kkn�'�����(��M�7m9و�q���%ޟ���*h$Zk"��$�9��: �?U8�Sl��,,|ɒ��xH(ѷ����Gn�/Q�4�P��G�%��Ա8�N��!� �&�7�;���eKM7�4��9R/%����l�c>�x;������>��C�:�����t��h?aKX�bhe�ᜋ^�$�Iհ �hr7%F$�E��Fd���t��5���+�(M6�t����Ü�UU|zW�=a�Ts�Tg������dqP�Q����b'�m���1{|Y����X�N��b �P~��F^F:����k6�"�j!�� �I�r�`��1&�-$�Bevk:y���#y�w��I0��x��=D�4��tU���P�ZH��ڠ底taP��6����b>�xa�����Q�#� WeF��ŮNj�p�J* mQ�N�����*I�-*�ȩ�F�g�3 �5��V�ʊ�ɮ�a��5F���O@{���NX��?����H�]3��1�Ri_u��������ѕ�� ����0��� F��~��:60�p�͈�S��qX#a�5>���`�o&+�<2�D����: �������ڝ�$�nP���*)�N�|y�Ej�F�5ټ�e���ihy�Z �>���k�bH�a�v��h�-#���!�Po=@k̆IEN��@��}Ll?j�O������߭�ʞ���Q|A07x���wt!xf���I2?Z��<ץ�T���cU�j��]���陎Ltl �}5�ϓ��$�,��O�mˊ�;�@O��jE��j(�ا,��LX���LO���Ц�90�O �.����a��nA���7������j4 ��W��_ٓ���zW�jcB������y՗+EM�)d���N�g6�y1_x��p�$Lv�:��9�"z��p���ʙ$��^��JԼ*�ϭ����o���=x�Lj�6�J��u82�A�H�3$�ٕ@�=Vv�]�'�qEz�;I˼��)��=��ɯ���x �/�W(V���p�����$ �m�������u�����񶤑Oqˎ�T����r��㠚x�sr�GC��byp�G��1ߠ�w e�8�$⿄����/�M{*}��W�]˷.�CK\�ުx���/$�WP�w���r� |i���&�}�{�X� �>��$-��l���?-z���g����lΆ���(F���h�vS*���b���߲ڡn,|)mrH[���a�3�ר�[1��3o_�U�3�TC�$��(�=�)0�kgP���� ��u�^=��4 �WYCҸ:��vQ�ר�X�à��tk�m,�t*��^�,�}D*�� �"(�I��9R����>`�`��[~Q]�#af��i6l��8���6�:,s�s�N6�j"�A4���IuQ��6E,�GnH��zS�HO�uk�5$�I�4��ؤ�Q9�@��C����wp��BGv[]�u�Ov����0I4���\��y�����Q�Ѹ��~>Z��8�T��a��q�ޣ;z��a���/��S��I:�ܫ_�|������>=Z����8:�S��U�I�J��"IY���8%b8���H��:�QO�6�;7�I�S��J��ҌAά3��>c���E+&jf$eC+�z�;��V����� �r���ʺ������my�e���aQ�f&��6�ND���.:��NT�vm�<- u���ǝ\MvZY�N�NT��-A�>jr!S��n�O 1�3�Ns�%�3D@���`������ܟ 1�^c<���� �a�ɽ�̲�Xë#�w�|y�cW�=�9I*H8�p�^(4���՗�k��arOcW�tO�\�ƍR��8����'�K���I�Q�����?5�>[�}��yU�ײ -h��=��% q�ThG�2�)���"ו3]�!kB��*p�FDl�A���,�eEi�H�f�Ps�����5�H:�Փ~�H�0Dت�D�I����h�F3�������c��2���E��9�H��5�zԑ�ʚ�i�X�=:m�xg�hd(�v����׊�9iS��O��d@0ڽ���:�p�5�h-��t�&���X�q�ӕ,��ie�|���7A�2���O%P��E��htj��Y1��w�Ѓ!����  ���� ࢽ��My�7�\�a�@�ţ�J ��4�Ȼ�F�@o�̒?4�wx��)��]�P��~�����u�����5�����7X ��9��^ܩ�U;Iꭆ 5 �������eK2�7(�{|��Y׎ �V��\"���Z�1� Z�����}��(�Ǝ"�1S���_�vE30>���p;� ΝD��%x�W�?W?v����o�^V�i�d��r[��/&>�~`�9Wh��y�;���R���� ;;ɮT��?����r$�g1�K����A��C��c��K��l:�'��3 c�ﳯ*"t8�~l��)���m��+U,z��`(��>yJ�?����h>��]��v��ЍG*�{`��;y]��I�T� ;c��NU�fo¾h���/$���|NS���1�S�"�H��V���T���4��uhǜ�]�v;���5�͠x��'C\�SBpl���h}�N����� A�Bx���%��ޭ�l��/����T��w�ʽ]D�=����K���ž�r㻠l4�S�O?=�k �M:� ��c�C�a�#ha���)�ѐxc�s���gP�iG���{+���x���Q���I= �� z��ԫ+ �8"�k�ñ�j=|����c ��y��CF��/���*9ж�h{ �?4�o� ��k�m�Q�N�x��;�Y��4膚�a�w?�6�>�e]�����Q�r�:����g�,i"�����ԩA��*M�<�G��b�if��l^M��5�� �Ҩ�{����6J��ZJ�����P�*�����Y���ݛu�_4�9�I8�7���������,^ToR���m4�H��?�N�S�ѕw��/S��甍�@�9H�S�T��t�ƻ���ʒU��*{Xs�@����f������֒Li�K{H�w^���������Ϥm�tq���s� ���ք��f:��o~s��g�r��ט� �S�ѱC�e]�x���a��) ���(b-$(�j>�7q�B?ӕ�F��hV25r[7 Y� }L�R��}����*sg+��x�r�2�U=�*'WS��ZDW]�WǞ�<��叓���{�$�9Ou4��y�90-�1�'*D`�c�^o?(�9��u���ݐ��'PI&� f�Jݮ�������:wS����jfP1F:X �H�9dԯ����˝[�_54 �}*;@�ܨ�� ð�yn�T���?�ןd�#���4rG�ͨ��H�1�|-#���Mr�S3��G�3�����)�.᧏3v�z֑��r����$G"�`j �1t��x0<Ɔ�Wh6�y�6��,œ�Ga��gA����y��b��)���h�D��ß�_�m��ü �gG;��e�v��ݝ�nQ� ��C����-�*��o���y�a��M��I�>�<���]obD��"�:���G�A��-\%LT�8���c�)��+y76���o�Q�#*{�(F�⽕�y����=���rW�\p���۩�c���A���^e6��K������ʐ�cVf5$�'->���ՉN"���F�"�UQ@�f��Gb~��#�&�M=��8�ט�JNu9��D��[̤�s�o�~������� G��9T�tW^g5y$b��Y'��س�Ǵ�=��U-2 #�MC�t(�i� �lj�@Q 5�̣i�*�O����s�x�K�f��}\��M{E�V�{�υ��Ƈ�����);�H����I��fe�Lȣr�2��>��W��I�Ȃ6������i��k�� �5�YOxȺ����>��Y�f5'��|��H+��98pj�n�.O�y�������jY��~��i�w'������l�;�s�2��Y��:'lg�ꥴ)o#'Sa�a�K��Z� �m��}�`169�n���"���x��I ��*+� }F<��cГ���F�P�������ֹ*�PqX�x۩��,� ��N�� �4<-����%����:��7����W���u�`����� $�?�I��&����o��o��`v�>��P��"��l���4��5'�Z�gE���8���?��[�X�7(��.Q�-��*���ތL@̲����v��.5���[��=�t\+�CNܛ��,g�SQnH����}*F�G16���&:�t��4ُ"A��̣��$�b �|����#rs��a�����T�� ]�<�j��B�S�('$�ɻ� �wP;�/�n��?�ݜ��x�F��yUn�~mL*-�������Xf�wd^�a�}��f�,=t�׵i�.2/wpN�Ep8�OР���•��R�FJ� 55TZ��T �ɭ�<��]��/�0�r�@�f��V��V����Nz�G��^���7hZi����k��3�,kN�e|�vg�1{9]_i��X5y7� 8e]�U����'�-2,���e"����]ot�I��Y_��n�(JҼ��1�O ]bXc���Nu�No��pS���Q_���_�?i�~�x h5d'�(qw52] ��'ޤ�q��o1�R!���`ywy�A4u���h<קy���\[~�4�\ X�Wt/� 6�����n�F�a8��f���z �3$�t(���q��q�x��^�XWeN'p<-v�!�{�(>ӽDP7��ո0�y)�e$ٕv�Ih'Q�EA�m*�H��RI��=:��� ���4牢) �%_iN�ݧ�l]� �Nt���G��H�L��� ɱ�g<���1V�,�J~�ٹ�"K��Q�� 9�HS�9�?@��k����r�;we݁�]I�!{ �@�G�[�"��`���J:�n]�{�cA�E����V��ʆ���#��U9�6����j�#Y�m\��q�e4h�B�7��C�������d<�?J����1g:ٳ���=Y���D�p�ц� ׈ǔ��1�]26؜oS�'��9�V�FVu�P�h�9�xc�oq�X��p�o�5��Ա5$�9W�V(�[Ak�aY錎qf;�'�[�|���b�6�Ck��)��#a#a˙��8���=äh�4��2��C��4tm^ �n'c����]GQ$[Wҿ��i���vN�{Fu ��1�gx��1┷���N�m��{j-,��x�� Ūm�ЧS�[�s���Gna���䑴�� x�p 8<������97�Q���ϴ�v�aϚG��Rt�Һ׈�f^\r��WH�JU�7Z���y)�vg=����n��4�_)y��D'y�6�]�c�5̪��\� �PF�k����&�c;��cq�$~T�7j ���nç]�<�g ":�to�t}�159�<�/�8������m�b�K#g'I'.W������6��I/��>v��\�MN��g���m�A�yQL�4u�Lj�j9��#44�t��l^�}L����n��R��!��t��±]��r��h6ٍ>�yҏ�N��fU�� ���� Fm@�8}�/u��jb9������he:A�y�ծw��GpΧh�5����l}�3p468��)U��d��c����;Us/�֔�YX�1�O2��uq�s��`hwg�r~�{ R��mhN��؎*q 42�*th��>�#���E����#��Hv�O����q�}������6�e��\�,Wk�#���X��b>��p}�դ��3���T5��†��6��[��@��P�y*n��|'f�֧>�lư΂�̺����SU�'*�q�p�_S�����M�� '��c�6������m�� ySʨ;M��r���Ƌ�m�Kxo,���Gm�P��A�G�:��i��w�9�}M(�^�V��$ǒ�ѽ�9���|���� �a����J�SQ�a���r�B;����}���ٻ֢�2�%U���c�#�g���N�a�ݕ�'�v�[�OY'��3L�3�;,p�]@�S��{ls��X�'���c�jw��k'a�.��}�}&�� �dP�*�bK=ɍ!����;3n�gΊU�ߴmt�'*{,=SzfD� A��ko~�G�aoq�_mi}#�m�������P�Xhύ�����mxǍ�΂���巿zf��Q���c���|kc�����?���W��Y�$���_Lv����l߶��c���`?����l�j�ݲˏ!V��6����U�Ђ(A���4y)H���p�Z_�x��>���e���R��$�/�`^'3qˏ�-&Q�=?��CFVR �D�fV�9��{�8g�������n�h�(P"��6�[�D���< E�����~0<@�`�G�6����Hг�cc�� �c�K.5��D��d�B���`?�XQ��2��ٿyqo&+�1^� DW�0�ꊩ���G�#��Q�nL3��c���������/��x ��1�1�[y�x�პCW��C�c�UĨ80�m�e�4.{�m��u���I=��f�����0QRls9���f���������9���~f�����Ǩ��a�"@�8���ȁ�Q����#c�ic������G��$���G���r/$W�(��W���V�"��m�7�[m�A�m����bo��D� j����۳� l���^�k�h׽����� ��#� iXn�v��eT�k�a�^Y�4�BN���ĕ���0������� !01@Q"2AaPq3BR�������?�����@4�Q�����T3,���㺠�W�[=JK�Ϟ���2�r^7��vc�:�9 �E�ߴ�w�S#d���Ix��u��:��Hp��9E!�� V 2;73|F��9Y���*ʬ�F��D����u&���y؟��^EA��A��(ɩ���^��GV:ݜDy�`��Jr29ܾ�㝉��[���E;Fzx��YG��U�e�Y�C���� ����v-tx����I�sם�Ę�q��Eb�+P\ :>�i�C'�;�����k|z�رn�y]�#ǿb��Q��������w�����(�r|ӹs��[�D��2v-%��@;�8<a���[\o[ϧw��I!��*0�krs)�[�J9^��ʜ��p1)� "��/_>��o��<1����A�E�y^�C��`�x1'ܣn�p��s`l���fQ��):�l����b>�Me�jH^?�kl3(�z:���1ŠK&?Q�~�{�ٺ�h�y���/�[��V�|6��}�KbX����mn[-��7�5q�94�������dm���c^���h� X��5��<�eޘ>G���-�}�دB�ޟ� ��|�rt�M��V+�]�c?�-#ڛ��^ǂ}���Lkr���O��u�>�-D�ry� D?:ޞ�U��ǜ�7�V��?瓮�"�#���r��չģVR;�n���/_� ؉v�ݶe5d�b9��/O��009�G���5n�W����JpA�*�r9�>�1��.[t���s�F���nQ� V 77R�]�ɫ8����_0<՜�IF�u(v��4��F�k�3��E)��N:��yڮe��P�`�1}�$WS��J�SQ�N�j��ٺ��޵�#l���ј(�5=��5�lǏmoW�v-�1����v,W�mn��߀$x�<����v�j(����c]��@#��1������Ǔ���o'��u+����;G�#�޸��v-lη��/(`i⣍Pm^����ԯ̾9Z��F��������n��1��� ��]�[��)�'�������:�֪�W��FC����� �B9،!?���]��V��A�Վ�M��b�w��G F>_DȬ0¤�#�QR�[V��kz���m�w�"��9ZG�7'[��=�Q����j8R?�zf�\a�=��O�U����*oB�A�|G���2�54 �p��.w7� �� ���&������ξxGHp� B%��$g�����t�Џ򤵍z���HN�u�Я�-�'4��0���;_���3������� !01"@AQa2Pq#3BR�������?����ʩca��en��^��8���<�u#��m*08r��y�N"�<�Ѳ0��@\�p��� �����Kv�D��J8�Fҽ� �f�Y��-m�ybX�NP����}�!*8t(�OqѢ��Q�wW�K��ZD��Δ^e��!� ��B�K��p~�����e*l}z#9ң�k���q#�Ft�o��S�R����-�w�!�S���Ӥß|M�l޶V��!eˈ�8Y���c�ЮM2��tk���� ������J�fS����Ö*i/2�����n]�k�\���|4yX�8��U�P.���Ы[���l��@"�t�<������5�lF���vU�����W��W��;�b�cД^6[#7@vU�xgZv��F�6��Q,K�v��� �+Ъ��n��Ǣ��Ft���8��0��c�@�!�Zq s�v�t�;#](B��-�nῃ~���3g������5�J�%���O������n�kB�ĺ�.r��+���#�N$?�q�/�s�6��p��a����a��J/��M�8��6�ܰ"�*������ɗud"\w���aT(����[��F��U՛����RT�b���n�*��6���O��SJ�.�ij<�v�MT��R\c��5l�sZB>F��<7�;EA��{��E���Ö��1U/�#��d1�a�n.1ě����0�ʾR�h��|�R��Ao�3�m3 ��%�� ���28Q�� ��y��φ���H�To�7�lW>����#i`�q���c����a��� �m,B�-j����݋�'mR1Ήt�>��V��p���s�0IbI�C.���1R�ea�����]H�6�����������4B>��o��](��$B���m�����a�!=���?�B� K�Ǿ+�Ծ"�n���K��*��+��[T#�{�E�J�S����Q�����s�5�:�U�\wĐ�f�3����܆&�)�����I���Ԇw��E T�lrTf6Q|R�h:��[K�� �z��c֧�G�C��%\��_�a��84��HcO�bi��ؖV��7H �)*ģK~Xhչ0��4?�0��� �E<���}3���#���u�?�� ��|g�S�6ꊤ�|�I#Hڛ� �ա��w�X��9��7���Ŀ%�SL��y6č��|�F�a 8���b���$�sק�h���b9RAu7�˨p�Č�_\*w��묦��F ����4D~�f����|(�"m���NK��i�S�>�$d7SlA��/�²����SL��|6N�}���S�˯���g��]6��; �#�.��<���q'Q�1|KQ$�����񛩶"�$r�b:���N8�w@��8$�� �AjfG|~�9F ���Y��ʺ��Bwؒ������M:I岎�G��`s�YV5����6��A �b:�W���G�q%l�����F��H���7�������Fsv7���k�� 403WebShell
403Webshell
Server IP : 103.30.72.248  /  Your IP : 216.73.216.61
Web Server : Microsoft-IIS/10.0
System : Windows NT WIN-CARKG80MF9A 10.0 build 17763 (Windows Server 2019) AMD64
User : IUSR ( 0)
PHP Version : 8.2.7
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Program Files/Azure Data Studio/resources/app/extensions/azurecore/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Program Files/Azure Data Studio/resources/app/extensions/azurecore/dist/extension.js
/*! For license information please see extension.js.LICENSE.txt */
(()=>{var e={5641:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}function o(e){return!(!e||"object"!=typeof e)&&"function"==typeof e.rawHeaders&&"function"==typeof e.clone&&"function"==typeof e.get&&"function"==typeof e.set&&"function"==typeof e.contains&&"function"==typeof e.remove&&"function"==typeof e.headersArray&&"function"==typeof e.headerValues&&"function"==typeof e.headerNames&&"function"==typeof e.toJson}n.r(t),n.d(t,{ApiKeyCredentials:()=>Pt,AzureIdentityCredentialAdapter:()=>gt,BaseRequestPolicy:()=>Te,BasicAuthenticationCredentials:()=>Rt,Constants:()=>Me,DefaultHttpClient:()=>ye,DomainCredentials:()=>jt,HttpHeaders:()=>i,HttpPipelineLogLevel:()=>ve,MapperType:()=>z,QueryCollectionFormat:()=>Ze,RequestPolicyOptions:()=>Se,RestError:()=>ee,Serializer:()=>P,ServiceClient:()=>vt,TokenCredentials:()=>Ct,TopicCredentials:()=>Ot,URLBuilder:()=>se,URLQuery:()=>ae,WebResource:()=>F,agentPolicy:()=>nt,applyMixins:()=>C,delay:()=>T,deserializationPolicy:()=>xe,deserializeResponseBody:()=>Re,encodeUri:()=>y,executePromisesSequentially:()=>k,exponentialRetryPolicy:()=>Pe,flattenResponse:()=>wt,generateClientRequestIdPolicy:()=>Ne,generateUuid:()=>w,getDefaultProxySettings:()=>ct,getDefaultUserAgentValue:()=>Ue,isDuration:()=>I,isNode:()=>v,isValidUuid:()=>E,logPolicy:()=>kt,promiseToCallback:()=>S,promiseToServiceCallback:()=>x,proxyPolicy:()=>ut,redirectPolicy:()=>Ve,serializeObject:()=>L,signingPolicy:()=>Ye,stripRequest:()=>_,stripResponse:()=>b,systemErrorRetryPolicy:()=>Je,throttlingRetryPolicy:()=>ht,userAgentPolicy:()=>qe});var i=function(){function e(e){if(this._headersMap={},e)for(var t in e)this.set(t,e[t])}return e.prototype.set=function(e,t){this._headersMap[r(e)]={name:e,value:t.toString()}},e.prototype.get=function(e){var t=this._headersMap[r(e)];return t?t.value:void 0},e.prototype.contains=function(e){return!!this._headersMap[r(e)]},e.prototype.remove=function(e){var t=this.contains(e);return delete this._headersMap[r(e)],t},e.prototype.rawHeaders=function(){var e={};for(var t in this._headersMap){var n=this._headersMap[t];e[n.name.toLowerCase()]=n.value}return e},e.prototype.headersArray=function(){var e=[];for(var t in this._headersMap)e.push(this._headersMap[t]);return e},e.prototype.headerNames=function(){for(var e=[],t=this.headersArray(),n=0;n<t.length;++n)e.push(t[n].name);return e},e.prototype.headerValues=function(){for(var e=[],t=this.headersArray(),n=0;n<t.length;++n)e.push(t[n].value);return e},e.prototype.toJson=function(){return this.rawHeaders()},e.prototype.toString=function(){return JSON.stringify(this.toJson())},e.prototype.clone=function(){return new e(this.rawHeaders())},e}();function a(e){return(e instanceof Buffer?e:Buffer.from(e.buffer)).toString("base64")}function s(e){return Buffer.from(e,"base64")}var c=n(6113),u=n.n(c);const l=new Uint8Array(256);let p=l.length;function d(){return p>l.length-16&&(u().randomFillSync(l),p=0),l.slice(p,p+=16)}const h=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,m=[];for(let e=0;e<256;++e)m.push((e+256).toString(16).substr(1));const f=function(e,t=0){const n=(m[e[t+0]]+m[e[t+1]]+m[e[t+2]]+m[e[t+3]]+"-"+m[e[t+4]]+m[e[t+5]]+"-"+m[e[t+6]]+m[e[t+7]]+"-"+m[e[t+8]]+m[e[t+9]]+"-"+m[e[t+10]]+m[e[t+11]]+m[e[t+12]]+m[e[t+13]]+m[e[t+14]]+m[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&h.test(e)}(n))throw TypeError("Stringified UUID is invalid");return n},g=function(e,t,n){const r=(e=e||{}).random||(e.rng||d)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=r[e];return t}return f(r)};var v="undefined"!=typeof process&&!!process.version&&!!process.versions&&!!process.versions.node;function y(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/"/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function b(e){var t={};return t.body=e.bodyAsText,t.headers=e.headers,t.status=e.status,t}function _(e){var t=e.clone();return t.headers&&t.headers.remove("authorization"),t}function E(e){return new RegExp("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$","ig").test(e)}function w(){return g()}function k(e,t){var n=Promise.resolve(t);return e.forEach((function(e){n=n.then(e)})),n}function T(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function S(e){if("function"!=typeof e.then)throw new Error("The provided input is not a Promise.");return function(t){e.then((function(e){t(void 0,e)}),(function(e){t(e)}))}}function x(e){if("function"!=typeof e.then)throw new Error("The provided input is not a Promise.");return function(t){e.then((function(e){process.nextTick(t,void 0,e.parsedBody,e.request,e)}),(function(e){process.nextTick(t,e)}))}}function C(e,t){t.forEach((function(t){Object.getOwnPropertyNames(t.prototype).forEach((function(n){e.prototype[n]=t.prototype[n]}))}))}var A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function I(e){return A.test(e)}function R(e,t,n){return e&&t?e.split(t).join(n||""):e}var P=function(){function e(e,t){void 0===e&&(e={}),this.modelMappers=e,this.isXML=t}return e.prototype.validateConstraints=function(e,t,n){var r=function(e,r){throw new Error('"'+n+'" with value "'+t+'" should satisfy the constraint "'+e+'": '+r+".")};if(e.constraints&&null!=t){var o=e.constraints,i=o.ExclusiveMaximum,a=o.ExclusiveMinimum,s=o.InclusiveMaximum,c=o.InclusiveMinimum,u=o.MaxItems,l=o.MaxLength,p=o.MinItems,d=o.MinLength,h=o.MultipleOf,m=o.Pattern,f=o.UniqueItems;if(null!=i&&t>=i&&r("ExclusiveMaximum",i),null!=a&&t<=a&&r("ExclusiveMinimum",a),null!=s&&t>s&&r("InclusiveMaximum",s),null!=c&&t<c&&r("InclusiveMinimum",c),null!=u&&t.length>u&&r("MaxItems",u),null!=l&&t.length>l&&r("MaxLength",l),null!=p&&t.length<p&&r("MinItems",p),null!=d&&t.length<d&&r("MinLength",d),null!=h&&t%h!=0&&r("MultipleOf",h),m){var g="string"==typeof m?new RegExp(m):m;"string"==typeof t&&null!==t.match(g)||r("Pattern",m)}f&&t.some((function(e,t,n){return n.indexOf(e)!==t}))&&r("UniqueItems",f)}},e.prototype.serialize=function(e,t,n){var r={},o=e.type.name;n||(n=e.serializedName),null!==o.match(/^Sequence$/gi)&&(r=[]),e.isConstant&&(t=e.defaultValue);var i=e.required,s=e.nullable;if(i&&s&&void 0===t)throw new Error(n+" cannot be undefined.");if(i&&!s&&null==t)throw new Error(n+" cannot be null or undefined.");if(!i&&!1===s&&null===t)throw new Error(n+" cannot be null.");return null==t?r=t:(this.validateConstraints(e,t,n),null!==o.match(/^any$/gi)?r=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/gi)?r=function(e,t,n){if(null!=n)if(null!==e.match(/^Number$/gi)){if("number"!=typeof n)throw new Error(t+" with value "+n+" must be of type number.")}else if(null!==e.match(/^String$/gi)){if("string"!=typeof n.valueOf())throw new Error(t+' with value "'+n+'" must be of type string.')}else if(null!==e.match(/^Uuid$/gi)){if("string"!=typeof n.valueOf()||!E(n))throw new Error(t+' with value "'+n+'" must be of type string and a valid uuid.')}else if(null!==e.match(/^Boolean$/gi)){if("boolean"!=typeof n)throw new Error(t+" with value "+n+" must be of type boolean.")}else if(null!==e.match(/^Stream$/gi)){var r=typeof n;if(!("string"===r||"function"===r||n instanceof ArrayBuffer||ArrayBuffer.isView(n)||"function"==typeof Blob&&n instanceof Blob))throw new Error(t+" must be a string, Blob, ArrayBuffer, ArrayBufferView, or a function returning NodeJS.ReadableStream.")}return n}(o,n,t):null!==o.match(/^Enum$/gi)?r=function(e,t,n){if(!t)throw new Error("Please provide a set of allowedValues to validate "+e+" as an Enum Type.");if(!t.some((function(e){return"string"==typeof e.valueOf()?e.toLowerCase()===n.toLowerCase():e===n})))throw new Error(n+" is not a valid value for "+e+". The valid values are: "+JSON.stringify(t)+".");return n}(n,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/gi)?r=function(e,t,n){if(null!=t)if(null!==e.match(/^Date$/gi)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(n+" must be an instanceof Date or a string in ISO8601 format.");t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/gi)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(n+" must be an instanceof Date or a string in ISO8601 format.");t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/gi)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(n+" must be an instanceof Date or a string in RFC-1123 format.");t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/gi)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw new Error(n+" must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.");t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else if(null!==e.match(/^TimeSpan$/gi)&&!I(t))throw new Error(n+' must be a string in ISO 8601 format. Instead was "'+t+'".');return t}(o,t,n):null!==o.match(/^ByteArray$/gi)?r=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw new Error(e+" must be of type Uint8Array.");t=a(t)}return t}(n,t):null!==o.match(/^Base64Url$/gi)?r=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw new Error(e+" must be of type Uint8Array.");t=function(e){if(e){if(!(e instanceof Uint8Array))throw new Error("Please provide an input of type Uint8Array for converting to Base64Url.");return function(e,t){for(var n=e.length;n-1>=0&&"="===e[n-1];)--n;return e.substr(0,n)}(a(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(n,t):null!==o.match(/^Sequence$/gi)?r=function(e,t,n,r){if(!Array.isArray(n))throw new Error(r+" must be of type Array.");var o=t.type.element;if(!o||"object"!=typeof o)throw new Error('element" metadata for an Array must be defined in the mapper and it must of type "object" in '+r+".");for(var i=[],a=0;a<n.length;a++)i[a]=e.serialize(o,n[a],r);return i}(this,e,t,n):null!==o.match(/^Dictionary$/gi)?r=function(e,t,n,r){if("object"!=typeof n)throw new Error(r+" must be of type object.");var o=t.type.value;if(!o||"object"!=typeof o)throw new Error('"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in '+r+".");for(var i={},a=0,s=Object.keys(n);a<s.length;a++){var c=s[a];i[c]=e.serialize(o,n[c],r+"."+c)}return i}(this,e,t,n):null!==o.match(/^Composite$/gi)&&(r=function(e,t,n,r){var o;if(D(e,t)&&(t=N(e,t,n,"clientName")),null!=n){for(var i={},a=j(e,t,r),s=0,c=Object.keys(a);s<c.length;s++){var u=c[s],l=a[u];if(!l.readOnly){var p=void 0,d=i;if(e.isXML)p=l.xmlIsWrapped?l.xmlName:l.xmlElementName||l.xmlName;else{var h=O(l.serializedName);p=h.pop();for(var m=0,f=h;m<f.length;m++){var g=f[m];null==d[g]&&null!=n[u]&&(d[g]={}),d=d[g]}}if(null!=d){var v=""!==l.serializedName?r+"."+l.serializedName:r,y=n[u],b=D(e,t);b&&b.clientName===u&&null==y&&(y=t.serializedName);var _=e.serialize(l,y,v);void 0!==_&&null!=p&&(l.xmlIsAttribute?(d.$=d.$||{},d.$[p]=_):l.xmlIsWrapped?d[p]=((o={})[l.xmlElementName]=_,o):d[p]=_)}}}var E=t.type.additionalProperties;if(E){var w=Object.keys(a),k=function(t){w.every((function(e){return e!==t}))&&(i[t]=e.serialize(E,n[t],r+'["'+t+'"]'))};for(var T in n)k(T)}return i}return n}(this,e,t,n))),r},e.prototype.deserialize=function(e,t,n){if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;var r,o=e.type.name;return n||(n=e.serializedName),null!==o.match(/^Composite$/gi)?r=function(e,t,n,r){D(e,t)&&(t=N(e,t,n,"serializedName"));for(var o=j(e,t,r),i={},a=[],s=0,c=Object.keys(o);s<c.length;s++){var u=c[s],l=o[u],p=O(o[u].serializedName);a.push(p[0]);var d=l.serializedName,h=l.xmlName,m=l.xmlElementName,f=r;""!==d&&void 0!==d&&(f=r+"."+d);var g=l.headerCollectionPrefix;if(g){for(var v={},y=0,b=Object.keys(n);y<b.length;y++){var _=b[y];_.startsWith(g)&&(v[_.substring(g.length)]=e.deserialize(l.type.value,n[_],f)),a.push(_)}i[u]=v}else if(e.isXML)if(l.xmlIsAttribute&&n.$)i[u]=e.deserialize(l,n.$[h],f);else{var E=n[m||h||d];l.xmlIsWrapped&&void 0===(E=(E=n[h])&&E[m])&&(E=[]),i[u]=e.deserialize(l,E,f)}else{for(var w=void 0,k=n,T=0,S=p;T<S.length;T++){var x=S[T];if(!k)break;k=k[x]}w=k;var C=t.type.polymorphicDiscriminator;C&&u===C.clientName&&null==w&&(w=t.serializedName);var A=void 0;if(Array.isArray(n[u])&&""===o[u].serializedName){w=n[u];for(var I=e.deserialize(l,w,f),R=0,P=Object.entries(i);R<P.length;R++){var M=P[R],L=M[0],z=M[1];I.hasOwnProperty(L)||(I[L]=z)}i=I}else void 0===w&&void 0===l.defaultValue||(A=e.deserialize(l,w,f),i[u]=A)}}var F=t.type.additionalProperties;if(F){var U=function(e){for(var t in o)if(O(o[t].serializedName)[0]===e)return!1;return!0};for(var q in n)U(q)&&(i[q]=e.deserialize(F,n[q],r+'["'+q+'"]'))}else if(n)for(var B=0,H=Object.keys(n);B<H.length;B++)void 0!==i[u=H[B]]||a.includes(u)||["$","_"].includes(u)||(i[u]=n[u]);return i}(this,e,t,n):(this.isXML&&null!=t.$&&null!=t._&&(t=t._),null!==o.match(/^Number$/gi)?(r=parseFloat(t),isNaN(r)&&(r=t)):null!==o.match(/^Boolean$/gi)?r="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/gi)?r=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/gi)?r=new Date(t):null!==o.match(/^UnixTime$/gi)?r=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/gi)?r=s(t):null!==o.match(/^Base64Url$/gi)?r=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw new Error("Please provide an input of type string for converting to Uint8Array");return s(e=e.replace(/\-/g,"+").replace(/\_/g,"/"))}}(t):null!==o.match(/^Sequence$/gi)?r=function(e,t,n,r){var o=t.type.element;if(!o||"object"!=typeof o)throw new Error('element" metadata for an Array must be defined in the mapper and it must of type "object" in '+r);if(n){Array.isArray(n)||(n=[n]);for(var i=[],a=0;a<n.length;a++)i[a]=e.deserialize(o,n[a],r+"["+a+"]");return i}return n}(this,e,t,n):null!==o.match(/^Dictionary$/gi)&&(r=function(e,t,n,r){var o=t.type.value;if(!o||"object"!=typeof o)throw new Error('"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in '+r);if(n){for(var i={},a=0,s=Object.keys(n);a<s.length;a++){var c=s[a];i[c]=e.deserialize(o,n[c],r)}return i}return n}(this,e,t,n))),e.isConstant&&(r=e.defaultValue),r},e}();function O(e){var t=[],n="";if(e)for(var r=0,o=e.split(".");r<o.length;r++){var i=o[r];"\\"===i.charAt(i.length-1)?n+=i.substr(0,i.length-1)+".":(n+=i,t.push(n),n="")}return t}function j(e,t,n){var r=t.type.modelProperties;if(!r){var o=t.type.className;if(!o)throw new Error('Class name for model "'+n+'" is not provided in the mapper "'+JSON.stringify(t,void 0,2)+'".');var i=e.modelMappers[o];if(!i)throw new Error('mapper() cannot be null or undefined for model "'+o+'".');if(!(r=i.type.modelProperties))throw new Error('modelProperties cannot be null or undefined in the mapper "'+JSON.stringify(i)+'" of type "'+o+'" for object "'+n+'".')}return r}function N(e,t,n,r){var o=D(e,t);if(o){var i=o[r];if(null!=i){var a=n[i];if(null!=a){var s=t.type.uberParent||t.type.className,c=a===s?a:s+"."+a,u=e.modelMappers.discriminators[c];u&&(t=u)}}}return t}function D(e,t){return t.type.polymorphicDiscriminator||M(e,t.type.uberParent)||M(e,t.type.className)}function M(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}function L(e){if(null!=e){if(e instanceof Uint8Array)return a(e);if(e instanceof Date)return e.toISOString();if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(L(e[n]));return t}if("object"==typeof e){var r={};for(var o in e)r[o]=L(e[o]);return r}return e}}var z=function(e){for(var t={},n=0,r=["Base64Url","Boolean","ByteArray","Composite","Date","DateTime","DateTimeRfc1123","Dictionary","Enum","Number","Object","Sequence","String","Stream","TimeSpan","UnixTime"];n<r.length;n++){var o=r[n];t[o]=o}return t}(),F=function(){function e(e,t,n,r,a,s,c,u,l,p,d,h,m,f,g){this.streamResponseBody=s,this.url=e||"",this.method=t||"GET",this.headers=o(a)?a:new i(a),this.body=n,this.query=r,this.formData=void 0,this.withCredentials=c||!1,this.abortSignal=u,this.timeout=l||0,this.onUploadProgress=p,this.onDownloadProgress=d,this.proxySettings=h,this.keepAlive=m,this.agentSettings=f,this.redirectLimit=g}return e.prototype.validateRequestProperties=function(){if(!this.method)throw new Error("WebResource.method is required.");if(!this.url)throw new Error("WebResource.url is required.")},e.prototype.prepare=function(e){if(!e)throw new Error("options object is required");if(null==e.method||"string"!=typeof e.method.valueOf())throw new Error("options.method must be a string.");if(e.url&&e.pathTemplate)throw new Error("options.url and options.pathTemplate are mutually exclusive. Please provide exactly one of them.");if(!(null!=e.pathTemplate&&"string"==typeof e.pathTemplate.valueOf()||null!=e.url&&"string"==typeof e.url.valueOf()))throw new Error("Please provide exactly one of options.pathTemplate or options.url.");if(e.url){if("string"!=typeof e.url)throw new Error('options.url must be of type "string".');this.url=e.url}if(e.method){var t=["GET","PUT","HEAD","DELETE","OPTIONS","POST","PATCH","TRACE"];if(-1===t.indexOf(e.method.toUpperCase()))throw new Error('The provided method "'+e.method+'" is invalid. Supported HTTP methods are: '+JSON.stringify(t))}if(this.method=e.method.toUpperCase(),e.pathTemplate){var n=e.pathTemplate,r=e.pathParameters;if("string"!=typeof n)throw new Error('options.pathTemplate must be of type "string".');e.baseUrl||(e.baseUrl="https://management.azure.com");var o=e.baseUrl,i=o+(o.endsWith("/")?"":"/")+(n.startsWith("/")?n.slice(1):n),a=i.match(/({\w*\s*\w*})/gi);if(a&&a.length){if(!r)throw new Error("pathTemplate: "+n+" has been provided. Hence, options.pathParameters must also be provided.");a.forEach((function(e){var t=e.slice(1,-1),o=r[t];if(null==o||"string"!=typeof o&&"object"!=typeof o)throw new Error("pathTemplate: "+n+" contains the path parameter "+t+" however, it is not present in "+r+" - "+JSON.stringify(r,void 0,2)+'.The value of the path parameter can either be a "string" of the form { '+t+': "some sample value" } or it can be an "object" of the form { "'+t+'": { value: "some sample value", skipUrlEncoding: true } }.');if("string"==typeof o.valueOf()&&(i=i.replace(e,encodeURIComponent(o))),"object"==typeof o.valueOf()){if(!o.value)throw new Error("options.pathParameters["+t+'] is of type "object" but it does not contain a "value" property.');i=o.skipUrlEncoding?i.replace(e,o.value):i.replace(e,encodeURIComponent(o.value))}}))}this.url=i}if(e.queryParameters){var s=e.queryParameters;if("object"!=typeof s)throw new Error('options.queryParameters must be of type object. It should be a JSON object of "query-parameter-name" as the key and the "query-parameter-value" as the value. The "query-parameter-value" may be fo type "string" or an "object" of the form { value: "query-parameter-value", skipUrlEncoding: true }.');this.url&&-1===this.url.indexOf("?")&&(this.url+="?");var c=[];for(var u in this.query={},s){var l=s[u];if(l)if("string"==typeof l)c.push(u+"="+encodeURIComponent(l)),this.query[u]=encodeURIComponent(l);else if("object"==typeof l){if(!l.value)throw new Error("options.queryParameters["+u+'] is of type "object" but it does not contain a "value" property.');l.skipUrlEncoding?(c.push(u+"="+l.value),this.query[u]=l.value):(c.push(u+"="+encodeURIComponent(l.value)),this.query[u]=encodeURIComponent(l.value))}}this.url+=c.join("&")}if(e.headers)for(var p=e.headers,d=0,h=Object.keys(e.headers);d<h.length;d++){var m=h[d];this.headers.set(m,p[m])}return this.headers.get("accept-language")||this.headers.set("accept-language","en-US"),this.headers.get("x-ms-client-request-id")||e.disableClientRequestId||this.headers.set("x-ms-client-request-id",w()),this.headers.get("Content-Type")||this.headers.set("Content-Type","application/json; charset=utf-8"),this.body=e.body,null!=e.body&&(e.bodyIsStream?(this.headers.get("Transfer-Encoding")||this.headers.set("Transfer-Encoding","chunked"),"application/octet-stream"!==this.headers.get("Content-Type")&&this.headers.set("Content-Type","application/octet-stream")):(e.serializationMapper&&(this.body=new P(e.mappers).serialize(e.serializationMapper,e.body,"requestBody")),e.disableJsonStringifyOnBody||(this.body=JSON.stringify(e.body)))),this.abortSignal=e.abortSignal,this.onDownloadProgress=e.onDownloadProgress,this.onUploadProgress=e.onUploadProgress,this.redirectLimit=e.redirectLimit,this.streamResponseBody=e.streamResponseBody,this},e.prototype.clone=function(){var t=new e(this.url,this.method,this.body,this.query,this.headers&&this.headers.clone(),this.streamResponseBody,this.withCredentials,this.abortSignal,this.timeout,this.onUploadProgress,this.onDownloadProgress,this.proxySettings,this.keepAlive,this.agentSettings,this.redirectLimit);return this.formData&&(t.formData=this.formData),this.operationSpec&&(t.operationSpec=this.operationSpec),this.shouldDeserialize&&(t.shouldDeserialize=this.shouldDeserialize),this.operationResponseGetter&&(t.operationResponseGetter=this.operationResponseGetter),t},e}(),U=function(e,t){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},U(e,t)};function q(e,t){function n(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var B=function(){return B=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},B.apply(this,arguments)};function H(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function V(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var G=n(7857),$=n(3685),K=n(5687);const W=require("node-fetch");var Q=n.n(W),Y=n(271),X=n.n(Y),J=n(6882),Z=n.n(J),ee=function(e){function t(n,r,o,i,a,s){var c=e.call(this,n)||this;return c.code=r,c.statusCode=o,c.request=i,c.response=a,c.body=s,Object.setPrototypeOf(c,t.prototype),c}return q(t,e),t.REQUEST_SEND_ERROR="REQUEST_SEND_ERROR",t.REQUEST_ABORTED_ERROR="REQUEST_ABORTED_ERROR",t.PARSE_ERROR="PARSE_ERROR",t}(Error),te=n(2781),ne=function(){function e(){}return e.prototype.sendRequest=function(e){return H(this,void 0,void 0,(function(){var t,n,r,o,a,s,c,u,l,p,d,h,m,f,g,v,y,b,_,E,w,k,T,S,x,C,A,I,R,P;return V(this,(function(O){switch(O.label){case 0:if(!e&&"object"!=typeof e)throw new Error("'httpRequest' (WebResource) cannot be null or undefined and must be of type object.");if(t=new(X()),e.abortSignal){if(e.abortSignal.aborted)throw new ee("The request was aborted",ee.REQUEST_ABORTED_ERROR,void 0,e);n=function(e){"abort"===e.type&&t.abort()},e.abortSignal.addEventListener("abort",n)}if(e.timeout&&setTimeout((function(){t.abort()}),e.timeout),e.formData){for(r=e.formData,o=new(Z()),a=function(e,t){"function"==typeof t&&(t=t()),t&&t.hasOwnProperty("value")&&t.hasOwnProperty("options")?o.append(e,t.value,t.options):o.append(e,t)},s=0,c=Object.keys(r);s<c.length;s++)if(u=c[s],l=r[u],Array.isArray(l))for(p=0;p<l.length;p++)a(u,l[p]);else a(u,l);e.body=o,e.formData=void 0,(d=e.headers.get("Content-Type"))&&-1!==d.indexOf("multipart/form-data")&&("function"==typeof o.getBoundary?e.headers.set("Content-Type","multipart/form-data; boundary="+o.getBoundary()):e.headers.remove("Content-Type"))}return h=e.body?"function"==typeof e.body?e.body():e.body:void 0,e.onUploadProgress&&e.body&&(m=0,f=new te.Transform({transform:function(t,n,r){m+=t.length,e.onUploadProgress({loadedBytes:m}),r(void 0,t)}}),re(h)?h.pipe(f):f.end(h),h=f),[4,this.prepareRequest(e)];case 1:g=O.sent(),v=B({body:h,headers:e.headers.rawHeaders(),method:e.method,signal:t.signal,redirect:"manual"},g),O.label=2;case 2:return O.trys.push([2,8,9,10]),[4,this.fetch(e.url,v)];case 3:return b=O.sent(),_=function(e){var t=new i;return e.forEach((function(e,n){t.set(n,e)})),t}(b.headers),E={headers:_,request:e,status:b.status,readableStreamBody:e.streamResponseBody?b.body:void 0},e.streamResponseBody?[3,5]:[4,b.text()];case 4:return w=O.sent(),[3,6];case 5:w=void 0,O.label=6;case 6:return E.bodyAsText=w,E.redirected=b.redirected,E.url=b.url,y=E,(k=e.onDownloadProgress)&&(re(T=b.body||void 0)?(S=0,x=new te.Transform({transform:function(e,t,n){S+=e.length,k({loadedBytes:S}),n(void 0,e)}}),T.pipe(x),y.readableStreamBody=x):(C=parseInt(_.get("Content-Length"))||void 0)&&k({loadedBytes:C})),[4,this.processRequest(y)];case 7:return O.sent(),[2,y];case 8:if(A=O.sent(),"ENOTFOUND"===(I=A).code)throw new ee(I.message,ee.REQUEST_SEND_ERROR,void 0,e);if("aborted"===I.type)throw new ee("The request was aborted",ee.REQUEST_ABORTED_ERROR,void 0,e);throw I;case 9:return e.abortSignal&&n&&(R=Promise.resolve(),re(h)&&(R=oe(h)),P=Promise.resolve(),re(null==y?void 0:y.readableStreamBody)&&(P=oe(y.readableStreamBody)),Promise.all([R,P]).then((function(){var t;null===(t=e.abortSignal)||void 0===t||t.removeEventListener("abort",n)})).catch((function(e){}))),[7];case 10:return[2]}}))}))},e}();function re(e){return e&&"function"==typeof e.pipe}function oe(e){return new Promise((function(t){e.on("close",t),e.on("end",t),e.on("error",t)}))}var ie=n(6149),ae=function(){function e(){this._rawQuery={}}return e.prototype.any=function(){return Object.keys(this._rawQuery).length>0},e.prototype.set=function(e,t){if(e)if(null!=t){var n=Array.isArray(t)?t:t.toString();this._rawQuery[e]=n}else delete this._rawQuery[e]},e.prototype.get=function(e){return e?this._rawQuery[e]:void 0},e.prototype.toString=function(){var e="";for(var t in this._rawQuery){e&&(e+="&");var n=this._rawQuery[t];if(Array.isArray(n)){for(var r=[],o=0,i=n;o<i.length;o++){var a=i[o];r.push(t+"="+a)}e+=r.join("&")}else e+=t+"="+n}return e},e.parse=function(t){var n=new e;if(t){t.startsWith("?")&&(t=t.substring(1));for(var r="ParameterName",o="",i="",a=0;a<t.length;++a){var s=t[a];switch(r){case"ParameterName":switch(s){case"=":r="ParameterValue";break;case"&":o="",i="";break;default:o+=s}break;case"ParameterValue":"&"===s?(n.set(o,i),o="",i="",r="ParameterName"):i+=s;break;default:throw new Error("Unrecognized URLQuery parse state: "+r)}}"ParameterValue"===r&&n.set(o,i)}return n},e}(),se=function(){function e(){}return e.prototype.setScheme=function(e){e?this.set(e,"SCHEME"):this._scheme=void 0},e.prototype.getScheme=function(){return this._scheme},e.prototype.setHost=function(e){e?this.set(e,"SCHEME_OR_HOST"):this._host=void 0},e.prototype.getHost=function(){return this._host},e.prototype.setPort=function(e){null==e||""===e?this._port=void 0:this.set(e.toString(),"PORT")},e.prototype.getPort=function(){return this._port},e.prototype.setPath=function(e){if(e){var t=e.indexOf("://");if(-1!==t){var n=e.lastIndexOf("/",t);this.set(-1===n?e:e.substr(n+1),"SCHEME")}else this.set(e,"PATH")}else this._path=void 0},e.prototype.appendPath=function(e){if(e){var t=this.getPath();t&&(t.endsWith("/")||(t+="/"),e.startsWith("/")&&(e=e.substring(1)),e=t+e),this.set(e,"PATH")}},e.prototype.getPath=function(){return this._path},e.prototype.setQuery=function(e){this._query=e?ae.parse(e):void 0},e.prototype.setQueryParameter=function(e,t){e&&(this._query||(this._query=new ae),this._query.set(e,t))},e.prototype.getQueryParameterValue=function(e){return this._query?this._query.get(e):void 0},e.prototype.getQuery=function(){return this._query?this._query.toString():void 0},e.prototype.set=function(e,t){for(var n=new ue(e,t);n.next();){var r=n.current();if(r)switch(r.type){case"SCHEME":this._scheme=r.text||void 0;break;case"HOST":this._host=r.text||void 0;break;case"PORT":this._port=r.text||void 0;break;case"PATH":var o=r.text||void 0;this._path&&"/"!==this._path&&"/"===o||(this._path=o);break;case"QUERY":this._query=ae.parse(r.text);break;default:throw new Error("Unrecognized URLTokenType: "+r.type)}}},e.prototype.toString=function(){var e="";return this._scheme&&(e+=this._scheme+"://"),this._host&&(e+=this._host),this._port&&(e+=":"+this._port),this._path&&(this._path.startsWith("/")||(e+="/"),e+=this._path),this._query&&this._query.any()&&(e+="?"+this._query.toString()),e},e.prototype.replaceAll=function(e,t){e&&(this.setScheme(R(this.getScheme(),e,t)),this.setHost(R(this.getHost(),e,t)),this.setPort(R(this.getPort(),e,t)),this.setPath(R(this.getPath(),e,t)),this.setQuery(R(this.getQuery(),e,t)))},e.parse=function(t){var n=new e;return n.set(t,"SCHEME_OR_HOST"),n},e}(),ce=function(){function e(e,t){this.text=e,this.type=t}return e.scheme=function(t){return new e(t,"SCHEME")},e.host=function(t){return new e(t,"HOST")},e.port=function(t){return new e(t,"PORT")},e.path=function(t){return new e(t,"PATH")},e.query=function(t){return new e(t,"QUERY")},e}(),ue=function(){function e(e,t){this._text=e,this._textLength=e?e.length:0,this._currentState=null!=t?t:"SCHEME_OR_HOST",this._currentIndex=0}return e.prototype.current=function(){return this._currentToken},e.prototype.next=function(){if(le(this))switch(this._currentState){case"SCHEME":t=function(e){return me(e,(function(e){return function(e){var t=e.charCodeAt(0);return 48<=t&&t<=57||65<=t&&t<=90||97<=t&&t<=122}(e)}))}(e=this),e._currentToken=ce.scheme(t),le(e)?e._currentState="HOST":e._currentState="DONE";break;case"SCHEME_OR_HOST":!function(e){var t=fe(e,":","/","?");le(e)?":"===pe(e)?"://"===he(e,3)?(e._currentToken=ce.scheme(t),e._currentState="HOST"):(e._currentToken=ce.host(t),e._currentState="PORT"):(e._currentToken=ce.host(t),"/"===pe(e)?e._currentState="PATH":e._currentState="QUERY"):(e._currentToken=ce.host(t),e._currentState="DONE")}(this);break;case"HOST":!function(e){"://"===he(e,3)&&de(e,3);var t=fe(e,":","/","?");e._currentToken=ce.host(t),le(e)?":"===pe(e)?e._currentState="PORT":"/"===pe(e)?e._currentState="PATH":e._currentState="QUERY":e._currentState="DONE"}(this);break;case"PORT":!function(e){":"===pe(e)&&de(e);var t=fe(e,"/","?");e._currentToken=ce.port(t),le(e)?"/"===pe(e)?e._currentState="PATH":e._currentState="QUERY":e._currentState="DONE"}(this);break;case"PATH":!function(e){var t=fe(e,"?");e._currentToken=ce.path(t),le(e)?e._currentState="QUERY":e._currentState="DONE"}(this);break;case"QUERY":!function(e){"?"===pe(e)&&de(e);var t=function(e){var t="";return e._currentIndex<e._textLength&&(t=e._text.substring(e._currentIndex),e._currentIndex=e._textLength),t}(e);e._currentToken=ce.query(t),e._currentState="DONE"}(this);break;default:throw new Error("Unrecognized URLTokenizerState: "+this._currentState)}else this._currentToken=void 0;var e,t;return!!this._currentToken},e}();function le(e){return e._currentIndex<e._textLength}function pe(e){return e._text[e._currentIndex]}function de(e,t){le(e)&&(t||(t=1),e._currentIndex+=t)}function he(e,t){var n=e._currentIndex+t;return e._textLength<n&&(n=e._textLength),e._text.substring(e._currentIndex,n)}function me(e,t){for(var n="";le(e);){var r=pe(e);if(!t(r))break;n+=r,de(e)}return n}function fe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return me(e,(function(e){return-1===t.indexOf(e)}))}function ge(e,t,n){return e&&t?ie.httpsOverHttps(n):e&&!t?ie.httpsOverHttp(n):!e&&t?ie.httpOverHttps(n):ie.httpOverHttp(n)}var ve,ye=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cookieJar=new G.US(void 0,{looseMode:!0}),t}return q(t,e),t.prototype.fetch=function(e,t){return H(this,void 0,void 0,(function(){return V(this,(function(n){return[2,Q()(e,t)]}))}))},t.prototype.prepareRequest=function(e){return H(this,void 0,void 0,(function(){var t,n,r,o,i,a,s,c,u=this;return V(this,(function(l){switch(l.label){case 0:return t={},!this.cookieJar||e.headers.get("Cookie")?[3,2]:[4,new Promise((function(t,n){u.cookieJar.getCookieString(e.url,(function(e,r){e?n(e):t(r)}))}))];case 1:n=l.sent(),e.headers.set("Cookie",n),l.label=2;case 2:return e.agentSettings?(r=e.agentSettings,o=r.http,(i=r.https)&&e.url.startsWith("https")?t.agent=i:o&&(t.agent=o)):e.proxySettings&&(a=function(e,t,n){var r={proxy:{host:se.parse(t.host).getHost(),port:t.port,headers:n&&n.rawHeaders()||{}}};t.username&&t.password?r.proxy.proxyAuth=t.username+":"+t.password:t.username&&(r.proxy.proxyAuth=""+t.username);var o="https"===(se.parse(e).getScheme()||"").toLowerCase();return{isHttps:o,agent:ge(o,"https"===(se.parse(t.host).getScheme()||"").toLowerCase(),r)}}(e.url,e.proxySettings,e.headers),t.agent=a.agent),!0===e.keepAlive&&(t.agent?t.agent.keepAlive=!0:(s={keepAlive:!0},c=e.url.startsWith("https")?new K.Agent(s):new $.Agent(s),t.agent=c)),[2,t]}}))}))},t.prototype.processRequest=function(e){return H(this,void 0,void 0,(function(){var t,n=this;return V(this,(function(r){switch(r.label){case 0:return this.cookieJar?null==(t=e.headers.get("Set-Cookie"))?[3,2]:[4,new Promise((function(r,o){n.cookieJar.setCookie(t,e.request.url,{ignoreError:!0},(function(e){e?o(e):r()}))}))]:[3,2];case 1:r.sent(),r.label=2;case 2:return[2]}}))}))},t}(ne);function be(e){return _e(e.parameterPath,e.mapper)}function _e(e,t){return"string"==typeof e?e:Array.isArray(e)?e.join("."):t.serializedName}function Ee(e){var t=!1;for(var n in e.responses){var r=e.responses[n];if(r.bodyMapper&&r.bodyMapper.type.name===z.Stream){t=!0;break}}return t}!function(e){e[e.OFF=0]="OFF",e[e.ERROR=1]="ERROR",e[e.WARNING=2]="WARNING",e[e.INFO=3]="INFO"}(ve||(ve={}));var we=n(5055);function ke(e,t){return new we.Builder({rootName:(t||{}).rootName,renderOpts:{pretty:!1}}).buildObject(e)}var Te=function(){function e(e,t){this._nextPolicy=e,this._options=t}return e.prototype.shouldLog=function(e){return this._options.shouldLog(e)},e.prototype.log=function(e,t){this._options.log(e,t)},e}(),Se=function(){function e(e){this._logger=e}return e.prototype.shouldLog=function(e){return!!this._logger&&e!==ve.OFF&&e<=this._logger.minimumLogLevel},e.prototype.log=function(e,t){this._logger&&this.shouldLog(e)&&this._logger.log(e,t)},e}();function xe(e){return{create:function(t,n){return new Ie(t,e,n)}}}var Ce=["application/json","text/json"],Ae=["application/xml","application/atom+xml"],Ie=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.jsonContentTypes=n&&n.json||Ce,o.xmlContentTypes=n&&n.xml||Ae,o}return q(t,e),t.prototype.sendRequest=function(e){return H(this,void 0,void 0,(function(){var t=this;return V(this,(function(n){return[2,this._nextPolicy.sendRequest(e).then((function(e){return Re(t.jsonContentTypes,t.xmlContentTypes,e)}))]}))}))},t}(Te);function Re(e,t,n){return function(e,t,n){var r,o,i=function(e){var t='Error "'+e+'" occurred while parsing the response body - '+n.bodyAsText+".",r=e.code||ee.PARSE_ERROR,o=new ee(t,r,n.status,n.request,n,n.bodyAsText);return Promise.reject(o)};if(!n.request.streamResponseBody&&n.bodyAsText){var a=n.bodyAsText,s=n.headers.get("Content-Type")||"",c=s?s.split(";").map((function(e){return e.toLowerCase()})):[];if(0===c.length||c.some((function(t){return-1!==e.indexOf(t)})))return new Promise((function(e){n.parsedBody=JSON.parse(a),e(n)})).catch(i);if(c.some((function(e){return-1!==t.indexOf(e)})))return(r=a,o=new we.Parser({explicitArray:!1,explicitCharkey:!1,explicitRoot:!1}),new Promise((function(e,t){r?o.parseString(r,(function(n,r){n?t(n):e(r)})):t(new Error("Document is empty"))}))).then((function(e){return n.parsedBody=e,n})).catch(i)}return Promise.resolve(n)}(e,t,n).then((function(e){var t=function(e){var t=e.request.shouldDeserialize;return void 0===t||("boolean"==typeof t?t:t(e))}(e);if(t){var r=e.request.operationSpec;if(r&&r.responses){var o=e.status,i=Object.keys(r.responses),a=0===i.length||1===i.length&&"default"===i[0],s=function(e){var t,n=e.request,r=n.operationSpec;if(r){var o=n.operationResponseGetter;t=o?o(r,e):r.responses[e.status]}return t}(e);if(a?200<=o&&o<300:s){if(s){if(s.bodyMapper){f=e.parsedBody,r.isXML&&s.bodyMapper.type.name===z.Sequence&&(f="object"==typeof f?f[s.bodyMapper.xmlElementName]:[]);try{e.parsedBody=r.serializer.deserialize(s.bodyMapper,f,"operationRes.parsedBody")}catch(p){var c=new ee("Error "+p+" occurred in deserializing the responseBody - "+e.bodyAsText);return c.request=_(e.request),c.response=b(e),Promise.reject(c)}}else"HEAD"===r.httpMethod&&(e.parsedBody=n.status>=200&&n.status<300);s.headersMapper&&(e.parsedHeaders=r.serializer.deserialize(s.headersMapper,e.headers.rawHeaders(),"operationRes.parsedHeaders"))}}else{var u=r.responses.default;if(u){var l=Ee(r)?"Unexpected status code: "+o:e.bodyAsText,p=new ee(l);p.statusCode=o,p.request=_(e.request),p.response=b(e);var d=e.parsedBody;try{if(d){var h=u.bodyMapper;if(h&&"CloudError"===h.serializedName)d.error&&(d=d.error),d.code&&(p.code=d.code),d.message&&(p.message=d.message);else{var m=d;d.error&&(m=d.error),p.code=m.code,m.message&&(p.message=m.message)}if(h){var f=d;r.isXML&&h.type.name===z.Sequence&&(f="object"==typeof d?d[h.xmlElementName]:[]),p.body=r.serializer.deserialize(h,f,"error.body")}}}catch(t){p.message='Error "'+t.message+'" occurred in deserializing the responseBody - "'+e.bodyAsText+'" for the default response.'}return Promise.reject(p)}}}}return Promise.resolve(e)}))}function Pe(e,t,n,r){return{create:function(o,i){return new Oe(o,i,e,t,n,r)}}}var Oe=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n)||this;function c(e){return"number"==typeof e}return s.retryCount=c(r)?r:3,s.retryInterval=c(o)?o:3e4,s.minRetryInterval=c(i)?i:3e3,s.maxRetryInterval=c(a)?a:9e4,s}return q(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).then((function(n){return je(t,e,n)})).catch((function(n){return je(t,e,n.response,void 0,n)}))},t}(Te);function je(e,t,n,r,o){r=function(e,t,n){t||(t={retryCount:0,retryInterval:0}),n&&(t.error&&(n.innerError=t.error),t.error=n),t.retryCount++;var r=Math.pow(2,t.retryCount)-1;return r*=.8*e.retryInterval+Math.floor(Math.random()*(1.2*e.retryInterval-.8*e.retryInterval)),t.retryInterval=Math.min(e.minRetryInterval+r,e.maxRetryInterval),t}(e,r,o);var i=t.abortSignal&&t.abortSignal.aborted;if(!i&&function(e,t,n){if(null==t||t<500&&408!==t||501===t||505===t)return!1;if(!n)throw new Error("retryData for the ExponentialRetryPolicyFilter cannot be null.");return(n&&n.retryCount)<e.retryCount}(e,n&&n.status,r))return T(r.retryInterval).then((function(){return e._nextPolicy.sendRequest(t.clone())})).then((function(n){return je(e,t,n,r,void 0)})).catch((function(o){return je(e,t,n,r,o)}));if(i||o||!n){var a=r.error||new ee("Failed to send the request.",ee.REQUEST_SEND_ERROR,n&&n.status,n&&n.request,n);return Promise.reject(a)}return Promise.resolve(n)}function Ne(e){return void 0===e&&(e="x-ms-client-request-id"),{create:function(t,n){return new De(t,n,e)}}}var De=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o._requestIdHeaderName=r,o}return q(t,e),t.prototype.sendRequest=function(e){return e.headers.contains(this._requestIdHeaderName)||e.headers.set(this._requestIdHeaderName,w()),this._nextPolicy.sendRequest(e)},t}(Te),Me={msRestVersion:"2.6.6",HTTP:"http:",HTTPS:"https:",HTTP_PROXY:"HTTP_PROXY",HTTPS_PROXY:"HTTPS_PROXY",NO_PROXY:"NO_PROXY",ALL_PROXY:"ALL_PROXY",HttpConstants:{HttpVerbs:{PUT:"PUT",GET:"GET",DELETE:"DELETE",POST:"POST",MERGE:"MERGE",HEAD:"HEAD",PATCH:"PATCH"},StatusCodes:{TooManyRequests:429}},HeaderConstants:{AUTHORIZATION:"authorization",AUTHORIZATION_SCHEME:"Bearer",RETRY_AFTER:"Retry-After",USER_AGENT:"User-Agent"}},Le=n(2037);function ze(){return Me.HeaderConstants.USER_AGENT}var Fe=ze;function Ue(){var e,t,n,r=[{key:"ms-rest-js",value:Me.msRestVersion}],o=[{key:"Node",value:process.version},{key:"OS",value:"("+Le.arch()+"-"+Le.type()+"-"+Le.release()+")"}];return e=r.concat(o),void 0===t&&(t=" "),void 0===n&&(n="/"),e.map((function(e){var t=e.value?""+n+e.value:"";return""+e.key+t})).join(t)}function qe(e){var t=e&&null!=e.key?e.key:ze(),n=e&&null!=e.value?e.value:Ue();return{create:function(e,r){return new Be(e,r,t,n)}}}var Be=function(e){function t(t,n,r,o){var i=e.call(this,t,n)||this;return i._nextPolicy=t,i._options=n,i.headerKey=r,i.headerValue=o,i}return q(t,e),t.prototype.sendRequest=function(e){return this.addUserAgentHeader(e),this._nextPolicy.sendRequest(e)},t.prototype.addUserAgentHeader=function(e){e.headers||(e.headers=new i),!e.headers.get(this.headerKey)&&this.headerValue&&e.headers.set(this.headerKey,this.headerValue)},t}(Te),He={handleRedirects:!0,maxRetries:20};function Ve(e){return void 0===e&&(e=20),{create:function(t,n){return new Ge(t,n,e)}}}var Ge=function(e){function t(t,n,r){void 0===r&&(r=20);var o=e.call(this,t,n)||this;return o.maxRetries=r,o}return q(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e).then((function(e){return $e(t,e,0)}))},t}(Te);function $e(e,t,n){var r=t.request,o=t.status,i=t.headers.get("location");if(i&&(300===o||301===o&&["GET","HEAD"].includes(r.method)||302===o&&["GET","POST","HEAD"].includes(r.method)||303===o&&"POST"===r.method||307===o)&&(void 0!==r.redirectLimit&&n<r.redirectLimit||void 0===r.redirectLimit&&n<e.maxRetries)){var a=se.parse(r.url);return a.setPath(i),r.url=a.toString(),302!==o&&303!==o||"POST"!==r.method||(r.method="GET",delete r.body),e._nextPolicy.sendRequest(r).then((function(t){return $e(e,t,n+1)})).then((function(e){return function(e,t){return e.redirected||(e.redirected=!0,e.url=t),e}(e,r.url)}))}return Promise.resolve(t)}var Ke=function(e){function t(t,n,r){void 0===r&&(r=30);var o=e.call(this,t,n)||this;return o._retryTimeout=r,o}return q(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).then((function(n){return function(e,t,n){if(409===n.status){var r=function(e){var t,n;if(e){try{n=JSON.parse(e)}catch(e){}if(n&&n.error&&n.error.message&&n.error.code&&"MissingSubscriptionRegistration"===n.error.code){var r=n.error.message.match(/.*'(.*)'/i);r&&(t=r.pop())}}return t}(n.bodyAsText);if(r){var o=function(e){var t=e.match(/.*\/subscriptions\/[a-f0-9-]+\//gi);if(!t||!t[0])throw new Error("Unable to extract subscriptionId from the given url - "+e+".");return t[0]}(t.url);return function(e,t,n,r){var o=t+"providers/"+n+"/register?api-version=2016-02-01",i=t+"providers/"+n+"?api-version=2016-02-01",a=We(r);return a.method="POST",a.url=o,e._nextPolicy.sendRequest(a).then((function(t){if(200!==t.status)throw new Error("Autoregistration of "+n+" failed. Please try registering manually.");return Qe(e,i,r)}))}(e,o,r,t).catch((function(){return!1})).then((function(r){return r?(t.headers.set("x-ms-client-request-id",w()),e._nextPolicy.sendRequest(t.clone())):n}))}}return Promise.resolve(n)}(t,e,n)}))},t}(Te);function We(e,t){void 0===t&&(t=!1);var n=e.clone();return t&&(n.url=e.url),n.headers.set("x-ms-client-request-id",w()),n.headers.set("Content-Type","application/json; charset=utf-8"),n}function Qe(e,t,n){var r=We(n);return r.url=t,r.method="GET",e._nextPolicy.sendRequest(r).then((function(r){var o=r.parsedBody;return!(!r.parsedBody||!o.registrationState||"Registered"!==o.registrationState)||T(1e3*e._retryTimeout).then((function(){return Qe(e,t,n)}))}))}function Ye(e){return{create:function(t,n){return new Xe(t,n,e)}}}var Xe=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.authenticationProvider=r,o}return q(t,e),t.prototype.signRequest=function(e){return this.authenticationProvider.signRequest(e)},t.prototype.sendRequest=function(e){var t=this;return this.signRequest(e).then((function(e){return t._nextPolicy.sendRequest(e)}))},t}(Te);function Je(e,t,n,r){return{create:function(o,i){return new et(o,i,e,t,n,r)}}}var Ze,et=function(e){function t(t,n,r,o,i,a){var s=e.call(this,t,n)||this;return s.DEFAULT_CLIENT_RETRY_INTERVAL=3e4,s.DEFAULT_CLIENT_RETRY_COUNT=3,s.DEFAULT_CLIENT_MAX_RETRY_INTERVAL=9e4,s.DEFAULT_CLIENT_MIN_RETRY_INTERVAL=3e3,s.retryCount="number"==typeof r?r:s.DEFAULT_CLIENT_RETRY_COUNT,s.retryInterval="number"==typeof o?o:s.DEFAULT_CLIENT_RETRY_INTERVAL,s.minRetryInterval="number"==typeof i?i:s.DEFAULT_CLIENT_MIN_RETRY_INTERVAL,s.maxRetryInterval="number"==typeof a?a:s.DEFAULT_CLIENT_MAX_RETRY_INTERVAL,s}return q(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e.clone()).catch((function(n){return tt(t,e,n.response,n)}))},t}(Te);function tt(e,t,n,r,o){return H(this,void 0,void 0,(function(){var i;return V(this,(function(a){switch(a.label){case 0:if(o=function(e,t,n){t||(t={retryCount:0,retryInterval:0}),n&&(t.error&&(n.innerError=t.error),t.error=n),t.retryCount++;var r=Math.pow(2,t.retryCount)-1;return r*=.8*e.retryInterval+Math.floor(Math.random()*(.4*e.retryInterval)),t.retryInterval=Math.min(e.minRetryInterval+r,e.maxRetryInterval),t}(e,o,r),!(r&&r.code&&function(e,t){if(!t)throw new Error("retryData for the SystemErrorRetryPolicyFilter cannot be null.");return(t&&t.retryCount)<e.retryCount}(e,o))||"ETIMEDOUT"!==r.code&&"ESOCKETTIMEDOUT"!==r.code&&"ECONNREFUSED"!==r.code&&"ECONNRESET"!==r.code&&"ENOENT"!==r.code)return[3,5];a.label=1;case 1:return a.trys.push([1,3,,4]),[4,T(o.retryInterval)];case 2:return a.sent(),[2,e._nextPolicy.sendRequest(t.clone())];case 3:return i=a.sent(),[2,tt(e,t,n,i,o)];case 4:return[3,6];case 5:return r?[2,Promise.reject(o.error)]:[2,n];case 6:return[2]}}))}))}function nt(e){return{create:function(t,n){return new ot(t,n,e)}}}!function(e){e.Csv=",",e.Ssv=" ",e.Tsv="\t",e.Pipes="|",e.Multi="Multi"}(Ze||(Ze={}));var rt,ot=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.agentSettings=r,o}return q(t,e),t.prototype.sendRequest=function(e){return e.agentSettings||(e.agentSettings=this.agentSettings),this._nextPolicy.sendRequest(e)},t}(Te),it=(rt=st(Me.NO_PROXY))?rt.split(",").map((function(e){return e.trim()})).filter((function(e){return e.length})):[],at=new Map;function st(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function ct(e){if(e||(e=function(){if(process){var e=st(Me.HTTPS_PROXY),t=st(Me.ALL_PROXY),n=st(Me.HTTP_PROXY);return e||t||n}}())){var t=function(e){var t=e.indexOf("@");if(-1===t)return{urlWithoutAuth:e};var n=e.indexOf("://"),r=-1!==n?n+3:0,o=e.substring(r,t),i=o.indexOf(":"),a=-1!==i;return{username:a?o.substring(0,i):o,password:a?o.substring(i+1):void 0,urlWithoutAuth:e.substring(0,r)+e.substring(t+1)}}(e),n=t.username,r=t.password,o=t.urlWithoutAuth,i=se.parse(o);return{host:(i.getScheme()?i.getScheme()+"://":"")+i.getHost(),port:Number.parseInt(i.getPort()||"80"),username:n,password:r}}}function ut(e){return e||(e=ct()),{create:function(t,n){return new lt(t,n,e)}}}var lt=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.proxySettings=r,o}return q(t,e),t.prototype.sendRequest=function(e){return e.proxySettings||function(e){if(0===it.length)return!1;var t=se.parse(e).getHost();if(at.has(t))return at.get(t);for(var n=!1,r=0,o=it;r<o.length;r++){var i=o[r];"."===i[0]?(t.endsWith(i)||t.length===i.length-1&&t===i.slice(1))&&(n=!0):t===i&&(n=!0)}return at.set(t,n),n}(e.url)||(e.proxySettings=this.proxySettings),this._nextPolicy.sendRequest(e)},t}(Te),pt=Me.HttpConstants.StatusCodes,dt=3;function ht(e){return void 0===e&&(e=dt),{create:function(t,n){return new mt(t,n,e)}}}var mt=function(e){function t(t,n,r){var o=e.call(this,t,n)||this;return o.retryLimit=r,o}return q(t,e),t.prototype.sendRequest=function(e){return H(this,void 0,void 0,(function(){var t=this;return V(this,(function(n){return[2,this._nextPolicy.sendRequest(e.clone()).then((function(n){return t.retry(e,n,0)}))]}))}))},t.prototype.retry=function(e,n,r){return H(this,void 0,void 0,(function(){var o,i,a;return V(this,(function(s){switch(s.label){case 0:return n.status!==pt.TooManyRequests?[2,n]:(o=n.headers.get(Me.HeaderConstants.RETRY_AFTER))&&r<this.retryLimit&&(i=t.parseRetryAfterHeader(o))?[4,T(i)]:[3,3];case 1:return s.sent(),[4,this._nextPolicy.sendRequest(e)];case 2:return a=s.sent(),[2,this.retry(e,a,r+1)];case 3:return[2,n]}}))}))},t.parseRetryAfterHeader=function(e){var n=Number(e);return Number.isNaN(n)?t.parseDateRetryAfterHeader(e):1e3*n},t.parseDateRetryAfterHeader=function(e){try{var t=Date.now(),n=Date.parse(e)-t;return Number.isNaN(n)?void 0:n}catch(e){return}},t}(Te),ft=["https://management.windows.net","https://management.chinacloudapi.cn","https://management.usgovcloudapi.net","https://management.cloudapi.de"],gt=function(){function e(e,t){void 0===t&&(t="https://management.azure.com/.default"),this.azureTokenCredential=e,this.scopes=t}return e.prototype.getToken=function(){return H(this,void 0,void 0,(function(){var e;return V(this,(function(t){switch(t.label){case 0:return[4,this.azureTokenCredential.getToken(this.scopes)];case 1:if(null!==(e=t.sent()))return[2,{accessToken:e.token,tokenType:"Bearer",expiresOn:e.expiresOnTimestamp}];throw new Error("Could find token for scope")}}))}))},e.prototype.signRequest=function(e){return H(this,void 0,void 0,(function(){var t;return V(this,(function(n){switch(n.label){case 0:return[4,this.getToken()];case 1:return t=n.sent(),e.headers.set(Me.HeaderConstants.AUTHORIZATION,t.tokenType+" "+t.accessToken),[2,Promise.resolve(e)]}}))}))},e}(),vt=function(){function e(e,t){var n,r,o;if(t||(t={}),t.baseUri&&(this.baseUri=t.baseUri),(r=e)&&"function"==typeof r.getToken&&(void 0===r.signRequest||r.getToken.length>0)){var i=void 0;(null==t?void 0:t.baseUri)&&ft.includes(null==t?void 0:t.baseUri)&&(i=t.baseUri+"/.default"),n=new gt(e,i)}else n=e;if(n&&!n.signRequest)throw new Error("credentials argument needs to implement signRequest method");if(this._withCredentials=t.withCredentials||!1,this._httpClient=t.httpClient||new ye,this._requestPolicyOptions=new Se(t.httpPipelineLogger),Array.isArray(t.requestPolicyFactories))o=t.requestPolicyFactories;else if(o=function(e,t){var n=[];t.generateClientRequestIdHeader&&n.push(Ne(t.clientRequestIdHeaderName)),e&&("function"==typeof e.create?n.push(e):n.push(Ye(e)));var r=yt(t.userAgentHeaderName,Fe),o=yt(t.userAgent,Ue);r&&o&&n.push(qe({key:r,value:o}));var i,a=B(B({},He),t.redirectOptions);a.handleRedirects&&n.push(Ve(a.maxRetries)),n.push((void 0===(i=t.rpRegistrationRetryTimeout)&&(i=30),{create:function(e,t){return new Ke(e,t,i)}})),t.noRetryPolicy||(n.push(Pe()),n.push(Je()),n.push(ht())),n.push(xe(t.deserializationContentTypes));var s=t.proxySettings||ct();return s&&n.push(ut(s)),t.agentSettings&&n.push(nt(t.agentSettings)),n}(n,t),t.requestPolicyFactories){var a=t.requestPolicyFactories(o);a&&(o=a)}this._requestPolicyFactories=o}return e.prototype.sendRequest=function(e){if(null==e||"object"!=typeof e)throw new Error("options cannot be null or undefined and it must be of type object.");var t,n;try{"object"==typeof(n=e)&&"string"==typeof n.url&&"string"==typeof n.method&&"object"==typeof n.headers&&o(n.headers)&&"function"==typeof n.validateRequestProperties&&"function"==typeof n.prepare&&"function"==typeof n.clone?(e.validateRequestProperties(),t=e):t=(t=new F).prepare(e)}catch(e){return Promise.reject(e)}var r=this._httpClient;if(this._requestPolicyFactories&&this._requestPolicyFactories.length>0)for(var i=this._requestPolicyFactories.length-1;i>=0;--i)r=this._requestPolicyFactories[i].create(r,this._requestPolicyOptions);return r.sendRequest(t)},e.prototype.sendOperationRequest=function(e,t,n){"function"==typeof e.options&&(n=e.options,e.options=void 0);var r,o=new F;try{var i=t.baseUrl||this.baseUri;if(!i)throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a baseUri string property that contains the base URL to use.");o.method=t.httpMethod,o.operationSpec=t;var a=se.parse(i);if(t.path&&a.appendPath(t.path),t.urlParameters&&t.urlParameters.length>0)for(var s=0,c=t.urlParameters;s<c.length;s++){var u=c[s],l=bt(this,e,u,t.serializer);l=t.serializer.serialize(u.mapper,l,be(u)),u.skipEncoding||(l=encodeURIComponent(l)),a.replaceAll("{"+(u.mapper.serializedName||be(u))+"}",l)}if(t.queryParameters&&t.queryParameters.length>0)for(var p=0,d=t.queryParameters;p<d.length;p++){var h=d[p],m=bt(this,e,h,t.serializer);if(null!=m){if(m=t.serializer.serialize(h.mapper,m,be(h)),null!=h.collectionFormat)if(h.collectionFormat===Ze.Multi)if(0===m.length)m="";else for(var f in m){var g=m[f];m[f]=null==g?"":g.toString()}else h.collectionFormat!==Ze.Ssv&&h.collectionFormat!==Ze.Tsv||(m=m.join(h.collectionFormat));if(!h.skipEncoding)if(Array.isArray(m))for(var f in m)void 0!==m[f]&&null!==m[f]&&(m[f]=encodeURIComponent(m[f]));else m=encodeURIComponent(m);null!=h.collectionFormat&&h.collectionFormat!==Ze.Multi&&h.collectionFormat!==Ze.Ssv&&h.collectionFormat!==Ze.Tsv&&(m=m.join(h.collectionFormat)),a.setQueryParameter(h.mapper.serializedName||be(h),m)}}o.url=a.toString();var v=t.contentType||this.requestContentType;if(v&&o.headers.set("Content-Type",v),t.headerParameters)for(var y=0,b=t.headerParameters;y<b.length;y++){var _=b[y],E=bt(this,e,_,t.serializer);if(null!=E){E=t.serializer.serialize(_.mapper,E,be(_));var w=_.mapper.headerCollectionPrefix;if(w)for(var k=0,T=Object.keys(E);k<T.length;k++){var S=T[k];o.headers.set(w+S,E[S])}else o.headers.set(_.mapper.serializedName||be(_),E)}}var x=e.options;if(x){if(x.customHeaders)for(var C in x.customHeaders)o.headers.set(C,x.customHeaders[C]);x.abortSignal&&(o.abortSignal=x.abortSignal),x.timeout&&(o.timeout=x.timeout),x.onUploadProgress&&(o.onUploadProgress=x.onUploadProgress),x.onDownloadProgress&&(o.onDownloadProgress=x.onDownloadProgress)}o.withCredentials=this._withCredentials,function(e,t,n,r){if(r.requestBody&&r.requestBody.mapper){t.body=bt(e,n,r.requestBody,r.serializer);var o=r.requestBody.mapper,i=o.required,a=o.xmlName,s=o.xmlElementName,c=o.serializedName,u=o.type.name;try{if(null!=t.body||i){var l=be(r.requestBody);t.body=r.serializer.serialize(o,t.body,l);var p=u===z.Stream;r.isXML?u===z.Sequence?t.body=ke(function(e,t){var n;return Array.isArray(e)||(e=[e]),(n={})[t]=e,n}(t.body,s||a||c),{rootName:a||c}):p||(t.body=ke(t.body,{rootName:a||c})):p||(t.body=JSON.stringify(t.body))}}catch(e){throw new Error('Error "'+e.message+'" occurred in serializing the payload - '+JSON.stringify(c,void 0,"  ")+".")}}else if(r.formDataParameters&&r.formDataParameters.length>0){t.formData={};for(var d=0,h=r.formDataParameters;d<h.length;d++){var m=h[d],f=bt(e,n,m,r.serializer);if(null!=f){var g=m.mapper.serializedName||be(m);t.formData[g]=r.serializer.serialize(m.mapper,f,be(m))}}}}(this,o,e,t),null==o.streamResponseBody&&(o.streamResponseBody=Ee(t)),r=this.sendRequest(o).then((function(e){return wt(e,t.responses[e.status])}))}catch(e){r=Promise.reject(e)}var A=n;return A&&r.then((function(e){return A(null,e._response.parsedBody,e._response.request,e._response)})).catch((function(e){return A(e)})),r},e}();function yt(e,t){var n;return"string"==typeof e?n=e:(n=t(),"function"==typeof e&&(n=e(n))),n}function bt(e,t,n,r){return _t(e,t,n.parameterPath,n.mapper,r)}function _t(e,t,n,r,o){var i;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0){if(r.isConstant)i=r.defaultValue;else{var a=Et(t,n);a.propertyFound||(a=Et(e,n));var s=!1;a.propertyFound||(s=r.required||"options"===n[0]&&2===n.length),i=s?r.defaultValue:a.propertyValue}var c=_e(n,r);o.serialize(r,i,c)}}else for(var u in r.required&&(i={}),n){var l=r.type.modelProperties[u],p=n[u],d=_t(e,t,p,l,o),h=_e(p,l);o.serialize(l,d,h),void 0!==d&&(i||(i={}),i[u]=d)}return i}function Et(e,t){for(var n={propertyFound:!1},r=0;r<t.length;++r){var o=t[r];if(null==e||!(o in e))break;e=e[o]}return r===t.length&&(n.propertyValue=e,n.propertyFound=!0),n}function wt(e,t){var n,r=e.parsedHeaders,o=t&&t.bodyMapper,i=function(t){return Object.defineProperty(t,"_response",{value:e})};if(o){var a=o.type.name;if("Stream"===a)return i(B(B({},r),{blobBody:e.blobBody,readableStreamBody:e.readableStreamBody}));var s="Composite"===a&&o.type.modelProperties||{},c=Object.keys(s).some((function(e){return""===s[e].serializedName}));if("Sequence"===a||c){for(var u=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}(Array.isArray(e.parsedBody)?e.parsedBody:[]),l=0,p=Object.keys(s);l<p.length;l++){var d=p[l];s[d].serializedName&&(u[d]=e.parsedBody[d])}if(r)for(var h=0,m=Object.keys(r);h<m.length;h++)u[d=m[h]]=r[d];return i(u),u}if("Composite"===a||"Dictionary"===a)return i(B(B({},r),e.parsedBody))}return o||"HEAD"===e.request.method||"object"!=typeof(n=e.parsedBody)&&"function"!=typeof n||null===n?i(B(B({},r),{body:e.parsedBody})):i(B(B({},r),e.parsedBody))}function kt(e){return void 0===e&&(e=console.log),{create:function(t,n){return new Tt(t,n,e)}}}var Tt=function(e){function t(t,n,r){void 0===r&&(r=console.log);var o=e.call(this,t,n)||this;return o.logger=r,o}return q(t,e),t.prototype.sendRequest=function(e){var t=this;return this._nextPolicy.sendRequest(e).then((function(e){return function(e,t){e.logger(">> Request: "+JSON.stringify(t.request,void 0,2)),e.logger(">> Response status code: "+t.status);var n=t.bodyAsText;return e.logger(">> Body: "+n),Promise.resolve(t)}(t,e)}))},t}(Te),St=Me.HeaderConstants,xt="Bearer",Ct=function(){function e(e,t){if(void 0===t&&(t=xt),this.authorizationScheme=xt,!e)throw new Error("token cannot be null or undefined.");this.token=e,this.authorizationScheme=t}return e.prototype.signRequest=function(e){return e.headers||(e.headers=new i),e.headers.set(St.AUTHORIZATION,this.authorizationScheme+" "+this.token),Promise.resolve(e)},e}(),At=Me.HeaderConstants,It="Basic",Rt=function(){function e(e,t,n){if(void 0===n&&(n=It),this.authorizationScheme=It,null==e||"string"!=typeof e.valueOf())throw new Error("userName cannot be null or undefined and must be of type string.");if(null==t||"string"!=typeof t.valueOf())throw new Error("password cannot be null or undefined and must be of type string.");this.userName=e,this.password=t,this.authorizationScheme=n}return e.prototype.signRequest=function(e){var t,n=this.userName+":"+this.password,r=this.authorizationScheme+" "+(t=n,Buffer.from(t).toString("base64"));return e.headers||(e.headers=new i),e.headers.set(At.AUTHORIZATION,r),Promise.resolve(e)},e}(),Pt=function(){function e(e){if(!e||e&&!e.inHeader&&!e.inQuery)throw new Error('options cannot be null or undefined. Either "inHeader" or "inQuery" property of the options object needs to be provided.');this.inHeader=e.inHeader,this.inQuery=e.inQuery}return e.prototype.signRequest=function(e){if(!e)return Promise.reject(new Error('webResource cannot be null or undefined and must be of type "object".'));if(this.inHeader)for(var t in e.headers||(e.headers=new i),this.inHeader)e.headers.set(t,this.inHeader[t]);if(this.inQuery){if(!e.url)return Promise.reject(new Error("url cannot be null in the request object."));for(var n in e.url.indexOf("?")<0&&(e.url+="?"),this.inQuery)e.url.endsWith("?")||(e.url+="&"),e.url+=n+"="+this.inQuery[n]}return Promise.resolve(e)},e}(),Ot=function(e){function t(t){if(!t||t&&"string"!=typeof t)throw new Error("topicKey cannot be null or undefined and must be of type string.");var n={inHeader:{"aeg-sas-key":t}};return e.call(this,n)||this}return q(t,e),t}(Pt),jt=function(e){function t(t){if(!t||t&&"string"!=typeof t)throw new Error("domainKey cannot be null or undefined and must be of type string.");var n={inHeader:{"aeg-sas-key":t}};return e.call(this,n)||this}return q(t,e),t}(Pt)},7045:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AADServerParamKeys:()=>d,AccessTokenEntity:()=>Ce,AccountEntity:()=>ae,AppMetadataEntity:()=>Fe,AuthError:()=>V,AuthErrorMessage:()=>H,AuthToken:()=>se,AuthenticationHeaderParser:()=>dt,AuthenticationScheme:()=>P,Authority:()=>tt,AuthorityFactory:()=>nt,AuthorityMetadataEntity:()=>Ze,AuthorityType:()=>Z,AuthorizationCodeClient:()=>Be,AzureCloudInstance:()=>Q,CacheAccountType:()=>E,CacheManager:()=>ce,CacheRecord:()=>je,CacheSchemaType:()=>T,CacheType:()=>S,CcsCredentialType:()=>ie,ClaimsRequestKeys:()=>h,ClientAuthError:()=>K,ClientAuthErrorMessage:()=>$,ClientConfigurationError:()=>te,ClientConfigurationErrorMessage:()=>ee,ClientCredentialClient:()=>Ge,CodeChallengeMethodValues:()=>x,Constants:()=>m,CredentialEntity:()=>J,CredentialType:()=>k,DEFAULT_CRYPTO_IMPLEMENTATION:()=>G,DEFAULT_SYSTEM_OPTIONS:()=>le,DefaultStorageClass:()=>ue,DeviceCodeClient:()=>He,Errors:()=>U,HeaderNames:()=>u,IdToken:()=>se,IdTokenEntity:()=>Se,IntFields:()=>Le,InteractionRequiredAuthError:()=>Oe,InteractionRequiredAuthErrorMessage:()=>Pe,JoseHeader:()=>pt,LogLevel:()=>q,Logger:()=>Y,NetworkManager:()=>be,OIDC_DEFAULT_SCOPES:()=>f,ONE_DAY_IN_MS:()=>B,OnBehalfOfClient:()=>$e,PasswordGrantConstants:()=>j,PerformanceClient:()=>mt,PerformanceEventStatus:()=>Ee,PerformanceEvents:()=>_e,PersistentCacheKeys:()=>l,PopTokenGenerator:()=>ze,PromptValue:()=>y,ProtocolMode:()=>Ye,ProtocolUtils:()=>Ne,RefreshTokenClient:()=>Ve,RefreshTokenEntity:()=>Ae,ResponseMode:()=>b,SSOTypes:()=>v,ScopeSet:()=>ne,ServerError:()=>ve,ServerTelemetryEntity:()=>rt,ServerTelemetryManager:()=>ht,SilentFlowClient:()=>Ke,StringUtils:()=>W,StubPerformanceClient:()=>gt,StubbedNetworkModule:()=>it,THE_FAMILY_ID:()=>I,ThrottlingConstants:()=>F,ThrottlingEntity:()=>ot,ThrottlingUtils:()=>ye,TimeUtils:()=>xe,TokenCacheContext:()=>Ue,UrlString:()=>De,UsernamePasswordClient:()=>We,buildClientInfo:()=>re,buildClientInfoFromHomeAccountId:()=>oe,version:()=>X});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function s(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function c(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var u,l,p,d,h,m={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",REGIONAL_AUTH_NON_MSI_QUERY_STRING:"allowestsrnonmsi=true",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},f=[m.OPENID_SCOPE,m.PROFILE_SCOPE,m.OFFLINE_ACCESS_SCOPE],g=c(f,[m.EMAIL_SCOPE]);!function(e){e.CONTENT_TYPE="Content-Type",e.RETRY_AFTER="Retry-After",e.CCS_HEADER="X-AnchorMailbox",e.WWWAuthenticate="WWW-Authenticate",e.AuthenticationInfo="Authentication-Info",e.X_MS_REQUEST_ID="x-ms-request-id",e.X_MS_HTTP_VERSION="x-ms-httpver"}(u||(u={})),function(e){e.ID_TOKEN="idtoken",e.CLIENT_INFO="client.info",e.ADAL_ID_TOKEN="adal.idtoken",e.ERROR="error",e.ERROR_DESC="error.description",e.ACTIVE_ACCOUNT="active-account",e.ACTIVE_ACCOUNT_FILTERS="active-account-filters"}(l||(l={})),function(e){e.COMMON="common",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers"}(p||(p={})),function(e){e.CLIENT_ID="client_id",e.REDIRECT_URI="redirect_uri",e.RESPONSE_TYPE="response_type",e.RESPONSE_MODE="response_mode",e.GRANT_TYPE="grant_type",e.CLAIMS="claims",e.SCOPE="scope",e.ERROR="error",e.ERROR_DESCRIPTION="error_description",e.ACCESS_TOKEN="access_token",e.ID_TOKEN="id_token",e.REFRESH_TOKEN="refresh_token",e.EXPIRES_IN="expires_in",e.STATE="state",e.NONCE="nonce",e.PROMPT="prompt",e.SESSION_STATE="session_state",e.CLIENT_INFO="client_info",e.CODE="code",e.CODE_CHALLENGE="code_challenge",e.CODE_CHALLENGE_METHOD="code_challenge_method",e.CODE_VERIFIER="code_verifier",e.CLIENT_REQUEST_ID="client-request-id",e.X_CLIENT_SKU="x-client-SKU",e.X_CLIENT_VER="x-client-VER",e.X_CLIENT_OS="x-client-OS",e.X_CLIENT_CPU="x-client-CPU",e.X_CLIENT_CURR_TELEM="x-client-current-telemetry",e.X_CLIENT_LAST_TELEM="x-client-last-telemetry",e.X_MS_LIB_CAPABILITY="x-ms-lib-capability",e.X_APP_NAME="x-app-name",e.X_APP_VER="x-app-ver",e.POST_LOGOUT_URI="post_logout_redirect_uri",e.ID_TOKEN_HINT="id_token_hint",e.DEVICE_CODE="device_code",e.CLIENT_SECRET="client_secret",e.CLIENT_ASSERTION="client_assertion",e.CLIENT_ASSERTION_TYPE="client_assertion_type",e.TOKEN_TYPE="token_type",e.REQ_CNF="req_cnf",e.OBO_ASSERTION="assertion",e.REQUESTED_TOKEN_USE="requested_token_use",e.ON_BEHALF_OF="on_behalf_of",e.FOCI="foci",e.CCS_HEADER="X-AnchorMailbox",e.RETURN_SPA_CODE="return_spa_code",e.NATIVE_BROKER="nativebroker",e.LOGOUT_HINT="logout_hint"}(d||(d={})),function(e){e.ACCESS_TOKEN="access_token",e.XMS_CC="xms_cc"}(h||(h={}));var v,y={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"};!function(e){e.ACCOUNT="account",e.SID="sid",e.LOGIN_HINT="login_hint",e.ID_TOKEN="id_token",e.DOMAIN_HINT="domain_hint",e.ORGANIZATIONS="organizations",e.CONSUMERS="consumers",e.ACCOUNT_ID="accountIdentifier",e.HOMEACCOUNT_ID="homeAccountIdentifier"}(v||(v={}));var b,_,E,w,k,T,S,x={PLAIN:"plain",S256:"S256"};!function(e){e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post"}(b||(b={})),function(e){e.IMPLICIT_GRANT="implicit",e.AUTHORIZATION_CODE_GRANT="authorization_code",e.CLIENT_CREDENTIALS_GRANT="client_credentials",e.RESOURCE_OWNER_PASSWORD_GRANT="password",e.REFRESH_TOKEN_GRANT="refresh_token",e.DEVICE_CODE_GRANT="device_code",e.JWT_BEARER="urn:ietf:params:oauth:grant-type:jwt-bearer"}(_||(_={})),function(e){e.MSSTS_ACCOUNT_TYPE="MSSTS",e.ADFS_ACCOUNT_TYPE="ADFS",e.MSAV1_ACCOUNT_TYPE="MSA",e.GENERIC_ACCOUNT_TYPE="Generic"}(E||(E={})),function(e){e.CACHE_KEY_SEPARATOR="-",e.CLIENT_INFO_SEPARATOR="."}(w||(w={})),function(e){e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.ACCESS_TOKEN_WITH_AUTH_SCHEME="AccessToken_With_AuthScheme",e.REFRESH_TOKEN="RefreshToken"}(k||(k={})),function(e){e.ACCOUNT="Account",e.CREDENTIAL="Credential",e.ID_TOKEN="IdToken",e.ACCESS_TOKEN="AccessToken",e.REFRESH_TOKEN="RefreshToken",e.APP_METADATA="AppMetadata",e.TEMPORARY="TempCache",e.TELEMETRY="Telemetry",e.UNDEFINED="Undefined",e.THROTTLING="Throttling"}(T||(T={})),function(e){e[e.ADFS=1001]="ADFS",e[e.MSA=1002]="MSA",e[e.MSSTS=1003]="MSSTS",e[e.GENERIC=1004]="GENERIC",e[e.ACCESS_TOKEN=2001]="ACCESS_TOKEN",e[e.REFRESH_TOKEN=2002]="REFRESH_TOKEN",e[e.ID_TOKEN=2003]="ID_TOKEN",e[e.APP_METADATA=3001]="APP_METADATA",e[e.UNDEFINED=9999]="UNDEFINED"}(S||(S={}));var C,A="appmetadata",I="1",R="authority-metadata";!function(e){e.CONFIG="config",e.CACHE="cache",e.NETWORK="network",e.HARDCODED_VALUES="hardcoded_values"}(C||(C={}));var P,O={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"};!function(e){e.BEARER="Bearer",e.POP="pop",e.SSH="ssh-cert"}(P||(P={}));var j,N,D,M,L,z,F={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},U={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"};!function(e){e.username="username",e.password="password"}(j||(j={})),function(e){e[e.httpSuccess=200]="httpSuccess",e[e.httpBadRequest=400]="httpBadRequest"}(N||(N={})),function(e){e.FAILED_AUTO_DETECTION="1",e.INTERNAL_CACHE="2",e.ENVIRONMENT_VARIABLE="3",e.IMDS="4"}(D||(D={})),function(e){e.CONFIGURED_MATCHES_DETECTED="1",e.CONFIGURED_NO_AUTO_DETECTION="2",e.CONFIGURED_NOT_DETECTED="3",e.AUTO_DETECTION_REQUESTED_SUCCESSFUL="4",e.AUTO_DETECTION_REQUESTED_FAILED="5"}(M||(M={})),function(e){e.NO_CACHE_HIT="0",e.FORCE_REFRESH="1",e.NO_CACHED_ACCESS_TOKEN="2",e.CACHED_ACCESS_TOKEN_EXPIRED="3",e.REFRESH_CACHED_ACCESS_TOKEN="4"}(L||(L={})),function(e){e.Jwt="JWT",e.Jwk="JWK",e.Pop="pop"}(z||(z={}));var q,B=864e5,H={unexpectedError:{code:"unexpected_error",desc:"Unexpected error in authentication."},postRequestFailed:{code:"post_request_failed",desc:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."}},V=function(e){function t(n,r,o){var i=this,a=r?n+": "+r:n;return i=e.call(this,a)||this,Object.setPrototypeOf(i,t.prototype),i.errorCode=n||m.EMPTY_STRING,i.errorMessage=r||m.EMPTY_STRING,i.subError=o||m.EMPTY_STRING,i.name="AuthError",i}return o(t,e),t.prototype.setCorrelationId=function(e){this.correlationId=e},t.createUnexpectedError=function(e){return new t(H.unexpectedError.code,H.unexpectedError.desc+": "+e)},t.createPostRequestFailed=function(e){return new t(H.postRequestFailed.code,H.postRequestFailed.desc+": "+e)},t}(Error),G={createNewGuid:function(){throw V.createUnexpectedError("Crypto interface - createNewGuid() has not been implemented")},base64Decode:function(){throw V.createUnexpectedError("Crypto interface - base64Decode() has not been implemented")},base64Encode:function(){throw V.createUnexpectedError("Crypto interface - base64Encode() has not been implemented")},generatePkceCodes:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - generatePkceCodes() has not been implemented")}))}))},getPublicKeyThumbprint:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - getPublicKeyThumbprint() has not been implemented")}))}))},removeTokenBindingKey:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - removeTokenBindingKey() has not been implemented")}))}))},clearKeystore:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - clearKeystore() has not been implemented")}))}))},signJwt:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - signJwt() has not been implemented")}))}))},hashString:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Crypto interface - hashString() has not been implemented")}))}))}},$={clientInfoDecodingError:{code:"client_info_decoding_error",desc:"The client info could not be parsed/decoded correctly. Please review the trace to determine the root cause."},clientInfoEmptyError:{code:"client_info_empty_error",desc:"The client info was empty. Please review the trace to determine the root cause."},tokenParsingError:{code:"token_parsing_error",desc:"Token cannot be parsed. Please review stack trace to determine root cause."},nullOrEmptyToken:{code:"null_or_empty_token",desc:"The token is null or empty. Please review the trace to determine the root cause."},endpointResolutionError:{code:"endpoints_resolution_error",desc:"Error: could not resolve endpoints. Please check network and try again."},networkError:{code:"network_error",desc:"Network request failed. Please check network trace to determine root cause."},unableToGetOpenidConfigError:{code:"openid_config_error",desc:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints."},hashNotDeserialized:{code:"hash_not_deserialized",desc:"The hash parameters could not be deserialized. Please review the trace to determine the root cause."},blankGuidGenerated:{code:"blank_guid_generated",desc:"The guid generated was blank. Please review the trace to determine the root cause."},invalidStateError:{code:"invalid_state",desc:"State was not the expected format. Please check the logs to determine whether the request was sent using ProtocolUtils.setRequestState()."},stateMismatchError:{code:"state_mismatch",desc:"State mismatch error. Please check your network. Continued requests may cause cache overflow."},stateNotFoundError:{code:"state_not_found",desc:"State not found"},nonceMismatchError:{code:"nonce_mismatch",desc:"Nonce mismatch error. This may be caused by a race condition in concurrent requests."},nonceNotFoundError:{code:"nonce_not_found",desc:"nonce not found"},authTimeNotFoundError:{code:"auth_time_not_found",desc:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information."},maxAgeTranspiredError:{code:"max_age_transpired",desc:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication."},noTokensFoundError:{code:"no_tokens_found",desc:"No tokens were found for the given scopes, and no authorization code was passed to acquireToken. You must retrieve an authorization code before making a call to acquireToken()."},multipleMatchingTokens:{code:"multiple_matching_tokens",desc:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account."},multipleMatchingAccounts:{code:"multiple_matching_accounts",desc:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account"},multipleMatchingAppMetadata:{code:"multiple_matching_appMetadata",desc:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata"},tokenRequestCannotBeMade:{code:"request_cannot_be_made",desc:"Token request cannot be made without authorization code or refresh token."},appendEmptyScopeError:{code:"cannot_append_empty_scope",desc:"Cannot append null or empty scope to ScopeSet. Please check the stack trace for more info."},removeEmptyScopeError:{code:"cannot_remove_empty_scope",desc:"Cannot remove null or empty scope from ScopeSet. Please check the stack trace for more info."},appendScopeSetError:{code:"cannot_append_scopeset",desc:"Cannot append ScopeSet due to error."},emptyInputScopeSetError:{code:"empty_input_scopeset",desc:"Empty input ScopeSet cannot be processed."},DeviceCodePollingCancelled:{code:"device_code_polling_cancelled",desc:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true."},DeviceCodeExpired:{code:"device_code_expired",desc:"Device code is expired."},DeviceCodeUnknownError:{code:"device_code_unknown_error",desc:"Device code stopped polling for unknown reasons."},NoAccountInSilentRequest:{code:"no_account_in_silent_request",desc:"Please pass an account object, silent flow is not supported without account information"},invalidCacheRecord:{code:"invalid_cache_record",desc:"Cache record object was null or undefined."},invalidCacheEnvironment:{code:"invalid_cache_environment",desc:"Invalid environment when attempting to create cache entry"},noAccountFound:{code:"no_account_found",desc:"No account found in cache for given key."},CachePluginError:{code:"no cache plugin set on CacheManager",desc:"ICachePlugin needs to be set before using readFromStorage or writeFromStorage"},noCryptoObj:{code:"no_crypto_object",desc:"No crypto object detected. This is required for the following operation: "},invalidCacheType:{code:"invalid_cache_type",desc:"Invalid cache type"},unexpectedAccountType:{code:"unexpected_account_type",desc:"Unexpected account type."},unexpectedCredentialType:{code:"unexpected_credential_type",desc:"Unexpected credential type."},invalidAssertion:{code:"invalid_assertion",desc:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515"},invalidClientCredential:{code:"invalid_client_credential",desc:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential"},tokenRefreshRequired:{code:"token_refresh_required",desc:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired."},userTimeoutReached:{code:"user_timeout_reached",desc:"User defined timeout for device code polling reached"},tokenClaimsRequired:{code:"token_claims_cnf_required_for_signedjwt",desc:"Cannot generate a POP jwt if the token_claims are not populated"},noAuthorizationCodeFromServer:{code:"authorization_code_missing_from_server_response",desc:"Server response does not contain an authorization code to proceed"},noAzureRegionDetected:{code:"no_azure_region_detected",desc:"No azure region was detected and no fallback was made available"},accessTokenEntityNullError:{code:"access_token_entity_null",desc:"Access token entity is null, please check logs and cache to ensure a valid access token is present."},bindingKeyNotRemovedError:{code:"binding_key_not_removed",desc:"Could not remove the credential's binding key from storage."},logoutNotSupported:{code:"end_session_endpoint_not_supported",desc:"Provided authority does not support logout."},keyIdMissing:{code:"key_id_missing",desc:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key."},noNetworkConnectivity:{code:"no_network_connectivity",desc:"No network connectivity. Check your internet connection."},userCanceledError:{code:"user_canceled",desc:"User canceled the flow."}},K=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientAuthError",Object.setPrototypeOf(o,t.prototype),o}return o(t,e),t.createClientInfoDecodingError=function(e){return new t($.clientInfoDecodingError.code,$.clientInfoDecodingError.desc+" Failed with error: "+e)},t.createClientInfoEmptyError=function(){return new t($.clientInfoEmptyError.code,""+$.clientInfoEmptyError.desc)},t.createTokenParsingError=function(e){return new t($.tokenParsingError.code,$.tokenParsingError.desc+" Failed with error: "+e)},t.createTokenNullOrEmptyError=function(e){return new t($.nullOrEmptyToken.code,$.nullOrEmptyToken.desc+" Raw Token Value: "+e)},t.createEndpointDiscoveryIncompleteError=function(e){return new t($.endpointResolutionError.code,$.endpointResolutionError.desc+" Detail: "+e)},t.createNetworkError=function(e,n){return new t($.networkError.code,$.networkError.desc+" | Fetch client threw: "+n+" | Attempted to reach: "+e.split("?")[0])},t.createUnableToGetOpenidConfigError=function(e){return new t($.unableToGetOpenidConfigError.code,$.unableToGetOpenidConfigError.desc+" Attempted to retrieve endpoints from: "+e)},t.createHashNotDeserializedError=function(e){return new t($.hashNotDeserialized.code,$.hashNotDeserialized.desc+" Given Object: "+e)},t.createInvalidStateError=function(e,n){return new t($.invalidStateError.code,$.invalidStateError.desc+" Invalid State: "+e+", Root Err: "+n)},t.createStateMismatchError=function(){return new t($.stateMismatchError.code,$.stateMismatchError.desc)},t.createStateNotFoundError=function(e){return new t($.stateNotFoundError.code,$.stateNotFoundError.desc+":  "+e)},t.createNonceMismatchError=function(){return new t($.nonceMismatchError.code,$.nonceMismatchError.desc)},t.createAuthTimeNotFoundError=function(){return new t($.authTimeNotFoundError.code,$.authTimeNotFoundError.desc)},t.createMaxAgeTranspiredError=function(){return new t($.maxAgeTranspiredError.code,$.maxAgeTranspiredError.desc)},t.createNonceNotFoundError=function(e){return new t($.nonceNotFoundError.code,$.nonceNotFoundError.desc+":  "+e)},t.createMultipleMatchingTokensInCacheError=function(){return new t($.multipleMatchingTokens.code,$.multipleMatchingTokens.desc+".")},t.createMultipleMatchingAccountsInCacheError=function(){return new t($.multipleMatchingAccounts.code,$.multipleMatchingAccounts.desc)},t.createMultipleMatchingAppMetadataInCacheError=function(){return new t($.multipleMatchingAppMetadata.code,$.multipleMatchingAppMetadata.desc)},t.createTokenRequestCannotBeMadeError=function(){return new t($.tokenRequestCannotBeMade.code,$.tokenRequestCannotBeMade.desc)},t.createAppendEmptyScopeToSetError=function(e){return new t($.appendEmptyScopeError.code,$.appendEmptyScopeError.desc+" Given Scope: "+e)},t.createRemoveEmptyScopeFromSetError=function(e){return new t($.removeEmptyScopeError.code,$.removeEmptyScopeError.desc+" Given Scope: "+e)},t.createAppendScopeSetError=function(e){return new t($.appendScopeSetError.code,$.appendScopeSetError.desc+" Detail Error: "+e)},t.createEmptyInputScopeSetError=function(){return new t($.emptyInputScopeSetError.code,""+$.emptyInputScopeSetError.desc)},t.createDeviceCodeCancelledError=function(){return new t($.DeviceCodePollingCancelled.code,""+$.DeviceCodePollingCancelled.desc)},t.createDeviceCodeExpiredError=function(){return new t($.DeviceCodeExpired.code,""+$.DeviceCodeExpired.desc)},t.createDeviceCodeUnknownError=function(){return new t($.DeviceCodeUnknownError.code,""+$.DeviceCodeUnknownError.desc)},t.createNoAccountInSilentRequestError=function(){return new t($.NoAccountInSilentRequest.code,""+$.NoAccountInSilentRequest.desc)},t.createNullOrUndefinedCacheRecord=function(){return new t($.invalidCacheRecord.code,$.invalidCacheRecord.desc)},t.createInvalidCacheEnvironmentError=function(){return new t($.invalidCacheEnvironment.code,$.invalidCacheEnvironment.desc)},t.createNoAccountFoundError=function(){return new t($.noAccountFound.code,$.noAccountFound.desc)},t.createCachePluginError=function(){return new t($.CachePluginError.code,""+$.CachePluginError.desc)},t.createNoCryptoObjectError=function(e){return new t($.noCryptoObj.code,""+$.noCryptoObj.desc+e)},t.createInvalidCacheTypeError=function(){return new t($.invalidCacheType.code,""+$.invalidCacheType.desc)},t.createUnexpectedAccountTypeError=function(){return new t($.unexpectedAccountType.code,""+$.unexpectedAccountType.desc)},t.createUnexpectedCredentialTypeError=function(){return new t($.unexpectedCredentialType.code,""+$.unexpectedCredentialType.desc)},t.createInvalidAssertionError=function(){return new t($.invalidAssertion.code,""+$.invalidAssertion.desc)},t.createInvalidCredentialError=function(){return new t($.invalidClientCredential.code,""+$.invalidClientCredential.desc)},t.createRefreshRequiredError=function(){return new t($.tokenRefreshRequired.code,$.tokenRefreshRequired.desc)},t.createUserTimeoutReachedError=function(){return new t($.userTimeoutReached.code,$.userTimeoutReached.desc)},t.createTokenClaimsRequiredError=function(){return new t($.tokenClaimsRequired.code,$.tokenClaimsRequired.desc)},t.createNoAuthCodeInServerResponseError=function(){return new t($.noAuthorizationCodeFromServer.code,$.noAuthorizationCodeFromServer.desc)},t.createBindingKeyNotRemovedError=function(){return new t($.bindingKeyNotRemovedError.code,$.bindingKeyNotRemovedError.desc)},t.createLogoutNotSupportedError=function(){return new t($.logoutNotSupported.code,$.logoutNotSupported.desc)},t.createKeyIdMissingError=function(){return new t($.keyIdMissing.code,$.keyIdMissing.desc)},t.createNoNetworkConnectivityError=function(){return new t($.noNetworkConnectivity.code,$.noNetworkConnectivity.desc)},t.createUserCanceledError=function(){return new t($.userCanceledError.code,$.userCanceledError.desc)},t}(V),W=function(){function e(){}return e.decodeAuthToken=function(t){if(e.isEmpty(t))throw K.createTokenNullOrEmptyError(t);var n=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(t);if(!n||n.length<4)throw K.createTokenParsingError("Given token is malformed: "+JSON.stringify(t));return{header:n[1],JWSPayload:n[2],JWSSig:n[3]}},e.isEmpty=function(e){return void 0===e||!e||0===e.length},e.isEmptyObj=function(t){if(t&&!e.isEmpty(t))try{var n=JSON.parse(t);return 0===Object.keys(n).length}catch(e){}return!0},e.startsWith=function(e,t){return 0===e.indexOf(t)},e.endsWith=function(e,t){return e.length>=t.length&&e.lastIndexOf(t)===e.length-t.length},e.queryStringToObject=function(e){var t={},n=e.split("&"),r=function(e){return decodeURIComponent(e.replace(/\+/g," "))};return n.forEach((function(e){if(e.trim()){var n=e.split(/=(.+)/g,2),o=n[0],i=n[1];o&&i&&(t[r(o)]=r(i))}})),t},e.trimArrayEntries=function(e){return e.map((function(e){return e.trim()}))},e.removeEmptyStringsFromArray=function(t){return t.filter((function(t){return!e.isEmpty(t)}))},e.jsonParseHelper=function(e){try{return JSON.parse(e)}catch(e){return null}},e.matchPattern=function(e,t){return new RegExp(e.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(t)},e}();!function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Info=2]="Info",e[e.Verbose=3]="Verbose",e[e.Trace=4]="Trace"}(q||(q={}));var Q,Y=function(){function e(t,n,r){this.level=q.Info;var o=t||e.createDefaultLoggerOptions();this.localCallback=o.loggerCallback||function(){},this.piiLoggingEnabled=o.piiLoggingEnabled||!1,this.level="number"==typeof o.logLevel?o.logLevel:q.Info,this.correlationId=o.correlationId||m.EMPTY_STRING,this.packageName=n||m.EMPTY_STRING,this.packageVersion=r||m.EMPTY_STRING}return e.createDefaultLoggerOptions=function(){return{loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:q.Info}},e.prototype.clone=function(t,n,r){return new e({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:r||this.correlationId},t,n)},e.prototype.logMessage=function(e,t){if(!(t.logLevel>this.level||!this.piiLoggingEnabled&&t.containsPii)){var n=(new Date).toUTCString(),r=(W.isEmpty(t.correlationId)?W.isEmpty(this.correlationId)?"["+n+"]":"["+n+"] : ["+this.correlationId+"]":"["+n+"] : ["+t.correlationId+"]")+" : "+this.packageName+"@"+this.packageVersion+" : "+q[t.logLevel]+" - "+e;this.executeCallback(t.logLevel,r,t.containsPii||!1)}},e.prototype.executeCallback=function(e,t,n){this.localCallback&&this.localCallback(e,t,n)},e.prototype.error=function(e,t){this.logMessage(e,{logLevel:q.Error,containsPii:!1,correlationId:t||m.EMPTY_STRING})},e.prototype.errorPii=function(e,t){this.logMessage(e,{logLevel:q.Error,containsPii:!0,correlationId:t||m.EMPTY_STRING})},e.prototype.warning=function(e,t){this.logMessage(e,{logLevel:q.Warning,containsPii:!1,correlationId:t||m.EMPTY_STRING})},e.prototype.warningPii=function(e,t){this.logMessage(e,{logLevel:q.Warning,containsPii:!0,correlationId:t||m.EMPTY_STRING})},e.prototype.info=function(e,t){this.logMessage(e,{logLevel:q.Info,containsPii:!1,correlationId:t||m.EMPTY_STRING})},e.prototype.infoPii=function(e,t){this.logMessage(e,{logLevel:q.Info,containsPii:!0,correlationId:t||m.EMPTY_STRING})},e.prototype.verbose=function(e,t){this.logMessage(e,{logLevel:q.Verbose,containsPii:!1,correlationId:t||m.EMPTY_STRING})},e.prototype.verbosePii=function(e,t){this.logMessage(e,{logLevel:q.Verbose,containsPii:!0,correlationId:t||m.EMPTY_STRING})},e.prototype.trace=function(e,t){this.logMessage(e,{logLevel:q.Trace,containsPii:!1,correlationId:t||m.EMPTY_STRING})},e.prototype.tracePii=function(e,t){this.logMessage(e,{logLevel:q.Trace,containsPii:!0,correlationId:t||m.EMPTY_STRING})},e.prototype.isPiiLoggingEnabled=function(){return this.piiLoggingEnabled||!1},e}(),X="11.0.0";!function(e){e[e.None=0]="None",e.AzurePublic="https://login.microsoftonline.com",e.AzurePpe="https://login.windows-ppe.net",e.AzureChina="https://login.chinacloudapi.cn",e.AzureGermany="https://login.microsoftonline.de",e.AzureUsGovernment="https://login.microsoftonline.us"}(Q||(Q={}));var J=function(){function e(){}return e._initRegex=function(){var t=w.CACHE_KEY_SEPARATOR;e.credentialRegexMap=new Map;for(var n=0,r=Object.keys(k);n<r.length;n++){var o=r[n],i=k[o].toLowerCase();try{e.credentialRegexMap.set(k[o],new RegExp("(?<="+t+e.credentialDomainRegex+")"+t+i+t))}catch(n){e.credentialRegexMap.set(k[o],new RegExp(""+t+e.credentialDomainRegex+t+i+t))}}},e.prototype.generateAccountId=function(){return e.generateAccountIdForCacheKey(this.homeAccountId,this.environment)},e.prototype.generateCredentialId=function(){return e.generateCredentialIdForCacheKey(this.credentialType,this.clientId,this.realm,this.familyId)},e.prototype.generateTarget=function(){return e.generateTargetForCacheKey(this.target)},e.prototype.generateCredentialKey=function(){return e.generateCredentialCacheKey(this.homeAccountId,this.environment,this.credentialType,this.clientId,this.realm,this.target,this.familyId,this.tokenType,this.requestedClaimsHash)},e.prototype.generateType=function(){switch(this.credentialType){case k.ID_TOKEN:return S.ID_TOKEN;case k.ACCESS_TOKEN:case k.ACCESS_TOKEN_WITH_AUTH_SCHEME:return S.ACCESS_TOKEN;case k.REFRESH_TOKEN:return S.REFRESH_TOKEN;default:throw K.createUnexpectedCredentialTypeError()}},e.getCredentialType=function(e){for(var t,n=0,r=Object.keys(k);n<r.length;n++){var o=r[n];if(null===(t=this.credentialRegexMap.get(k[o]))||void 0===t?void 0:t.test(e.toLowerCase()))return k[o]}return m.NOT_DEFINED},e.generateCredentialCacheKey=function(e,t,n,r,o,i,a,s,c){return[this.generateAccountIdForCacheKey(e,t),this.generateCredentialIdForCacheKey(n,r,o,a),this.generateTargetForCacheKey(i),this.generateClaimsHashForCacheKey(c),this.generateSchemeForCacheKey(s)].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateAccountIdForCacheKey=function(e,t){return[e,t].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateCredentialIdForCacheKey=function(e,t,n,r){return[e,e===k.REFRESH_TOKEN&&r||t,n||m.EMPTY_STRING].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.generateTargetForCacheKey=function(e){return(e||m.EMPTY_STRING).toLowerCase()},e.generateClaimsHashForCacheKey=function(e){return(e||m.EMPTY_STRING).toLowerCase()},e.generateSchemeForCacheKey=function(e){return e&&e.toLowerCase()!==P.BEARER.toLowerCase()?e.toLowerCase():m.EMPTY_STRING},e.credentialDomainRegex="(https?:\\/\\/)?((([\\w-]+\\.)*([\\w-]{1,63})(\\.(\\w{2,63})))|(localhost))(\\:[0-9]{4,5})?(\\/[\\w-]+)?",e}();J._initRegex();var Z,ee={redirectUriNotSet:{code:"redirect_uri_empty",desc:"A redirect URI is required for all calls, and none has been set."},postLogoutUriNotSet:{code:"post_logout_uri_empty",desc:"A post logout redirect has not been set."},claimsRequestParsingError:{code:"claims_request_parsing_error",desc:"Could not parse the given claims request object."},authorityUriInsecure:{code:"authority_uri_insecure",desc:"Authority URIs must use https.  Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options"},urlParseError:{code:"url_parse_error",desc:"URL could not be parsed into appropriate segments."},urlEmptyError:{code:"empty_url_error",desc:"URL was empty or null."},emptyScopesError:{code:"empty_input_scopes_error",desc:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token."},nonArrayScopesError:{code:"nonarray_input_scopes_error",desc:"Scopes cannot be passed as non-array."},clientIdSingleScopeError:{code:"clientid_input_scopes_error",desc:"Client ID can only be provided as a single scope."},invalidPrompt:{code:"invalid_prompt_value",desc:"Supported prompt values are 'login', 'select_account', 'consent', 'create', 'none' and 'no_session'.  Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest"},invalidClaimsRequest:{code:"invalid_claims",desc:"Given claims parameter must be a stringified JSON object."},tokenRequestEmptyError:{code:"token_request_empty",desc:"Token request was empty and not found in cache."},logoutRequestEmptyError:{code:"logout_request_empty",desc:"The logout request was null or undefined."},invalidCodeChallengeMethod:{code:"invalid_code_challenge_method",desc:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".'},invalidCodeChallengeParams:{code:"pkce_params_missing",desc:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request"},invalidCloudDiscoveryMetadata:{code:"invalid_cloud_discovery_metadata",desc:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields"},invalidAuthorityMetadata:{code:"invalid_authority_metadata",desc:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields."},untrustedAuthority:{code:"untrusted_authority",desc:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."},invalidAzureCloudInstance:{code:"invalid_azure_cloud_instance",desc:"Invalid AzureCloudInstance provided. Please refer MSAL JS docs: aks.ms/msaljs/azure_cloud_instance for valid values"},missingSshJwk:{code:"missing_ssh_jwk",desc:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme."},missingSshKid:{code:"missing_ssh_kid",desc:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme."},missingNonceAuthenticationHeader:{code:"missing_nonce_authentication_header",desc:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce."},invalidAuthenticationHeader:{code:"invalid_authentication_header",desc:"Invalid authentication header provided"}},te=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="ClientConfigurationError",Object.setPrototypeOf(o,t.prototype),o}return o(t,e),t.createRedirectUriEmptyError=function(){return new t(ee.redirectUriNotSet.code,ee.redirectUriNotSet.desc)},t.createPostLogoutRedirectUriEmptyError=function(){return new t(ee.postLogoutUriNotSet.code,ee.postLogoutUriNotSet.desc)},t.createClaimsRequestParsingError=function(e){return new t(ee.claimsRequestParsingError.code,ee.claimsRequestParsingError.desc+" Given value: "+e)},t.createInsecureAuthorityUriError=function(e){return new t(ee.authorityUriInsecure.code,ee.authorityUriInsecure.desc+" Given URI: "+e)},t.createUrlParseError=function(e){return new t(ee.urlParseError.code,ee.urlParseError.desc+" Given Error: "+e)},t.createUrlEmptyError=function(){return new t(ee.urlEmptyError.code,ee.urlEmptyError.desc)},t.createEmptyScopesArrayError=function(){return new t(ee.emptyScopesError.code,""+ee.emptyScopesError.desc)},t.createClientIdSingleScopeError=function(e){return new t(ee.clientIdSingleScopeError.code,ee.clientIdSingleScopeError.desc+" Given Scopes: "+e)},t.createInvalidPromptError=function(e){return new t(ee.invalidPrompt.code,ee.invalidPrompt.desc+" Given value: "+e)},t.createInvalidClaimsRequestError=function(){return new t(ee.invalidClaimsRequest.code,ee.invalidClaimsRequest.desc)},t.createEmptyLogoutRequestError=function(){return new t(ee.logoutRequestEmptyError.code,ee.logoutRequestEmptyError.desc)},t.createEmptyTokenRequestError=function(){return new t(ee.tokenRequestEmptyError.code,ee.tokenRequestEmptyError.desc)},t.createInvalidCodeChallengeMethodError=function(){return new t(ee.invalidCodeChallengeMethod.code,ee.invalidCodeChallengeMethod.desc)},t.createInvalidCodeChallengeParamsError=function(){return new t(ee.invalidCodeChallengeParams.code,ee.invalidCodeChallengeParams.desc)},t.createInvalidCloudDiscoveryMetadataError=function(){return new t(ee.invalidCloudDiscoveryMetadata.code,ee.invalidCloudDiscoveryMetadata.desc)},t.createInvalidAuthorityMetadataError=function(){return new t(ee.invalidAuthorityMetadata.code,ee.invalidAuthorityMetadata.desc)},t.createUntrustedAuthorityError=function(){return new t(ee.untrustedAuthority.code,ee.untrustedAuthority.desc)},t.createInvalidAzureCloudInstanceError=function(){return new t(ee.invalidAzureCloudInstance.code,ee.invalidAzureCloudInstance.desc)},t.createMissingSshJwkError=function(){return new t(ee.missingSshJwk.code,ee.missingSshJwk.desc)},t.createMissingSshKidError=function(){return new t(ee.missingSshKid.code,ee.missingSshKid.desc)},t.createMissingNonceAuthenticationHeadersError=function(){return new t(ee.missingNonceAuthenticationHeader.code,ee.missingNonceAuthenticationHeader.desc)},t.createInvalidAuthenticationHeaderError=function(e,n){return new t(ee.invalidAuthenticationHeader.code,ee.invalidAuthenticationHeader.desc+". Invalid header: "+e+". Details: "+n)},t}(K),ne=function(){function e(e){var t=this,n=e?W.trimArrayEntries(c(e)):[],r=n?W.removeEmptyStringsFromArray(n):[];this.validateInputScopes(r),this.scopes=new Set,r.forEach((function(e){return t.scopes.add(e)}))}return e.fromString=function(t){return new e((t||m.EMPTY_STRING).split(" "))},e.prototype.validateInputScopes=function(e){if(!e||e.length<1)throw te.createEmptyScopesArrayError()},e.prototype.containsScope=function(t){var n=new e(this.printScopesLowerCase().split(" "));return!W.isEmpty(t)&&n.scopes.has(t.toLowerCase())},e.prototype.containsScopeSet=function(e){var t=this;return!(!e||e.scopes.size<=0)&&this.scopes.size>=e.scopes.size&&e.asArray().every((function(e){return t.containsScope(e)}))},e.prototype.containsOnlyOIDCScopes=function(){var e=this,t=0;return g.forEach((function(n){e.containsScope(n)&&(t+=1)})),this.scopes.size===t},e.prototype.appendScope=function(e){W.isEmpty(e)||this.scopes.add(e.trim())},e.prototype.appendScopes=function(e){var t=this;try{e.forEach((function(e){return t.appendScope(e)}))}catch(e){throw K.createAppendScopeSetError(e)}},e.prototype.removeScope=function(e){if(W.isEmpty(e))throw K.createRemoveEmptyScopeFromSetError(e);this.scopes.delete(e.trim())},e.prototype.removeOIDCScopes=function(){var e=this;g.forEach((function(t){e.scopes.delete(t)}))},e.prototype.unionScopeSets=function(e){if(!e)throw K.createEmptyInputScopeSetError();var t=new Set;return e.scopes.forEach((function(e){return t.add(e.toLowerCase())})),this.scopes.forEach((function(e){return t.add(e.toLowerCase())})),t},e.prototype.intersectingScopeSets=function(e){if(!e)throw K.createEmptyInputScopeSetError();e.containsOnlyOIDCScopes()||e.removeOIDCScopes();var t=this.unionScopeSets(e),n=e.getScopeCount(),r=this.getScopeCount();return t.size<r+n},e.prototype.getScopeCount=function(){return this.scopes.size},e.prototype.asArray=function(){var e=[];return this.scopes.forEach((function(t){return e.push(t)})),e},e.prototype.printScopes=function(){return this.scopes?this.asArray().join(" "):m.EMPTY_STRING},e.prototype.printScopesLowerCase=function(){return this.printScopes().toLowerCase()},e}();function re(e,t){if(W.isEmpty(e))throw K.createClientInfoEmptyError();try{var n=t.base64Decode(e);return JSON.parse(n)}catch(e){throw K.createClientInfoDecodingError(e.message)}}function oe(e){if(W.isEmpty(e))throw K.createClientInfoDecodingError("Home account ID was empty.");var t=e.split(w.CLIENT_INFO_SEPARATOR,2);return{uid:t[0],utid:t.length<2?m.EMPTY_STRING:t[1]}}!function(e){e[e.Default=0]="Default",e[e.Adfs=1]="Adfs",e[e.Dsts=2]="Dsts"}(Z||(Z={}));var ie,ae=function(){function e(){}return e.prototype.generateAccountId=function(){return[this.homeAccountId,this.environment].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.prototype.generateAccountKey=function(){return e.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})},e.prototype.generateType=function(){switch(this.authorityType){case E.ADFS_ACCOUNT_TYPE:return S.ADFS;case E.MSAV1_ACCOUNT_TYPE:return S.MSA;case E.MSSTS_ACCOUNT_TYPE:return S.MSSTS;case E.GENERIC_ACCOUNT_TYPE:return S.GENERIC;default:throw K.createUnexpectedAccountTypeError()}},e.prototype.getAccountInfo=function(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,idTokenClaims:this.idTokenClaims,nativeAccountId:this.nativeAccountId}},e.generateAccountCacheKey=function(e){return[e.homeAccountId,e.environment||m.EMPTY_STRING,e.tenantId||m.EMPTY_STRING].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAccount=function(t,n,r,o,i,a,s,c){var u,l,p,d,h,f,g=new e;g.authorityType=E.MSSTS_ACCOUNT_TYPE,g.clientInfo=t,g.homeAccountId=n,g.nativeAccountId=c;var v=s||o&&o.getPreferredCache();if(!v)throw K.createInvalidCacheEnvironmentError();if(g.environment=v,g.realm=(null===(u=null==r?void 0:r.claims)||void 0===u?void 0:u.tid)||m.EMPTY_STRING,r){g.idTokenClaims=r.claims,g.localAccountId=(null===(l=null==r?void 0:r.claims)||void 0===l?void 0:l.oid)||(null===(p=null==r?void 0:r.claims)||void 0===p?void 0:p.sub)||m.EMPTY_STRING;var y=null===(d=null==r?void 0:r.claims)||void 0===d?void 0:d.preferred_username,b=(null===(h=null==r?void 0:r.claims)||void 0===h?void 0:h.emails)?r.claims.emails[0]:null;g.username=y||b||m.EMPTY_STRING,g.name=null===(f=null==r?void 0:r.claims)||void 0===f?void 0:f.name}return g.cloudGraphHostName=i,g.msGraphHost=a,g},e.createGenericAccount=function(t,n,r,o,i,a){var s,c,u,l,p=new e;p.authorityType=r&&r.authorityType===Z.Adfs?E.ADFS_ACCOUNT_TYPE:E.GENERIC_ACCOUNT_TYPE,p.homeAccountId=t,p.realm=m.EMPTY_STRING;var d=a||r&&r.getPreferredCache();if(!d)throw K.createInvalidCacheEnvironmentError();return n&&(p.localAccountId=(null===(s=null==n?void 0:n.claims)||void 0===s?void 0:s.oid)||(null===(c=null==n?void 0:n.claims)||void 0===c?void 0:c.sub)||m.EMPTY_STRING,p.username=(null===(u=null==n?void 0:n.claims)||void 0===u?void 0:u.upn)||m.EMPTY_STRING,p.name=(null===(l=null==n?void 0:n.claims)||void 0===l?void 0:l.name)||m.EMPTY_STRING,p.idTokenClaims=null==n?void 0:n.claims),p.environment=d,p.cloudGraphHostName=o,p.msGraphHost=i,p},e.generateHomeAccountId=function(e,t,n,r,o){var i,a=(null===(i=null==o?void 0:o.claims)||void 0===i?void 0:i.sub)?o.claims.sub:m.EMPTY_STRING;if(t===Z.Adfs||t===Z.Dsts)return a;if(e)try{var s=re(e,r);if(!W.isEmpty(s.uid)&&!W.isEmpty(s.utid))return""+s.uid+w.CLIENT_INFO_SEPARATOR+s.utid}catch(e){}return n.verbose("No client info in response"),a},e.isAccountEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("localAccountId")&&e.hasOwnProperty("username")&&e.hasOwnProperty("authorityType")},e.accountInfoIsEqual=function(e,t,n){if(!e||!t)return!1;var r=!0;if(n){var o=e.idTokenClaims||{},i=t.idTokenClaims||{};r=o.iat===i.iat&&o.nonce===i.nonce}return e.homeAccountId===t.homeAccountId&&e.localAccountId===t.localAccountId&&e.username===t.username&&e.tenantId===t.tenantId&&e.environment===t.environment&&e.nativeAccountId===t.nativeAccountId&&r},e}(),se=function(){function e(t,n){if(W.isEmpty(t))throw K.createTokenNullOrEmptyError(t);this.rawToken=t,this.claims=e.extractTokenClaims(t,n)}return e.extractTokenClaims=function(e,t){var n=W.decodeAuthToken(e);try{var r=n.JWSPayload,o=t.base64Decode(r);return JSON.parse(o)}catch(e){throw K.createTokenParsingError(e)}},e.checkMaxAge=function(e,t){if(0===t||Date.now()-3e5>e+t)throw K.createMaxAgeTranspiredError()},e}(),ce=function(){function e(e,t){this.clientId=e,this.cryptoImpl=t}return e.prototype.getAllAccounts=function(){var t=this,n=this.getAccountsFilteredBy(),r=Object.keys(n).map((function(e){return n[e]}));return r.length<1?[]:r.map((function(n){var r=e.toObject(new ae,n).getAccountInfo(),o=t.readIdTokenFromCache(t.clientId,r);return o&&!r.idTokenClaims&&(r.idToken=o.secret,r.idTokenClaims=new se(o.secret,t.cryptoImpl).claims),r}))},e.prototype.saveCacheRecord=function(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:if(!e)throw K.createNullOrUndefinedCacheRecord();return e.account&&this.setAccount(e.account),e.idToken&&this.setIdTokenCredential(e.idToken),e.accessToken?[4,this.saveAccessToken(e.accessToken)]:[3,2];case 1:t.sent(),t.label=2;case 2:return e.refreshToken&&this.setRefreshTokenCredential(e.refreshToken),e.appMetadata&&this.setAppMetadata(e.appMetadata),[2]}}))}))},e.prototype.saveAccessToken=function(e){return a(this,void 0,void 0,(function(){var t,n,r,o,i=this;return s(this,(function(a){switch(a.label){case 0:return t=this.getCredentialsFilteredBy({clientId:e.clientId,credentialType:e.credentialType,environment:e.environment,homeAccountId:e.homeAccountId,realm:e.realm,tokenType:e.tokenType,requestedClaimsHash:e.requestedClaimsHash}),n=ne.fromString(e.target),(r=Object.keys(t.accessTokens).map((function(e){return t.accessTokens[e]})))?(o=[],r.forEach((function(e){ne.fromString(e.target).intersectingScopeSets(n)&&o.push(i.removeCredential(e))})),[4,Promise.all(o)]):[3,2];case 1:a.sent(),a.label=2;case 2:return this.setAccessTokenCredential(e),[2]}}))}))},e.prototype.getAccountsFilteredBy=function(e){return this.getAccountsFilteredByInternal(e?e.homeAccountId:m.EMPTY_STRING,e?e.environment:m.EMPTY_STRING,e?e.realm:m.EMPTY_STRING,e?e.nativeAccountId:m.EMPTY_STRING)},e.prototype.getAccountsFilteredByInternal=function(e,t,n,r){var o=this,i=this.getKeys(),a={};return i.forEach((function(i){var s=o.getAccount(i);s&&(e&&!o.matchHomeAccountId(s,e)||t&&!o.matchEnvironment(s,t)||n&&!o.matchRealm(s,n)||r&&!o.matchNativeAccountId(s,r)||(a[i]=s))})),a},e.prototype.getCredentialsFilteredBy=function(e){return this.getCredentialsFilteredByInternal(e.homeAccountId,e.environment,e.credentialType,e.clientId,e.familyId,e.realm,e.target,e.userAssertionHash,e.tokenType,e.keyId,e.requestedClaimsHash)},e.prototype.getCredentialsFilteredByInternal=function(e,t,n,r,o,i,a,s,c,u,l){var p=this,d=this.getKeys(),h={idTokens:{},accessTokens:{},refreshTokens:{}};return d.forEach((function(d){var f=J.getCredentialType(d);if(f!==m.NOT_DEFINED){var g=p.getSpecificCredential(d,f);if(g&&(!s||p.matchUserAssertionHash(g,s))&&("string"!=typeof e||p.matchHomeAccountId(g,e))&&(!t||p.matchEnvironment(g,t))&&(!i||p.matchRealm(g,i))&&(!n||p.matchCredentialType(g,n))&&(!r||p.matchClientId(g,r))&&(!o||p.matchFamilyId(g,o))&&(!a||p.matchTarget(g,a))&&(!l&&!g.requestedClaimsHash||g.requestedClaimsHash===l)){if(n===k.ACCESS_TOKEN_WITH_AUTH_SCHEME){if(c&&!p.matchTokenType(g,c))return;if(c===P.SSH&&u&&!p.matchKeyId(g,u))return}var v=p.updateCredentialCacheKey(d,g);switch(f){case k.ID_TOKEN:h.idTokens[v]=g;break;case k.ACCESS_TOKEN:case k.ACCESS_TOKEN_WITH_AUTH_SCHEME:h.accessTokens[v]=g;break;case k.REFRESH_TOKEN:h.refreshTokens[v]=g}}}})),h},e.prototype.getAppMetadataFilteredBy=function(e){return this.getAppMetadataFilteredByInternal(e.environment,e.clientId)},e.prototype.getAppMetadataFilteredByInternal=function(e,t){var n=this,r=this.getKeys(),o={};return r.forEach((function(r){if(n.isAppMetadata(r)){var i=n.getAppMetadata(r);i&&(e&&!n.matchEnvironment(i,e)||t&&!n.matchClientId(i,t)||(o[r]=i))}})),o},e.prototype.getAuthorityMetadataByAlias=function(e){var t=this,n=this.getAuthorityMetadataKeys(),r=null;return n.forEach((function(n){if(t.isAuthorityMetadata(n)&&-1!==n.indexOf(t.clientId)){var o=t.getAuthorityMetadata(n);o&&-1!==o.aliases.indexOf(e)&&(r=o)}})),r},e.prototype.removeAllAccounts=function(){return a(this,void 0,void 0,(function(){var e,t,n=this;return s(this,(function(r){switch(r.label){case 0:return e=this.getKeys(),t=[],e.forEach((function(e){n.getAccount(e)&&t.push(n.removeAccount(e))})),[4,Promise.all(t)];case 1:return r.sent(),[2,!0]}}))}))},e.prototype.removeAccount=function(e){return a(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:if(!(t=this.getAccount(e)))throw K.createNoAccountFoundError();return[4,this.removeAccountContext(t)];case 1:return[2,n.sent()&&this.removeItem(e,T.ACCOUNT)]}}))}))},e.prototype.removeAccountContext=function(e){return a(this,void 0,void 0,(function(){var t,n,r,o=this;return s(this,(function(i){switch(i.label){case 0:return t=this.getKeys(),n=e.generateAccountId(),r=[],t.forEach((function(e){var t=J.getCredentialType(e);if(t!==m.NOT_DEFINED){var i=o.getSpecificCredential(e,t);i&&n===i.generateAccountId()&&r.push(o.removeCredential(i))}})),[4,Promise.all(r)];case 1:return i.sent(),[2,!0]}}))}))},e.prototype.removeCredential=function(e){return a(this,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:if(t=e.generateCredentialKey(),e.credentialType.toLowerCase()!==k.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())return[3,4];if(e.tokenType!==P.POP)return[3,4];if(!(n=e.keyId))return[3,4];r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.cryptoImpl.removeTokenBindingKey(n)];case 2:return r.sent(),[3,4];case 3:throw r.sent(),K.createBindingKeyNotRemovedError();case 4:return[2,this.removeItem(t,T.CREDENTIAL)]}}))}))},e.prototype.removeAppMetadata=function(){var e=this;return this.getKeys().forEach((function(t){e.isAppMetadata(t)&&e.removeItem(t,T.APP_METADATA)})),!0},e.prototype.readCacheRecord=function(e,t,n,r){var o=this.readAccountFromCache(e),i=this.readIdTokenFromCache(t,e),a=this.readAccessTokenFromCache(t,e,n),s=this.readRefreshTokenFromCache(t,e,!1),c=this.readAppMetadataFromCache(r,t);return o&&i&&(o.idTokenClaims=new se(i.secret,this.cryptoImpl).claims),{account:o,idToken:i,accessToken:a,refreshToken:s,appMetadata:c}},e.prototype.readAccountFromCache=function(e){var t=ae.generateAccountCacheKey(e);return this.getAccount(t)},e.prototype.readAccountFromCacheWithNativeAccountId=function(e){var t={nativeAccountId:e},n=this.getAccountsFilteredBy(t),r=Object.keys(n).map((function(e){return n[e]}));if(r.length<1)return null;if(r.length>1)throw K.createMultipleMatchingAccountsInCacheError();return r[0]},e.prototype.readIdTokenFromCache=function(e,t){var n={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:k.ID_TOKEN,clientId:e,realm:t.tenantId},r=this.getCredentialsFilteredBy(n),o=Object.keys(r.idTokens).map((function(e){return r.idTokens[e]})),i=o.length;if(i<1)return null;if(i>1)throw K.createMultipleMatchingTokensInCacheError();return o[0]},e.prototype.readAccessTokenFromCache=function(e,t,n){var r=new ne(n.scopes||[]),o=n.authenticationScheme||P.BEARER,i=o&&o.toLowerCase()!==P.BEARER.toLowerCase()?k.ACCESS_TOKEN_WITH_AUTH_SCHEME:k.ACCESS_TOKEN,a={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:i,clientId:e,realm:t.tenantId,target:r.printScopesLowerCase(),tokenType:o,keyId:n.sshKid,requestedClaimsHash:n.requestedClaimsHash},s=this.getCredentialsFilteredBy(a),c=Object.keys(s.accessTokens).map((function(e){return s.accessTokens[e]})),u=c.length;if(u<1)return null;if(u>1)throw K.createMultipleMatchingTokensInCacheError();return c[0]},e.prototype.readRefreshTokenFromCache=function(e,t,n){var r=n?I:void 0,o={homeAccountId:t.homeAccountId,environment:t.environment,credentialType:k.REFRESH_TOKEN,clientId:e,familyId:r},i=this.getCredentialsFilteredBy(o),a=Object.keys(i.refreshTokens).map((function(e){return i.refreshTokens[e]}));return a.length<1?null:a[0]},e.prototype.readAppMetadataFromCache=function(e,t){var n={environment:e,clientId:t},r=this.getAppMetadataFilteredBy(n),o=Object.keys(r).map((function(e){return r[e]})),i=o.length;if(i<1)return null;if(i>1)throw K.createMultipleMatchingAppMetadataInCacheError();return o[0]},e.prototype.isAppMetadataFOCI=function(e,t){var n=this.readAppMetadataFromCache(e,t);return!(!n||n.familyId!==I)},e.prototype.matchHomeAccountId=function(e,t){return!("string"!=typeof e.homeAccountId||t!==e.homeAccountId)},e.prototype.matchUserAssertionHash=function(e,t){return!(!e.userAssertionHash||t!==e.userAssertionHash)},e.prototype.matchEnvironment=function(e,t){var n=this.getAuthorityMetadataByAlias(t);return!!(n&&n.aliases.indexOf(e.environment)>-1)},e.prototype.matchCredentialType=function(e,t){return e.credentialType&&t.toLowerCase()===e.credentialType.toLowerCase()},e.prototype.matchClientId=function(e,t){return!(!e.clientId||t!==e.clientId)},e.prototype.matchFamilyId=function(e,t){return!(!e.familyId||t!==e.familyId)},e.prototype.matchRealm=function(e,t){return!(!e.realm||t!==e.realm)},e.prototype.matchNativeAccountId=function(e,t){return!(!e.nativeAccountId||t!==e.nativeAccountId)},e.prototype.matchTarget=function(e,t){if(e.credentialType!==k.ACCESS_TOKEN&&e.credentialType!==k.ACCESS_TOKEN_WITH_AUTH_SCHEME||!e.target)return!1;var n=ne.fromString(e.target),r=ne.fromString(t);return r.containsOnlyOIDCScopes()?r.removeScope(m.OFFLINE_ACCESS_SCOPE):r.removeOIDCScopes(),n.containsScopeSet(r)},e.prototype.matchTokenType=function(e,t){return!(!e.tokenType||e.tokenType!==t)},e.prototype.matchKeyId=function(e,t){return!(!e.keyId||e.keyId!==t)},e.prototype.isAppMetadata=function(e){return-1!==e.indexOf(A)},e.prototype.isAuthorityMetadata=function(e){return-1!==e.indexOf(R)},e.prototype.generateAuthorityMetadataCacheKey=function(e){return R+"-"+this.clientId+"-"+e},e.prototype.getSpecificCredential=function(e,t){switch(t){case k.ID_TOKEN:return this.getIdTokenCredential(e);case k.ACCESS_TOKEN:case k.ACCESS_TOKEN_WITH_AUTH_SCHEME:return this.getAccessTokenCredential(e);case k.REFRESH_TOKEN:return this.getRefreshTokenCredential(e);default:return null}},e.toObject=function(e,t){for(var n in t)e[n]=t[n];return e},e}(),ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.setAccount=function(){throw V.createUnexpectedError("Storage interface - setAccount() has not been implemented for the cacheStorage interface.")},t.prototype.getAccount=function(){throw V.createUnexpectedError("Storage interface - getAccount() has not been implemented for the cacheStorage interface.")},t.prototype.setIdTokenCredential=function(){throw V.createUnexpectedError("Storage interface - setIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getIdTokenCredential=function(){throw V.createUnexpectedError("Storage interface - getIdTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAccessTokenCredential=function(){throw V.createUnexpectedError("Storage interface - setAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getAccessTokenCredential=function(){throw V.createUnexpectedError("Storage interface - getAccessTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setRefreshTokenCredential=function(){throw V.createUnexpectedError("Storage interface - setRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.getRefreshTokenCredential=function(){throw V.createUnexpectedError("Storage interface - getRefreshTokenCredential() has not been implemented for the cacheStorage interface.")},t.prototype.setAppMetadata=function(){throw V.createUnexpectedError("Storage interface - setAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAppMetadata=function(){throw V.createUnexpectedError("Storage interface - getAppMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.setServerTelemetry=function(){throw V.createUnexpectedError("Storage interface - setServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.getServerTelemetry=function(){throw V.createUnexpectedError("Storage interface - getServerTelemetry() has not been implemented for the cacheStorage interface.")},t.prototype.setAuthorityMetadata=function(){throw V.createUnexpectedError("Storage interface - setAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadata=function(){throw V.createUnexpectedError("Storage interface - getAuthorityMetadata() has not been implemented for the cacheStorage interface.")},t.prototype.getAuthorityMetadataKeys=function(){throw V.createUnexpectedError("Storage interface - getAuthorityMetadataKeys() has not been implemented for the cacheStorage interface.")},t.prototype.setThrottlingCache=function(){throw V.createUnexpectedError("Storage interface - setThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.getThrottlingCache=function(){throw V.createUnexpectedError("Storage interface - getThrottlingCache() has not been implemented for the cacheStorage interface.")},t.prototype.removeItem=function(){throw V.createUnexpectedError("Storage interface - removeItem() has not been implemented for the cacheStorage interface.")},t.prototype.containsKey=function(){throw V.createUnexpectedError("Storage interface - containsKey() has not been implemented for the cacheStorage interface.")},t.prototype.getKeys=function(){throw V.createUnexpectedError("Storage interface - getKeys() has not been implemented for the cacheStorage interface.")},t.prototype.clear=function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Storage interface - clear() has not been implemented for the cacheStorage interface.")}))}))},t.prototype.updateCredentialCacheKey=function(){throw V.createUnexpectedError("Storage interface - updateCredentialCacheKey() has not been implemented for the cacheStorage interface.")},t}(ce),le={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},pe={loggerCallback:function(){},piiLoggingEnabled:!1,logLevel:q.Info,correlationId:m.EMPTY_STRING},de={sendGetRequestAsync:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented")}))}))},sendPostRequestAsync:function(){return a(this,void 0,void 0,(function(){return s(this,(function(e){throw V.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented")}))}))}},he={sku:m.SKU,version:X,cpu:m.EMPTY_STRING,os:m.EMPTY_STRING},me={clientSecret:m.EMPTY_STRING,clientAssertion:void 0},fe={azureCloudInstance:Q.None,tenant:""+m.DEFAULT_COMMON_TENANT},ge={application:{appName:"",appVersion:""}},ve=function(e){function t(n,r,o){var i=e.call(this,n,r,o)||this;return i.name="ServerError",Object.setPrototypeOf(i,t.prototype),i}return o(t,e),t}(V),ye=function(){function e(){}return e.generateThrottlingStorageKey=function(e){return F.THROTTLING_PREFIX+"."+JSON.stringify(e)},e.preProcess=function(t,n){var r,o=e.generateThrottlingStorageKey(n),i=t.getThrottlingCache(o);if(i){if(i.throttleTime<Date.now())return void t.removeItem(o,T.THROTTLING);throw new ve((null===(r=i.errorCodes)||void 0===r?void 0:r.join(" "))||m.EMPTY_STRING,i.errorMessage,i.subError)}},e.postProcess=function(t,n,r){if(e.checkResponseStatus(r)||e.checkResponseForRetryAfter(r)){var o={throttleTime:e.calculateThrottleTime(parseInt(r.headers[u.RETRY_AFTER])),error:r.body.error,errorCodes:r.body.error_codes,errorMessage:r.body.error_description,subError:r.body.suberror};t.setThrottlingCache(e.generateThrottlingStorageKey(n),o)}},e.checkResponseStatus=function(e){return 429===e.status||e.status>=500&&e.status<600},e.checkResponseForRetryAfter=function(e){return!!e.headers&&e.headers.hasOwnProperty(u.RETRY_AFTER)&&(e.status<200||e.status>=300)},e.calculateThrottleTime=function(e){var t=e<=0?0:e,n=Date.now()/1e3;return Math.floor(1e3*Math.min(n+(t||F.DEFAULT_THROTTLE_TIME_SECONDS),n+F.DEFAULT_MAX_THROTTLE_TIME_SECONDS))},e.removeThrottle=function(e,t,n,r){var o={clientId:t,authority:n.authority,scopes:n.scopes,homeAccountIdentifier:r,claims:n.claims,authenticationScheme:n.authenticationScheme,resourceRequestMethod:n.resourceRequestMethod,resourceRequestUri:n.resourceRequestUri,shrClaims:n.shrClaims,sshKid:n.sshKid},i=this.generateThrottlingStorageKey(o);return e.removeItem(i,T.THROTTLING)},e}(),be=function(){function e(e,t){this.networkClient=e,this.cacheManager=t}return e.prototype.sendPostRequest=function(e,t,n){return a(this,void 0,void 0,(function(){var r,o;return s(this,(function(i){switch(i.label){case 0:ye.preProcess(this.cacheManager,e),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.networkClient.sendPostRequestAsync(t,n)];case 2:return r=i.sent(),[3,4];case 3:throw(o=i.sent())instanceof V?o:K.createNetworkError(t,o);case 4:return ye.postProcess(this.cacheManager,e,r),[2,r]}}))}))},e}();!function(e){e.HOME_ACCOUNT_ID="home_account_id",e.UPN="UPN"}(ie||(ie={}));var _e,Ee,we=function(){function e(){}return e.validateRedirectUri=function(e){if(W.isEmpty(e))throw te.createRedirectUriEmptyError()},e.validatePrompt=function(e){var t=[];for(var n in y)t.push(y[n]);if(t.indexOf(e)<0)throw te.createInvalidPromptError(e)},e.validateClaims=function(e){try{JSON.parse(e)}catch(e){throw te.createInvalidClaimsRequestError()}},e.validateCodeChallengeParams=function(e,t){if(W.isEmpty(e)||W.isEmpty(t))throw te.createInvalidCodeChallengeParamsError();this.validateCodeChallengeMethod(t)},e.validateCodeChallengeMethod=function(e){if([x.PLAIN,x.S256].indexOf(e)<0)throw te.createInvalidCodeChallengeMethodError()},e.sanitizeEQParams=function(e,t){return e?(t.forEach((function(t,n){e[n]&&delete e[n]})),Object.fromEntries(Object.entries(e).filter((function(e){return""!==e[1]})))):{}},e}(),ke=function(){function e(){this.parameters=new Map}return e.prototype.addResponseTypeCode=function(){this.parameters.set(d.RESPONSE_TYPE,encodeURIComponent(m.CODE_RESPONSE_TYPE))},e.prototype.addResponseTypeForTokenAndIdToken=function(){this.parameters.set(d.RESPONSE_TYPE,encodeURIComponent(m.TOKEN_RESPONSE_TYPE+" "+m.ID_TOKEN_RESPONSE_TYPE))},e.prototype.addResponseMode=function(e){this.parameters.set(d.RESPONSE_MODE,encodeURIComponent(e||b.QUERY))},e.prototype.addNativeBroker=function(){this.parameters.set(d.NATIVE_BROKER,encodeURIComponent("1"))},e.prototype.addScopes=function(e,t){void 0===t&&(t=!0);var n=t?c(e||[],f):e||[],r=new ne(n);this.parameters.set(d.SCOPE,encodeURIComponent(r.printScopes()))},e.prototype.addClientId=function(e){this.parameters.set(d.CLIENT_ID,encodeURIComponent(e))},e.prototype.addRedirectUri=function(e){we.validateRedirectUri(e),this.parameters.set(d.REDIRECT_URI,encodeURIComponent(e))},e.prototype.addPostLogoutRedirectUri=function(e){we.validateRedirectUri(e),this.parameters.set(d.POST_LOGOUT_URI,encodeURIComponent(e))},e.prototype.addIdTokenHint=function(e){this.parameters.set(d.ID_TOKEN_HINT,encodeURIComponent(e))},e.prototype.addDomainHint=function(e){this.parameters.set(v.DOMAIN_HINT,encodeURIComponent(e))},e.prototype.addLoginHint=function(e){this.parameters.set(v.LOGIN_HINT,encodeURIComponent(e))},e.prototype.addCcsUpn=function(e){this.parameters.set(u.CCS_HEADER,encodeURIComponent("UPN:"+e))},e.prototype.addCcsOid=function(e){this.parameters.set(u.CCS_HEADER,encodeURIComponent("Oid:"+e.uid+"@"+e.utid))},e.prototype.addSid=function(e){this.parameters.set(v.SID,encodeURIComponent(e))},e.prototype.addClaims=function(e,t){var n=this.addClientCapabilitiesToClaims(e,t);we.validateClaims(n),this.parameters.set(d.CLAIMS,encodeURIComponent(n))},e.prototype.addCorrelationId=function(e){this.parameters.set(d.CLIENT_REQUEST_ID,encodeURIComponent(e))},e.prototype.addLibraryInfo=function(e){this.parameters.set(d.X_CLIENT_SKU,e.sku),this.parameters.set(d.X_CLIENT_VER,e.version),e.os&&this.parameters.set(d.X_CLIENT_OS,e.os),e.cpu&&this.parameters.set(d.X_CLIENT_CPU,e.cpu)},e.prototype.addApplicationTelemetry=function(e){(null==e?void 0:e.appName)&&this.parameters.set(d.X_APP_NAME,e.appName),(null==e?void 0:e.appVersion)&&this.parameters.set(d.X_APP_VER,e.appVersion)},e.prototype.addPrompt=function(e){we.validatePrompt(e),this.parameters.set(""+d.PROMPT,encodeURIComponent(e))},e.prototype.addState=function(e){W.isEmpty(e)||this.parameters.set(d.STATE,encodeURIComponent(e))},e.prototype.addNonce=function(e){this.parameters.set(d.NONCE,encodeURIComponent(e))},e.prototype.addCodeChallengeParams=function(e,t){if(we.validateCodeChallengeParams(e,t),!e||!t)throw te.createInvalidCodeChallengeParamsError();this.parameters.set(d.CODE_CHALLENGE,encodeURIComponent(e)),this.parameters.set(d.CODE_CHALLENGE_METHOD,encodeURIComponent(t))},e.prototype.addAuthorizationCode=function(e){this.parameters.set(d.CODE,encodeURIComponent(e))},e.prototype.addDeviceCode=function(e){this.parameters.set(d.DEVICE_CODE,encodeURIComponent(e))},e.prototype.addRefreshToken=function(e){this.parameters.set(d.REFRESH_TOKEN,encodeURIComponent(e))},e.prototype.addCodeVerifier=function(e){this.parameters.set(d.CODE_VERIFIER,encodeURIComponent(e))},e.prototype.addClientSecret=function(e){this.parameters.set(d.CLIENT_SECRET,encodeURIComponent(e))},e.prototype.addClientAssertion=function(e){W.isEmpty(e)||this.parameters.set(d.CLIENT_ASSERTION,encodeURIComponent(e))},e.prototype.addClientAssertionType=function(e){W.isEmpty(e)||this.parameters.set(d.CLIENT_ASSERTION_TYPE,encodeURIComponent(e))},e.prototype.addOboAssertion=function(e){this.parameters.set(d.OBO_ASSERTION,encodeURIComponent(e))},e.prototype.addRequestTokenUse=function(e){this.parameters.set(d.REQUESTED_TOKEN_USE,encodeURIComponent(e))},e.prototype.addGrantType=function(e){this.parameters.set(d.GRANT_TYPE,encodeURIComponent(e))},e.prototype.addClientInfo=function(){this.parameters.set("client_info","1")},e.prototype.addExtraQueryParameters=function(e){var t=this,n=we.sanitizeEQParams(e,this.parameters);Object.keys(n).forEach((function(n){t.parameters.set(n,e[n])}))},e.prototype.addClientCapabilitiesToClaims=function(e,t){var n;if(e)try{n=JSON.parse(e)}catch(e){throw te.createInvalidClaimsRequestError()}else n={};return t&&t.length>0&&(n.hasOwnProperty(h.ACCESS_TOKEN)||(n[h.ACCESS_TOKEN]={}),n[h.ACCESS_TOKEN][h.XMS_CC]={values:t}),JSON.stringify(n)},e.prototype.addUsername=function(e){this.parameters.set(j.username,encodeURIComponent(e))},e.prototype.addPassword=function(e){this.parameters.set(j.password,encodeURIComponent(e))},e.prototype.addPopToken=function(e){W.isEmpty(e)||(this.parameters.set(d.TOKEN_TYPE,P.POP),this.parameters.set(d.REQ_CNF,encodeURIComponent(e)))},e.prototype.addSshJwk=function(e){W.isEmpty(e)||(this.parameters.set(d.TOKEN_TYPE,P.SSH),this.parameters.set(d.REQ_CNF,encodeURIComponent(e)))},e.prototype.addServerTelemetry=function(e){this.parameters.set(d.X_CLIENT_CURR_TELEM,e.generateCurrentRequestHeaderValue()),this.parameters.set(d.X_CLIENT_LAST_TELEM,e.generateLastRequestHeaderValue())},e.prototype.addThrottling=function(){this.parameters.set(d.X_MS_LIB_CAPABILITY,F.X_MS_LIB_CAPABILITY_VALUE)},e.prototype.addLogoutHint=function(e){this.parameters.set(d.LOGOUT_HINT,encodeURIComponent(e))},e.prototype.createQueryString=function(){var e=new Array;return this.parameters.forEach((function(t,n){e.push(n+"="+t)})),e.join("&")},e}(),Te=function(){function e(e,t){var n,r,o,a,s,c,u,l,p,d,h,m,f,g,v;this.config=(o=(n=e).authOptions,a=n.systemOptions,s=n.loggerOptions,c=n.storageInterface,u=n.networkInterface,l=n.cryptoInterface,p=n.clientCredentials,d=n.libraryInfo,h=n.telemetry,m=n.serverTelemetryManager,f=n.persistencePlugin,g=n.serializableCache,v=i(i({},pe),s),{authOptions:(r=o,i({clientCapabilities:[],azureCloudOptions:fe,skipAuthorityMetadataCache:!1},r)),systemOptions:i(i({},le),a),loggerOptions:v,storageInterface:c||new ue(o.clientId,G),networkInterface:u||de,cryptoInterface:l||G,clientCredentials:p||me,libraryInfo:i(i({},he),d),telemetry:i(i({},ge),h),serverTelemetryManager:m||null,persistencePlugin:f||null,serializableCache:g||null}),this.logger=new Y(this.config.loggerOptions,"@azure/msal-common",X),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new be(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=t}return e.prototype.createTokenRequestHeaders=function(e){var t={};if(t[u.CONTENT_TYPE]=m.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&e)switch(e.type){case ie.HOME_ACCOUNT_ID:try{var n=oe(e.credential);t[u.CCS_HEADER]="Oid:"+n.uid+"@"+n.utid}catch(e){this.logger.verbose("Could not parse home account ID for CCS Header: "+e)}break;case ie.UPN:t[u.CCS_HEADER]="UPN: "+e.credential}return t},e.prototype.executePostToTokenEndpoint=function(e,t,n,r){return a(this,void 0,void 0,(function(){var o;return s(this,(function(i){switch(i.label){case 0:return[4,this.networkManager.sendPostRequest(r,e,{body:t,headers:n})];case 1:return o=i.sent(),this.config.serverTelemetryManager&&o.status<500&&429!==o.status&&this.config.serverTelemetryManager.clearTelemetryCache(),[2,o]}}))}))},e.prototype.updateAuthority=function(e){if(!e.discoveryComplete())throw K.createEndpointDiscoveryIncompleteError("Updated authority has not completed endpoint discovery.");this.authority=e},e.prototype.createTokenQueryParameters=function(e){var t=new ke;return e.tokenQueryParameters&&t.addExtraQueryParameters(e.tokenQueryParameters),t.createQueryString()},e}(),Se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.createIdTokenEntity=function(e,n,r,o,i){var a=new t;return a.credentialType=k.ID_TOKEN,a.homeAccountId=e,a.environment=n,a.clientId=o,a.secret=r,a.realm=i,a},t.isIdTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===k.ID_TOKEN},t}(J),xe=function(){function e(){}return e.nowSeconds=function(){return Math.round((new Date).getTime()/1e3)},e.isTokenExpired=function(t,n){var r=Number(t)||0;return e.nowSeconds()+n>r},e.wasClockTurnedBack=function(t){return Number(t)>e.nowSeconds()},e.delay=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))},e}(),Ce=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.createAccessTokenEntity=function(e,n,r,o,i,a,s,c,u,l,p,d,h,m,f){var g,v,y=new t;y.homeAccountId=e,y.credentialType=k.ACCESS_TOKEN,y.secret=r;var b=xe.nowSeconds();if(y.cachedAt=b.toString(),y.expiresOn=s.toString(),y.extendedExpiresOn=c.toString(),l&&(y.refreshOn=l.toString()),y.environment=n,y.clientId=o,y.realm=i,y.target=a,y.userAssertionHash=d,y.tokenType=W.isEmpty(p)?P.BEARER:p,m&&(y.requestedClaims=m,y.requestedClaimsHash=f),(null===(g=y.tokenType)||void 0===g?void 0:g.toLowerCase())!==P.BEARER.toLowerCase())switch(y.credentialType=k.ACCESS_TOKEN_WITH_AUTH_SCHEME,y.tokenType){case P.POP:var _=se.extractTokenClaims(r,u);if(!(null===(v=null==_?void 0:_.cnf)||void 0===v?void 0:v.kid))throw K.createTokenClaimsRequiredError();y.keyId=_.cnf.kid;break;case P.SSH:y.keyId=h}return y},t.isAccessTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("realm")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.hasOwnProperty("target")&&(e.credentialType===k.ACCESS_TOKEN||e.credentialType===k.ACCESS_TOKEN_WITH_AUTH_SCHEME)},t}(J),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.createRefreshTokenEntity=function(e,n,r,o,i,a){var s=new t;return s.clientId=o,s.credentialType=k.REFRESH_TOKEN,s.environment=n,s.homeAccountId=e,s.secret=r,s.userAssertionHash=a,i&&(s.familyId=i),s},t.isRefreshTokenEntity=function(e){return!!e&&e.hasOwnProperty("homeAccountId")&&e.hasOwnProperty("environment")&&e.hasOwnProperty("credentialType")&&e.hasOwnProperty("clientId")&&e.hasOwnProperty("secret")&&e.credentialType===k.REFRESH_TOKEN},t}(J),Ie=["interaction_required","consent_required","login_required"],Re=["message_only","additional_action","basic_action","user_password_expired","consent_required"],Pe={noTokensFoundError:{code:"no_tokens_found",desc:"No refresh token found in the cache. Please sign-in."},native_account_unavailable:{code:"native_account_unavailable",desc:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API."}},Oe=function(e){function t(n,r,o,i,a,s,c){var u=e.call(this,n,r,o)||this;return Object.setPrototypeOf(u,t.prototype),u.timestamp=i||m.EMPTY_STRING,u.traceId=a||m.EMPTY_STRING,u.correlationId=s||m.EMPTY_STRING,u.claims=c||m.EMPTY_STRING,u.name="InteractionRequiredAuthError",u}return o(t,e),t.isInteractionRequiredError=function(e,t,n){var r=!!e&&Ie.indexOf(e)>-1,o=!!n&&Re.indexOf(n)>-1,i=!!t&&Ie.some((function(e){return t.indexOf(e)>-1}));return r||i||o},t.createNoTokensFoundError=function(){return new t(Pe.noTokensFoundError.code,Pe.noTokensFoundError.desc)},t.createNativeAccountUnavailableError=function(){return new t(Pe.native_account_unavailable.code,Pe.native_account_unavailable.desc)},t}(V),je=function(e,t,n,r,o){this.account=e||null,this.idToken=t||null,this.accessToken=n||null,this.refreshToken=r||null,this.appMetadata=o||null},Ne=function(){function e(){}return e.setRequestState=function(t,n,r){var o=e.generateLibraryState(t,r);return W.isEmpty(n)?o:""+o+m.RESOURCE_DELIM+n},e.generateLibraryState=function(e,t){if(!e)throw K.createNoCryptoObjectError("generateLibraryState");var n={id:e.createNewGuid()};t&&(n.meta=t);var r=JSON.stringify(n);return e.base64Encode(r)},e.parseRequestState=function(e,t){if(!e)throw K.createNoCryptoObjectError("parseRequestState");if(W.isEmpty(t))throw K.createInvalidStateError(t,"Null, undefined or empty state");try{var n=t.split(m.RESOURCE_DELIM),r=n[0],o=n.length>1?n.slice(1).join(m.RESOURCE_DELIM):m.EMPTY_STRING,i=e.base64Decode(r),a=JSON.parse(i);return{userRequestState:W.isEmpty(o)?m.EMPTY_STRING:o,libraryState:a}}catch(e){throw K.createInvalidStateError(t,e)}},e}(),De=function(){function e(t){if(this._urlString=t,W.isEmpty(this._urlString))throw te.createUrlEmptyError();W.isEmpty(this.getHash())&&(this._urlString=e.canonicalizeUri(t))}return Object.defineProperty(e.prototype,"urlString",{get:function(){return this._urlString},enumerable:!1,configurable:!0}),e.canonicalizeUri=function(e){if(e){var t=e.toLowerCase();return W.endsWith(t,"?")?t=t.slice(0,-1):W.endsWith(t,"?/")&&(t=t.slice(0,-2)),W.endsWith(t,"/")||(t+="/"),t}return e},e.prototype.validateAsUri=function(){var e;try{e=this.getUrlComponents()}catch(e){throw te.createUrlParseError(e)}if(!e.HostNameAndPort||!e.PathSegments)throw te.createUrlParseError("Given url string: "+this.urlString);if(!e.Protocol||"https:"!==e.Protocol.toLowerCase())throw te.createInsecureAuthorityUriError(this.urlString)},e.appendQueryString=function(e,t){return W.isEmpty(t)?e:e.indexOf("?")<0?e+"?"+t:e+"&"+t},e.removeHashFromUrl=function(t){return e.canonicalizeUri(t.split("#")[0])},e.prototype.replaceTenantPath=function(t){var n=this.getUrlComponents(),r=n.PathSegments;return!t||0===r.length||r[0]!==p.COMMON&&r[0]!==p.ORGANIZATIONS||(r[0]=t),e.constructAuthorityUriFromObject(n)},e.prototype.getHash=function(){return e.parseHash(this.urlString)},e.prototype.getUrlComponents=function(){var e=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),t=this.urlString.match(e);if(!t)throw te.createUrlParseError("Given url string: "+this.urlString);var n={Protocol:t[1],HostNameAndPort:t[4],AbsolutePath:t[5],QueryString:t[7]},r=n.AbsolutePath.split("/");return r=r.filter((function(e){return e&&e.length>0})),n.PathSegments=r,!W.isEmpty(n.QueryString)&&n.QueryString.endsWith("/")&&(n.QueryString=n.QueryString.substring(0,n.QueryString.length-1)),n},e.getDomainFromUrl=function(e){var t=RegExp("^([^:/?#]+://)?([^/?#]*)"),n=e.match(t);if(!n)throw te.createUrlParseError("Given url string: "+e);return n[2]},e.getAbsoluteUrl=function(t,n){if(t[0]===m.FORWARD_SLASH){var r=new e(n).getUrlComponents();return r.Protocol+"//"+r.HostNameAndPort+t}return t},e.parseHash=function(e){var t=e.indexOf("#"),n=e.indexOf("#/");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):m.EMPTY_STRING},e.parseQueryString=function(e){var t=e.indexOf("?"),n=e.indexOf("/?");return n>-1?e.substring(n+2):t>-1?e.substring(t+1):m.EMPTY_STRING},e.constructAuthorityUriFromObject=function(t){return new e(t.Protocol+"//"+t.HostNameAndPort+"/"+t.PathSegments.join("/"))},e.getDeserializedHash=function(t){if(W.isEmpty(t))return{};var n=e.parseHash(t),r=W.queryStringToObject(W.isEmpty(n)?t:n);if(!r)throw K.createHashNotDeserializedError(JSON.stringify(r));return r},e.getDeserializedQueryString=function(t){if(W.isEmpty(t))return{};var n=e.parseQueryString(t),r=W.queryStringToObject(W.isEmpty(n)?t:n);if(!r)throw K.createHashNotDeserializedError(JSON.stringify(r));return r},e.hashContainsKnownProperties=function(t){if(W.isEmpty(t)||t.indexOf("=")<0)return!1;var n=e.getDeserializedHash(t);return!!(n.code||n.error_description||n.error||n.state)},e}();!function(e){e.AcquireTokenByCode="acquireTokenByCode",e.AcquireTokenByRefreshToken="acquireTokenByRefreshToken",e.AcquireTokenSilent="acquireTokenSilent",e.AcquireTokenSilentAsync="acquireTokenSilentAsync",e.AcquireTokenPopup="acquireTokenPopup",e.CryptoOptsGetPublicKeyThumbprint="cryptoOptsGetPublicKeyThumbprint",e.CryptoOptsSignJwt="cryptoOptsSignJwt",e.SilentCacheClientAcquireToken="silentCacheClientAcquireToken",e.SilentIframeClientAcquireToken="silentIframeClientAcquireToken",e.SilentRefreshClientAcquireToken="silentRefreshClientAcquireToken",e.SsoSilent="ssoSilent",e.StandardInteractionClientGetDiscoveredAuthority="standardInteractionClientGetDiscoveredAuthority",e.FetchAccountIdWithNativeBroker="fetchAccountIdWithNativeBroker",e.NativeInteractionClientAcquireToken="nativeInteractionClientAcquireToken",e.BaseClientCreateTokenRequestHeaders="baseClientCreateTokenRequestHeaders",e.BrokerHandhshake="brokerHandshake",e.AcquireTokenByRefreshTokenInBroker="acquireTokenByRefreshTokenInBroker",e.AcquireTokenByBroker="acquireTokenByBroker",e.RefreshTokenClientExecuteTokenRequest="refreshTokenClientExecuteTokenRequest",e.RefreshTokenClientAcquireToken="refreshTokenClientAcquireToken",e.RefreshTokenClientAcquireTokenWithCachedRefreshToken="refreshTokenClientAcquireTokenWithCachedRefreshToken",e.RefreshTokenClientAcquireTokenByRefreshToken="refreshTokenClientAcquireTokenByRefreshToken",e.RefreshTokenClientCreateTokenRequestBody="refreshTokenClientCreateTokenRequestBody",e.AcquireTokenFromCache="acquireTokenFromCache",e.AcquireTokenBySilentIframe="acquireTokenBySilentIframe",e.InitializeBaseRequest="initializeBaseRequest",e.InitializeSilentRequest="initializeSilentRequest",e.InitializeClientApplication="initializeClientApplication",e.SilentIframeClientTokenHelper="silentIframeClientTokenHelper",e.SilentHandlerInitiateAuthRequest="silentHandlerInitiateAuthRequest",e.SilentHandlerMonitorIframeForHash="silentHandlerMonitorIframeForHash",e.SilentHandlerLoadFrame="silentHandlerLoadFrame",e.StandardInteractionClientCreateAuthCodeClient="standardInteractionClientCreateAuthCodeClient",e.StandardInteractionClientGetClientConfiguration="standardInteractionClientGetClientConfiguration",e.StandardInteractionClientInitializeAuthorizationRequest="standardInteractionClientInitializeAuthorizationRequest",e.StandardInteractionClientInitializeAuthorizationCodeRequest="standardInteractionClientInitializeAuthorizationCodeRequest",e.GetAuthCodeUrl="getAuthCodeUrl",e.HandleCodeResponseFromServer="handleCodeResponseFromServer",e.HandleCodeResponseFromHash="handleCodeResponseFromHash",e.UpdateTokenEndpointAuthority="updateTokenEndpointAuthority",e.AuthClientAcquireToken="authClientAcquireToken",e.AuthClientExecuteTokenRequest="authClientExecuteTokenRequest",e.AuthClientCreateTokenRequestBody="authClientCreateTokenRequestBody",e.AuthClientCreateQueryString="authClientCreateQueryString",e.PopTokenGenerateCnf="popTokenGenerateCnf",e.PopTokenGenerateKid="popTokenGenerateKid",e.HandleServerTokenResponse="handleServerTokenResponse",e.AuthorityFactoryCreateDiscoveredInstance="authorityFactoryCreateDiscoveredInstance",e.AuthorityResolveEndpointsAsync="authorityResolveEndpointsAsync",e.AuthorityGetCloudDiscoveryMetadataFromNetwork="authorityGetCloudDiscoveryMetadataFromNetwork",e.AuthorityUpdateCloudDiscoveryMetadata="authorityUpdateCloudDiscoveryMetadata",e.AuthorityGetEndpointMetadataFromNetwork="authorityGetEndpointMetadataFromNetwork",e.AuthorityUpdateEndpointMetadata="authorityUpdateEndpointMetadata",e.AuthorityUpdateMetadataWithRegionalInformation="authorityUpdateMetadataWithRegionalInformation",e.RegionDiscoveryDetectRegion="regionDiscoveryDetectRegion",e.RegionDiscoveryGetRegionFromIMDS="regionDiscoveryGetRegionFromIMDS",e.RegionDiscoveryGetCurrentVersion="regionDiscoveryGetCurrentVersion",e.AcquireTokenByCodeAsync="acquireTokenByCodeAsync",e.GetEndpointMetadataFromNetwork="getEndpointMetadataFromNetwork",e.GetCloudDiscoveryMetadataFromNetworkMeasurement="getCloudDiscoveryMetadataFromNetworkMeasurement",e.HandleRedirectPromiseMeasurement="handleRedirectPromiseMeasurement",e.UpdateCloudDiscoveryMetadataMeasurement="updateCloudDiscoveryMetadataMeasurement",e.UsernamePasswordClientAcquireToken="usernamePasswordClientAcquireToken",e.NativeMessageHandlerHandshake="nativeMessageHandlerHandshake"}(_e||(_e={})),function(e){e[e.NotStarted=0]="NotStarted",e[e.InProgress=1]="InProgress",e[e.Completed=2]="Completed"}(Ee||(Ee={}));var Me,Le=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status"]);!function(e){e.SW="sw",e.UHW="uhw"}(Me||(Me={}));var ze=function(){function e(e,t){this.cryptoUtils=e,this.performanceClient=t}return e.prototype.generateCnf=function(e){var t,n;return a(this,void 0,void 0,(function(){var r,o,i;return s(this,(function(a){switch(a.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.PopTokenGenerateCnf,e.correlationId),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.PopTokenGenerateKid,e.correlationId),[4,this.generateKid(e)];case 1:return r=a.sent(),o=this.cryptoUtils.base64Encode(JSON.stringify(r)),i={kid:r.kid,reqCnfString:o},[4,this.cryptoUtils.hashString(o)];case 2:return[2,(i.reqCnfHash=a.sent(),i)]}}))}))},e.prototype.generateKid=function(e){var t;return a(this,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.PopTokenGenerateKid,e.correlationId),[4,this.cryptoUtils.getPublicKeyThumbprint(e)];case 1:return[2,{kid:n.sent(),xms_ksl:Me.SW}]}}))}))},e.prototype.signPopToken=function(e,t,n){return a(this,void 0,void 0,(function(){return s(this,(function(r){return[2,this.signPayload(e,t,n)]}))}))},e.prototype.signPayload=function(e,t,n,r){return a(this,void 0,void 0,(function(){var o,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return o=n.resourceRequestMethod,a=n.resourceRequestUri,c=n.shrClaims,u=n.shrNonce,l=a?new De(a):void 0,p=null==l?void 0:l.getUrlComponents(),[4,this.cryptoUtils.signJwt(i({at:e,ts:xe.nowSeconds(),m:null==o?void 0:o.toUpperCase(),u:null==p?void 0:p.HostNameAndPort,nonce:u||this.cryptoUtils.createNewGuid(),p:null==p?void 0:p.AbsolutePath,q:(null==p?void 0:p.QueryString)?[[],p.QueryString]:void 0,client_claims:c||void 0},r),t,n.correlationId)];case 1:return[2,s.sent()]}}))}))},e}(),Fe=function(){function e(){}return e.prototype.generateAppMetadataKey=function(){return e.generateAppMetadataCacheKey(this.environment,this.clientId)},e.generateAppMetadataCacheKey=function(e,t){return[A,e,t].join(w.CACHE_KEY_SEPARATOR).toLowerCase()},e.createAppMetadataEntity=function(t,n,r){var o=new e;return o.clientId=t,o.environment=n,r&&(o.familyId=r),o},e.isAppMetadataEntity=function(e,t){return!!t&&0===e.indexOf(A)&&t.hasOwnProperty("clientId")&&t.hasOwnProperty("environment")},e}(),Ue=function(){function e(e,t){this.cache=e,this.hasChanged=t}return Object.defineProperty(e.prototype,"cacheHasChanged",{get:function(){return this.hasChanged},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenCache",{get:function(){return this.cache},enumerable:!1,configurable:!0}),e}(),qe=function(){function e(e,t,n,r,o,i,a){this.clientId=e,this.cacheStorage=t,this.cryptoObj=n,this.logger=r,this.serializableCache=o,this.persistencePlugin=i,this.performanceClient=a}return e.prototype.validateServerAuthorizationCodeResponse=function(e,t,n){if(!e.state||!t)throw e.state?K.createStateNotFoundError("Cached State"):K.createStateNotFoundError("Server State");if(decodeURIComponent(e.state)!==decodeURIComponent(t))throw K.createStateMismatchError();if(e.error||e.error_description||e.suberror){if(Oe.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new Oe(e.error||m.EMPTY_STRING,e.error_description,e.suberror,e.timestamp||m.EMPTY_STRING,e.trace_id||m.EMPTY_STRING,e.correlation_id||m.EMPTY_STRING,e.claims||m.EMPTY_STRING);throw new ve(e.error||m.EMPTY_STRING,e.error_description,e.suberror)}e.client_info&&re(e.client_info,n)},e.prototype.validateTokenResponse=function(e){if(e.error||e.error_description||e.suberror){if(Oe.isInteractionRequiredError(e.error,e.error_description,e.suberror))throw new Oe(e.error,e.error_description,e.suberror,e.timestamp||m.EMPTY_STRING,e.trace_id||m.EMPTY_STRING,e.correlation_id||m.EMPTY_STRING,e.claims||m.EMPTY_STRING);var t=e.error_codes+" - ["+e.timestamp+"]: "+e.error_description+" - Correlation ID: "+e.correlation_id+" - Trace ID: "+e.trace_id;throw new ve(e.error,t,e.suberror)}},e.prototype.handleServerTokenResponse=function(t,n,r,o,i,c,u,l,p){var d;return a(this,void 0,void 0,(function(){var a,h,f,g,v,y;return s(this,(function(s){switch(s.label){case 0:if(null===(d=this.performanceClient)||void 0===d||d.addQueueMeasurement(_e.HandleServerTokenResponse,t.correlation_id),t.id_token){if(a=new se(t.id_token||m.EMPTY_STRING,this.cryptoObj),i&&!W.isEmpty(i.nonce)&&a.claims.nonce!==i.nonce)throw K.createNonceMismatchError();if(o.maxAge||0===o.maxAge){if(!(h=a.claims.auth_time))throw K.createAuthTimeNotFoundError();se.checkMaxAge(h,o.maxAge)}}this.homeAccountIdentifier=ae.generateHomeAccountId(t.client_info||m.EMPTY_STRING,n.authorityType,this.logger,this.cryptoObj,a),i&&i.state&&(f=Ne.parseRequestState(this.cryptoObj,i.state)),t.key_id=t.key_id||o.sshKid||void 0,g=this.generateCacheRecord(t,n,r,o,a,c,i),s.label=1;case 1:return s.trys.push([1,,5,8]),this.persistencePlugin&&this.serializableCache?(this.logger.verbose("Persistence enabled, calling beforeCacheAccess"),v=new Ue(this.serializableCache,!0),[4,this.persistencePlugin.beforeCacheAccess(v)]):[3,3];case 2:s.sent(),s.label=3;case 3:return!u||l||!g.account||(y=g.account.generateAccountKey(),this.cacheStorage.getAccount(y))?[4,this.cacheStorage.saveCacheRecord(g)]:(this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),[2,e.generateAuthenticationResult(this.cryptoObj,n,g,!1,o,a,f,void 0,p)]);case 4:return s.sent(),[3,8];case 5:return this.persistencePlugin&&this.serializableCache&&v?(this.logger.verbose("Persistence enabled, calling afterCacheAccess"),[4,this.persistencePlugin.afterCacheAccess(v)]):[3,7];case 6:s.sent(),s.label=7;case 7:return[7];case 8:return[2,e.generateAuthenticationResult(this.cryptoObj,n,g,!1,o,a,f,t,p)]}}))}))},e.prototype.generateCacheRecord=function(e,t,n,r,o,i,a){var s,c,u=t.getPreferredCache();if(W.isEmpty(u))throw K.createInvalidCacheEnvironmentError();!W.isEmpty(e.id_token)&&o&&(s=Se.createIdTokenEntity(this.homeAccountIdentifier,u,e.id_token||m.EMPTY_STRING,this.clientId,o.claims.tid||m.EMPTY_STRING),c=this.generateAccountEntity(e,o,t,a));var l=null;if(!W.isEmpty(e.access_token)){var p=e.scope?ne.fromString(e.scope):new ne(r.scopes||[]),d=("string"==typeof e.expires_in?parseInt(e.expires_in,10):e.expires_in)||0,h=("string"==typeof e.ext_expires_in?parseInt(e.ext_expires_in,10):e.ext_expires_in)||0,f=("string"==typeof e.refresh_in?parseInt(e.refresh_in,10):e.refresh_in)||void 0,g=n+d,v=g+h,y=f&&f>0?n+f:void 0;l=Ce.createAccessTokenEntity(this.homeAccountIdentifier,u,e.access_token||m.EMPTY_STRING,this.clientId,o?o.claims.tid||m.EMPTY_STRING:t.tenant,p.printScopes(),g,v,this.cryptoObj,y,e.token_type,i,e.key_id,r.claims,r.requestedClaimsHash)}var b=null;W.isEmpty(e.refresh_token)||(b=Ae.createRefreshTokenEntity(this.homeAccountIdentifier,u,e.refresh_token||m.EMPTY_STRING,this.clientId,e.foci,i));var _=null;return W.isEmpty(e.foci)||(_=Fe.createAppMetadataEntity(this.clientId,u,e.foci)),new je(c,s,l,b,_)},e.prototype.generateAccountEntity=function(e,t,n,r){var o=n.authorityType,i=r?r.cloud_graph_host_name:m.EMPTY_STRING,a=r?r.msgraph_host:m.EMPTY_STRING;if(o===Z.Adfs)return this.logger.verbose("Authority type is ADFS, creating ADFS account"),ae.createGenericAccount(this.homeAccountIdentifier,t,n,i,a);if(W.isEmpty(e.client_info)&&"AAD"===n.protocolMode)throw K.createClientInfoEmptyError();return e.client_info?ae.createAccount(e.client_info,this.homeAccountIdentifier,t,n,i,a):ae.createGenericAccount(this.homeAccountIdentifier,t,n,i,a)},e.generateAuthenticationResult=function(e,t,n,r,o,i,c,u,l){var p,d,h;return a(this,void 0,void 0,(function(){var a,f,g,v,y,b,_,E,w,k,T;return s(this,(function(s){switch(s.label){case 0:if(a=m.EMPTY_STRING,f=[],g=null,y=m.EMPTY_STRING,!n.accessToken)return[3,4];if(n.accessToken.tokenType!==P.POP)return[3,2];if(b=new ze(e),_=n.accessToken,E=_.secret,!(w=_.keyId))throw K.createKeyIdMissingError();return[4,b.signPopToken(E,w,o)];case 1:return a=s.sent(),[3,3];case 2:a=n.accessToken.secret,s.label=3;case 3:f=ne.fromString(n.accessToken.target).asArray(),g=new Date(1e3*Number(n.accessToken.expiresOn)),v=new Date(1e3*Number(n.accessToken.extendedExpiresOn)),s.label=4;case 4:return n.appMetadata&&(y=n.appMetadata.familyId===I?I:m.EMPTY_STRING),k=(null==i?void 0:i.claims.oid)||(null==i?void 0:i.claims.sub)||m.EMPTY_STRING,T=(null==i?void 0:i.claims.tid)||m.EMPTY_STRING,(null==u?void 0:u.spa_accountid)&&n.account&&(n.account.nativeAccountId=null==u?void 0:u.spa_accountid),[2,{authority:t.canonicalAuthority,uniqueId:k,tenantId:T,scopes:f,account:n.account?n.account.getAccountInfo():null,idToken:i?i.rawToken:m.EMPTY_STRING,idTokenClaims:i?i.claims:{},accessToken:a,fromCache:r,expiresOn:g,correlationId:o.correlationId,requestId:l||m.EMPTY_STRING,extExpiresOn:v,familyId:y,tokenType:(null===(p=n.accessToken)||void 0===p?void 0:p.tokenType)||m.EMPTY_STRING,state:c?c.userRequestState:m.EMPTY_STRING,cloudGraphHostName:(null===(d=n.account)||void 0===d?void 0:d.cloudGraphHostName)||m.EMPTY_STRING,msGraphHost:(null===(h=n.account)||void 0===h?void 0:h.msGraphHost)||m.EMPTY_STRING,code:null==u?void 0:u.spa_code,fromNativeBroker:!1}]}}))}))},e}(),Be=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.includeRedirectUri=!0,r}return o(t,e),t.prototype.getAuthCodeUrl=function(e){var t,n;return a(this,void 0,void 0,(function(){var r;return s(this,(function(o){switch(o.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.GetAuthCodeUrl,e.correlationId),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.AuthClientCreateQueryString,e.correlationId),[4,this.createAuthCodeUrlQueryString(e)];case 1:return r=o.sent(),[2,De.appendQueryString(this.authority.authorizationEndpoint,r)]}}))}))},t.prototype.acquireToken=function(e,t){var n,r,o,i,c,l;return a(this,void 0,void 0,(function(){var a,p,d,h,m,f,g=this;return s(this,(function(s){switch(s.label){case 0:if(!e||!e.code)throw K.createTokenRequestCannotBeMadeError();return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.AuthClientAcquireToken,e.correlationId),a=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement("AuthCodeClientAcquireToken",e.correlationId),this.logger.info("in acquireToken call in auth-code client"),p=xe.nowSeconds(),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.AuthClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(this.authority,e)];case 1:return d=s.sent(),h=null===(i=d.headers)||void 0===i?void 0:i[u.X_MS_REQUEST_ID],(m=null===(c=d.headers)||void 0===c?void 0:c[u.X_MS_HTTP_VERSION])&&(null==a||a.addStaticFields({httpVerAuthority:m})),(f=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin,this.performanceClient)).validateTokenResponse(d.body),null===(l=this.performanceClient)||void 0===l||l.setPreQueueTime(_e.HandleServerTokenResponse,e.correlationId),[2,f.handleServerTokenResponse(d.body,this.authority,p,e,t,void 0,void 0,void 0,h).then((function(e){return null==a||a.endMeasurement({success:!0}),e})).catch((function(t){throw g.logger.verbose("Error in fetching token in ACC",e.correlationId),null==a||a.endMeasurement({errorCode:t.errorCode,subErrorCode:t.subError,success:!1}),t}))]}}))}))},t.prototype.handleFragmentResponse=function(e,t){var n=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null),r=new De(e),o=De.getDeserializedHash(r.getHash());if(n.validateServerAuthorizationCodeResponse(o,t,this.cryptoUtils),!o.code)throw K.createNoAuthCodeInServerResponseError();return i(i({},o),{code:o.code})},t.prototype.getLogoutUri=function(e){if(!e)throw te.createEmptyLogoutRequestError();var t=this.createLogoutUrlQueryString(e);return De.appendQueryString(this.authority.endSessionEndpoint,t)},t.prototype.executeTokenRequest=function(e,t){var n,r;return a(this,void 0,void 0,(function(){var o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.AuthClientExecuteTokenRequest,t.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(_e.AuthClientCreateTokenRequestBody,t.correlationId),o=this.createTokenQueryParameters(t),i=De.appendQueryString(e.tokenEndpoint,o),[4,this.createTokenRequestBody(t)];case 1:if(a=s.sent(),c=void 0,t.clientInfo)try{u=re(t.clientInfo,this.cryptoUtils),c={credential:""+u.uid+w.CLIENT_INFO_SEPARATOR+u.utid,type:ie.HOME_ACCOUNT_ID}}catch(e){this.logger.verbose("Could not parse client info for CCS Header: "+e)}return l=this.createTokenRequestHeaders(c||t.ccsCredential),p={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid},[2,this.executePostToTokenEndpoint(i,a,l,p)]}}))}))},t.prototype.createTokenRequestBody=function(e){var t,n;return a(this,void 0,void 0,(function(){var r,o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.AuthClientCreateTokenRequestBody,e.correlationId),(r=new ke).addClientId(this.config.authOptions.clientId),this.includeRedirectUri?r.addRedirectUri(e.redirectUri):we.validateRedirectUri(e.redirectUri),r.addScopes(e.scopes),r.addAuthorizationCode(e.code),r.addLibraryInfo(this.config.libraryInfo),r.addApplicationTelemetry(this.config.telemetry.application),r.addThrottling(),this.serverTelemetryManager&&r.addServerTelemetry(this.serverTelemetryManager),e.codeVerifier&&r.addCodeVerifier(e.codeVerifier),this.config.clientCredentials.clientSecret&&r.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(o=this.config.clientCredentials.clientAssertion,r.addClientAssertion(o.assertion),r.addClientAssertionType(o.assertionType)),r.addGrantType(_.AUTHORIZATION_CODE_GRANT),r.addClientInfo(),e.authenticationScheme!==P.POP?[3,2]:(i=new ze(this.cryptoUtils,this.performanceClient),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.PopTokenGenerateCnf,e.correlationId),[4,i.generateCnf(e)]);case 1:return a=s.sent(),r.addPopToken(a.reqCnfString),[3,3];case 2:if(e.authenticationScheme===P.SSH){if(!e.sshJwk)throw te.createMissingSshJwkError();r.addSshJwk(e.sshJwk)}s.label=3;case 3:if(c=e.correlationId||this.config.cryptoInterface.createNewGuid(),r.addCorrelationId(c),(!W.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&r.addClaims(e.claims,this.config.authOptions.clientCapabilities),u=void 0,e.clientInfo)try{l=re(e.clientInfo,this.cryptoUtils),u={credential:""+l.uid+w.CLIENT_INFO_SEPARATOR+l.utid,type:ie.HOME_ACCOUNT_ID}}catch(e){this.logger.verbose("Could not parse client info for CCS Header: "+e)}else u=e.ccsCredential;if(this.config.systemOptions.preventCorsPreflight&&u)switch(u.type){case ie.HOME_ACCOUNT_ID:try{l=oe(u.credential),r.addCcsOid(l)}catch(e){this.logger.verbose("Could not parse home account ID for CCS Header: "+e)}break;case ie.UPN:r.addCcsUpn(u.credential)}return e.tokenBodyParameters&&r.addExtraQueryParameters(e.tokenBodyParameters),!e.enableSpaAuthorizationCode||e.tokenBodyParameters&&e.tokenBodyParameters[d.RETURN_SPA_CODE]||r.addExtraQueryParameters(((p={})[d.RETURN_SPA_CODE]="1",p)),[2,r.createQueryString()]}}))}))},t.prototype.createAuthCodeUrlQueryString=function(e){var t;return a(this,void 0,void 0,(function(){var n,r,o,i,a,u,l;return s(this,(function(s){switch(s.label){case 0:if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.AuthClientCreateQueryString,e.correlationId),(n=new ke).addClientId(this.config.authOptions.clientId),r=c(e.scopes||[],e.extraScopesToConsent||[]),n.addScopes(r),n.addRedirectUri(e.redirectUri),o=e.correlationId||this.config.cryptoInterface.createNewGuid(),n.addCorrelationId(o),n.addResponseMode(e.responseMode),n.addResponseTypeCode(),n.addLibraryInfo(this.config.libraryInfo),n.addApplicationTelemetry(this.config.telemetry.application),n.addClientInfo(),e.codeChallenge&&e.codeChallengeMethod&&n.addCodeChallengeParams(e.codeChallenge,e.codeChallengeMethod),e.prompt&&n.addPrompt(e.prompt),e.domainHint&&n.addDomainHint(e.domainHint),e.prompt!==y.SELECT_ACCOUNT)if(e.sid&&e.prompt===y.NONE)this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),n.addSid(e.sid);else if(e.account){if(i=this.extractAccountSid(e.account),a=this.extractLoginHint(e.account)){this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),n.addLoginHint(a);try{u=oe(e.account.homeAccountId),n.addCcsOid(u)}catch(e){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(i&&e.prompt===y.NONE){this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),n.addSid(i);try{u=oe(e.account.homeAccountId),n.addCcsOid(u)}catch(e){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(e.loginHint)this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint);else if(e.account.username){this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),n.addLoginHint(e.account.username);try{u=oe(e.account.homeAccountId),n.addCcsOid(u)}catch(e){this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else e.loginHint&&(this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),n.addLoginHint(e.loginHint),n.addCcsUpn(e.loginHint));else this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");return e.nonce&&n.addNonce(e.nonce),e.state&&n.addState(e.state),(!W.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&n.addClaims(e.claims,this.config.authOptions.clientCapabilities),e.extraQueryParameters&&n.addExtraQueryParameters(e.extraQueryParameters),e.nativeBroker?(n.addNativeBroker(),e.authenticationScheme!==P.POP?[3,2]:[4,new ze(this.cryptoUtils).generateCnf(e)]):[3,2];case 1:l=s.sent(),n.addPopToken(l.reqCnfHash),s.label=2;case 2:return[2,n.createQueryString()]}}))}))},t.prototype.createLogoutUrlQueryString=function(e){var t=new ke;return e.postLogoutRedirectUri&&t.addPostLogoutRedirectUri(e.postLogoutRedirectUri),e.correlationId&&t.addCorrelationId(e.correlationId),e.idTokenHint&&t.addIdTokenHint(e.idTokenHint),e.state&&t.addState(e.state),e.logoutHint&&t.addLogoutHint(e.logoutHint),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),t.createQueryString()},t.prototype.extractAccountSid=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.sid)||null},t.prototype.extractLoginHint=function(e){var t;return(null===(t=e.idTokenClaims)||void 0===t?void 0:t.login_hint)||null},t}(Te),He=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.acquireToken=function(e){return a(this,void 0,void 0,(function(){var t,n,r,o;return s(this,(function(i){switch(i.label){case 0:return[4,this.getDeviceCode(e)];case 1:return t=i.sent(),e.deviceCodeCallback(t),n=xe.nowSeconds(),[4,this.acquireTokenWithDeviceCode(e,t)];case 2:return r=i.sent(),(o=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(r),[4,o.handleServerTokenResponse(r,this.authority,n,e)];case 3:return[2,i.sent()]}}))}))},t.prototype.getDeviceCode=function(e){return a(this,void 0,void 0,(function(){var t,n,r,o,i;return s(this,(function(a){return t=this.createExtraQueryParameters(e),n=De.appendQueryString(this.authority.deviceCodeEndpoint,t),r=this.createQueryString(e),o=this.createTokenRequestHeaders(),i={clientId:this.config.authOptions.clientId,authority:e.authority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},[2,this.executePostRequestToDeviceCodeEndpoint(n,r,o,i)]}))}))},t.prototype.createExtraQueryParameters=function(e){var t=new ke;return e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),t.createQueryString()},t.prototype.executePostRequestToDeviceCodeEndpoint=function(e,t,n,r){return a(this,void 0,void 0,(function(){var o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return[4,this.networkManager.sendPostRequest(r,e,{body:t,headers:n})];case 1:return o=s.sent().body,i=o.user_code,a=o.device_code,c=o.verification_uri,u=o.expires_in,l=o.interval,p=o.message,[2,{userCode:i,deviceCode:a,verificationUri:c,expiresIn:u,interval:l,message:p}]}}))}))},t.prototype.createQueryString=function(e){var t=new ke;return t.addScopes(e.scopes),t.addClientId(this.config.authOptions.clientId),e.extraQueryParameters&&t.addExtraQueryParameters(e.extraQueryParameters),(!W.isEmpty(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),t.createQueryString()},t.prototype.continuePolling=function(e,t,n){if(n)throw this.logger.error("Token request cancelled by setting DeviceCodeRequest.cancel = true"),K.createDeviceCodeCancelledError();if(t&&t<e&&xe.nowSeconds()>t)throw this.logger.error("User defined timeout for device code polling reached. The timeout was set for "+t),K.createUserTimeoutReachedError();if(xe.nowSeconds()>e)throw t&&this.logger.verbose("User specified timeout ignored as the device code has expired before the timeout elapsed. The user specified timeout was set for "+t),this.logger.error("Device code expired. Expiration time of device code was "+e),K.createDeviceCodeExpiredError();return!0},t.prototype.acquireTokenWithDeviceCode=function(e,t){return a(this,void 0,void 0,(function(){var n,r,o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:n=this.createTokenQueryParameters(e),r=De.appendQueryString(this.authority.tokenEndpoint,n),o=this.createTokenRequestBody(e,t),i=this.createTokenRequestHeaders(),a=e.timeout?xe.nowSeconds()+e.timeout:void 0,c=xe.nowSeconds()+t.expiresIn,u=1e3*t.interval,s.label=1;case 1:return this.continuePolling(c,a,e.cancel)?(l={clientId:this.config.authOptions.clientId,authority:e.authority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},[4,this.executePostToTokenEndpoint(r,o,i,l)]):[3,8];case 2:return(p=s.sent()).body&&p.body.error?p.body.error!==m.AUTHORIZATION_PENDING?[3,4]:(this.logger.info("Authorization pending. Continue polling."),[4,xe.delay(u)]):[3,6];case 3:return s.sent(),[3,5];case 4:throw this.logger.info("Unexpected error in polling from the server"),ve.createPostRequestFailed(p.body.error);case 5:return[3,7];case 6:return this.logger.verbose("Authorization completed successfully. Polling stopped."),[2,p.body];case 7:return[3,1];case 8:throw this.logger.error("Polling stopped for unknown reasons."),K.createDeviceCodeUnknownError()}}))}))},t.prototype.createTokenRequestBody=function(e,t){var n=new ke;n.addScopes(e.scopes),n.addClientId(this.config.authOptions.clientId),n.addGrantType(_.DEVICE_CODE_GRANT),n.addDeviceCode(t.deviceCode);var r=e.correlationId||this.config.cryptoInterface.createNewGuid();return n.addCorrelationId(r),n.addClientInfo(),n.addLibraryInfo(this.config.libraryInfo),n.addApplicationTelemetry(this.config.telemetry.application),n.addThrottling(),this.serverTelemetryManager&&n.addServerTelemetry(this.serverTelemetryManager),(!W.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&n.addClaims(e.claims,this.config.authOptions.clientCapabilities),n.createQueryString()},t}(Te),Ve=function(e){function t(t,n){return e.call(this,t,n)||this}return o(t,e),t.prototype.acquireToken=function(e){var t,n,r,o,i,c,l;return a(this,void 0,void 0,(function(){var a,p,d,h,m,f,g=this;return s(this,(function(s){switch(s.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.RefreshTokenClientAcquireToken,e.correlationId),a=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(_e.RefreshTokenClientAcquireToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireToken called",e.correlationId),p=xe.nowSeconds(),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(_e.RefreshTokenClientExecuteTokenRequest,e.correlationId),[4,this.executeTokenRequest(e,this.authority)];case 1:return d=s.sent(),h=null===(o=d.headers)||void 0===o?void 0:o[u.X_MS_HTTP_VERSION],null==a||a.addStaticFields({refreshTokenSize:(null===(i=d.body.refresh_token)||void 0===i?void 0:i.length)||0}),h&&(null==a||a.addStaticFields({httpVerToken:h})),m=null===(c=d.headers)||void 0===c?void 0:c[u.X_MS_REQUEST_ID],(f=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(d.body),null===(l=this.performanceClient)||void 0===l||l.setPreQueueTime(_e.HandleServerTokenResponse,e.correlationId),[2,f.handleServerTokenResponse(d.body,this.authority,p,e,void 0,void 0,!0,e.forceCache,m).then((function(e){return null==a||a.endMeasurement({success:!0}),e})).catch((function(t){throw g.logger.verbose("Error in fetching refresh token",e.correlationId),null==a||a.endMeasurement({errorCode:t.errorCode,subErrorCode:t.subError,success:!1}),t}))]}}))}))},t.prototype.acquireTokenByRefreshToken=function(e){var t,n,r,o;return a(this,void 0,void 0,(function(){var i,a;return s(this,(function(s){if(!e)throw te.createEmptyTokenRequestError();if(null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.RefreshTokenClientAcquireTokenByRefreshToken,e.correlationId),!e.account)throw K.createNoAccountInSilentRequestError();if(this.cacheManager.isAppMetadataFOCI(e.account.environment,this.config.authOptions.clientId))try{return null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!0)]}catch(t){if(i=t instanceof Oe&&t.errorCode===Pe.noTokensFoundError.code,a=t instanceof ve&&t.errorCode===U.INVALID_GRANT_ERROR&&t.subError===U.CLIENT_MISMATCH_ERROR,i||a)return null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)];throw t}return null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),[2,this.acquireTokenWithCachedRefreshToken(e,!1)]}))}))},t.prototype.acquireTokenWithCachedRefreshToken=function(e,t){var n,r,o;return a(this,void 0,void 0,(function(){var a,c,u;return s(this,(function(s){if(null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),a=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(_e.RefreshTokenClientAcquireTokenWithCachedRefreshToken,e.correlationId),this.logger.verbose("RefreshTokenClientAcquireTokenWithCachedRefreshToken called",e.correlationId),!(c=this.cacheManager.readRefreshTokenFromCache(this.config.authOptions.clientId,e.account,t)))throw null==a||a.discardMeasurement(),Oe.createNoTokensFoundError();return null==a||a.endMeasurement({success:!0}),u=i(i({},e),{refreshToken:c.secret,authenticationScheme:e.authenticationScheme||P.BEARER,ccsCredential:{credential:e.account.homeAccountId,type:ie.HOME_ACCOUNT_ID}}),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.RefreshTokenClientAcquireToken,e.correlationId),[2,this.acquireToken(u)]}))}))},t.prototype.executeTokenRequest=function(e,t){var n,r,o;return a(this,void 0,void 0,(function(){var i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.RefreshTokenClientExecuteTokenRequest,e.correlationId),i=null===(r=this.performanceClient)||void 0===r?void 0:r.startMeasurement(_e.RefreshTokenClientExecuteTokenRequest,e.correlationId),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.RefreshTokenClientCreateTokenRequestBody,e.correlationId),a=this.createTokenQueryParameters(e),c=De.appendQueryString(t.tokenEndpoint,a),[4,this.createTokenRequestBody(e)];case 1:return u=s.sent(),l=this.createTokenRequestHeaders(e.ccsCredential),p={clientId:this.config.authOptions.clientId,authority:t.canonicalAuthority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},[2,this.executePostToTokenEndpoint(c,u,l,p).then((function(e){return null==i||i.endMeasurement({success:!0}),e})).catch((function(e){throw null==i||i.endMeasurement({success:!1}),e}))]}}))}))},t.prototype.createTokenRequestBody=function(e){var t,n,r;return a(this,void 0,void 0,(function(){var o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.RefreshTokenClientCreateTokenRequestBody,e.correlationId),o=e.correlationId,i=null===(n=this.performanceClient)||void 0===n?void 0:n.startMeasurement(_e.BaseClientCreateTokenRequestHeaders,o),(a=new ke).addClientId(this.config.authOptions.clientId),a.addScopes(e.scopes),a.addGrantType(_.REFRESH_TOKEN_GRANT),a.addClientInfo(),a.addLibraryInfo(this.config.libraryInfo),a.addApplicationTelemetry(this.config.telemetry.application),a.addThrottling(),this.serverTelemetryManager&&a.addServerTelemetry(this.serverTelemetryManager),a.addCorrelationId(o),a.addRefreshToken(e.refreshToken),this.config.clientCredentials.clientSecret&&a.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion&&(c=this.config.clientCredentials.clientAssertion,a.addClientAssertion(c.assertion),a.addClientAssertionType(c.assertionType)),e.authenticationScheme!==P.POP?[3,2]:(u=new ze(this.cryptoUtils,this.performanceClient),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(_e.PopTokenGenerateCnf,e.correlationId),[4,u.generateCnf(e)]);case 1:return l=s.sent(),a.addPopToken(l.reqCnfString),[3,3];case 2:if(e.authenticationScheme===P.SSH){if(!e.sshJwk)throw null==i||i.endMeasurement({success:!1}),te.createMissingSshJwkError();a.addSshJwk(e.sshJwk)}s.label=3;case 3:if((!W.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&a.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.ccsCredential)switch(e.ccsCredential.type){case ie.HOME_ACCOUNT_ID:try{p=oe(e.ccsCredential.credential),a.addCcsOid(p)}catch(e){this.logger.verbose("Could not parse home account ID for CCS Header: "+e)}break;case ie.UPN:a.addCcsUpn(e.ccsCredential.credential)}return null==i||i.endMeasurement({success:!0}),[2,a.createQueryString()]}}))}))},t}(Te),Ge=function(e){function t(t,n){var r=e.call(this,t)||this;return r.appTokenProvider=n,r}return o(t,e),t.prototype.acquireToken=function(e){return a(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:return this.scopeSet=new ne(e.scopes||[]),e.skipCache?[4,this.executeTokenRequest(e,this.authority)]:[3,2];case 1:case 5:return[2,n.sent()];case 2:return[4,this.getCachedAuthenticationResult(e)];case 3:return(t=n.sent())?[2,t]:[3,4];case 4:return[4,this.executeTokenRequest(e,this.authority)]}}))}))},t.prototype.getCachedAuthenticationResult=function(e){var t,n;return a(this,void 0,void 0,(function(){var r;return s(this,(function(o){switch(o.label){case 0:return(r=this.readAccessTokenFromCache())?xe.isTokenExpired(r.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds)?(null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(L.CACHED_ACCESS_TOKEN_EXPIRED),[2,null]):[4,qe.generateAuthenticationResult(this.cryptoUtils,this.authority,{account:null,idToken:null,accessToken:r,refreshToken:null,appMetadata:null},!0,e)]:(null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(L.NO_CACHED_ACCESS_TOKEN),[2,null]);case 1:return[2,o.sent()]}}))}))},t.prototype.readAccessTokenFromCache=function(){var e={homeAccountId:m.EMPTY_STRING,environment:this.authority.canonicalAuthorityUrlComponents.HostNameAndPort,credentialType:k.ACCESS_TOKEN,clientId:this.config.authOptions.clientId,realm:this.authority.tenant,target:this.scopeSet.printScopesLowerCase()},t=this.cacheManager.getCredentialsFilteredBy(e),n=Object.keys(t.accessTokens).map((function(e){return t.accessTokens[e]}));if(n.length<1)return null;if(n.length>1)throw K.createMultipleMatchingTokensInCacheError();return n[0]},t.prototype.executeTokenRequest=function(e,t){return a(this,void 0,void 0,(function(){var n,r,o,i,a,c,u,l,p,d,h;return s(this,(function(s){switch(s.label){case 0:return this.appTokenProvider?(this.logger.info("Using appTokenProvider extensibility."),o={correlationId:e.correlationId,tenantId:this.config.authOptions.authority.tenant,scopes:e.scopes,claims:e.claims},r=xe.nowSeconds(),[4,this.appTokenProvider(o)]):[3,2];case 1:return i=s.sent(),n={access_token:i.accessToken,expires_in:i.expiresInSeconds,refresh_in:i.refreshInSeconds,token_type:P.BEARER},[3,4];case 2:return a=this.createTokenQueryParameters(e),c=De.appendQueryString(t.tokenEndpoint,a),u=this.createTokenRequestBody(e),l=this.createTokenRequestHeaders(),p={clientId:this.config.authOptions.clientId,authority:e.authority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},r=xe.nowSeconds(),[4,this.executePostToTokenEndpoint(c,u,l,p)];case 3:d=s.sent(),n=d.body,s.label=4;case 4:return(h=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(n),[4,h.handleServerTokenResponse(n,this.authority,r,e)];case 5:return[2,s.sent()]}}))}))},t.prototype.createTokenRequestBody=function(e){var t=new ke;t.addClientId(this.config.authOptions.clientId),t.addScopes(e.scopes,!1),t.addGrantType(_.CLIENT_CREDENTIALS_GRANT),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager);var n=e.correlationId||this.config.cryptoInterface.createNewGuid();t.addCorrelationId(n),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret);var r=e.clientAssertion||this.config.clientCredentials.clientAssertion;return r&&(t.addClientAssertion(r.assertion),t.addClientAssertionType(r.assertionType)),(!W.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),t.createQueryString()},t}(Te),$e=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.acquireToken=function(e){return a(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:return this.scopeSet=new ne(e.scopes||[]),t=this,[4,this.cryptoUtils.hashString(e.oboAssertion)];case 1:return t.userAssertionHash=n.sent(),e.skipCache?[4,this.executeTokenRequest(e,this.authority,this.userAssertionHash)]:[3,3];case 2:case 4:case 6:return[2,n.sent()];case 3:return n.trys.push([3,5,,7]),[4,this.getCachedAuthenticationResult(e)];case 5:return n.sent(),[4,this.executeTokenRequest(e,this.authority,this.userAssertionHash)];case 7:return[2]}}))}))},t.prototype.getCachedAuthenticationResult=function(e){var t,n;return a(this,void 0,void 0,(function(){var r,o,i,a,c,u;return s(this,(function(s){switch(s.label){case 0:if(!(r=this.readAccessTokenFromCacheForOBO(this.config.authOptions.clientId,e)))throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(L.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),K.createRefreshRequiredError();if(xe.isTokenExpired(r.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(L.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("OnbehalfofFlow:getCachedAuthenticationResult - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),K.createRefreshRequiredError();return o=this.readIdTokenFromCacheForOBO(e,r.homeAccountId),a=null,o&&(i=new se(o.secret,this.config.cryptoInterface),c=i.claims.oid?i.claims.oid:i.claims.sub,u={homeAccountId:o.homeAccountId,environment:o.environment,tenantId:o.realm,username:m.EMPTY_STRING,localAccountId:c||m.EMPTY_STRING},a=this.cacheManager.readAccountFromCache(u)),this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,qe.generateAuthenticationResult(this.cryptoUtils,this.authority,{account:a,accessToken:r,idToken:o,refreshToken:null,appMetadata:null},!0,e,i)];case 1:return[2,s.sent()]}}))}))},t.prototype.readIdTokenFromCacheForOBO=function(e,t){var n={homeAccountId:t,environment:this.authority.canonicalAuthorityUrlComponents.HostNameAndPort,credentialType:k.ID_TOKEN,clientId:this.config.authOptions.clientId,realm:this.authority.tenant},r=this.cacheManager.getCredentialsFilteredBy(n),o=Object.keys(r.idTokens).map((function(e){return r.idTokens[e]}));return o.length<1?null:o[0]},t.prototype.readAccessTokenFromCacheForOBO=function(e,t){var n=t.authenticationScheme||P.BEARER,r={credentialType:n&&n.toLowerCase()!==P.BEARER.toLowerCase()?k.ACCESS_TOKEN_WITH_AUTH_SCHEME:k.ACCESS_TOKEN,clientId:e,target:this.scopeSet.printScopesLowerCase(),tokenType:n,keyId:t.sshKid,requestedClaimsHash:t.requestedClaimsHash,userAssertionHash:this.userAssertionHash},o=this.cacheManager.getCredentialsFilteredBy(r),i=Object.keys(o.accessTokens).map((function(e){return o.accessTokens[e]})),a=i.length;if(a<1)return null;if(a>1)throw K.createMultipleMatchingTokensInCacheError();return i[0]},t.prototype.executeTokenRequest=function(e,t,n){return a(this,void 0,void 0,(function(){var r,o,i,a,c,u,l,p;return s(this,(function(s){switch(s.label){case 0:return r=this.createTokenQueryParameters(e),o=De.appendQueryString(t.tokenEndpoint,r),i=this.createTokenRequestBody(e),a=this.createTokenRequestHeaders(),c={clientId:this.config.authOptions.clientId,authority:e.authority,scopes:e.scopes,claims:e.claims,authenticationScheme:e.authenticationScheme,resourceRequestMethod:e.resourceRequestMethod,resourceRequestUri:e.resourceRequestUri,shrClaims:e.shrClaims,sshKid:e.sshKid},u=xe.nowSeconds(),[4,this.executePostToTokenEndpoint(o,i,a,c)];case 1:return l=s.sent(),(p=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(l.body),[4,p.handleServerTokenResponse(l.body,this.authority,u,e,void 0,n)];case 2:return[2,s.sent()]}}))}))},t.prototype.createTokenRequestBody=function(e){var t=new ke;t.addClientId(this.config.authOptions.clientId),t.addScopes(e.scopes),t.addGrantType(_.JWT_BEARER),t.addClientInfo(),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager);var n=e.correlationId||this.config.cryptoInterface.createNewGuid();if(t.addCorrelationId(n),t.addRequestTokenUse(d.ON_BEHALF_OF),t.addOboAssertion(e.oboAssertion),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){var r=this.config.clientCredentials.clientAssertion;t.addClientAssertion(r.assertion),t.addClientAssertionType(r.assertionType)}return(e.claims||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),t.createQueryString()},t}(Te),Ke=function(e){function t(t,n){return e.call(this,t,n)||this}return o(t,e),t.prototype.acquireToken=function(e){return a(this,void 0,void 0,(function(){var t;return s(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,this.acquireCachedToken(e)];case 1:return[2,n.sent()];case 2:if((t=n.sent())instanceof K&&t.errorCode===$.tokenRefreshRequired.code)return[2,new Ve(this.config,this.performanceClient).acquireTokenByRefreshToken(e)];throw t;case 3:return[2]}}))}))},t.prototype.acquireCachedToken=function(e){var t,n,r,o;return a(this,void 0,void 0,(function(){var i,a;return s(this,(function(s){switch(s.label){case 0:if(!e)throw te.createEmptyTokenRequestError();if(e.forceRefresh)throw null===(t=this.serverTelemetryManager)||void 0===t||t.setCacheOutcome(L.FORCE_REFRESH),this.logger.info("SilentFlowClient:acquireCachedToken - Skipping cache because forceRefresh is true."),K.createRefreshRequiredError();if(!e.account)throw K.createNoAccountInSilentRequestError();if(i=e.authority||this.authority.getPreferredCache(),!(a=this.cacheManager.readCacheRecord(e.account,this.config.authOptions.clientId,e,i)).accessToken)throw null===(n=this.serverTelemetryManager)||void 0===n||n.setCacheOutcome(L.NO_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - No access token found in cache for the given properties."),K.createRefreshRequiredError();if(xe.wasClockTurnedBack(a.accessToken.cachedAt)||xe.isTokenExpired(a.accessToken.expiresOn,this.config.systemOptions.tokenRenewalOffsetSeconds))throw null===(r=this.serverTelemetryManager)||void 0===r||r.setCacheOutcome(L.CACHED_ACCESS_TOKEN_EXPIRED),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token is expired or will expire within "+this.config.systemOptions.tokenRenewalOffsetSeconds+" seconds."),K.createRefreshRequiredError();if(a.accessToken.refreshOn&&xe.isTokenExpired(a.accessToken.refreshOn,0))throw null===(o=this.serverTelemetryManager)||void 0===o||o.setCacheOutcome(L.REFRESH_CACHED_ACCESS_TOKEN),this.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'."),K.createRefreshRequiredError();return this.config.serverTelemetryManager&&this.config.serverTelemetryManager.incrementCacheHits(),[4,this.generateResultFromCacheRecord(a,e)];case 1:return[2,s.sent()]}}))}))},t.prototype.generateResultFromCacheRecord=function(e,t){return a(this,void 0,void 0,(function(){var n,r;return s(this,(function(o){switch(o.label){case 0:if(e.idToken&&(n=new se(e.idToken.secret,this.config.cryptoInterface)),t.maxAge||0===t.maxAge){if(!(r=null==n?void 0:n.claims.auth_time))throw K.createAuthTimeNotFoundError();se.checkMaxAge(r,t.maxAge)}return[4,qe.generateAuthenticationResult(this.cryptoUtils,this.authority,e,!0,t,n)];case 1:return[2,o.sent()]}}))}))},t}(Te),We=function(e){function t(t){return e.call(this,t)||this}return o(t,e),t.prototype.acquireToken=function(e){var t,n;return a(this,void 0,void 0,(function(){var r,o,i,a,c;return s(this,(function(s){switch(s.label){case 0:return r=null===(t=this.performanceClient)||void 0===t?void 0:t.startMeasurement("UsernamePasswordClientAcquireToken",e.correlationId),this.logger.info("in acquireToken call in username-password client"),o=xe.nowSeconds(),[4,this.executeTokenRequest(this.authority,e)];case 1:return i=s.sent(),a=null===(n=i.headers)||void 0===n?void 0:n[u.X_MS_HTTP_VERSION],null==r||r.addStaticFields({httpVerToken:a}),(c=new qe(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,this.config.serializableCache,this.config.persistencePlugin)).validateTokenResponse(i.body),[2,c.handleServerTokenResponse(i.body,this.authority,o,e)]}}))}))},t.prototype.executeTokenRequest=function(e,t){return a(this,void 0,void 0,(function(){var n,r,o,i,a;return s(this,(function(s){return n=this.createTokenQueryParameters(t),r=De.appendQueryString(e.tokenEndpoint,n),o=this.createTokenRequestBody(t),i=this.createTokenRequestHeaders({credential:t.username,type:ie.UPN}),a={clientId:this.config.authOptions.clientId,authority:e.canonicalAuthority,scopes:t.scopes,claims:t.claims,authenticationScheme:t.authenticationScheme,resourceRequestMethod:t.resourceRequestMethod,resourceRequestUri:t.resourceRequestUri,shrClaims:t.shrClaims,sshKid:t.sshKid},[2,this.executePostToTokenEndpoint(r,o,i,a)]}))}))},t.prototype.createTokenRequestBody=function(e){var t=new ke;t.addClientId(this.config.authOptions.clientId),t.addUsername(e.username),t.addPassword(e.password),t.addScopes(e.scopes),t.addResponseTypeForTokenAndIdToken(),t.addGrantType(_.RESOURCE_OWNER_PASSWORD_GRANT),t.addClientInfo(),t.addLibraryInfo(this.config.libraryInfo),t.addApplicationTelemetry(this.config.telemetry.application),t.addThrottling(),this.serverTelemetryManager&&t.addServerTelemetry(this.serverTelemetryManager);var n=e.correlationId||this.config.cryptoInterface.createNewGuid();if(t.addCorrelationId(n),this.config.clientCredentials.clientSecret&&t.addClientSecret(this.config.clientCredentials.clientSecret),this.config.clientCredentials.clientAssertion){var r=this.config.clientCredentials.clientAssertion;t.addClientAssertion(r.assertion),t.addClientAssertionType(r.assertionType)}return(!W.isEmptyObj(e.claims)||this.config.authOptions.clientCapabilities&&this.config.authOptions.clientCapabilities.length>0)&&t.addClaims(e.claims,this.config.authOptions.clientCapabilities),this.config.systemOptions.preventCorsPreflight&&e.username&&t.addCcsUpn(e.username),t.createQueryString()},t}(Te);function Qe(e){return e.hasOwnProperty("authorization_endpoint")&&e.hasOwnProperty("token_endpoint")&&e.hasOwnProperty("issuer")&&e.hasOwnProperty("jwks_uri")}var Ye,Xe={"https://login.microsoftonline.com/common/":{token_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/common/":{token_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/common/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/common/":{token_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/common/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/common/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/common/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/consumers/":{token_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/consumers/":{token_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/consumers/":{token_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/consumers/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/9188040d-6c67-4c5b-b112-36a304b66dad/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/consumers/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/consumers/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"},"https://login.microsoftonline.com/organizations/":{token_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.com/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.com/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.com/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.com",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pas.windows.net"},"https://login.chinacloudapi.cn/organizations/":{token_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.chinacloudapi.cn/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://microsoftgraph.chinacloudapi.cn/oidc/userinfo",authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.chinacloudapi.cn/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.chinacloudapi.cn/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"partner.microsoftonline.cn",cloud_graph_host_name:"graph.chinacloudapi.cn",msgraph_host:"microsoftgraph.chinacloudapi.cn",rbac_url:"https://pas.chinacloudapi.cn"},"https://login.microsoftonline.us/organizations/":{token_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/token",token_endpoint_auth_methods_supported:["client_secret_post","private_key_jwt","client_secret_basic"],jwks_uri:"https://login.microsoftonline.us/organizations/discovery/v2.0/keys",response_modes_supported:["query","fragment","form_post"],subject_types_supported:["pairwise"],id_token_signing_alg_values_supported:["RS256"],response_types_supported:["code","id_token","code id_token","id_token token"],scopes_supported:["openid","profile","email","offline_access"],issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",request_uri_parameter_supported:!1,userinfo_endpoint:"https://graph.microsoft.com/oidc/userinfo",authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/authorize",device_authorization_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/devicecode",http_logout_supported:!0,frontchannel_logout_supported:!0,end_session_endpoint:"https://login.microsoftonline.us/organizations/oauth2/v2.0/logout",claims_supported:["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],kerberos_endpoint:"https://login.microsoftonline.us/organizations/kerberos",tenant_region_scope:null,cloud_instance_name:"microsoftonline.us",cloud_graph_host_name:"graph.windows.net",msgraph_host:"graph.microsoft.com",rbac_url:"https://pasff.usgovcloudapi.net"}},Je={"https://login.microsoftonline.com/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/common/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/common/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/common/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/consumers/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/consumers/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/consumers/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.com/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.com/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.chinacloudapi.cn/organizations/":{tenant_discovery_endpoint:"https://login.chinacloudapi.cn/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},"https://login.microsoftonline.us/organizations/":{tenant_discovery_endpoint:"https://login.microsoftonline.us/organizations/v2.0/.well-known/openid-configuration","api-version":"1.1",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]}};!function(e){e.AAD="AAD",e.OIDC="OIDC"}(Ye||(Ye={}));var Ze=function(){function e(){this.expiresAt=xe.nowSeconds()+86400}return e.prototype.updateCloudDiscoveryMetadata=function(e,t){this.aliases=e.aliases,this.preferred_cache=e.preferred_cache,this.preferred_network=e.preferred_network,this.aliasesFromNetwork=t},e.prototype.updateEndpointMetadata=function(e,t){this.authorization_endpoint=e.authorization_endpoint,this.token_endpoint=e.token_endpoint,this.end_session_endpoint=e.end_session_endpoint,this.issuer=e.issuer,this.endpointsFromNetwork=t,this.jwks_uri=e.jwks_uri},e.prototype.updateCanonicalAuthority=function(e){this.canonical_authority=e},e.prototype.resetExpiresAt=function(){this.expiresAt=xe.nowSeconds()+86400},e.prototype.isExpired=function(){return this.expiresAt<=xe.nowSeconds()},e.isAuthorityMetadataEntity=function(e,t){return!!t&&0===e.indexOf(R)&&t.hasOwnProperty("aliases")&&t.hasOwnProperty("preferred_cache")&&t.hasOwnProperty("preferred_network")&&t.hasOwnProperty("canonical_authority")&&t.hasOwnProperty("authorization_endpoint")&&t.hasOwnProperty("token_endpoint")&&t.hasOwnProperty("issuer")&&t.hasOwnProperty("aliasesFromNetwork")&&t.hasOwnProperty("endpointsFromNetwork")&&t.hasOwnProperty("expiresAt")&&t.hasOwnProperty("jwks_uri")},e}(),et=function(){function e(e,t,n){this.networkInterface=e,this.performanceClient=t,this.correlationId=n}return e.prototype.detectRegion=function(t,n){var r,o,i,c;return a(this,void 0,void 0,(function(){var a,u,l,p,d;return s(this,(function(s){switch(s.label){case 0:if(null===(r=this.performanceClient)||void 0===r||r.addQueueMeasurement(_e.RegionDiscoveryDetectRegion,this.correlationId),a=t)return[3,8];u=e.IMDS_OPTIONS,s.label=1;case 1:return s.trys.push([1,6,,7]),null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(m.IMDS_VERSION,u)];case 2:return(l=s.sent()).status===N.httpSuccess&&(a=l.body,n.region_source=D.IMDS),l.status!==N.httpBadRequest?[3,5]:(null===(i=this.performanceClient)||void 0===i||i.setPreQueueTime(_e.RegionDiscoveryGetCurrentVersion,this.correlationId),[4,this.getCurrentVersion(u)]);case 3:return(p=s.sent())?(null===(c=this.performanceClient)||void 0===c||c.setPreQueueTime(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[4,this.getRegionFromIMDS(p,u)]):(n.region_source=D.FAILED_AUTO_DETECTION,[2,null]);case 4:(d=s.sent()).status===N.httpSuccess&&(a=d.body,n.region_source=D.IMDS),s.label=5;case 5:return[3,7];case 6:return s.sent(),n.region_source=D.FAILED_AUTO_DETECTION,[2,null];case 7:return[3,9];case 8:n.region_source=D.ENVIRONMENT_VARIABLE,s.label=9;case 9:return a||(n.region_source=D.FAILED_AUTO_DETECTION),[2,a||null]}}))}))},e.prototype.getRegionFromIMDS=function(e,t){var n;return a(this,void 0,void 0,(function(){return s(this,(function(r){return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.RegionDiscoveryGetRegionFromIMDS,this.correlationId),[2,this.networkInterface.sendGetRequestAsync(m.IMDS_ENDPOINT+"?api-version="+e+"&format=text",t,m.IMDS_TIMEOUT)]}))}))},e.prototype.getCurrentVersion=function(e){var t;return a(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.RegionDiscoveryGetCurrentVersion,this.correlationId),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(m.IMDS_ENDPOINT+"?format=json",e)];case 2:return(n=r.sent()).status===N.httpBadRequest&&n.body&&n.body["newest-versions"]&&n.body["newest-versions"].length>0?[2,n.body["newest-versions"][0]]:[2,null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.IMDS_OPTIONS={headers:{Metadata:"true"}},e}(),tt=function(){function e(e,t,n,r,o,i,a){this.canonicalAuthority=e,this._canonicalAuthority.validateAsUri(),this.networkInterface=t,this.cacheManager=n,this.authorityOptions=r,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=o,this.performanceClient=i,this.correlationId=a,this.regionDiscovery=new et(t,this.performanceClient,this.correlationId)}return Object.defineProperty(e.prototype,"authorityType",{get:function(){var e=this.canonicalAuthorityUrlComponents.PathSegments;if(e.length)switch(e[0].toLowerCase()){case m.ADFS:return Z.Adfs;case m.DSTS:return Z.Dsts}return Z.Default},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"protocolMode",{get:function(){return this.authorityOptions.protocolMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.authorityOptions},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthority",{get:function(){return this._canonicalAuthority.urlString},set:function(e){this._canonicalAuthority=new De(e),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canonicalAuthorityUrlComponents",{get:function(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hostnameAndPort",{get:function(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tenant",{get:function(){return this.canonicalAuthorityUrlComponents.PathSegments[0]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authorizationEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.authorization_endpoint);return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tokenEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint);return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"deviceCodeEndpoint",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endSessionEndpoint",{get:function(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw K.createLogoutNotSupportedError();var e=this.replacePath(this.metadata.end_session_endpoint);return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selfSignedJwtAudience",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.issuer);return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"jwksUri",{get:function(){if(this.discoveryComplete()){var e=this.replacePath(this.metadata.jwks_uri);return this.replaceTenant(e)}throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},enumerable:!1,configurable:!0}),e.prototype.replaceTenant=function(e){return e.replace(/{tenant}|{tenantid}/g,this.tenant)},e.prototype.replacePath=function(e){var t=e,n=new De(this.metadata.canonical_authority).getUrlComponents().PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((function(e,r){var o=n[r];e!==o&&(t=t.replace("/"+o+"/","/"+e+"/"))})),t},Object.defineProperty(e.prototype,"defaultOpenIdConfigurationEndpoint",{get:function(){return this.authorityType===Z.Adfs||this.authorityType===Z.Dsts||this.protocolMode===Ye.OIDC?this.canonicalAuthority+".well-known/openid-configuration":this.canonicalAuthority+"v2.0/.well-known/openid-configuration"},enumerable:!1,configurable:!0}),e.prototype.discoveryComplete=function(){return!!this.metadata},e.prototype.resolveEndpointsAsync=function(){var e,t,n;return a(this,void 0,void 0,(function(){var r,o,i,a;return s(this,(function(s){switch(s.label){case 0:return null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(_e.AuthorityResolveEndpointsAsync,this.correlationId),(r=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort))||(r=new Ze).updateCanonicalAuthority(this.canonicalAuthority),null===(t=this.performanceClient)||void 0===t||t.setPreQueueTime(_e.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),[4,this.updateCloudDiscoveryMetadata(r)];case 1:return o=s.sent(),this.canonicalAuthority=this.canonicalAuthority.replace(this.hostnameAndPort,r.preferred_network),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.AuthorityUpdateEndpointMetadata,this.correlationId),[4,this.updateEndpointMetadata(r)];case 2:return i=s.sent(),o!==C.CACHE&&i!==C.CACHE&&(r.resetExpiresAt(),r.updateCanonicalAuthority(this.canonicalAuthority)),a=this.cacheManager.generateAuthorityMetadataCacheKey(r.preferred_cache),this.cacheManager.setAuthorityMetadata(a,r),this.metadata=r,[2]}}))}))},e.prototype.updateEndpointMetadata=function(e){var t,n,r,o,i,c;return a(this,void 0,void 0,(function(){var a,u;return s(this,(function(s){switch(s.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.AuthorityUpdateEndpointMetadata,this.correlationId),(a=this.getEndpointMetadataFromConfig())?(e.updateEndpointMetadata(a,!1),[2,C.CONFIG]):this.isAuthoritySameType(e)&&e.endpointsFromNetwork&&!e.isExpired()?[2,C.CACHE]:(u=this.getEndpointMetadataFromHardcodedValues(),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),[4,this.getEndpointMetadataFromNetwork()]);case 1:return(a=s.sent())?(null===(r=this.authorityOptions.azureRegionConfiguration)||void 0===r?void 0:r.azureRegion)?(null===(o=this.performanceClient)||void 0===o||o.setPreQueueTime(_e.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(a)]):[3,3]:[3,4];case 2:a=s.sent(),s.label=3;case 3:return e.updateEndpointMetadata(a,!0),[2,C.NETWORK];case 4:return!u||this.authorityOptions.skipAuthorityMetadataCache?[3,7]:(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)?(null===(c=this.performanceClient)||void 0===c||c.setPreQueueTime(_e.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),[4,this.updateMetadataWithRegionalInformation(u)]):[3,6];case 5:u=s.sent(),s.label=6;case 6:return e.updateEndpointMetadata(u,!1),[2,C.HARDCODED_VALUES];case 7:throw K.createUnableToGetOpenidConfigError(this.defaultOpenIdConfigurationEndpoint)}}))}))},e.prototype.isAuthoritySameType=function(e){return new De(e.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length},e.prototype.getEndpointMetadataFromConfig=function(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch(e){throw te.createInvalidAuthorityMetadataError()}return null},e.prototype.getEndpointMetadataFromNetwork=function(){var e;return a(this,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:null===(e=this.performanceClient)||void 0===e||e.addQueueMeasurement(_e.AuthorityGetEndpointMetadataFromNetwork,this.correlationId),t={},r.label=1;case 1:return r.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint,t)];case 2:return[2,Qe((n=r.sent()).body)?n.body:null];case 3:return r.sent(),[2,null];case 4:return[2]}}))}))},e.prototype.getEndpointMetadataFromHardcodedValues=function(){return this.canonicalAuthority in Xe?Xe[this.canonicalAuthority]:null},e.prototype.updateMetadataWithRegionalInformation=function(t){var n,r,o,i,c,u,l;return a(this,void 0,void 0,(function(){var a,p;return s(this,(function(s){switch(s.label){case 0:return null===(n=this.performanceClient)||void 0===n||n.addQueueMeasurement(_e.AuthorityUpdateMetadataWithRegionalInformation,this.correlationId),null===(r=this.performanceClient)||void 0===r||r.setPreQueueTime(_e.RegionDiscoveryDetectRegion,this.correlationId),[4,this.regionDiscovery.detectRegion(null===(o=this.authorityOptions.azureRegionConfiguration)||void 0===o?void 0:o.environmentRegion,this.regionDiscoveryMetadata)];case 1:return a=s.sent(),p=(null===(i=this.authorityOptions.azureRegionConfiguration)||void 0===i?void 0:i.azureRegion)===m.AZURE_REGION_AUTO_DISCOVER_FLAG?a:null===(c=this.authorityOptions.azureRegionConfiguration)||void 0===c?void 0:c.azureRegion,(null===(u=this.authorityOptions.azureRegionConfiguration)||void 0===u?void 0:u.azureRegion)===m.AZURE_REGION_AUTO_DISCOVER_FLAG?this.regionDiscoveryMetadata.region_outcome=a?M.AUTO_DETECTION_REQUESTED_SUCCESSFUL:M.AUTO_DETECTION_REQUESTED_FAILED:this.regionDiscoveryMetadata.region_outcome=a?(null===(l=this.authorityOptions.azureRegionConfiguration)||void 0===l?void 0:l.azureRegion)===a?M.CONFIGURED_MATCHES_DETECTED:M.CONFIGURED_NOT_DETECTED:M.CONFIGURED_NO_AUTO_DETECTION,p?(this.regionDiscoveryMetadata.region_used=p,[2,e.replaceWithRegionalInformation(t,p)]):[2,t]}}))}))},e.prototype.updateCloudDiscoveryMetadata=function(e){var t,n;return a(this,void 0,void 0,(function(){var r,o,i;return s(this,(function(a){switch(a.label){case 0:return null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.AuthorityUpdateCloudDiscoveryMetadata,this.correlationId),this.logger.verbose("Attempting to get cloud discovery metadata in the config"),this.logger.verbosePii("Known Authorities: "+(this.authorityOptions.knownAuthorities||m.NOT_APPLICABLE)),this.logger.verbosePii("Authority Metadata: "+(this.authorityOptions.authorityMetadata||m.NOT_APPLICABLE)),this.logger.verbosePii("Canonical Authority: "+(e.canonical_authority||m.NOT_APPLICABLE)),(r=this.getCloudDiscoveryMetadataFromConfig())?(this.logger.verbose("Found cloud discovery metadata in the config."),e.updateCloudDiscoveryMetadata(r,!1),[2,C.CONFIG]):(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the cache."),o=e.isExpired(),this.isAuthoritySameType(e)&&e.aliasesFromNetwork&&!o?(this.logger.verbose("Found metadata in the cache."),[2,C.CACHE]):(o&&this.logger.verbose("The metadata entity is expired."),this.logger.verbose("Did not find cloud discovery metadata in the cache... Attempting to get cloud discovery metadata from the network."),null===(n=this.performanceClient)||void 0===n||n.setPreQueueTime(_e.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),[4,this.getCloudDiscoveryMetadataFromNetwork()]));case 1:if(r=a.sent())return this.logger.verbose("cloud discovery metadata was successfully returned from getCloudDiscoveryMetadataFromNetwork()"),e.updateCloudDiscoveryMetadata(r,!0),[2,C.NETWORK];if(this.logger.verbose("Did not find cloud discovery metadata from the network... Attempting to get cloud discovery metadata from hardcoded values."),(i=this.getCloudDiscoveryMetadataFromHarcodedValues())&&!this.options.skipAuthorityMetadataCache)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),e.updateCloudDiscoveryMetadata(i,!1),[2,C.HARDCODED_VALUES];throw this.logger.error("Did not find cloud discovery metadata from hardcoded values... Metadata could not be obtained from config, cache, network or hardcoded values. Throwing Untrusted Authority Error."),te.createUntrustedAuthorityError()}}))}))},e.prototype.getCloudDiscoveryMetadataFromConfig=function(){if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");var t=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),n=e.getCloudDiscoveryMetadataFromNetworkResponse(t.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),n)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),n;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch(e){throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),te.createInvalidCloudDiscoveryMetadataError()}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null},e.prototype.getCloudDiscoveryMetadataFromNetwork=function(){var t;return a(this,void 0,void 0,(function(){var n,r,o,i,a,c,u,l;return s(this,(function(s){switch(s.label){case 0:null===(t=this.performanceClient)||void 0===t||t.addQueueMeasurement(_e.AuthorityGetCloudDiscoveryMetadataFromNetwork,this.correlationId),n=""+m.AAD_INSTANCE_DISCOVERY_ENDPT+this.canonicalAuthority+"oauth2/v2.0/authorize",r={},o=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,this.networkInterface.sendGetRequestAsync(n,r)];case 2:if(i=s.sent(),a=void 0,c=void 0,function(e){return e.hasOwnProperty("tenant_discovery_endpoint")&&e.hasOwnProperty("metadata")}(i.body))a=i.body,c=a.metadata,this.logger.verbosePii("tenant_discovery_endpoint is: "+a.tenant_discovery_endpoint);else{if(!function(e){return e.hasOwnProperty("error")&&e.hasOwnProperty("error_description")}(i.body))return this.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),[2,null];if(this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: "+i.status),(a=i.body).error===m.INVALID_INSTANCE)return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),[2,null];this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is "+a.error),this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is "+a.error_description),this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),c=[]}return this.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),o=e.getCloudDiscoveryMetadataFromNetworkResponse(c,this.hostnameAndPort),[3,4];case 3:return(u=s.sent())instanceof V?this.logger.error("There was a network error while attempting to get the cloud discovery instance metadata.\nError: "+u.errorCode+"\nError Description: "+u.errorMessage):(l=u,this.logger.error("A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: "+l.name+"\nError Description: "+l.message)),[2,null];case 4:return o||(this.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),this.logger.verbose("Creating custom Authority for custom domain scenario."),o=e.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)),[2,o]}}))}))},e.prototype.getCloudDiscoveryMetadataFromHarcodedValues=function(){return this.canonicalAuthority in Je?Je[this.canonicalAuthority]:null},e.prototype.isInKnownAuthorities=function(){var e=this;return this.authorityOptions.knownAuthorities.filter((function(t){return De.getDomainFromUrl(t).toLowerCase()===e.hostnameAndPort})).length>0},e.generateAuthority=function(e,t){var n;if(t&&t.azureCloudInstance!==Q.None){var r=t.tenant?t.tenant:m.DEFAULT_COMMON_TENANT;n=t.azureCloudInstance+"/"+r+"/"}return n||e},e.createCloudDiscoveryMetadataFromHost=function(e){return{preferred_network:e,preferred_cache:e,aliases:[e]}},e.getCloudDiscoveryMetadataFromNetworkResponse=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.aliases.indexOf(t)>-1)return r}return null},e.prototype.getPreferredCache=function(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw K.createEndpointDiscoveryIncompleteError("Discovery incomplete.")},e.prototype.isAlias=function(e){return this.metadata.aliases.indexOf(e)>-1},e.isPublicCloudAuthority=function(e){return m.KNOWN_PUBLIC_CLOUDS.indexOf(e)>=0},e.buildRegionalAuthorityString=function(e,t,n){var r=new De(e);r.validateAsUri();var o=r.getUrlComponents(),a=t+"."+o.HostNameAndPort;this.isPublicCloudAuthority(o.HostNameAndPort)&&(a=t+"."+m.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX);var s=De.constructAuthorityUriFromObject(i(i({},r.getUrlComponents()),{HostNameAndPort:a})).urlString;return n?s+"?"+n:s},e.replaceWithRegionalInformation=function(t,n){return t.authorization_endpoint=e.buildRegionalAuthorityString(t.authorization_endpoint,n),t.token_endpoint=e.buildRegionalAuthorityString(t.token_endpoint,n,m.REGIONAL_AUTH_NON_MSI_QUERY_STRING),t.end_session_endpoint&&(t.end_session_endpoint=e.buildRegionalAuthorityString(t.end_session_endpoint,n)),t},e}(),nt=function(){function e(){}return e.createDiscoveredInstance=function(t,n,r,o,i,c,u){return a(this,void 0,void 0,(function(){var a,l;return s(this,(function(s){switch(s.label){case 0:null==c||c.addQueueMeasurement(_e.AuthorityFactoryCreateDiscoveredInstance,u),a=e.createInstance(t,n,r,o,i,c,u),s.label=1;case 1:return s.trys.push([1,3,,4]),null==c||c.setPreQueueTime(_e.AuthorityResolveEndpointsAsync,u),[4,a.resolveEndpointsAsync()];case 2:return s.sent(),[2,a];case 3:throw l=s.sent(),K.createEndpointDiscoveryIncompleteError(l);case 4:return[2]}}))}))},e.createInstance=function(e,t,n,r,o,i,a){if(W.isEmpty(e))throw te.createUrlEmptyError();return new tt(e,t,n,r,o,i,a)},e}(),rt=function(){function e(){this.failedRequests=[],this.errors=[],this.cacheHits=0}return e.isServerTelemetryEntity=function(e,t){var n=0===e.indexOf(O.CACHE_KEY),r=!0;return t&&(r=t.hasOwnProperty("failedRequests")&&t.hasOwnProperty("errors")&&t.hasOwnProperty("cacheHits")),n&&r},e}(),ot=function(){function e(){}return e.isThrottlingEntity=function(e,t){var n=!1;e&&(n=0===e.indexOf(F.THROTTLING_PREFIX));var r=!0;return t&&(r=t.hasOwnProperty("throttleTime")),n&&r},e}(),it={sendGetRequestAsync:function(){return Promise.reject(V.createUnexpectedError("Network interface - sendGetRequestAsync() has not been implemented for the Network interface."))},sendPostRequestAsync:function(){return Promise.reject(V.createUnexpectedError("Network interface - sendPostRequestAsync() has not been implemented for the Network interface."))}},at="missing_kid_error",st="The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",ct="missing_alg_error",ut="The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided.",lt=function(e){function t(n,r){var o=e.call(this,n,r)||this;return o.name="JoseHeaderError",Object.setPrototypeOf(o,t.prototype),o}return o(t,e),t.createMissingKidError=function(){return new t(at,st)},t.createMissingAlgError=function(){return new t(ct,ut)},t}(V),pt=function(){function e(e){this.typ=e.typ,this.alg=e.alg,this.kid=e.kid}return e.getShrHeaderString=function(t){if(!t.kid)throw lt.createMissingKidError();if(!t.alg)throw lt.createMissingAlgError();var n=new e({typ:t.typ||z.Pop,kid:t.kid,alg:t.alg});return JSON.stringify(n)},e}(),dt=function(){function e(e){this.headers=e}return e.prototype.getShrNonce=function(){var e=this.headers[u.AuthenticationInfo];if(e){var t=this.parseChallenges(e);if(t.nextnonce)return t.nextnonce;throw te.createInvalidAuthenticationHeaderError(u.AuthenticationInfo,"nextnonce challenge is missing.")}var n=this.headers[u.WWWAuthenticate];if(n){var r=this.parseChallenges(n);if(r.nonce)return r.nonce;throw te.createInvalidAuthenticationHeaderError(u.WWWAuthenticate,"nonce challenge is missing.")}throw te.createMissingNonceAuthenticationHeadersError()},e.prototype.parseChallenges=function(e){var t=e.indexOf(" "),n=e.substr(t+1).split(","),r={};return n.forEach((function(e){var t=e.split("="),n=t[0],o=t[1];r[n]=unescape(o.replace(/['"]+/g,m.EMPTY_STRING))})),r},e}(),ht=function(){function e(e,t){this.cacheOutcome=L.NO_CACHE_HIT,this.cacheManager=t,this.apiId=e.apiId,this.correlationId=e.correlationId,this.wrapperSKU=e.wrapperSKU||m.EMPTY_STRING,this.wrapperVer=e.wrapperVer||m.EMPTY_STRING,this.telemetryCacheKey=O.CACHE_KEY+w.CACHE_KEY_SEPARATOR+e.clientId}return e.prototype.generateCurrentRequestHeaderValue=function(){var e=""+this.apiId+O.VALUE_SEPARATOR+this.cacheOutcome,t=[this.wrapperSKU,this.wrapperVer].join(O.VALUE_SEPARATOR),n=[e,this.getRegionDiscoveryFields()].join(O.VALUE_SEPARATOR);return[O.SCHEMA_VERSION,n,t].join(O.CATEGORY_SEPARATOR)},e.prototype.generateLastRequestHeaderValue=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t),r=t.failedRequests.slice(0,2*n).join(O.VALUE_SEPARATOR),o=t.errors.slice(0,n).join(O.VALUE_SEPARATOR),i=t.errors.length,a=[i,n<i?O.OVERFLOW_TRUE:O.OVERFLOW_FALSE].join(O.VALUE_SEPARATOR);return[O.SCHEMA_VERSION,t.cacheHits,r,o,a].join(O.CATEGORY_SEPARATOR)},e.prototype.cacheFailedRequest=function(e){var t=this.getLastRequests();t.errors.length>=O.MAX_CACHED_ERRORS&&(t.failedRequests.shift(),t.failedRequests.shift(),t.errors.shift()),t.failedRequests.push(this.apiId,this.correlationId),W.isEmpty(e.subError)?W.isEmpty(e.errorCode)?e&&e.toString()?t.errors.push(e.toString()):t.errors.push(O.UNKNOWN_ERROR):t.errors.push(e.errorCode):t.errors.push(e.subError),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,t)},e.prototype.incrementCacheHits=function(){var e=this.getLastRequests();return e.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,e),e.cacheHits},e.prototype.getLastRequests=function(){var e=new rt;return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||e},e.prototype.clearTelemetryCache=function(){var t=this.getLastRequests(),n=e.maxErrorsToSend(t);if(n===t.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{var r=new rt;r.failedRequests=t.failedRequests.slice(2*n),r.errors=t.errors.slice(n),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,r)}},e.maxErrorsToSend=function(e){var t,n=0,r=0,o=e.errors.length;for(t=0;t<o;t++){var i=e.failedRequests[2*t]||m.EMPTY_STRING,a=e.failedRequests[2*t+1]||m.EMPTY_STRING,s=e.errors[t]||m.EMPTY_STRING;if(!((r+=i.toString().length+a.toString().length+s.length+3)<O.MAX_LAST_HEADER_BYTES))break;n+=1}return n},e.prototype.getRegionDiscoveryFields=function(){var e=[];return e.push(this.regionUsed||m.EMPTY_STRING),e.push(this.regionSource||m.EMPTY_STRING),e.push(this.regionOutcome||m.EMPTY_STRING),e.join(",")},e.prototype.updateRegionDiscoveryMetadata=function(e){this.regionUsed=e.region_used,this.regionSource=e.region_source,this.regionOutcome=e.region_outcome},e.prototype.setCacheOutcome=function(e){this.cacheOutcome=e},e}(),mt=function(){function e(e,t,n,r,o,i){this.authority=t,this.libraryName=r,this.libraryVersion=o,this.applicationTelemetry=i,this.clientId=e,this.logger=n,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map}return e.prototype.startPerformanceMeasurement=function(e,t){return{}},e.prototype.startPerformanceMeasuremeant=function(e,t){return{}},e.prototype.getIntFields=function(){return Le},e.prototype.getPreQueueTime=function(e,t){var n=this.preQueueTimeByCorrelationId.get(t);if(n){if(n.name===e)return n.time;this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue time found for "+e+", unable to add queue measurement")}else this.logger.trace("PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: "+t+", unable to add queue measurement")},e.prototype.calculateQueuedTime=function(e,t){return e<1?(this.logger.trace("PerformanceClient: preQueueTime should be a positive integer and not "+e),0):t<1?(this.logger.trace("PerformanceClient: currentTime should be a positive integer and not "+t),0):t<e?(this.logger.trace("PerformanceClient: currentTime is less than preQueueTime, check how time is being retrieved"),0):t-e},e.prototype.addQueueMeasurement=function(e,t,n,r){if(t){if(0===n)this.logger.trace("PerformanceClient.addQueueMeasurement: queue time provided for "+e+" is "+n);else if(!n)return void this.logger.trace("PerformanceClient.addQueueMeasurement: no queue time provided for "+e);var o={eventName:e,queueTime:n,manuallyCompleted:r},i=this.queueMeasurements.get(t);if(i)i.push(o),this.queueMeasurements.set(t,i);else{this.logger.trace("PerformanceClient.addQueueMeasurement: adding correlationId "+t+" to queue measurements");var a=[o];this.queueMeasurements.set(t,a)}this.preQueueTimeByCorrelationId.delete(t)}else this.logger.trace("PerformanceClient.addQueueMeasurement: correlationId not provided for "+e+", cannot add queue measurement")},e.prototype.startMeasurement=function(e,t){var n,r,o=this,a=t||this.generateId();t||this.logger.info("PerformanceClient: No correlation id provided for "+e+", generating",a),this.logger.trace("PerformanceClient: Performance measurement started for "+e,a);var s=this.startPerformanceMeasuremeant(e,a);s.startMeasurement();var c={eventId:this.generateId(),status:Ee.InProgress,authority:this.authority,libraryName:this.libraryName,libraryVersion:this.libraryVersion,clientId:this.clientId,name:e,startTimeMs:Date.now(),correlationId:a,appName:null===(n=this.applicationTelemetry)||void 0===n?void 0:n.appName,appVersion:null===(r=this.applicationTelemetry)||void 0===r?void 0:r.appVersion};return this.cacheEventByCorrelationId(c),{endMeasurement:function(e){return o.endMeasurement(i(i({},c),e),s)},discardMeasurement:function(){return o.discardMeasurements(c.correlationId)},addStaticFields:function(e){return o.addStaticFields(e,c.correlationId)},increment:function(e){return o.increment(e,c.correlationId)},measurement:s,event:c}},e.prototype.endMeasurement=function(e,t){var n,r,o=this,a=this.eventsByCorrelationId.get(e.correlationId);if(!a)return this.logger.trace("PerformanceClient: Measurement not found for "+e.eventId,e.correlationId),null;var s=e.eventId===a.eventId,c={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};s?(c=this.getQueueInfo(e.correlationId),this.discardCache(a.correlationId)):null===(n=a.incompleteSubMeasurements)||void 0===n||n.delete(e.eventId),null==t||t.endMeasurement();var u=null==t?void 0:t.flushMeasurement();if(!u)return this.logger.trace("PerformanceClient: Performance measurement not taken",a.correlationId),null;if(this.logger.trace("PerformanceClient: Performance measurement ended for "+e.name+": "+u+" ms",e.correlationId),!s)return a[e.name+"DurationMs"]=Math.floor(u),i({},a);var l=i(i({},a),e),p=0;return null===(r=l.incompleteSubMeasurements)||void 0===r||r.forEach((function(t){o.logger.trace("PerformanceClient: Incomplete submeasurement "+t.name+" found for "+e.name,l.correlationId),p++})),l.incompleteSubMeasurements=void 0,l=i(i({},l),{durationMs:Math.round(u),queuedTimeMs:c.totalQueueTime,queuedCount:c.totalQueueCount,queuedManuallyCompletedCount:c.manuallyCompletedCount,status:Ee.Completed,incompleteSubsCount:p}),this.truncateIntegralFields(l,this.getIntFields()),this.emitEvents([l],e.correlationId),l},e.prototype.addStaticFields=function(e,t){this.logger.trace("PerformanceClient: Updating static fields");var n=this.eventsByCorrelationId.get(t);n?this.eventsByCorrelationId.set(t,i(i({},n),e)):this.logger.trace("PerformanceClient: Event not found for",t)},e.prototype.increment=function(e,t){this.logger.trace("PerformanceClient: Updating counters");var n=this.eventsByCorrelationId.get(t);if(n)for(var r in e)n.hasOwnProperty(r)||(n[r]=0),n[r]+=e[r];else this.logger.trace("PerformanceClient: Event not found for",t)},e.prototype.cacheEventByCorrelationId=function(e){var t=this.eventsByCorrelationId.get(e.correlationId);t?(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" added/updated",e.correlationId),t.incompleteSubMeasurements=t.incompleteSubMeasurements||new Map,t.incompleteSubMeasurements.set(e.eventId,{name:e.name,startTimeMs:e.startTimeMs})):(this.logger.trace("PerformanceClient: Performance measurement for "+e.name+" started",e.correlationId),this.eventsByCorrelationId.set(e.correlationId,i({},e)))},e.prototype.getQueueInfo=function(e){var t=this.queueMeasurements.get(e);t||this.logger.trace("PerformanceClient: no queue measurements found for for correlationId: "+e);var n=0,r=0,o=0;return null==t||t.forEach((function(e){n+=e.queueTime,r++,o+=e.manuallyCompleted?1:0})),{totalQueueTime:n,totalQueueCount:r,manuallyCompletedCount:o}},e.prototype.discardMeasurements=function(e){this.logger.trace("PerformanceClient: Performance measurements discarded",e),this.eventsByCorrelationId.delete(e)},e.prototype.discardCache=function(e){this.discardMeasurements(e),this.logger.trace("PerformanceClient: QueueMeasurements discarded",e),this.queueMeasurements.delete(e),this.logger.trace("PerformanceClient: Pre-queue times discarded",e),this.preQueueTimeByCorrelationId.delete(e)},e.prototype.addPerformanceCallback=function(e){var t=this.generateId();return this.callbacks.set(t,e),this.logger.verbose("PerformanceClient: Performance callback registered with id: "+t),t},e.prototype.removePerformanceCallback=function(e){var t=this.callbacks.delete(e);return t?this.logger.verbose("PerformanceClient: Performance callback "+e+" removed."):this.logger.verbose("PerformanceClient: Performance callback "+e+" not removed."),t},e.prototype.emitEvents=function(e,t){var n=this;this.logger.verbose("PerformanceClient: Emitting performance events",t),this.callbacks.forEach((function(r,o){n.logger.trace("PerformanceClient: Emitting event to callback "+o,t),r.apply(null,[e])}))},e.prototype.truncateIntegralFields=function(e,t){t.forEach((function(t){t in e&&"number"==typeof e[t]&&(e[t]=Math.floor(e[t]))}))},e}(),ft=function(){function e(){}return e.prototype.startMeasurement=function(){},e.prototype.endMeasurement=function(){},e.prototype.flushMeasurement=function(){return null},e}(),gt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.generateId=function(){return"callback-id"},t.prototype.startPerformanceMeasuremeant=function(){return new ft},t.prototype.startPerformanceMeasurement=function(){return new ft},t.prototype.calculateQueuedTime=function(e,t){return 0},t.prototype.addQueueMeasurement=function(e,t,n){},t.prototype.setPreQueueTime=function(e,t){},t}(mt)},7437:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const o=n(9877),i=n(2357),a=["redmond.corp.microsoft.com","northamerica.corp.microsoft.com","fareast.corp.microsoft.com","ntdev.corp.microsoft.com","wingroup.corp.microsoft.com","southpacific.corp.microsoft.com","wingroup.windeploy.ntdev.microsoft.com","ddnet.microsoft.com","europe.corp.microsoft.com"],s={"common.msftInternal":function(){const e=process.env.USERDNSDOMAIN;if(!e)return!1;const t=e.toLowerCase();return a.some((e=>t===e))}()?1:0},c={};try{const e=n(9072);c["common.adsversion"]=null==e?void 0:e.version}catch(e){}class u{constructor(e,t,n,r){this.reporter=e,this.eventName=t,this.properties=n,this.measurements=r,this.properties=n||{},Object.assign(this.properties,c),this.measurements=r||{},Object.assign(this.measurements,s)}send(){var e;try{null===(e=this.reporter)||void 0===e||e.sendTelemetryEvent(this.eventName,this.properties,this.measurements)}catch(e){const t=e instanceof Error?e.message:e;console.error(`Error sending ${this.eventName} event ${t}`)}}withAdditionalProperties(e){return Object.assign(this.properties,e),this}withAdditionalMeasurements(e){return Object.assign(this.measurements,e),this}withConnectionInfo(e){return"object"==typeof e?Object.assign(this.properties,{authenticationType:e.authenticationType,providerName:e.providerName}):console.error("AdsTelemetryReporter received invalid ConnectionInfo object of type "+typeof e),this}withServerInfo(e){var t,n,r;return"object"==typeof e?Object.assign(this.properties,{connectionType:void 0!==e.isCloud?e.isCloud?"Azure":"Standalone":"",serverVersion:null!==(t=e.serverVersion)&&void 0!==t?t:"",serverEdition:null!==(n=e.serverEdition)&&void 0!==n?n:"",serverEngineEdition:null!==(r=e.engineEditionId)&&void 0!==r?r:""}):console.error("AdsTelemetryReporter received invalid ServerInfo object of type "+typeof e),this}}t.default=class{constructor(e,t,n){var r,i;this._telemetryReporter=void 0;try{this._telemetryReporter=new o.default(e,t,n)}catch(t){console.error(`Error initializing TelemetryReporter for '${e}'. ${null!==(i=null===(r=t)||void 0===r?void 0:r.message)&&void 0!==i?i:t}`)}}createViewEvent(e){return new u(this._telemetryReporter,"view",{view:e})}sendViewEvent(e){this.createViewEvent(e).send()}createActionEvent(e,t,n="",r="",o){const i=o?{durationInMs:o}:{};return new u(this._telemetryReporter,"action",{view:e,action:t,target:n,source:r},i)}sendActionEvent(e,t,n="",r="",o){this.createActionEvent(e,t,n,r,o).send()}createTimedAction(e,t,n,r){return new i.TimedAction(this,e,t,n,r)}createMetricsEvent(e,t=""){return new u(this._telemetryReporter,"metrics",{groupName:t},e)}sendMetricsEvent(e,t=""){this.createMetricsEvent(e,t).send()}createErrorEvent(e,t,n="",r=""){return new u(this._telemetryReporter,"error",{view:e,name:t,errorCode:n,errorType:r})}sendErrorEvent(e,t,n="",r=""){this.createErrorEvent(e,t,n,r).send()}createErrorEvent2(e,t,n=void 0,r=!1,o="",i=""){const a={view:e,name:t,errorCode:o,errorType:i};if(n instanceof Error){a.message=!0===r?n.message:"";let e=n.stack||"";if(!0!==r&&n.message){const t=new RegExp(n.message,"g");e=e.replace(t,"<REDACTED: error-message>")}a.stack=e}else a.message=!0===r?null==n?void 0:n.toString():"",a.stack="";return new u(this._telemetryReporter,"error",a)}sendErrorEvent2(e,t,n=void 0,r=!1,o="",i=""){this.createErrorEvent2(e,t,n,r,o,i).send()}createTelemetryEvent(e,t,n){return new u(this._telemetryReporter,e,t,n)}sendTelemetryEvent(e,t,n){this.createTelemetryEvent(e,t,n).send()}dispose(){var e;return r(this,void 0,void 0,(function*(){yield null===(e=this._telemetryReporter)||void 0===e?void 0:e.dispose()}))}}},2357:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimedAction=void 0,t.TimedAction=class{constructor(e,t,n,r="",o=""){this.reporter=e,this.view=t,this.action=n,this.target=r,this.source=o,this.properties={},this.measures={},this.start=Date.now()}withAdditionalProperties(e){return Object.assign(this.properties,e),this}withAdditionalMeasures(e){return Object.assign(this.measures,e),this}send(){this.reporter.createActionEvent(this.view,this.action,this.source,this.target,Date.now()-this.start).withAdditionalProperties(this.properties).withAdditionalMeasurements(this.measures).send()}}},9877:(e,t,n)=>{var r,o,i,a,s=Object.create,c=Object.defineProperty,u=Object.defineProperties,l=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable,v=(e,t,n)=>t in e?c(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,y=(e,t)=>{for(var n in t||(t={}))f.call(t,n)&&v(e,n,t[n]);if(h)for(var n of h(t))g.call(t,n)&&v(e,n,t[n]);return e},b=(e,t)=>u(e,p(t)),_=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),E=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of d(t))!f.call(e,o)&&o!==n&&c(e,o,{get:()=>t[o],enumerable:!(r=l(t,o))||r.enumerable});return e},w=(e,t,n)=>(n=null!=e?s(m(e)):{},E(!t&&e&&e.__esModule?n:c(n,"default",{value:e,enumerable:!0}),e)),k=_(((n,a)=>{var s;s=function(e){"use strict";var t="function",n="object",r="undefined",o="prototype",i="hasOwnProperty",a="default",s=Object,c=s[o],u=s.assign,l=s.create,p=s.defineProperty,d=c[i],h=null;function m(e){return void 0===e&&(e=!0),(!h||!e)&&(typeof globalThis!==r&&globalThis&&(h=globalThis),typeof self!==r&&self&&(h=self),typeof window!==r&&window&&(h=window),typeof global!==r&&global&&(h=global)),h}function f(e){throw new TypeError(e)}function g(e){if(l)return l(e);if(null==e)return{};var r=typeof e;function i(){}return r!==n&&r!==t&&f("Object prototype may only be an Object:"+e),i[o]=e,new i}var v=(m()||{}).Symbol,y=(m()||{}).Reflect,b=!!y,_="decorate",E="metadata",w="getOwnPropertySymbols",k="iterator",T=u||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])c[i].call(t,o)&&(e[o]=t[o]);return e},S=function(e,t){return(S=s.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[i](n)&&(e[n]=t[n])})(e,t)};function x(e,n){function r(){this.constructor=e}typeof n!==t&&null!==n&&f("Class extends value "+String(n)+" is not a constructor or null"),S(e,n),e[o]=null===n?g(n):(r[o]=n[o],new r)}function C(e,t,n,r){void 0===r&&(r=n),l?p(e,r,{enumerable:!0,get:function(){return t[n]}}):e[r]=t[n]}e.ObjAssign=u,e.ObjClass=s,e.ObjCreate=l,e.ObjDefineProperty=p,e.ObjHasOwnProperty=d,e.ObjProto=c,e.__assignFn=T,e.__createBindingFn=C,e.__decorateFn=function(e,n,r,o){var i,a=arguments.length,c=a<3?n:null===o?o=s.getOwnPropertyDescriptor(n,r):o;if(b&&typeof y[_]===t)c=y[_](e,n,r,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(c=(a<3?i(c):a>3?i(n,r,c):i(n,r))||c);return a>3&&c&&p(n,r,c),c},e.__exportStarFn=function(e,t){for(var n in e)n!==a&&!d.call(t,n)&&C(t,e,n)},e.__exposeGlobalTsLib=function(){var e,t,n,r,o=m()||{};t=T,n=x,r=C,(e=o).__assign||(e.__assign=u||t),e.__extends||(e.__extends=n),e.__createBinding||(e.__createBinding=r),__assign||(__assign=o.__assign),__extends||(__extends=o.__extends),__createBinding||(__createBinding=o.__createBinding)},e.__extendsFn=x,e.__importDefaultFn=function(e){return e&&e.__esModule?e:{strDefault:e}},e.__importStarFn=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)n!==a&&Object.prototype.hasOwnProperty.call(e,n)&&C(t,e,n);return l?p(t,a,{enumerable:!0,value:e}):t[a]=e,t},e.__makeTemplateObjectFn=function(e,t){return p?p(e,"raw",{value:t}):e.raw=t,e},e.__metadataFn=function(e,n){if(b&&y[E]===t)return y[E](e,n)},e.__paramFn=function(e,t){return function(n,r){t(n,r,e)}},e.__readFn=function(e,n){var r=typeof v===t&&e[v[k]];if(!r)return e;var o,i,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s},e.__restFn=function(e,n){var r={};for(var o in e)d.call(e,o)&&n.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&typeof s[w]===t)for(var i=0,a=s[w](e);i<a.length;i++)n.indexOf(a[i])<0&&c.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},e.__spreadArrayFn=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},e.__spreadArraysFn=function(){for(var e=arguments,t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;var o=Array(t),i=0;for(n=0;n<r;n++)for(var a=e[n],s=0,c=a.length;s<c;s++,i++)o[i]=a[s];return o},e.__valuesFn=function(e){var n=typeof v===t&&v[k],r=n&&e[n],o=0;return r?r.call(e):e&&"number"==typeof e.length?{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}}:void f(n?"Object is not iterable.":"Symbol.iterator is not defined.")},e.getGlobal=m,e.objCreateFn=g,e.strDefault=a,e.strShimFunction=t,e.strShimHasOwnProperty=i,e.strShimObject=n,e.strShimPrototype=o,e.strShimUndefined=r,e.throwTypeError=f,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch{}n&&void 0!==typeof n.value&&(e[t]=n.value)}(e,"__esModule",{value:!0})},"object"==typeof n&&typeof a<"u"?s(n):(o=[t],void 0===(i="function"==typeof(r=s)?r.apply(t,o):r)||(e.exports=i))})),T=_(((n,a)=>{var s;s=function(e){"use strict";var t="function",n="object",r="undefined",o="prototype",i="hasOwnProperty",a=Object,s=a[o],c=a.assign,u=a.create,l=a.defineProperty,p=s[i],d=null;function h(e){return void 0===e&&(e=!0),(!d||!e)&&(typeof globalThis!==r&&globalThis&&(d=globalThis),typeof self!==r&&self&&(d=self),typeof window!==r&&window&&(d=window),typeof global!==r&&global&&(d=global)),d}function m(e){throw new TypeError(e)}function f(e){if(u)return u(e);if(null==e)return{};var r=typeof e;function i(){}return r!==n&&r!==t&&m("Object prototype may only be an Object:"+e),i[o]=e,new i}(h()||{}).Symbol,(h()||{}).Reflect;var g=function(e,t){return(g=a.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[i](n)&&(e[n]=t[n])})(e,t)};function v(e,n){function r(){this.constructor=e}typeof n!==t&&null!==n&&m("Class extends value "+String(n)+" is not a constructor or null"),g(e,n),e[o]=null===n?f(n):(r[o]=n[o],new r)}function y(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var b="",_="processTelemetry",E="priority",w="setNextPlugin",k="isInitialized",T="teardown",S="core",x="update",C="disabled",A="_doTeardown",I="processNext",R="resume",P="pause",O="NotificationListener",j="add"+O,N="remove"+O,D="eventsSent",M="eventsDiscarded",L="eventsSendRequest",z="perfEvent",F="toISOString",U="endsWith",q="startsWith",B="indexOf",H="reduce",V="trim",G="toString",$="__proto__",K="constructor",W=l,Q=a.freeze,Y=a.seal,X=a.keys,J=String[o],Z=J[V],ee=J[U],te=J[q],ne=Date[o][F],re=Array.isArray,oe=s[G],ie=p[G],ae=ie.call(a),se=/-([a-z])/g,ce=/([^\w\d_$])/g,ue=/^(\d+[\w\d_$])/,le=Object.getPrototypeOf;function pe(e){if(e){if(le)return le(e);var t=e[$]||e[o]||e[K];if(t)return t}return null}function de(e,t){return typeof e===t}function he(e){return void 0===e||typeof e===r}function me(e){return null===e||he(e)}function fe(e){return!me(e)}function ge(e,t){return!(!e||!p.call(e,t))}function ve(e){return!(!e||typeof e!==n)}function ye(e){return!(!e||typeof e!==t)}function be(e){var t=e;return t&&xe(t)&&(t=(t=(t=t.replace(se,(function(e,t){return t.toUpperCase()}))).replace(ce,"_")).replace(ue,(function(e,t){return"_"+t}))),t}function _e(e,t){if(e)for(var n in e)p.call(e,n)&&t.call(e,n,e[n])}function Ee(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=ee?e[U](t):function(e,t){var n=!1,r=t?t.length:0,o=e?e.length:0;if(r&&o&&o>=r&&!(n=e===t)){for(var i=o-1,a=r-1;a>=0;a--){if(e[i]!=t[a])return!1;i--}n=!0}return n}(e,t)),n}function we(e,t){return!(!e||!t)&&-1!==e.indexOf(t)}function ke(e){return!(!e||"[object Date]"!==oe.call(e))}var Te=re||function(e){return!(!e||"[object Array]"!==oe.call(e))};function Se(e){return!(!e||"[object Error]"!==oe.call(e))}function xe(e){return"string"==typeof e}function Ce(e){return"number"==typeof e}function Ae(e){return"boolean"==typeof e}function Ie(e){var n=!1;if(e&&"object"==typeof e){var r=le?le(e):pe(e);r?(r[K]&&p.call(r,K)&&(r=r[K]),n=typeof r===t&&ie.call(r)===ae):n=!0}return n}function Re(e){if(e)return ne?e[F]():function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);return 1===t.length&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(e)}function Pe(e,t,n){var r=e.length;try{for(var o=0;o<r&&(!(o in e)||-1!==t.call(n||e,e[o],o,e));o++);}catch{}}function Oe(e,t,n){if(e){if(e[B])return e[B](t,n);var r=e.length,o=n||0;try{for(var i=Math.max(o>=0?o:r-Math.abs(o),0);i<r;i++)if(i in e&&e[i]===t)return i}catch{}}return-1}function je(e,t,n){var r;if(e){if(e.map)return e.map(t,n);var o=e.length,i=n||e;r=new Array(o);try{for(var a=0;a<o;a++)a in e&&(r[a]=t.call(i,e[a],e))}catch{}}return r}function Ne(e,t,n){var r;if(e){if(e[H])return e[H](t,n);var o=e.length,i=0;if(arguments.length>=3)r=arguments[2];else{for(;i<o&&!(i in e);)i++;r=e[i++]}for(;i<o;)i in e&&(r=t(r,e[i],i,e)),i++}return r}function De(e){return e&&(e=Z&&e[V]?e[V]():e.replace?e.replace(/^\s+|\s+$/g,""):e),e}var Me=!{toString:null}.propertyIsEnumerable("toString"),Le=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function ze(e){var r=typeof e;if(r!==t&&(r!==n||null===e)&&m("objKeys called on non-object"),!Me&&X)return X(e);var o=[];for(var i in e)e&&p.call(e,i)&&o.push(i);if(Me)for(var a=Le.length,s=0;s<a;s++)e&&p.call(e,Le[s])&&o.push(Le[s]);return o}function Fe(e,t,n,r){if(W)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),W(e,t,o),!0}catch{}return!1}function Ue(e){return e}function qe(e){return Q&&_e(e,(function(e,t){(Te(t)||ve(t))&&Q(t)})),Be(e)}var Be=Q||Ue,He=Y||Ue;function Ve(){var e=Date;return e.now?e.now():(new e).getTime()}function Ge(e){return Se(e)?e.name:b}function $e(e,t,n,r,o){var i=n;return e&&(i=e[t])!==n&&(!o||o(i))&&(!r||r(n))&&(i=n,e[t]=i),i}function Ke(e,t,n){var r;return e?!(r=e[t])&&me(r)&&(r=he(n)?{}:n,e[t]=r):r=he(n)?{}:n,r}function We(e){return!e}function Qe(e){return!!e}function Ye(e){throw new Error(e)}function Xe(e,t){var n=null,r=null;return ye(e)?n=e:r=e,function(){var e=arguments;if(n&&(r=n()),r)return r[t].apply(r,e)}}function Je(e,t,n,r,o){e&&t&&n&&(!1!==o||he(e[t]))&&(e[t]=Xe(n,r))}function Ze(e,t,n,r){return e&&t&&ve(e)&&Te(n)&&Pe(n,(function(n){xe(n)&&Je(e,n,t,n,r)})),e}function et(e,t,n,r,o,i){var a=arguments,s=a[0]||{},c=a.length,u=!1,l=1;for(c>0&&Ae(s)&&(u=s,s=a[l]||{},l++),ve(s)||(s={});l<c;l++){var d=a[l],h=Te(d),m=ve(d);for(var f in d)if(h&&f in d||m&&p.call(d,f)){var g=d[f],v=void 0;if(u&&g&&((v=Te(g))||Ie(g))){var y=s[f];v?Te(y)||(y=[]):Ie(y)||(y={}),g=et(u,y,g)}void 0!==g&&(s[f]=g)}}return s}function tt(e){var t={};return _e(e,(function(e,n){t[e]=n,t[n]=e})),qe(t)}var nt=tt({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5}),rt="constructor",ot="prototype",it="function",at="_dynInstFuncs",st="_isDynProxy",ct="_dynClass",ut="_dynInstChk",lt=ut,pt="_dfOpts",dt="_unknown_",ht="__proto__",mt="_dyn"+ht,ft="_dynInstProto",gt="useBaseInst",vt="setInstFuncs",yt=Object,bt=yt.getPrototypeOf,_t=yt.getOwnPropertyNames,Et=0;function wt(e,t){return e&&yt[ot].hasOwnProperty.call(e,t)}function kt(e){return e&&(e===yt[ot]||e===Array[ot])}function Tt(e){return kt(e)||e===Function[ot]}function St(e){var t;if(e){if(bt)return bt(e);var n=e[ht]||e[ot]||(e[rt]?e[rt][ot]:null);t=e[mt]||n,wt(e,mt)||(delete e[ft],t=e[mt]=e[ft]||e[mt],e[ft]=n)}return t}function xt(e,t){var n=[];if(_t)n=_t(e);else for(var r in e)"string"==typeof r&&wt(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function Ct(e,t,n){return t!==rt&&typeof e[t]===it&&(n||wt(e,t))}function At(e){throw new TypeError("DynamicProto: "+e)}function It(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function Rt(e,t,n,r,o){if(!kt(e)){var i=n[at]=n[at]||{},a=i[t]=i[t]||{};!1!==i[lt]&&(i[lt]=!!o),xt(n,(function(t){Ct(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!wt(e,t)||e[t]&&!e[t][st])&&(e[t]=function(e,t){var n=function(){var r=function(e,t,n,r){var o=null;if(e&&wt(n,ct)){var i=e[at]||{};if((o=(i[n[ct]]||{})[t])||At("Missing ["+t+"] "+it),!o[ut]&&!1!==i[lt]){for(var a=!wt(e,t),s=St(e),c=[];a&&s&&!Tt(s)&&!It(c,s);){var u=s[t];if(u){a=u===r;break}c.push(s),s=St(s)}try{a&&(e[t]=o),o[ut]=1}catch{i[lt]=!1}}}return o}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=St(t)[e]),typeof r!==it&&At("["+e+"] is not a "+it),r}(t,e,n);return r.apply(this,arguments)};return n[st]=1,n}(e,t)))}))}}function Pt(e,t){return wt(e,ot)?e.name||t||dt:((e||{})[rt]||{}).name||t||dt}function Ot(e,t,n,r){wt(e,ot)||At("theClass is an invalid class definition.");var o=e[ot];(function(e,t){if(bt){for(var n=[],r=St(t);r&&!Tt(r)&&!It(n,r);){if(r===e)return!0;n.push(r),r=St(r)}return!1}return!0})(o,t)||At("["+Pt(e)+"] is not in class hierarchy of ["+Pt(t)+"]");var i=null;wt(o,ct)?i=o[ct]:(i="_dynCls$"+Pt(e,"_")+"$"+Et,Et++,o[ct]=i);var a=Ot[pt],s=!!a[gt];s&&r&&void 0!==r[gt]&&(s=!!r[gt]);var c=function(e){var t={};return xt(e,(function(n){!t[n]&&Ct(e,n,!1)&&(t[n]=e[n])})),t}(t),u=function(e,t,n,r){function o(e,t,n){var o=t[n];if(o[st]&&r){var i=e[at]||{};!1!==i[lt]&&(o=(i[t[ct]]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};xt(n,(function(e){i[e]=o(t,n,e)}));for(var a=St(e),s=[];a&&!Tt(a)&&!It(s,a);)xt(a,(function(e){!i[e]&&Ct(a,e,!bt)&&(i[e]=o(t,a,e))})),s.push(a),a=St(a);return i}(o,t,c,s);n(t,u);var l=!!bt&&!!a[vt];l&&r&&(l=!!r[vt]),Rt(o,i,t,c,!1!==l)}Ot[pt]={setInstFuncs:!0,useBaseInst:!0};var jt="window",Nt="document",Dt="navigator",Mt="location",Lt="console",zt="performance",Ft="JSON",Ut="crypto",qt="msCrypto",Bt="msie",Ht="trident/",Vt="XMLHttpRequest",Gt=null,$t=null,Kt=!1,Wt=null,Qt=null;function Yt(e,t){var n=!1;if(e){try{if(!(n=t in e)){var r=e[o];r&&(n=t in r)}}catch{}if(!n)try{n=!he((new e)[t])}catch{}}return n}function Xt(e){var t=h();return t&&t[e]?t[e]:e===jt&&Jt()?window:null}function Jt(){return Boolean(typeof window===n&&window)}function Zt(){return Jt()?window:Xt(jt)}function en(){return Boolean(typeof document===n&&document)}function tn(){return en()?document:Xt(Nt)}function nn(){return Boolean(typeof navigator===n&&navigator)}function rn(){return nn()?navigator:Xt(Dt)}function on(){return Boolean(typeof history===n&&history)}function an(e){if(e&&Kt){var t=Xt("__mockLocation");if(t)return t}return typeof location===n&&location?location:Xt(Mt)}function sn(){return typeof console!==r?console:Xt(Lt)}function cn(){return Xt(zt)}function un(){return Boolean(typeof JSON===n&&JSON||null!==Xt(Ft))}function ln(){return un()?JSON||Xt(Ft):null}function pn(){return Xt(Ut)}function dn(){return Xt(qt)}function hn(){var e=rn();if(e&&(e.userAgent!==$t||null===Gt)){var t=(($t=e.userAgent)||b).toLowerCase();Gt=we(t,Bt)||we(t,Ht)}return Gt}function mn(e){var t=Object[o].toString.call(e),n=b;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":un()&&(n=ln().stringify(e)),t+n}function fn(){var e=!1;try{e=!!Xt(Vt)}catch{}return e}function gn(e,t){if(e)for(var n=0;n<e.length;n++){var r=e[n];if(r.name&&r.name===t)return r}return{}}function vn(e){var t=tn();return t&&e?gn(t.querySelectorAll("meta"),e).content:null}function yn(e){var t,n=cn();if(n){var r=n.getEntriesByType("navigation")||[];t=gn((r.length>0?r[0]:{}).serverTiming,e).description}return t}var bn,_n=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],En=null;function wn(e,t){return function(){var n=arguments,r=kn(t);if(r){var o=r.listener;o&&o[e]&&o[e].apply(o,n)}}}function kn(e){var t=En;return!t&&!0!==e.disableDbgExt&&(t=En||function(){var e=Xt("Microsoft");return e&&(En=e.ApplicationInsights),En}()),t?t.ChromeDbgExt:null}function Tn(e){if(!bn){bn={};for(var t=0;t<_n.length;t++)bn[_n[t]]=wn(_n[t],e)}return bn}function Sn(e){return e?'"'+e.replace(/\"/g,b)+'"':b}function xn(e,t){var n=sn();if(n){var r="log";n[e]&&(r=e),ye(n[r])&&n[r](t)}}var Cn=function(){function e(e,t,n,r){void 0===n&&(n=!1);var o=this;o.messageId=e,o.message=(n?"AI: ":"AI (Internal): ")+e;var i=b;un()&&(i=ln().stringify(r));var a=(t?" message:"+Sn(t):b)+(r?" props:"+Sn(i):b);o.message+=a}return e.dataType="MessageData",e}();function An(e,t){return(e||{}).logger||new In(t)}var In=function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n=0,r={};Ot(e,this,(function(e){function o(e,n){var r=t[e];return me(r)?n:r}function i(e,n){var r=kn(t);r&&r.diagLog&&r.diagLog(e,n)}me(t)&&(t={}),e.consoleLoggingLevel=function(){return o("loggingLevelConsole",0)},e.telemetryLoggingLevel=function(){return o("loggingLevelTelemetry",1)},e.maxInternalMessageLimit=function(){return o("maxMessageLimit",25)},e.enableDebugExceptions=function(){return o("enableDebugExceptions",!1)},e.throwInternal=function(t,n,o,a,s){void 0===s&&(s=!1);var c=new Cn(n,o,s,a);if(e.enableDebugExceptions())throw mn(c);var u=1===t?"errorToConsole":"warnToConsole";if(he(c.message))i("throw"+(1===t?"Critical":"Warning"),c);else{var l=e.consoleLoggingLevel();if(s){var p=+c.messageId;!r[p]&&l>=t&&(e[u](c.message),r[p]=!0)}else l>=t&&e[u](c.message);e.logInternalMessage(t,c)}},e.warnToConsole=function(e){xn("warn",e),i("warning",e)},e.errorToConsole=function(e){xn("error",e),i("error",e)},e.resetInternalMessageCount=function(){n=0,r={}},e.logInternalMessage=function(t,o){if(!(n>=e.maxInternalMessageLimit())){var a=!0,s="AITR_"+o.messageId;if(r[s]?a=!1:r[s]=!0,a&&(t<=e.telemetryLoggingLevel()&&(e.queue.push(o),n++,i(1===t?"error":"warn",o)),n===e.maxInternalMessageLimit())){var c="Internal events throttle limit per PageView reached for this app.",u=new Cn(23,c,!1);e.queue.push(u),1===t?e.errorToConsole(c):e.warnToConsole(c)}}}}))};function Rn(e){return e||new In}function Pn(e,t,n,r,o,i){void 0===i&&(i=!1),(e||new In).throwInternal(t,n,r,o,i)}function On(e,t){Rn(e).warnToConsole(t)}var jn="ctx",Nn=null,Dn=function(){function e(t,n,r){var o,i=this,a=!1;i.start=Ve(),i.name=t,i.isAsync=r,i.isChildEvt=function(){return!1},ye(n)&&(a=Fe(i,"payload",(function(){return!o&&ye(n)&&(o=n(),n=null),o}))),i.getCtx=function(t){return t?t===e.ParentContextKey||t===e.ChildrenContextKey?i[t]:(i[jn]||{})[t]:null},i.setCtx=function(t,n){t&&(t===e.ParentContextKey?(i[t]||(i.isChildEvt=function(){return!0}),i[t]=n):t===e.ChildrenContextKey?i[t]=n:(i[jn]=i[jn]||{})[t]=n)},i.complete=function(){var t=0,r=i.getCtx(e.ChildrenContextKey);if(Te(r))for(var o=0;o<r.length;o++){var s=r[o];s&&(t+=s.time)}i.time=Ve()-i.start,i.exTime=i.time-t,i.complete=function(){},!a&&ye(n)&&(i.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),Mn=function e(t){this.ctx={},Ot(e,this,(function(e){e.create=function(e,t,n){return new Dn(e,t,n)},e.fire=function(e){e&&(e.complete(),t&&ye(t.perfEvent)&&t.perfEvent(e))},e.setCtx=function(t,n){t&&((e[jn]=e[jn]||{})[t]=n)},e.getCtx=function(t){return(e[jn]||{})[t]}}))},Ln="CoreUtils.doPerf";function zn(e,t,n,r,o){if(e){var i=e;if(ye(i.getPerfMgr)&&(i=i.getPerfMgr()),i){var a=void 0,s=i.getCtx(Ln);try{if(a=i.create(t(),r,o)){if(s&&a.setCtx&&(a.setCtx(Dn.ParentContextKey,s),s.getCtx&&s.setCtx)){var c=s.getCtx(Dn.ChildrenContextKey);c||(c=[],s.setCtx(Dn.ChildrenContextKey,c)),c.push(a)}return i.setCtx(Ln,a),n(a)}}catch(e){a&&a.setCtx&&a.setCtx("exception",e)}finally{a&&i.fire(a),i.setCtx(Ln,s)}}}return n()}function Fn(){return Nn}var Un=4294967296,qn=4294967295,Bn=!1,Hn=123456789,Vn=987654321;function Gn(e){e<0&&(e>>>=0),Hn=123456789+e&qn,Vn=987654321-e&qn,Bn=!0}function $n(){try{var e=2147483647&Ve();Gn((Math.random()*Un^e)+e)}catch{}}function Kn(e){return e>0?Math.floor(Wn()/qn*(e+1))>>>0:0}function Wn(e){var t=0,n=pn()||dn();return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&qn),0===t&&hn()&&(Bn||$n(),t=Yn()&qn),0===t&&(t=Math.floor(Un*Math.random()|0)),e||(t>>>=0),t}function Qn(e){e?Gn(e):$n()}function Yn(e){var t=((Vn=36969*(65535&Vn)+(Vn>>16)&qn)<<16)+(65535&(Hn=18e3*(65535&Hn)+(Hn>>16)&qn))>>>0&qn|0;return e||(t>>>=0),t}function Xn(e){void 0===e&&(e=22);for(var t=Wn()>>>0,n=0,r=b;r.length<e;)n++,r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(Wn()<<2&4294967295|3&t)>>>0,n=0);return r}var Jn=l,Zn="2.8.4",er="."+Xn(6),tr=0;function nr(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function rr(e,t){return void 0===t&&(t=!1),be(e+tr+++(t?"."+Zn:"")+er)}function or(e){var t={id:rr("_aiData-"+(e||"")+"."+Zn),accept:function(e){return nr(e)},get:function(e,n,r,o){var i=e[t.id];return i?i[be(n)]:(o&&((i=function(e,t){var n=t[e.id];if(!n){n={};try{nr(t)&&(function(e,t,n){if(Jn)try{return Jn(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch{}return!1}(t,e.id,n)||(t[e.id]=n))}catch{}}return n}(t,e))[be(n)]=r),r)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch{}}};return t}var ir="toGMTString",ar="toUTCString",sr="cookie",cr="expires",ur="enabled",lr="isCookieUseDisabled",pr="disableCookiesUsage",dr="_ckMgr",hr=null,mr=null,fr=null,gr=tn(),vr={},yr={};function br(e,t){var n=Er[dr]||yr[dr];return n||(n=Er[dr]=Er(e,t),yr[dr]=n),n}function _r(e){return!e||e.isEnabled()}function Er(e,t){var n=function(e){var t=e.cookieCfg=e.cookieCfg||{};if($e(t,"domain",e.cookieDomain,fe,me),$e(t,"path",e.cookiePath||"/",null,me),me(t[ur])){var n=void 0;he(e[lr])||(n=!e[lr]),he(e[pr])||(n=!e[pr]),t[ur]=n}return t}(e||yr),r=n.path||"/",o=n.domain,i=!1!==n[ur],a={isEnabled:function(){var e=i&&wr(t),n=yr[dr];return e&&n&&a!==n&&(e=_r(n)),e},setEnabled:function(e){i=!1!==e},set:function(e,t,i,s,c){var u=!1;if(_r(a)){var l={},p=De(t||b),d=p.indexOf(";");if(-1!==d&&(p=De(t.substring(0,d)),l=kr(t.substring(d+1))),$e(l,"domain",s||o,Qe,he),!me(i)){var h=hn();if(he(l[cr])){var m=Ve()+1e3*i;if(m>0){var f=new Date;f.setTime(m),$e(l,cr,Tr(f,h?ir:ar)||Tr(f,h?ir:ar)||b,Qe)}}h||$e(l,"max-age",b+i,null,he)}var g=an();g&&"https:"===g.protocol&&($e(l,"secure",null,null,he),null===mr&&(mr=!Ar((rn()||{}).userAgent)),mr&&$e(l,"SameSite","None",null,he)),$e(l,"path",c||r,null,he),(n.setCookie||Cr)(e,Sr(p,l)),u=!0}return u},get:function(e){var t=b;return _r(a)&&(t=(n.getCookie||xr)(e)),t},del:function(e,t){var n=!1;return _r(a)&&(n=a.purge(e,t)),n},purge:function(e,r){var o,i=!1;if(wr(t)){var a=((o={}).path=r||"/",o[cr]="Thu, 01 Jan 1970 00:00:01 GMT",o);hn()||(a["max-age"]="0"),(n.delCookie||Cr)(e,Sr(b,a)),i=!0}return i}};return a[dr]=a,a}function wr(e){if(null===hr){hr=!1;try{hr=void 0!==(gr||{})[sr]}catch(t){Pn(e,2,68,"Cannot access document.cookie - "+Ge(t),{exception:mn(t)})}}return hr}function kr(e){var t={};return e&&e.length&&Pe(De(e).split(";"),(function(e){if(e=De(e||b)){var n=e.indexOf("=");-1===n?t[e]=null:t[De(e.substring(0,n))]=De(e.substring(n+1))}})),t}function Tr(e,t){return ye(e[t])?e[t]():null}function Sr(e,t){var n=e||b;return _e(t,(function(e,t){n+="; "+e+(me(t)?b:"="+t)})),n}function xr(e){var t=b;if(gr){var n=gr[sr]||b;fr!==n&&(vr=kr(n),fr=n),t=De(vr[e]||b)}return t}function Cr(e,t){gr&&(gr[sr]=e+"="+t)}function Ar(e){return!!xe(e)&&!!(we(e,"CPU iPhone OS 12")||we(e,"iPad; CPU OS 12")||we(e,"Macintosh; Intel Mac OS X 10_14")&&we(e,"Version/")&&we(e,"Safari")||we(e,"Macintosh; Intel Mac OS X 10_14")&&Ee(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)")||we(e,"Chrome/5")||we(e,"Chrome/6")||we(e,"UnrealEngine")&&!we(e,"Chrome")||we(e,"UCBrowser/12")||we(e,"UCBrowser/11"))}var Ir="on",Rr="attachEvent",Pr="addEventListener",Or="detachEvent",jr="removeEventListener",Nr="events",Dr="visibilitychange",Mr="pagehide",Lr="pageshow",zr="unload",Fr="beforeunload",Ur=rr("aiEvtPageHide"),qr=rr("aiEvtPageShow"),Br=/\.[\.]+/g,Hr=/[\.]+$/,Vr=1,Gr=or("events"),$r=/^([^.]*)(?:\.(.+)|)/;function Kr(e){return e&&e.replace?e.replace(/^\s*\.*|\.*\s*$/g,""):e}function Wr(e,t){if(t){var n="";Te(t)?(n="",Pe(t,(function(e){(e=Kr(e))&&("."!==e[0]&&(e="."+e),n+=e)}))):n=Kr(t),n&&("."!==n[0]&&(n="."+n),e=(e||"")+n)}var r=$r.exec(e||"")||[];return{type:r[1],ns:(r[2]||"").replace(Br,".").replace(Hr,"").split(".").sort().join(".")}}function Qr(e,t,n){void 0===n&&(n=!0);var r=Gr.get(e,Nr,{},n),o=r[t];return o||(o=r[t]=[]),o}function Yr(e,t,n,r){e&&t&&t.type&&(e[jr]?e[jr](t.type,n,r):e[Or]&&e[Or](Ir+t.type,n))}function Xr(e,t,n,r){for(var o=t.length;o--;){var i=t[o];i&&(!n.ns||n.ns===i.evtName.ns)&&(!r||r(i))&&(Yr(e,i.evtName,i.handler,i.capture),t.splice(o,1))}}function Jr(e,t){return t?Wr("xx",Te(t)?[e].concat(t):[e,t]).ns.split("."):e}function Zr(e,t,n,r,o){void 0===o&&(o=!1);var i=!1;if(e)try{var a=Wr(t,r);if(i=function(e,t,n,r){var o=!1;return e&&t&&t.type&&n&&(e[Pr]?(e[Pr](t.type,n,r),o=!0):e[Rr]&&(e[Rr](Ir+t.type,n),o=!0)),o}(e,a,n,o),i&&Gr.accept(e)){var s={guid:Vr++,evtName:a,handler:n,capture:o};Qr(e,a.type).push(s)}}catch{}return i}function eo(e,t,n,r,o){if(void 0===o&&(o=!1),e)try{var i=Wr(t,r),a=!1;(function(e,t,n){if(t.type)Xr(e,Qr(e,t.type),t,n);else{var r=Gr.get(e,Nr,{});_e(r,(function(r,o){Xr(e,o,t,n)})),0===ze(r).length&&Gr.kill(e,Nr)}})(e,i,(function(e){return!((!i.ns||n)&&e.handler!==n||(a=!0,0))})),a||Yr(e,i,n,o)}catch{}}function to(e,t,n,r){return void 0===r&&(r=!1),Zr(e,t,n,null,r)}function no(e,t,n,r){void 0===r&&(r=!1),eo(e,t,n,null,r)}function ro(e,t,n){var r=!1,o=Zt();o&&(r=Zr(o,e,t,n),r=Zr(o.body,e,t,n)||r);var i=tn();return i&&(r=Zr(i,e,t,n)||r),r}function oo(e,t,n){var r=Zt();r&&(eo(r,e,t,n),eo(r.body,e,t,n));var o=tn();o&&eo(o,e,t,n)}function io(e,t,n,r){var o=!1;return t&&e&&e.length>0&&Pe(e,(function(e){e&&(!n||-1===Oe(n,e))&&(o=ro(e,t,r)||o)})),o}function ao(e,t,n,r){var o=!1;return t&&e&&Te(e)&&!(o=io(e,t,n,r))&&n&&n.length>0&&(o=io(e,t,null,r)),o}function so(e,t,n){e&&Te(e)&&Pe(e,(function(e){e&&oo(e,t,n)}))}var co,uo=null,lo=r;function po(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(go,(function(e){var t=0|Kn(15);return("x"===e?t:3&t|8).toString(16)}))}function ho(){var e=cn();return e&&e.now?e.now():Ve()}function mo(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=b,r=0;r<4;r++)n+=t[15&(e=Wn())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&Wn())|0];return n.substr(0,8)+n.substr(9,4)+"4"+n.substr(13,3)+o+n.substr(16,3)+n.substr(19,12)}var fo={_canUseCookies:void 0,isTypeof:de,isUndefined:he,isNullOrUndefined:me,hasOwnProperty:ge,isFunction:ye,isObject:ve,isDate:ke,isArray:Te,isError:Se,isString:xe,isNumber:Ce,isBoolean:Ae,toISOString:Re,arrForEach:Pe,arrIndexOf:Oe,arrMap:je,arrReduce:Ne,strTrim:De,objCreate:f,objKeys:ze,objDefineAccessors:Fe,addEventHandler:ro,dateNow:Ve,isIE:hn,disableCookies:bo,newGuid:po,perfNow:ho,newId:Xn,randomValue:Kn,random32:Wn,mwcRandomSeed:Qn,mwcRandom32:Yn,generateW3CId:mo},go=/[xy]/g,vo={Attach:to,AttachEvent:to,Detach:no,DetachEvent:no};function yo(e,t){var n=br(e,t),r=fo._canUseCookies;return null===uo&&(uo=[],co=r,Fe(fo,"_canUseCookies",(function(){return co}),(function(e){co=e,Pe(uo,(function(t){t.setEnabled(e)}))}))),-1===Oe(uo,n)&&uo.push(n),Ae(r)&&n.setEnabled(r),Ae(co)&&n.setEnabled(co),n}function bo(){yo().setEnabled(!1)}var _o=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]*)?$/,Eo="00",wo="ff",ko="00000000000000000000000000000000",To="0000000000000000";function So(e,t,n){return!(!e||e.length!==t||e===n||!e.match(/^[\da-f]*$/))}function xo(e,t,n){return So(e,t)?e:n}function Co(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function Ao(e){if(!e||(Te(e)&&(e=e[0]||""),!e||!xe(e)||e.length>8192))return null;var t=_o.exec(De(e));return t&&t[1]!==wo&&t[2]!==ko&&t[3]!==To?{version:t[1],traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}:null}function Io(e){return So(e,32,ko)}function Ro(e){return So(e,16,To)}function Po(e){return!!(e&&So(e.version,2,wo)&&So(e.traceId,32,ko)&&So(e.spanId,16,To)&&So(Co(e.traceFlags),2))}var Oo=or("plugin");function jo(e){return Oo.get(e,"state",{},!0)}function No(e,t){for(var n,r=[],o=null,i=e.getNext();i;){var a=i.getPlugin();a&&(o&&ye(o[w])&&ye(a[_])&&o[w](a),(ye(a[k])?a[k]():(n=jo(a))[k])||r.push(a),o=a,i=i.getNext())}Pe(r,(function(r){var o=e.core();r.initialize(e.getCfg(),o,t,e.getNext()),n=jo(r),!r[S]&&!n[S]&&(n[S]=o),n[k]=!0,delete n[T]}))}function Do(e){return e.sort((function(e,t){var n=0;if(t){var r=ye(t[_]);ye(e[_])?n=r?e[E]-t[E]:1:r&&(n=-1)}else n=e?1:-1;return n}))}var Mo="TelemetryPluginChain",Lo="_hasRun",zo="_getTelCtx",Fo=0;function Uo(e,t,n,r){var o=null,i=[];null!==r&&(o=r?function(e,t,n){for(;e;){if(e.getPlugin()===n)return e;e=e.getNext()}return Vo([n],t.config||{},t)}(e,n,r):e);var a={_next:function(){var e=o;if(o=e?e.getNext():null,!e){var t=i;t&&t.length>0&&(Pe(t,(function(e){try{e.func.call(e.self,e.args)}catch(e){Pn(n.logger,2,73,"Unexpected Exception during onComplete - "+mn(e))}})),i=[])}return e},ctx:{core:function(){return n},diagLog:function(){return An(n,t)},getCfg:function(){return t},getExtCfg:s,getConfig:function(e,n,r){void 0===r&&(r=!1);var o,i=s(e,null);return i&&!me(i[n])?o=i[n]:t&&!me(t[n])&&(o=t[n]),me(o)?r:o},hasNext:function(){return!!o},getNext:function(){return o},setNext:function(e){o=e},iterate:function(e){for(var t;t=a._next();){var n=t.getPlugin();n&&e(n)}},onComplete:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e&&i.push({func:e,self:he(t)?a.ctx:t,args:n})}}};function s(e,n,r){var o;if(void 0===n&&(n={}),void 0===r&&(r=0),t){var i=t.extensionConfig;i&&e&&(o=i[e])}if(o){if(ve(n)&&0!==r){var a=et(!0,n,o);t&&2===r&&_e(n,(function(e){if(me(a[e])){var n=t[e];me(n)||(a[e]=n)}})),o=a}}else o=n;return o}return a}function qo(e,t,n,r){var o=Uo(e,t,n,r),i=o.ctx;return i.processNext=function(e){var t=o._next();return t&&t.processTelemetry(e,i),!t},i.createNew=function(e,r){return void 0===e&&(e=null),Te(e)&&(e=Vo(e,t,n,r)),qo(e||i.getNext(),t,n,r)},i}function Bo(e,t,n){var r=t.config||{},o=Uo(e,r,t,n),i=o.ctx;return i.processNext=function(e){var t=o._next();return t&&t.unload(i,e),!t},i.createNew=function(e,n){return void 0===e&&(e=null),Te(e)&&(e=Vo(e,r,t,n)),Bo(e||i.getNext(),t,n)},i}function Ho(e,t,n){var r=t.config||{},o=Uo(e,r,t,n).ctx;return o.processNext=function(e){return o.iterate((function(t){ye(t.update)&&t.update(o,e)}))},o.createNew=function(e,n){return void 0===e&&(e=null),Te(e)&&(e=Vo(e,r,t,n)),Ho(e||o.getNext(),t,n)},o}function Vo(e,t,n,r){var o=null,i=!r;if(Te(e)&&e.length>0){var a=null;Pe(e,(function(e){if(!i&&r===e&&(i=!0),i&&e&&ye(e.processTelemetry)){var s=function(e,t,n){var r,o=null,i=ye(e.processTelemetry),a=ye(e.setNextPlugin),s={getPlugin:function(){return e},getNext:function(){return o},processTelemetry:function(r,u){c(u=u||function(){var r;return e&&ye(e[zo])&&(r=e[zo]()),r||(r=qo(s,t,n)),r}(),(function(t){if(!e||!i)return!1;var n=jo(e);return!n.teardown&&!n[C]&&(a&&e.setNextPlugin(o),e.processTelemetry(r,t),!0)}),"processTelemetry",(function(){return{item:r}}),!r.sync)||u.processNext(r)},unload:function(t,n){c(t,(function(){var r=!1;if(e){var o=jo(e),i=e[S]||o.core;e&&(!i||i===t[S]())&&!o[T]&&(o[S]=null,o[T]=!0,o[k]=!1,e[T]&&!0===e[T](t,n)&&(r=!0))}return r}),"unload",(function(){}),n.isAsync)||t.processNext(n)},update:function(t,n){c(t,(function(){var r=!1;if(e){var o=jo(e),i=e[S]||o.core;e&&(!i||i===t[S]())&&!o[T]&&e[x]&&!0===e[x](t,n)&&(r=!0)}return r}),"update",(function(){}),!1)||t.processNext(n)},_id:r=e?e.identifier+"-"+e.priority+"-"+Fo++:"Unknown-0-"+Fo++,_setNext:function(e){o=e}};function c(t,n,i,a,s){var c=!1,u=e?e.identifier:Mo,l=t[Lo];return l||(l=t[Lo]={}),t.setNext(o),e&&zn(t[S](),(function(){return u+":"+i}),(function(){l[r]=!0;try{var e=o?o._id:b;e&&(l[e]=!1),c=n(t)}catch(e){var a=!o||l[o._id];a&&(c=!0),(!o||!a)&&Pn(t.diagLog(),1,73,"Plugin ["+u+"] failed during "+i+" - "+mn(e)+", run flags: "+mn(l))}}),a,s),c}return Be(s)}(e,t,n);o||(o=s),a&&a._setNext(s),a=s}}))}return r&&!o?Vo([r],t,n):o}var Go="extensionConfig",$o=500;function Ko(e,t,n,r){t&&Te(t)&&t.length>0&&(Pe(t=t.sort((function(e,t){return e.priority-t.priority})),(function(e){e.priority<$o&&Ye("Channel has invalid priority - "+e.identifier)})),e.push({queue:Be(t),chain:Vo(t,n,r)}))}function Wo(){var e=[];return{add:function(t){t&&e.push(t)},run:function(t,n){Pe(e,(function(e){try{e(t,n)}catch(e){Pn(t.diagLog(),2,73,"Unexpected error calling unload handler - "+mn(e))}})),e=[]}}}var Qo="getPlugin",Yo=function e(){var t,n,r,o,i,a=this;function s(e){void 0===e&&(e=null);var t=e;if(!t){var o=n||qo(null,{},a.core);t=r&&r[Qo]?o.createNew(null,r[Qo]):o.createNew(null,r)}return t}function c(e,t,o){e&&$e(e,Go,[],null,me),!o&&t&&(o=t.getProcessTelContext().getNext());var i=r;r&&r[Qo]&&(i=r[Qo]()),a.core=t,n=qo(o,e,t,i)}function u(){t=!1,a.core=null,n=null,r=null,i=[],o=Wo()}u(),Ot(e,a,(function(e){e.initialize=function(e,n,r,o){c(e,n,o),t=!0},e.teardown=function(t,n){var a=e.core;if(a&&(!t||a===t.core())){var s,c=!1,l=t||Bo(null,a,r&&r[Qo]?r[Qo]():r),p=n||{reason:0,isAsync:!1};return e[A]&&!0===e[A](l,p,d)?s=!0:d(),s}function d(){c||(c=!0,o.run(l,n),Pe(i,(function(e){e.rm()})),i=[],!0===s&&l.processNext(p),u())}},e.update=function(t,n){var o=e.core;if(o&&(!t||o===t.core())){var i,a=!1,s=t||Ho(null,o,r&&r[Qo]?r[Qo]():r),u=n||{reason:0};return e._doUpdate&&!0===e._doUpdate(s,u,l)?i=!0:l(),i}function l(){a||(a=!0,c(s.getCfg(),s.core(),s.getNext()))}},e._addHook=function(e){e&&(Te(e)?i=i.concat(e):i.push(e))},Je(e,"_addUnloadCb",(function(){return o}),"add")})),a.diagLog=function(e){return s(e).diagLog()},a[k]=function(){return t},a.setInitialized=function(e){t=e},a[w]=function(e){r=e},a.processNext=function(e,t){t?t.processNext(e):r&&ye(r.processTelemetry)&&r.processTelemetry(e,null)},a._getTelCtx=s},Xo=function(e){function t(){var n,r,o=e.call(this)||this;function i(){n=0,r=[]}return o.identifier="TelemetryInitializerPlugin",o.priority=199,i(),Ot(t,o,(function(e,t){e.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return r.push(t),{remove:function(){Pe(r,(function(e,n){if(e.id===t.id)return r.splice(n,1),-1}))}}},e.processTelemetry=function(t,n){for(var o=!1,i=r.length,a=0;a<i;++a){var s=r[a];if(s)try{if(!1===s.fn.apply(null,[t])){o=!0;break}}catch(e){Pn(n.diagLog(),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+Ge(e),{exception:mn(e)},!0)}}o||e.processNext(t,n)},e[A]=function(){i()}})),o}return v(t,e),t}(Yo),Jo="Plugins must provide initialize method",Zo="_notificationManager",ei="SDK is still unloading...",ti={loggingLevelConsole:1};function ni(e,t){return new Mn(t)}function ri(e,t){var n=!1;return Pe(t,(function(t){if(t===e)return n=!0,-1})),n}var oi=function e(){var t,n,r,o,i,a,s,c,u,l,p,d,h,m,g,v,b,_,E,w=0;Ot(e,this,(function(e){function k(){t=!1,e.config=et(!0,{},ti),e.logger=new In(e.config),e._extensions=[],m=new Xo,n=[],r=null,o=null,i=null,a=null,s=null,u=null,c=[],l=null,p=null,d=null,h=!1,g=null,v=rr("AIBaseCore",!0),b=Wo(),E=null}function S(){return qo(O(),e.config,e)}function x(t,n){var r=function(e,t,n){var r=[],o={};return Pe(n,(function(t){(me(t)||me(t.initialize))&&Ye(Jo);var n=t.priority,i=t.identifier;t&&n&&(me(o[n])?o[n]=i:On(e,"Two extensions have same priority #"+n+" - "+o[n]+", "+i)),(!n||n<500)&&r.push(t)})),{all:n,core:r}}(e.logger,0,c);u=r.core,s=null;var o=r.all;if(d=Be(function(e,t,n,r){var o=[];if(e&&Pe(e,(function(e){return Ko(o,e,n,r)})),t){var i=[];Pe(t,(function(e){e.priority>$o&&i.push(e)})),Ko(o,i,n,r)}return o}(p,o,t,e)),l){var i=Oe(o,l);-1!==i&&o.splice(i,1),-1!==(i=Oe(u,l))&&u.splice(i,1),l._setQueue(d)}else l=function(e,t){var n;function r(){return qo(null,t.config,t,null)}function o(e,t,n,r){var o=e?e.length+1:1;function i(){0==--o&&(r&&r(),r=null)}o>0&&Pe(e,(function(e){if(e&&e.queue.length>0){var r=e.chain,a=t.createNew(r);a.onComplete(i),n(a)}else o--})),i()}var i=!1;return(n={identifier:"ChannelControllerPlugin",priority:$o,initialize:function(t,n,r,o){i=!0,Pe(e,(function(e){e&&e.queue.length>0&&No(qo(e.chain,t,n),r)}))},isInitialized:function(){return i},processTelemetry:function(t,n){o(e,n||r(),(function(e){e[I](t)}),(function(){n[I](t)}))},update:function(t,n){var r=n||{reason:0};return o(e,t,(function(e){e[I](r)}),(function(){t[I](r)})),!0}})[P]=function(){o(e,r(),(function(e){e.iterate((function(e){e[P]&&e[P]()}))}),null)},n[R]=function(){o(e,r(),(function(e){e.iterate((function(e){e[R]&&e[R]()}))}),null)},n[T]=function(t,n){var r=n||{reason:0,isAsync:!1};return o(e,t,(function(e){e[I](r)}),(function(){t[I](r),i=!1})),!0},n.getChannel=function(t){var n=null;return e&&e.length>0&&Pe(e,(function(e){if(e&&e.queue.length>0&&(Pe(e.queue,(function(e){if(e.identifier===t)return n=e,-1})),n))return-1})),n},n.flush=function(t,n,i,a){var s=1,c=!1,u=null;function l(){s--,c&&0===s&&(u&&(clearTimeout(u),u=null),n&&n(c),n=null)}return a=a||5e3,o(e,r(),(function(e){e.iterate((function(e){if(e.flush){s++;var n=!1;e.flush(t,(function(){n=!0,l()}),i)||n||(t&&null==u?u=setTimeout((function(){u=null,l()}),a):l())}}))}),(function(){c=!0,l()})),!0},n._setQueue=function(t){e=t},n}(d,e);o.push(l),u.push(l),e._extensions=Do(o),l.initialize(t,e,o),No(S(),o),e._extensions=Be(Do(u||[])).slice(),n&&function(t){var n=Ho(O(),e);(!e._updateHook||!0!==e._updateHook(n,t))&&n.processNext(t)}(n)}function A(t){var n=null,r=null;return Pe(e._extensions,(function(e){if(e.identifier===t&&e!==l&&e!==m)return r=e,-1})),!r&&l&&(r=l.getChannel(t)),r&&(n={plugin:r,setEnabled:function(e){jo(r)[C]=!e},isEnabled:function(){var e=jo(r);return!e[T]&&!e[C]},remove:function(t,n){void 0===t&&(t=!0);var o=[r];z(o,{reason:1,isAsync:t},(function(t){t&&x(e.config,{reason:32,removed:o}),n&&n(t)}))}}),n}function O(){if(!s){var t=(u||[]).slice();-1===Oe(t,m)&&t.push(m),s=Vo(Do(t),e.config,e)}return s}function z(t,n,r){if(t&&t.length>0){var o=Bo(Vo(t,e.config,e),e);o.onComplete((function(){var e=!1,n=[];Pe(c,(function(r,o){ri(r,t)?e=!0:n.push(r)})),c=n;var o=[];p&&(Pe(p,(function(n,r){var i=[];Pe(n,(function(n){ri(n,t)?e=!0:i.push(n)})),o.push(i)})),p=o),r&&r(e)})),o.processNext(n)}else r(!1)}function F(){var t=e.logger?e.logger.queue:[];t&&(Pe(t,(function(t){var n={name:g||"InternalMessageId: "+t.messageId,iKey:e.config.instrumentationKey,time:Re(new Date),baseType:Cn.dataType,baseData:{message:t.message}};e.track(n)})),t.length=0)}function U(e,t,n,r){return l?l.flush(e,t,n||6,r):(t&&t(!1),!0)}function q(t){var n=e.logger;n?Pn(n,2,73,t):Ye(t)}k(),e.isInitialized=function(){return t},e.initialize=function(n,o,a,s){h&&Ye(ei),e.isInitialized()&&Ye("Core should not be initialized more than once"),(!n||me(n.instrumentationKey))&&Ye("Please provide instrumentation key"),r=s,e[Zo]=s,e.config=n||{},function(e){!0===e.disableDbgExt&&_&&(r[N](_),_=null),r&&!_&&!0!==e.disableDbgExt&&(_=Tn(e),r[j](_))}(n),function(t){!t.enablePerfMgr&&i&&(i=null),t.enablePerfMgr&&$e(e.config,"createPerfMgr",ni)}(n),n.extensions=me(n.extensions)?[]:n.extensions,function(e){Ke(e,Go).NotificationManager=r}(n),a&&(e.logger=a),(c=[]).push.apply(c,y(y([],o),n.extensions)),p=(n||{}).channels,x(n,null),(!d||0===d.length)&&Ye("No channels available"),t=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return d&&Pe(d,(function(t){e.push(t.queue)})),Be(e)},e.track=function(t){$e(t,"iKey",e.config.instrumentationKey,null,We),$e(t,"time",Re(new Date),null,We),$e(t,"ver","4.0",null,me),!h&&e.isInitialized()?S().processNext(t):n.push(t)},e.getProcessTelContext=S,e.getNotifyMgr=function(){return r||(r=function(){var e;return f(((e={})[j]=function(e){},e[N]=function(e){},e[D]=function(e){},e[M]=function(e,t){},e[L]=function(e,t){},e))}(),e[Zo]=r),r},e[j]=function(e){r&&r[j](e)},e[N]=function(e){r&&r[N](e)},e.getCookieMgr=function(){return a||(a=Er(e.config,e.logger)),a},e.setCookieMgr=function(e){a=e},e.getPerfMgr=function(){return!o&&!i&&e.config&&e.config.enablePerfMgr&&ye(e.config.createPerfMgr)&&(i=e.config.createPerfMgr(e,e.getNotifyMgr())),o||i||Fn()},e.setPerfMgr=function(e){o=e},e.eventCnt=function(){return n.length},e.releaseQueue=function(){if(t&&n.length>0){var e=n;n=[],Pe(e,(function(e){S().processNext(e)}))}},e.pollInternalLogs=function(t){g=t||null;var n=e.config.diagnosticLogInterval;return(!n||!(n>0))&&(n=1e4),w&&clearInterval(w),w=setInterval((function(){F()}),n)},e.stopPollingInternalLogs=function(){w&&(clearInterval(w),w=0,F())},Ze(e,(function(){return m}),["addTelemetryInitializer"]),e.unload=function(n,r,o){void 0===n&&(n=!0),t||Ye("SDK is not initialized"),h&&Ye(ei);var i={reason:50,isAsync:n,flushComplete:!1},a=Bo(O(),e);function s(t){i.flushComplete=t,h=!0,b.run(a,i),e.stopPollingInternalLogs(),a.processNext(i)}a.onComplete((function(){k(),r&&r(i)}),e),U(n,s,6,o)||s(!1)},e.getPlugin=A,e.addPlugin=function(t,n,r,o){if(!t)return o&&o(!1),void q(Jo);var i=A(t.identifier);if(i&&!n)return o&&o(!1),void q("Plugin ["+t.identifier+"] is already loaded!");var a={reason:16};function s(n){c.push(t),a.added=[t],x(e.config,a),o&&o(!0)}if(i){var u=[i.plugin];z(u,{reason:2,isAsync:!!r},(function(e){e?(a.removed=u,a.reason|=32,s()):o&&o(!1)}))}else s()},e.evtNamespace=function(){return v},e.flush=U,e.getTraceCtx=function(e){return E||(E=function(e){var t={};return{getName:function(){return t.name},setName:function(e){t.name=e},getTraceId:function(){return t.traceId},setTraceId:function(e){Io(e)&&(t.traceId=e)},getSpanId:function(){return t.spanId},setSpanId:function(e){Ro(e)&&(t.spanId=e)},getTraceFlags:function(){return t.traceFlags},setTraceFlags:function(e){t.traceFlags=e}}}()),E},e.setTraceCtx=function(e){E=e||null},Je(e,"addUnloadCb",(function(){return b}),"add")}))};function ii(e,t,n,r){Pe(e,(function(e){if(e&&e[t])if(n)setTimeout((function(){return r(e)}),0);else try{r(e)}catch{}}))}var ai=function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;Ot(e,this,(function(e){e[j]=function(t){e.listeners.push(t)},e[N]=function(t){for(var n=Oe(e.listeners,t);n>-1;)e.listeners.splice(n,1),n=Oe(e.listeners,t)},e[D]=function(t){ii(e.listeners,D,!0,(function(e){e[D](t)}))},e[M]=function(t,n){ii(e.listeners,M,!0,(function(e){e[M](t,n)}))},e[L]=function(t,n){ii(e.listeners,L,n,(function(e){e[L](t,n)}))},e[z]=function(t){t&&(n||!t.isChildEvt())&&ii(e.listeners,z,!1,(function(e){t.isAsync?setTimeout((function(){return e[z](t)}),0):e[z](t)}))}}))},si=function(e){function t(){var n=e.call(this)||this;return Ot(t,n,(function(e,t){function n(t){var n=e.getNotifyMgr();n&&n.eventsDiscarded([t],2)}e.initialize=function(e,n,r,o){t.initialize(e,n,r||new In(e),o||new ai(e))},e.track=function(r){zn(e.getPerfMgr(),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),Ye("Invalid telemetry item")),function(e){me(e.name)&&(n(e),Ye("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),n}return v(t,e),t}(oi),ci=tt({CRITICAL:1,WARNING:2}),ui=tt({BrowserDoesNotSupportLocalStorage:0,BrowserCannotReadLocalStorage:1,BrowserCannotReadSessionStorage:2,BrowserCannotWriteLocalStorage:3,BrowserCannotWriteSessionStorage:4,BrowserFailedRemovalFromLocalStorage:5,BrowserFailedRemovalFromSessionStorage:6,CannotSendEmptyTelemetry:7,ClientPerformanceMathError:8,ErrorParsingAISessionCookie:9,ErrorPVCalc:10,ExceptionWhileLoggingError:11,FailedAddingTelemetryToBuffer:12,FailedMonitorAjaxAbort:13,FailedMonitorAjaxDur:14,FailedMonitorAjaxOpen:15,FailedMonitorAjaxRSC:16,FailedMonitorAjaxSend:17,FailedMonitorAjaxGetCorrelationHeader:18,FailedToAddHandlerForOnBeforeUnload:19,FailedToSendQueuedTelemetry:20,FailedToReportDataLoss:21,FlushFailed:22,MessageLimitPerPVExceeded:23,MissingRequiredFieldSpecification:24,NavigationTimingNotSupported:25,OnError:26,SessionRenewalDateIsZero:27,SenderNotInitialized:28,StartTrackEventFailed:29,StopTrackEventFailed:30,StartTrackFailed:31,StopTrackFailed:32,TelemetrySampledAndNotSent:33,TrackEventFailed:34,TrackExceptionFailed:35,TrackMetricFailed:36,TrackPVFailed:37,TrackPVFailedCalc:38,TrackTraceFailed:39,TransmissionFailed:40,FailedToSetStorageBuffer:41,FailedToRestoreStorageBuffer:42,InvalidBackendResponse:43,FailedToFixDepricatedValues:44,InvalidDurationValue:45,TelemetryEnvelopeInvalid:46,CreateEnvelopeError:47,CannotSerializeObject:48,CannotSerializeObjectNonSerializable:49,CircularReferenceDetected:50,ClearAuthContextFailed:51,ExceptionTruncated:52,IllegalCharsInName:53,ItemNotInArray:54,MaxAjaxPerPVExceeded:55,MessageTruncated:56,NameTooLong:57,SampleRateOutOfRange:58,SetAuthContextFailed:59,SetAuthContextFailedAccountName:60,StringValueTooLong:61,StartCalledMoreThanOnce:62,StopCalledWithoutStart:63,TelemetryInitializerFailed:64,TrackArgumentsNotSpecified:65,UrlTooLong:66,SessionStorageBufferFull:67,CannotAccessCookie:68,IdTooLong:69,InvalidEvent:70,FailedMonitorAjaxSetRequestHeader:71,SendBrowserInfoOnUserInit:72,PluginException:73,NotificationException:74,SnippetScriptLoadFailure:99,InvalidInstrumentationKey:100,CannotParseAiBlobValue:101,InvalidContentBlob:102,TrackPageActionEventFailed:103,FailedAddingCustomDefinedRequestContext:104,InMemoryStorageBufferFull:105,InstrumentationKeyDeprecation:106}),li="_aiHooks",pi=["req","rsp","hkErr","fnErr"];function di(e,t){if(e)for(var n=0;n<e.length&&!t(e[n],n);n++);}function hi(e,t,n,r,o){o>=0&&o<=2&&di(e,(function(e,i){var a=e.cbks,s=a[pi[o]];if(s){t.ctx=function(){return r[i]=r[i]||{}};try{s.apply(t.inst,n)}catch(e){var c=t.err;try{var u=a[pi[2]];u&&(t.err=e,u.apply(t.inst,n))}catch{}finally{t.err=c}}}}))}function mi(e,t,n){var r=null;return e&&(ge(e,t)?r=e:n&&(r=mi(pe(e),t,!1))),r}function fi(e,t,n,r){var o=n&&n[li];if(!o){var i=function(e){return function(){var t=arguments,n=e.h,r={name:e.n,inst:this,ctx:null,set:function(e,n){(t=a([],t))[e]=n,i=a([r],t)}},o=[],i=a([r],t);function a(e,t){return di(t,(function(t){e.push(t)})),e}r.evt=Xt("event"),hi(n,r,i,o,0);var s=e.f;if(s)try{r.rslt=s.apply(this,t)}catch(e){throw r.err=e,hi(n,r,i,o,3),e}return hi(n,r,i,o,1),r.rslt}}(o={i:0,n:t,f:n,h:[]});i[li]=o,e[t]=i}var a={id:o.i,cbks:r,rm:function(){var e=this.id;di(o.h,(function(t,n){if(t.id===e)return o.h.splice(n,1),1}))}};return o.i++,o.h.push(a),a}function gi(e,n,r,o){if(void 0===o&&(o=!0),e&&n&&r){var i=mi(e,n,o);if(i){var a=i[n];if(typeof a===t)return fi(i,n,a,r)}}return null}function vi(e,t,n,r){void 0===r&&(r=!0);var o=null;return di(t,(function(t){var i=gi(e,t,n,r);i&&(o||(o=[]),o.push(i))})),o}e.AppInsightsCore=si,e.BaseCore=oi,e.BaseTelemetryPlugin=Yo,e.CoreUtils=fo,e.DiagnosticLogger=In,e.EventHelper=vo,e.EventsDiscardedReason=nt,e.InstrumentEvent=function(e,t,n,r){if(e&&t&&n){var o=mi(e,t,r)||e;if(o)return fi(o,t,o[t],n)}return null},e.InstrumentFunc=gi,e.InstrumentFuncs=vi,e.InstrumentProto=function(e,t,n){return e?gi(e[o],t,n,!1):null},e.InstrumentProtos=function(e,t,n){return e?vi(e[o],t,n,!1):null},e.LoggingSeverity=ci,e.MinChannelPriorty=100,e.NotificationManager=ai,e.PerfEvent=Dn,e.PerfManager=Mn,e.ProcessTelemetryContext=function(e,t,n,r){var o=qo(e,t,n,r);Ze(this,o,ze(o))},e.Undefined=lo,e._InternalLogMessage=Cn,e._InternalMessageId=ui,e.__getRegisteredEvents=function(e,t,n){var r=[],o=Gr.get(e,Nr,{},!1),i=Wr(t,n);return _e(o,(function(e,t){Pe(t,(function(e){(!i.type||i.type===e.evtName.type)&&(!i.ns||i.ns==i.ns)&&r.push({name:e.evtName.type+(e.evtName.ns?"."+e.evtName.ns:""),handler:e.handler})}))})),r},e._legacyCookieMgr=yo,e._logInternalMessage=function(e,t,n){Rn(e).logInternalMessage(t,n)},e._throwInternal=Pn,e._warnToConsole=On,e.addEventHandler=ro,e.addEventListeners=ao,e.addPageHideEventListener=function e(t,n,r){var o=Jr(Ur,r),i=io([Mr],t,n,o);return(!n||-1===Oe(n,Dr))&&(i=io([Dr],(function(e){var n=tn();t&&n&&"hidden"===n.visibilityState&&t(e)}),n,o)||i),!i&&n&&(i=e(t,null,r)),i},e.addPageShowEventListener=function e(t,n,r){var o=Jr(qr,r),i=io([Lr],t,n,o);return!(i=io([Dr],(function(e){var n=tn();t&&n&&"visible"===n.visibilityState&&t(e)}),n,o)||i)&&n&&(i=e(t,null,r)),i},e.addPageUnloadEventListener=function(e,t,n){return ao([Fr,zr,Mr],e,t,n)},e.areCookiesSupported=wr,e.arrForEach=Pe,e.arrIndexOf=Oe,e.arrMap=je,e.arrReduce=Ne,e.attachEvent=to,e.canUseCookies=function(e){return yo(null,e).isEnabled()},e.createClassFromInterface=function(e){return function(){var t=this;e&&_e(e,(function(e,n){t[e]=n}))}},e.createCookieMgr=Er,e.createEnumMap=function(e){var t={};return _e(e,(function(e,n){t[e]=e,t[n]=e})),qe(t)},e.createEnumStyle=tt,e.createProcessTelemetryContext=qo,e.createTraceParent=function(e,t,n,r){return{version:So(r,2,wo)?r:Eo,traceId:Io(e)?e:mo(),spanId:Ro(t)?t:mo().substr(0,16),traceFlags:n>=0&&n<=255?n:1}},e.createUniqueNamespace=rr,e.createUnloadHandlerContainer=Wo,e.createValueMap=function(e){var t={};return _e(e,(function(e,n){t[e]=n[1],t[n[0]]=n[1]})),qe(t)},e.dateNow=Ve,e.deepFreeze=qe,e.deleteCookie=function(e,t){return yo(null,e).del(t)},e.detachEvent=no,e.disableCookies=bo,e.doPerf=zn,e.dumpObj=mn,e.eventOff=eo,e.eventOn=Zr,e.findMetaTag=vn,e.findNamedServerTiming=yn,e.findW3cTraceParent=function(){var e="traceparent",t=Ao(vn(e));return t||(t=Ao(yn(e))),t},e.formatTraceParent=function(e){if(e){var t=Co(e.traceFlags);So(t,2)||(t="01");var n=e.version||Eo;return"00"!==n&&"ff"!==n&&(n=Eo),"".concat(n,"-").concat(xo(e.traceId,32,ko),"-").concat(xo(e.spanId,16,To),"-").concat(t)}return""},e.generateW3CId=mo,e.getConsole=sn,e.getCookie=function(e,t){return yo(null,e).get(t)},e.getCrypto=pn,e.getDebugExt=kn,e.getDebugListener=Tn,e.getDocument=tn,e.getExceptionName=Ge,e.getGblPerfMgr=Fn,e.getGlobal=h,e.getGlobalInst=Xt,e.getHistory=function(){return on()?history:Xt("history")},e.getIEVersion=function(e){if(void 0===e&&(e=null),!e){var t=rn()||{};e=t?(t.userAgent||b).toLowerCase():b}var n=(e||b).toLowerCase();if(we(n,Bt)){var r=tn()||{};return Math.max(parseInt(n.split(Bt)[1]),r.documentMode||0)}if(we(n,Ht)){var o=parseInt(n.split(Ht)[1]);if(o)return o+4}return null},e.getJSON=ln,e.getLocation=an,e.getMsCrypto=dn,e.getNavigator=rn,e.getPerformance=cn,e.getSetValue=Ke,e.getWindow=Zt,e.hasDocument=en,e.hasHistory=on,e.hasJSON=un,e.hasNavigator=nn,e.hasOwnProperty=ge,e.hasWindow=Jt,e.initializePlugins=No,e.isArray=Te,e.isBeaconsSupported=function(){return null===Qt&&(Qt=nn()&&Boolean(rn().sendBeacon)),Qt},e.isBoolean=Ae,e.isDate=ke,e.isError=Se,e.isFetchSupported=function(e){var t=!1;try{t=!!Xt("fetch");var n=Xt("Request");t&&e&&n&&(t=Yt(n,"keepalive"))}catch{}return t},e.isFunction=ye,e.isIE=hn,e.isNotNullOrUndefined=fe,e.isNotTruthy=We,e.isNotUndefined=function(e){return!he(e)},e.isNullOrUndefined=me,e.isNumber=Ce,e.isObject=ve,e.isReactNative=function(){var e=rn();return!(!e||!e.product)&&"ReactNative"===e.product},e.isSafari=function(e){if(!e||!xe(e)){var t=rn()||{};e=t?(t.userAgent||b).toLowerCase():b}return(e||b).toLowerCase().indexOf("safari")>=0},e.isSampledFlag=function(e){return!!Po(e)&&1==(1&e.traceFlags)},e.isString=xe,e.isSymbol=function(e){return"symbol"==typeof e},e.isTruthy=Qe,e.isTypeof=de,e.isUndefined=he,e.isValidSpanId=Ro,e.isValidTraceId=Io,e.isValidTraceParent=Po,e.isXhrSupported=fn,e.mergeEvtNamespace=Jr,e.mwcRandom32=Yn,e.mwcRandomSeed=Qn,e.newGuid=po,e.newId=Xn,e.normalizeJsName=be,e.objCreate=f,e.objDefineAccessors=Fe,e.objExtend=et,e.objForEachKey=_e,e.objFreeze=Be,e.objKeys=ze,e.objSeal=He,e.objToString=function(e){return oe.call(e)},e.optimizeObject=function(e){return e&&c&&(e=a(c({},e))),e},e.parseTraceParent=Ao,e.perfNow=ho,e.proxyAssign=function(e,t,n){if(e&&t&&ve(e)&&ve(t)){var r=function(r){if(xe(r)){var o=t[r];ye(o)?(!n||n(r,!0,t,e))&&(e[r]=Xe(t,r)):(!n||n(r,!1,t,e))&&(ge(e,r)&&delete e[r],Fe(e,r,(function(){return t[r]}),(function(e){t[r]=e}))||(e[r]=o))}};for(var o in t)r(o)}return e},e.proxyFunctionAs=Je,e.proxyFunctions=Ze,e.random32=Wn,e.randomValue=Kn,e.removeEventHandler=oo,e.removeEventListeners=so,e.removePageHideEventListener=function(e,t){var n=Jr(Ur,t);so([Mr],e,n),so([Dr],null,n)},e.removePageShowEventListener=function(e,t){var n=Jr(qr,t);so([Lr],e,n),so([Dr],null,n)},e.removePageUnloadEventListener=function(e,t){so([Fr,zr,Mr],e,t)},e.safeGetCookieMgr=function(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var r=t.cookieCfg;n=r[dr]?r[dr]:Er(t)}return n||(n=br(t,(e||{}).logger)),n},e.safeGetLogger=An,e.setCookie=function(e,t,n,r){yo(null,e).set(t,n,null,r)},e.setEnableEnvMocks=function(e){Kt=e},e.setGblPerfMgr=function(e){Nn=e},e.setValue=$e,e.sortPlugins=Do,e.strContains=we,e.strEndsWith=Ee,e.strFunction=t,e.strObject=n,e.strPrototype=o,e.strStartsWith=function(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=te?e[q](t):function(e,t){var n=!1,r=t?t.length:0;if(e&&r&&e.length>=r&&!(n=e===t)){for(var o=0;o<r;o++)if(e[o]!==t[o])return!1;n=!0}return n}(e,t)),n},e.strTrim=De,e.strUndefined=r,e.throwError=Ye,e.toISOString=Re,e.uaDisallowsSameSiteNone=Ar,e.unloadComponents=function(e,t,n,r){var o=0;return function r(){for(;o<e.length;){var i=e[o++];if(i){var a=i._doUnload||i[A];if(ye(a)&&!0===a.call(i,t,n,r))return!0}}}()},e.useXDomainRequest=function(){return null===Wt&&(Wt=typeof XDomainRequest!==r)&&fn()&&(Wt=Wt&&!Yt(Xt(Vt),"withCredentials")),Wt},function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch{}n&&void 0!==typeof n.value&&(e[t]=n.value)}(e,"__esModule",{value:!0})},"object"==typeof n&&typeof a<"u"?s(n):(o=[t],void 0===(i="function"==typeof(r=s)?r.apply(t,o):r)||(e.exports=i))})),S=_(((o,a)=>{var s;s=function(){"use strict";var e="constructor",t="prototype",n="function",r="_dynInstFuncs",o="_isDynProxy",i="_dynClass",a="_dynInstChk",s=a,c="_dfOpts",u="_unknown_",l="__proto__",p="_dyn"+l,d="_dynInstProto",h="useBaseInst",m="setInstFuncs",f=Object,g=f.getPrototypeOf,v=f.getOwnPropertyNames,y=0;function b(e,n){return e&&f[t].hasOwnProperty.call(e,n)}function _(e){return e&&(e===f[t]||e===Array[t])}function E(e){return _(e)||e===Function[t]}function w(n){var r;if(n){if(g)return g(n);var o=n[l]||n[t]||(n[e]?n[e][t]:null);r=n[p]||o,b(n,p)||(delete n[d],r=n[p]=n[d]||n[p],n[d]=o)}return r}function k(e,t){var n=[];if(v)n=v(e);else for(var r in e)"string"==typeof r&&b(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function T(t,r,o){return r!==e&&typeof t[r]===n&&(o||b(t,r))}function S(e){throw new TypeError("DynamicProto: "+e)}function x(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function C(e,t,c,u,l){if(!_(e)){var p=c[r]=c[r]||{},d=p[t]=p[t]||{};!1!==p[s]&&(p[s]=!!l),k(c,(function(t){T(c,t,!1)&&c[t]!==u[t]&&(d[t]=c[t],delete c[t],(!b(e,t)||e[t]&&!e[t][o])&&(e[t]=function(e,t){var c=function(){var o=function(e,t,o,c){var u=null;if(e&&b(o,i)){var l=e[r]||{};if((u=(l[o[i]]||{})[t])||S("Missing ["+t+"] "+n),!u[a]&&!1!==l[s]){for(var p=!b(e,t),d=w(e),h=[];p&&d&&!E(d)&&!x(h,d);){var m=d[t];if(m){p=m===c;break}h.push(d),d=w(d)}try{p&&(e[t]=u),u[a]=1}catch{l[s]=!1}}}return u}(this,t,e,c)||function(e,t,r){var o=t[e];return o===r&&(o=w(t)[e]),typeof o!==n&&S("["+e+"] is not a "+n),o}(t,e,c);return o.apply(this,arguments)};return c[o]=1,c}(e,t)))}))}}function A(n,r){return b(n,t)?n.name||r||u:((n||{})[e]||{}).name||r||u}function I(e,n,a,u){b(e,t)||S("theClass is an invalid class definition.");var l=e[t];(function(e,t){if(g){for(var n=[],r=w(t);r&&!E(r)&&!x(n,r);){if(r===e)return!0;n.push(r),r=w(r)}return!1}return!0})(l,n)||S("["+A(e)+"] is not in class hierarchy of ["+A(n)+"]");var p=null;b(l,i)?p=l[i]:(p="_dynCls$"+A(e,"_")+"$"+y,y++,l[i]=p);var d=I[c],f=!!d[h];f&&u&&void 0!==u[h]&&(f=!!u[h]);var v=function(e){var t={};return k(e,(function(n){!t[n]&&T(e,n,!1)&&(t[n]=e[n])})),t}(n),_=function(e,t,n,a){function c(e,t,n){var c=t[n];if(c[o]&&a){var u=e[r]||{};!1!==u[s]&&(c=(u[t[i]]||{})[n]||c)}return function(){return c.apply(e,arguments)}}var u={};k(n,(function(e){u[e]=c(t,n,e)}));for(var l=w(e),p=[];l&&!E(l)&&!x(p,l);)k(l,(function(e){!u[e]&&T(l,e,!g)&&(u[e]=c(t,l,e))})),p.push(l),l=w(l);return u}(l,n,v,f);a(n,_);var R=!!g&&!!d[m];R&&u&&(R=!!u[m]),C(l,p,n,v,!1!==R)}return I[c]={setInstFuncs:!0,useBaseInst:!0},I},"object"==typeof o&&typeof a<"u"?a.exports=s():void 0===(i="function"==typeof(r=s)?r.call(t,n,t,e):r)||(e.exports=i)})),x=_(((a,s)=>{var c;c=function(e,t,n,r){"use strict";var o,i,a=(i=r)&&"object"==typeof i&&"default"in i?i.default:i,s=n.createEnumStyle({NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32}),c=n.createEnumStyle({Normal:1,CostDeferred:2,RealTime:3,Immediate:4}),u=n.createEnumStyle({Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9}),l=n.createEnumStyle({Normal:1,Critical:2}),p=n.createEnumStyle({NONE:0,ERROR:1,WARNING:2,INFORMATION:3}),d=n.objFreeze(t.__assignFn(t.__assignFn({},n._InternalMessageId),n.createEnumStyle({AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}))),h="3.2.3",m="1DS-Web-JS-"+h,f="withCredentials",g=((o={})[0]=0,o[2]=6,o[1]=1,o[3]=7,o[4098]=6,o[4097]=1,o[4099]=7,o),v=null,y=Boolean(n.getDocument()),b=Boolean(n.getWindow());function _(e){return!(""===e||n.isNullOrUndefined(e))}function E(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return""}function w(){return null===v&&(v=!n.isUndefined(Uint8Array)&&!function(){var e=n.getNavigator();if(!n.isUndefined(e)&&e.userAgent){var t=e.userAgent.toLowerCase();if((t.indexOf("safari")>=0||t.indexOf("firefox")>=0)&&t.indexOf("chrome")<0)return!0}return!1}()&&!n.isReactNative()),v}function k(e){return!!(e&&n.isNumber(e)&&e>=1&&e<=4)}function T(e,t,r){if(!t&&!_(t)||"string"!=typeof e)return null;var o=typeof t;if("string"===o||"number"===o||"boolean"===o||n.isArray(t))t={value:t};else if("object"!==o||t.hasOwnProperty("value")){if(n.isNullOrUndefined(t.value)||""===t.value||!n.isString(t.value)&&!n.isNumber(t.value)&&!n.isBoolean(t.value)&&!n.isArray(t.value))return null}else t={value:r?JSON.stringify(t):t};if(n.isArray(t.value)&&!D(t.value))return null;if(!n.isNullOrUndefined(t.kind)){if(n.isArray(t.value)||!N(t.kind))return null;t.value=t.value.toString()}return t}function S(e,t,r){var o=-1;if(!n.isUndefined(e))if(t>0&&(32===t?o=8192:t<=13&&(o=t<<5)),function(e){return e>=0&&e<=9}(r))-1===o&&(o=0),o|=r;else{var i=g[L(e)]||-1;-1!==o&&-1!==i?o|=i:6===i&&(o=i)}return o}function x(){n.safeGetCookieMgr(null).setEnabled(!1)}function C(e,t,r){n.areCookiesSupported(null)&&n.safeGetCookieMgr(null).set(e,t,86400*r,null,"/")}function A(e){n.areCookiesSupported(null)&&n.safeGetCookieMgr(null).del(e)}function I(e){return n.areCookiesSupported(null)?R(n.safeGetCookieMgr(null),e):""}function R(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||""}function P(e){void 0===e&&(e="D");var t=n.newGuid();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,"")),t}function O(e,t,r,o,i){var a={},s=!1,c=0,u=arguments.length,l=arguments;for("[object Boolean]"===Object[n.strPrototype].toString.call(l[0])&&(s=l[0],c++);c<u;c++)e=l[c],n.objForEachKey(e,(function(e,t){s&&t&&n.isObject(t)?n.isArray(t)?(a[e]=a[e]||[],n.arrForEach(t,(function(t,r){t&&n.isObject(t)?a[e][r]=O(!0,a[e][r],t):a[e][r]=t}))):a[e]=O(!0,a[e],t):a[e]=t}));return a}var j=n.perfNow;function N(e){return 0===e||e>0&&e<=13||32===e}function D(e){return e.length>0}function M(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=j()}function L(e){var r=0;if(null!=e){var o=typeof e;"string"===o?r=1:"number"===o?r=2:"boolean"===o?r=3:o===t.strShimObject&&(r=4,n.isArray(e)?(r=4096,e.length>0&&(r|=L(e[0]))):n.hasOwnProperty(e,"value")&&(r=8192|L(e.value)))}return r}var z={Version:h,FullVersionString:m,strUndefined:n.strUndefined,strObject:n.strObject,Undefined:n.strUndefined,arrForEach:n.arrForEach,arrIndexOf:n.arrIndexOf,arrMap:n.arrMap,arrReduce:n.arrReduce,objKeys:n.objKeys,toISOString:n.toISOString,isReactNative:n.isReactNative,isString:n.isString,isNumber:n.isNumber,isBoolean:n.isBoolean,isFunction:n.isFunction,isArray:n.isArray,isObject:n.isObject,strTrim:n.strTrim,isDocumentObjectAvailable:y,isWindowObjectAvailable:b,isValueAssigned:_,getTenantId:E,isBeaconsSupported:n.isBeaconsSupported,isUint8ArrayAvailable:w,isLatency:k,sanitizeProperty:T,getISOString:n.toISOString,useXDomainRequest:n.useXDomainRequest,getCommonSchemaMetaData:S,cookieAvailable:n.areCookiesSupported,disallowsSameSiteNone:n.uaDisallowsSameSiteNone,setCookie:C,deleteCookie:A,getCookie:I,createGuid:P,extend:O,getTime:j,isValueKind:N,isArrayValid:D,objDefineAccessors:n.objDefineAccessors,addPageUnloadEventListener:n.addPageUnloadEventListener,setProcessTelemetryTimings:M,addEventHandler:n.addEventHandler,getFieldValueType:L,strEndsWith:n.strEndsWith,objForEachKey:n.objForEachKey},F={_canUseCookies:void 0,isTypeof:n.isTypeof,isUndefined:n.isUndefined,isNullOrUndefined:n.isNullOrUndefined,hasOwnProperty:n.hasOwnProperty,isFunction:n.isFunction,isObject:n.isObject,isDate:n.isDate,isArray:n.isArray,isError:n.isError,isString:n.isString,isNumber:n.isNumber,isBoolean:n.isBoolean,toISOString:n.toISOString,arrForEach:n.arrForEach,arrIndexOf:n.arrIndexOf,arrMap:n.arrMap,arrReduce:n.arrReduce,strTrim:n.strTrim,objCreate:t.objCreateFn,objKeys:n.objKeys,objDefineAccessors:n.objDefineAccessors,addEventHandler:n.addEventHandler,dateNow:n.dateNow,isIE:n.isIE,disableCookies:x,newGuid:n.newGuid,perfNow:n.perfNow,newId:n.newId,randomValue:n.randomValue,random32:n.random32,mwcRandomSeed:n.mwcRandomSeed,mwcRandom32:n.mwcRandom32,generateW3CId:n.generateW3CId},U="version",q="properties",B=function(e){function r(){var t=e.call(this)||this;return t.pluginVersionStringArr=[],t.pluginVersionString="",a(r,t,(function(e,t){(!e.logger||!e.logger.queue)&&(e.logger=new n.DiagnosticLogger({loggingLevelConsole:1})),e.initialize=function(r,o,i,a){n.doPerf(e,(function(){return"AppInsightsCore.initialize"}),(function(){if(r){r.endpointUrl||(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/");var s=r.propertyStorageOverride;if(s&&(!s.getProperty||!s.setProperty))throw new Error("Invalid property storage override passed.");r.channels&&n.arrForEach(r.channels,(function(t){t&&n.arrForEach(t,(function(t){if(t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}}))}))}e.getWParam=function(){return typeof document<"u"?0:-1},o&&n.arrForEach(o,(function(t){if(t&&t.identifier&&t.version){var n=t.identifier+"="+t.version;e.pluginVersionStringArr.push(n)}})),e.pluginVersionString=e.pluginVersionStringArr.join(";");try{t.initialize(r,o,i,a),e.pollInternalLogs("InternalLog")}catch(t){var c=e.logger,u=n.dumpObj(t);-1!==u.indexOf("channels")&&(u+="\n - Channels must be provided through config.channels only!"),c.throwInternal(1,514,"SDK Initialization Failed - no telemetry will be sent: "+u)}}),(function(){return{config:r,extensions:o,logger:i,notificationManager:a}}))},e.track=function(r){n.doPerf(e,(function(){return"AppInsightsCore.track"}),(function(){var n=r;if(n){n.timings=n.timings||{},n.timings.trackStart=j(),k(n.latency)||(n.latency=1);var o=n.ext=n.ext||{};o.sdk=o.sdk||{},o.sdk.ver=m;var i=n.baseData=n.baseData||{};i[q]||(i[q]={});var a=i[q];a[U]||(a[U]=""),""!==e.pluginVersionString&&(a[U]=e.pluginVersionString)}t.track(n)}),(function(){return{item:r}}),!r.sync)}})),t}return t.__extendsFn(r,e),r}(n.AppInsightsCore),H=function(e){function r(){var t=e.call(this)||this;return a(r,t,(function(e,t){e.initialize=function(r,o,i,a){r&&!r.endpointUrl&&(r.endpointUrl="https://browser.events.data.microsoft.com/OneCollector/1.0/"),e.getWParam=function(){return y?0:-1};try{t.initialize(r,o,i,a)}catch(t){n._throwInternal(e.logger,1,514,"Initialization Failed: "+n.dumpObj(t)+"\n - Note: Channels must be provided through config.channels only")}},e.track=function(e){var n=e;if(n){var r=n.ext=n.ext||{};r.sdk=r.sdk||{},r.sdk.ver=m}t.track(n)}})),t}return t.__extendsFn(r,e),r}(n.BaseCore),V=n.isFunction;function G(e,t,n){return function(r){e[t]=r,n()}}var $=function(){function e(t){var n=0,r=null,o=[];function i(){if(o.length>0){var e=o.slice();o=[],setTimeout((function(){for(var t=0,n=e.length;t<n;++t)try{e[t]()}catch{}}),0)}}function s(e){0===n&&(r=e,n=1,i())}function c(e){0===n&&(r=e,n=2,i())}a(e,this,(function(t){t.then=function(t,a){return new e((function(s,c){!function(t,a,s,c){o.push((function(){var o;try{(o=1===n?V(t)?t(r):r:V(a)?a(r):r)instanceof e?o.then(s,c):2!==n||V(a)?s(o):c(o)}catch(e){return void c(e)}})),0!==n&&i()}(t,a,s,c)}))},t.catch=function(e){return t.then(null,e)}})),function(){if(!V(t))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{t(s,c)}catch(e){c(e)}}()}return e.resolve=function(t){return t instanceof e?t:t&&V(t.then)?new e((function(e,n){try{t.then(e,n)}catch(e){n(e)}})):new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){if(t&&t.length)return new e((function(e,n){try{for(var r=[],o=0,i=0;i<t.length;i++){var a=t[i];a&&V(a.then)?(o++,a.then(G(r,i,(function(){0==--o&&e(r)})),n)):r[i]=a}0===o&&setTimeout((function(){e(r)}),0)}catch(e){n(e)}}))},e.race=function(t){return new e((function(e,n){if(t&&t.length)try{for(var r=function(r){var o=t[r];o&&V(o.then)?o.then(e,n):setTimeout((function(){e(o)}),0)},o=0;o<t.length;o++)r(o)}catch(e){n(e)}}))},e}(),K=0,W=[],Q=[],Y=[];function X(){return(new Date).getTime()}var J=function(){function e(t,r){var o=0,i=(t||"<unnamed>")+"."+K;function s(e){var t=n.getGlobal();t&&t.QUnit&&console&&console.log("ESPromiseScheduler["+i+"] "+e)}function c(e){r&&r.warnToConsole("ESPromiseScheduler["+i+"] "+e)}K++,a(e,this,(function(e){var t=null,n=0;function r(e,t){for(var n=0;n<e.length;n++)if(e[n].id===t)return e.splice(n,1)[0];return null}e.scheduleEvent=function(e,a,u){var l=i+"."+n;n++,a&&(l+="-("+a+")");var p=l+"{"+o+"}";o++;var d,h,m,f={evt:null,tm:X(),id:p,isRunning:!1,isAborted:!1};return f.evt=t?(d=f,h=t,m=new $((function(e,t){var n=X()-h.tm,o=h.id;s("["+l+"] is waiting for ["+o+":"+n+" ms] to complete before starting -- ["+Q.length+"] waiting and ["+W.length+"] running"),d.abort=function(e){d.abort=null,r(Q,l),d.isAborted=!0,t(new Error(e))},h.evt.then((function(n){r(Q,l),E(d).then(e,t)}),(function(n){r(Q,l),E(d).then(e,t)}))})),Q.push(d),m):E(f),(t=f).evt._schId=p,f.evt;function g(e){for(var t=X(),n=t-6e5,r=e.length,o=0;o<r;){var i=e[o];if(i&&i.tm<n){var a=null;i.abort?(a="Aborting ["+i.id+"] due to Excessive runtime ("+(t-i.tm)+" ms)",i.abort(a)):a="Removing ["+i.id+"] due to Excessive runtime ("+(t-i.tm)+" ms)",c(a),e.splice(o,1),r--}else o++}}function v(e,n){var o=!1,i=r(W,e);if(i||(i=r(Y,e),o=!0),i){i.to&&(clearTimeout(i.to),i.to=null);var a=X()-i.tm;n?o?c("Timed out event ["+e+"] finally complete -- "+a+" ms"):s("Promise ["+e+"] Complete -- "+a+" ms"):(Y.push(i),c("Event ["+e+"] Timed out and removed -- "+a+" ms"))}else s("Failed to remove ["+e+"] from running queue");t&&t.id===e&&(t=null),g(W),g(Q),g(Y)}function y(e,t){return function(n){return v(e,!0),t&&t(n),n}}function b(e,t,n,r){t.then((function(t){return t instanceof $?(s("Event ["+e+"] returned a promise -- waiting"),b(e,t,n,r),t):y(e,n)(t)}),y(e,r))}function _(e,t){var n=e.id;return new $((function(r,o){s("Event ["+n+"] Starting -- waited for "+(e.wTm||"--")+" ms"),e.isRunning=!0,e.abort=function(t){e.abort=null,e.isAborted=!0,v(n,!1),o(new Error(t))};var i=t(n);i instanceof $?(u&&(e.to=setTimeout((function(){v(n,!1),o(new Error("Timed out after ["+u+"] ms"))}),u)),b(n,i,(function(t){s("Event ["+n+"] Resolving after "+(X()-e.tm)+" ms"),r(t)}),o)):(s("Promise ["+n+"] Auto completed as the start action did not return a promise"),r())}))}function E(t){var n=X();return t.wTm=n-t.tm,t.tm=n,t.isAborted?$.reject(new Error("["+l+"] was aborted")):(W.push(t),_(t,e))}}}))}return e.incomplete=function(){return W},e.waitingToStart=function(){return Q},e}(),Z=function(){function e(e){var t=this,r={},o=[],i=[];function a(e,t){var a,s=r[e];if(s&&(a=s[t]),!a&&null!==a){if(n.isString(e)&&n.isString(t))if(i.length>0){for(var c=0;c<i.length;c++)if(i[c].handleField(e,t)){a={canHandle:!0,fieldHandler:i[c]};break}}else 0===o.length&&(a={canHandle:!0});if(!a&&null!==a)for(a=null,c=0;c<o.length;c++)if(o[c].handleField(e,t)){a={canHandle:!0,handler:o[c],fieldHandler:null};break}s||(s=r[e]={}),s[t]=a}return a}function s(e,t,r,o,i,a){if(e.handler)return e.handler.property(t,r,i,a);if(!n.isNullOrUndefined(i.kind)){if(4096==(4096&o)||!N(i.kind))return null;i.value=i.value.toString()}return u(e.fieldHandler,t,r,o,i)}function c(e,t,n){return _(n)?{value:n}:null}function u(e,r,o,i,a){if(a&&e){var s=e.getSanitizer(r,o,i,a.kind,a.propertyType);if(s)if(4===i){var l={},p=a.value;n.objForEachKey(p,(function(t,n){var i=r+"."+o;if(_(n)){var a=c(0,0,n);(a=u(e,i,t,L(n),a))&&(l[t]=a.value)}})),a.value=l}else{var d={path:r,name:o,type:i,prop:a,sanitizer:t};a=s.call(t,d)}}return a}e&&i.push(e),t.addSanitizer=function(e){e&&(o.push(e),r={})},t.addFieldSanitizer=function(e){e&&(i.push(e),r={})},t.handleField=function(e,t){var n=a(e,t);return!!n&&n.canHandle},t.value=function(e,t,r,o){var i=a(e,t);if(i&&i.canHandle){if(!i||!i.canHandle)return null;if(i.handler)return i.handler.value(e,t,r,o);if(!n.isString(t)||n.isNullOrUndefined(r)||""===r)return null;var u=null,l=L(r);if(8192==(8192&l)){var p=-8193&l;if(!_((u=r).value)||1!==p&&2!==p&&3!==p&&4096!=(4096&p))return null}else 1===l||2===l||3===l||4096==(4096&l)?u=c(0,0,r):4===l&&(u=c(0,0,o?JSON.stringify(r):r));if(u)return s(i,e,t,l,u,o)}return null},t.property=function(e,t,r,o){var i=a(e,t);if(!i||!i.canHandle||!n.isString(t)||n.isNullOrUndefined(r)||!_(r.value))return null;var c=L(r.value);return 0===c?null:s(i,e,t,c,r,o)}}return e.getFieldType=L,e}();e.BaseTelemetryPlugin=n.BaseTelemetryPlugin,e.DiagnosticLogger=n.DiagnosticLogger,e.EventHelper=n.EventHelper,e.EventsDiscardedReason=n.EventsDiscardedReason,e.InternalAppInsightsCore=n.AppInsightsCore,e.InternalBaseCore=n.BaseCore,e.LoggingSeverity=n.LoggingSeverity,e.MinChannelPriorty=n.MinChannelPriorty,e.NotificationManager=n.NotificationManager,e.PerfEvent=n.PerfEvent,e.PerfManager=n.PerfManager,e.ProcessTelemetryContext=n.ProcessTelemetryContext,e.Undefined=n.strUndefined,e._InternalLogMessage=n._InternalLogMessage,e._InternalMessageId=n._InternalMessageId,e.__getRegisteredEvents=n.__getRegisteredEvents,e._throwInternal=n._throwInternal,e.addEventHandler=n.addEventHandler,e.addEventListeners=n.addEventListeners,e.addPageHideEventListener=n.addPageHideEventListener,e.addPageShowEventListener=n.addPageShowEventListener,e.addPageUnloadEventListener=n.addPageUnloadEventListener,e.areCookiesSupported=n.areCookiesSupported,e.arrForEach=n.arrForEach,e.arrIndexOf=n.arrIndexOf,e.arrMap=n.arrMap,e.arrReduce=n.arrReduce,e.attachEvent=n.attachEvent,e.cookieAvailable=n.areCookiesSupported,e.createCookieMgr=n.createCookieMgr,e.createEnumStyle=n.createEnumStyle,e.createProcessTelemetryContext=n.createProcessTelemetryContext,e.createTraceParent=n.createTraceParent,e.createUniqueNamespace=n.createUniqueNamespace,e.createUnloadHandlerContainer=n.createUnloadHandlerContainer,e.dateNow=n.dateNow,e.detachEvent=n.detachEvent,e.disallowsSameSiteNone=n.uaDisallowsSameSiteNone,e.doPerf=n.doPerf,e.dumpObj=n.dumpObj,e.eventOff=n.eventOff,e.eventOn=n.eventOn,e.findW3cTraceParent=n.findW3cTraceParent,e.formatTraceParent=n.formatTraceParent,e.generateW3CId=n.generateW3CId,e.getConsole=n.getConsole,e.getCrypto=n.getCrypto,e.getDocument=n.getDocument,e.getExceptionName=n.getExceptionName,e.getGlobal=n.getGlobal,e.getGlobalInst=n.getGlobalInst,e.getHistory=n.getHistory,e.getIEVersion=n.getIEVersion,e.getISOString=n.toISOString,e.getJSON=n.getJSON,e.getLocation=n.getLocation,e.getMsCrypto=n.getMsCrypto,e.getNavigator=n.getNavigator,e.getPerformance=n.getPerformance,e.getSetValue=n.getSetValue,e.getWindow=n.getWindow,e.hasDocument=n.hasDocument,e.hasHistory=n.hasHistory,e.hasJSON=n.hasJSON,e.hasNavigator=n.hasNavigator,e.hasOwnProperty=n.hasOwnProperty,e.hasWindow=n.hasWindow,e.isArray=n.isArray,e.isBeaconsSupported=n.isBeaconsSupported,e.isBoolean=n.isBoolean,e.isDate=n.isDate,e.isError=n.isError,e.isFetchSupported=n.isFetchSupported,e.isFunction=n.isFunction,e.isIE=n.isIE,e.isNotTruthy=n.isNotTruthy,e.isNullOrUndefined=n.isNullOrUndefined,e.isNumber=n.isNumber,e.isObject=n.isObject,e.isReactNative=n.isReactNative,e.isSampledFlag=n.isSampledFlag,e.isString=n.isString,e.isTruthy=n.isTruthy,e.isTypeof=n.isTypeof,e.isUndefined=n.isUndefined,e.isValidSpanId=n.isValidSpanId,e.isValidTraceId=n.isValidTraceId,e.isValidTraceParent=n.isValidTraceParent,e.isXhrSupported=n.isXhrSupported,e.mergeEvtNamespace=n.mergeEvtNamespace,e.newGuid=n.newGuid,e.newId=n.newId,e.normalizeJsName=n.normalizeJsName,e.objCreate=n.objCreate,e.objDefineAccessors=n.objDefineAccessors,e.objForEachKey=n.objForEachKey,e.objFreeze=n.objFreeze,e.objKeys=n.objKeys,e.objSeal=n.objSeal,e.optimizeObject=n.optimizeObject,e.parseTraceParent=n.parseTraceParent,e.perfNow=n.perfNow,e.proxyAssign=n.proxyAssign,e.proxyFunctionAs=n.proxyFunctionAs,e.proxyFunctions=n.proxyFunctions,e.random32=n.random32,e.randomValue=n.randomValue,e.removeEventHandler=n.removeEventHandler,e.removeEventListeners=n.removeEventListeners,e.removePageHideEventListener=n.removePageHideEventListener,e.removePageShowEventListener=n.removePageShowEventListener,e.removePageUnloadEventListener=n.removePageUnloadEventListener,e.safeGetCookieMgr=n.safeGetCookieMgr,e.safeGetLogger=n.safeGetLogger,e.setEnableEnvMocks=n.setEnableEnvMocks,e.setValue=n.setValue,e.strContains=n.strContains,e.strEndsWith=n.strEndsWith,e.strFunction=n.strFunction,e.strObject=n.strObject,e.strPrototype=n.strPrototype,e.strStartsWith=n.strStartsWith,e.strTrim=n.strTrim,e.strUndefined=n.strUndefined,e.throwError=n.throwError,e.toISOString=n.toISOString,e.useXDomainRequest=n.useXDomainRequest,e.AppInsightsCore=B,e.BaseCore=H,e.CoreUtils=F,e.ESPromise=$,e.ESPromiseScheduler=J,e.EventLatency=c,e.EventPersistence=l,e.EventPropertyType=u,e.FullVersionString=m,e.TraceLevel=p,e.Utils=z,e.ValueKind=s,e.ValueSanitizer=Z,e.Version=h,e._ExtendedInternalMessageId=d,e.createGuid=P,e.deleteCookie=A,e.disableCookies=x,e.extend=O,e.getCommonSchemaMetaData=S,e.getCookie=I,e.getCookieValue=R,e.getFieldValueType=L,e.getTenantId=E,e.getTime=j,e.isArrayValid=D,e.isChromium=function(){return!!n.getGlobalInst("chrome")},e.isDocumentObjectAvailable=y,e.isLatency=k,e.isUint8ArrayAvailable=w,e.isValueAssigned=_,e.isValueKind=N,e.isWindowObjectAvailable=b,e.openXhr=function(e,t,n,r,o,i){function a(e,t,n){try{e[t]=n}catch{}}void 0===r&&(r=!1),void 0===o&&(o=!1);var s=new XMLHttpRequest;return r&&a(s,"Microsoft_ApplicationInsights_BypassAjaxInstrumentation",r),n&&a(s,f,n),s.open(e,t,!o),n&&a(s,f,n),!o&&i&&a(s,"timeout",i),s},e.sanitizeProperty=T,e.setCookie=C,e.setProcessTelemetryTimings=M,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch{}n&&void 0!==typeof n.value&&(e[t]=n.value)}(e,"__esModule",{value:!0})},"object"==typeof a&&typeof s<"u"?c(a,k(),T(),S()):(o=[t,n(623),n(4719),n(2314)],void 0===(i="function"==typeof(r=c)?r.apply(t,o):r)||(e.exports=i))})),C=_(((n,a)=>{var s;s=function(e){"use strict";var t="function",n="object",r="undefined",o="prototype",i="hasOwnProperty",a="default",s=Object,c=s[o],u=s.assign,l=s.create,p=s.defineProperty,d=c[i],h=null;function m(e){return void 0===e&&(e=!0),(!h||!e)&&(typeof globalThis!==r&&globalThis&&(h=globalThis),typeof self!==r&&self&&(h=self),typeof window!==r&&window&&(h=window),typeof global!==r&&global&&(h=global)),h}function f(e){throw new TypeError(e)}function g(e){if(l)return l(e);if(null==e)return{};var r=typeof e;function i(){}return r!==n&&r!==t&&f("Object prototype may only be an Object:"+e),i[o]=e,new i}var v=(m()||{}).Symbol,y=(m()||{}).Reflect,b=!!y,_="decorate",E="metadata",w="getOwnPropertySymbols",k="iterator",T=u||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])c[i].call(t,o)&&(e[o]=t[o]);return e},S=function(e,t){return(S=s.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[i](n)&&(e[n]=t[n])})(e,t)};function x(e,n){function r(){this.constructor=e}typeof n!==t&&null!==n&&f("Class extends value "+String(n)+" is not a constructor or null"),S(e,n),e[o]=null===n?g(n):(r[o]=n[o],new r)}function C(e,t,n,r){void 0===r&&(r=n),l?p(e,r,{enumerable:!0,get:function(){return t[n]}}):e[r]=t[n]}e.ObjAssign=u,e.ObjClass=s,e.ObjCreate=l,e.ObjDefineProperty=p,e.ObjHasOwnProperty=d,e.ObjProto=c,e.__assignFn=T,e.__createBindingFn=C,e.__decorateFn=function(e,n,r,o){var i,a=arguments.length,c=a<3?n:null===o?o=s.getOwnPropertyDescriptor(n,r):o;if(b&&typeof y[_]===t)c=y[_](e,n,r,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(c=(a<3?i(c):a>3?i(n,r,c):i(n,r))||c);return a>3&&c&&p(n,r,c),c},e.__exportStarFn=function(e,t){for(var n in e)n!==a&&!d.call(t,n)&&C(t,e,n)},e.__exposeGlobalTsLib=function(){var e,t,n,r,o=m()||{};t=T,n=x,r=C,(e=o).__assign||(e.__assign=u||t),e.__extends||(e.__extends=n),e.__createBinding||(e.__createBinding=r),__assign||(__assign=o.__assign),__extends||(__extends=o.__extends),__createBinding||(__createBinding=o.__createBinding)},e.__extendsFn=x,e.__importDefaultFn=function(e){return e&&e.__esModule?e:{strDefault:e}},e.__importStarFn=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)n!==a&&Object.prototype.hasOwnProperty.call(e,n)&&C(t,e,n);return l?p(t,a,{enumerable:!0,value:e}):t[a]=e,t},e.__makeTemplateObjectFn=function(e,t){return p?p(e,"raw",{value:t}):e.raw=t,e},e.__metadataFn=function(e,n){if(b&&y[E]===t)return y[E](e,n)},e.__paramFn=function(e,t){return function(n,r){t(n,r,e)}},e.__readFn=function(e,n){var r=typeof v===t&&e[v[k]];if(!r)return e;var o,i,a=r.call(e),s=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)s.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s},e.__restFn=function(e,n){var r={};for(var o in e)d.call(e,o)&&n.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&typeof s[w]===t)for(var i=0,a=s[w](e);i<a.length;i++)n.indexOf(a[i])<0&&c.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r},e.__spreadArrayFn=function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e},e.__spreadArraysFn=function(){for(var e=arguments,t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;var o=Array(t),i=0;for(n=0;n<r;n++)for(var a=e[n],s=0,c=a.length;s<c;s++,i++)o[i]=a[s];return o},e.__valuesFn=function(e){var n=typeof v===t&&v[k],r=n&&e[n],o=0;return r?r.call(e):e&&"number"==typeof e.length?{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}}:void f(n?"Object is not iterable.":"Symbol.iterator is not defined.")},e.getGlobal=m,e.objCreateFn=g,e.strDefault=a,e.strShimFunction=t,e.strShimHasOwnProperty=i,e.strShimObject=n,e.strShimPrototype=o,e.strShimUndefined=r,e.throwTypeError=f,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch{}n&&void 0!==typeof n.value&&(e[t]=n.value)}(e,"__esModule",{value:!0})},"object"==typeof n&&typeof a<"u"?s(n):(o=[t],void 0===(i="function"==typeof(r=s)?r.apply(t,o):r)||(e.exports=i))})),A=_(((a,s)=>{var c;c=function(e,t,n,r){"use strict";var o,i=(o=n)&&"object"==typeof o&&"default"in o?o.default:o,a="REAL_TIME",s="NEAR_REAL_TIME",c="BEST_EFFORT",u="POST",l="drop",p="requeue",d="application/x-json-stream",h="cache-control",m="content-type",f="kill-duration",g="time-delta-millis",v="client-version",y="client-id",b="time-delta-to-apply-millis",_="upload-time",E="apikey",w="AuthMsaDeviceTicket",k="AuthXToken",T="msfpc";function S(e){var t=(e.ext||{}).intweb;return t&&r.isValueAssigned(t[T])?t[T]:null}function x(e){for(var t=null,n=0;null===t&&n<e.length;n++)t=S(e[n]);return t}var C=function(){function e(t,n){var o=n?[].concat(n):[],i=this,a=x(o);i.iKey=function(){return t},i.Msfpc=function(){return a||""},i.count=function(){return o.length},i.events=function(){return o},i.addEvent=function(e){return!!e&&(o.push(e),a||(a=S(e)),!0)},i.split=function(n,i){var s;if(n<o.length){var c=o.length-n;r.isNullOrUndefined(i)||(c=i<c?i:c),s=o.splice(n,c),a=x(o)}return new e(t,s)}}return e.create=function(t,n){return new e(t,n)},e}(),A=2e6,I=Math.min(A,65e3),R="metadata",P="f",O=/\./,j=function e(t,n,o,a){var s="data",c="baseData",u=!!a,l=n,p={};i(e,this,(function(e){function n(e,t,i,a,s,c,d){r.objForEachKey(e,(function(e,h){var m=null;if(h||r.isValueAssigned(h)){var f=i,g=e,v=s,y=t;if(u&&!a&&O.test(e)){var b=e.split("."),_=b.length;if(_>1){v&&(v=v.slice());for(var E=0;E<_-1;E++){var w=b[E];y=y[w]=y[w]||{},f+="."+w,v&&v.push(w)}g=b[_-1]}}var k=a&&function(e,t){var n=p[e];return void 0===n&&(e.length>=7&&(n=r.strStartsWith(e,"ext.metadata")||r.strStartsWith(e,"ext.web")),p[e]=n),n}(f);if(m=!k&&l&&l.handleField(f,g)?l.value(f,g,h,o):r.sanitizeProperty(g,h,o)){var T=m.value;if(y[g]=T,c&&c(v,g,m),d&&"object"==typeof T&&!r.isArray(T)){var S=v;S&&(S=S.slice()).push(g),n(h,T,f+"."+g,a,S,c,d)}}}}))}e.createPayload=function(e,t,n,r,o,i){return{apiKeys:[],payloadBlob:"",overflow:null,sizeExceed:[],failedEvts:[],batches:[],numEvents:0,retryCnt:e,isTeardown:t,isSync:n,isBeacon:r,sendType:i,sendReason:o}},e.appendPayload=function(n,o,i){var a=n&&o&&!n.overflow;return a&&r.doPerf(t,(function(){return"Serializer:appendPayload"}),(function(){for(var t=o.events(),a=n.payloadBlob,s=n.numEvents,c=!1,u=[],l=[],p=n.isBeacon,d=p?65e3:3984588,h=p?I:A,m=0,f=0;m<t.length;){var g=t[m];if(g){if(s>=i){n.overflow=o.split(m);break}var v=e.getEventBlob(g);if(v&&v.length<=h){var y=v.length;if(a.length+y>d){n.overflow=o.split(m);break}a&&(a+="\n"),a+=v,++f>20&&(a.substr(0,1),f=0),c=!0,s++}else v?u.push(g):l.push(g),t.splice(m,1),m--}m++}if(u&&u.length>0&&n.sizeExceed.push(C.create(o.iKey(),u)),l&&l.length>0&&n.failedEvts.push(C.create(o.iKey(),l)),c){n.batches.push(o),n.payloadBlob=a,n.numEvents=s;var b=o.iKey();-1===r.arrIndexOf(n.apiKeys,b)&&n.apiKeys.push(b)}}),(function(){return{payload:n,theBatch:{iKey:o.iKey(),evts:o.events()},max:i}})),a},e.getEventBlob=function(e){try{return r.doPerf(t,(function(){return"Serializer.getEventBlob"}),(function(){var t={};t.name=e.name,t.time=e.time,t.ver=e.ver,t.iKey="o:"+r.getTenantId(e.iKey);var o={},i=e.ext;i&&(t.ext=o,r.objForEachKey(i,(function(e,t){n(t,o[e]={},"ext."+e,!0,null,null,!0)})));var a=t[s]={};a.baseType=e.baseType;var u=a[c]={};return n(e.baseData,u,c,!1,[c],(function(e,t,n){N(o,e,t,n)}),!0),n(e.data,a,s,!1,[],(function(e,t,n){N(o,e,t,n)}),!0),JSON.stringify(t)}),(function(){return{item:e}}))}catch{return null}}}))};function N(e,t,n,o){if(o&&e){var i=r.getCommonSchemaMetaData(o.value,o.kind,o.propertyType);if(i>-1){var a=e[R];a||(a=e[R]={f:{}});var s=a[P];if(s||(s=a[P]={}),t)for(var c=0;c<t.length;c++){var u=t[c];s[u]||(s[u]={f:{}});var l=s[u][P];l||(l=s[u][P]={}),s=l}s=s[n]={},r.isArray(o.value)?s.a={t:i}:s.t=i}}}function D(e){var t,n=Math.floor(1200*Math.random())+2400;return t=Math.pow(2,e)*n,Math.min(t,6e5)}var M,L=function e(){var t={};i(e,this,(function(e){e.setKillSwitchTenants=function(e,n){if(e&&n)try{var o=function(e){var t=[];return e&&r.arrForEach(e,(function(e){t.push(r.strTrim(e))})),t}(e.split(","));if("this-request-only"===n)return o;for(var i=1e3*parseInt(n,10),a=0;a<o.length;++a)t[o[a]]=r.dateNow()+i}catch{return[]}return[]},e.isTenantKilled=function(e){var n=t,o=r.strTrim(e);return void 0!==n[o]&&n[o]>r.dateNow()||(delete n[o],!1)}}))},z=function e(){var t=!0,n=!0,r=!0,o="use-collector-delta",a=!1;i(e,this,(function(e){e.allowRequestSending=function(){return t},e.firstRequestSent=function(){r&&(r=!1,a||(t=!1))},e.shouldAddClockSkewHeaders=function(){return n},e.getClockSkewHeaderValue=function(){return o},e.setClockSkew=function(e){a||(e?(o=e,n=!0,a=!0):n=!1,t=!0)}}))},F="sendAttempt",U="&NoResponseBody=true",q=((M={})[1]=p,M[100]=p,M[200]="sent",M[8004]=l,M[8003]=l,M),B={},H={};function V(e,t,n){B[e]=t,!1!==n&&(H[t]=e)}function G(e){try{return e.responseText}catch{}return""}function $(e,t){var n=!1;if(e&&t){var o=r.objKeys(e);if(o&&o.length>0)for(var i=t.toLowerCase(),a=0;a<o.length;a++){var s=o[a];if(s&&r.hasOwnProperty(t,s)&&s.toLowerCase()===i){n=!0;break}}}return n}function K(e,t,n,r){t&&n&&n.length>0&&(r&&B[t]?(e.hdrs[B[t]]=n,e.useHdrs=!0):e.url+="&"+t+"="+n)}V(w,w,!1),V(v,v),V(y,"Client-Id"),V(E,E),V(b,b),V(_,_),V(k,k);var W=function e(t,n,o,a,s){this._responseHandlers=[];var c,p,w,k,S,x,C="?cors=true&"+m.toLowerCase()+"="+d,A=new L,I=!1,R=new z,P=!1,O=0,N=!0,M=[],B={},V=[],W=null,Q=!1,Y=!1,X=!1;i(e,this,(function(e){var i=!0;function L(e,t){for(var n=0,o=null,i=0;null==o&&i<e.length;)1===(n=e[i])?r.useXDomainRequest()?o=z:r.isXhrSupported()&&(o=Z):2===n&&r.isFetchSupported(t)?o=J:P&&3===n&&r.isBeaconsSupported()&&(o=te),i++;return o?{_transport:n,_isSync:t,sendPOST:o}:null}function z(e,t,n){var r=new XDomainRequest;r.open(u,e.urlString),e.timeout&&(r.timeout=e.timeout),r.onload=function(){var e=G(r);ee(t,200,{},e),de(e)},r.onerror=function(){ee(t,400,{})},r.ontimeout=function(){ee(t,500,{})},r.onprogress=function(){},n?r.send(e.data):s.set((function(){r.send(e.data)}),0)}function J(e,t,n){var o,a=e.urlString,c=!1,l=!1,p=((o={body:e.data,method:u}).Microsoft_ApplicationInsights_BypassAjaxInstrumentation=!0,o);n&&(p.keepalive=!0,2===e._sendReason&&(c=!0,a+=U)),i&&(p.credentials="include"),e.headers&&r.objKeys(e.headers).length>0&&(p.headers=e.headers),fetch(a,p).then((function(e){var n={},r="";e.headers&&e.headers.forEach((function(e,t){n[t]=e})),e.body&&e.text().then((function(e){r=e})),l||(l=!0,ee(t,e.status,n,r),de(r))})).catch((function(e){l||(l=!0,ee(t,0,{}))})),c&&!l&&(l=!0,ee(t,200,{})),!l&&e.timeout>0&&s.set((function(){l||(l=!0,ee(t,500,{}))}),e.timeout)}function Z(e,t,n){var o=e.urlString;function a(e,t,n){if(!e[n]&&t&&t.getResponseHeader){var o=t.getResponseHeader(n);o&&(e[n]=r.strTrim(o))}return e}function s(e,n){ee(t,e.status,function(e){var t={};return e.getAllResponseHeaders?t=function(e){var t={};if(r.isString(e)){var n=r.strTrim(e).split(/[\r\n]+/);r.arrForEach(n,(function(e){if(e){var n=e.indexOf(": ");if(-1!==n){var o=r.strTrim(e.substring(0,n)).toLowerCase(),i=r.strTrim(e.substring(n+1));t[o]=i}else t[r.strTrim(e)]=1}}))}return t}(e.getAllResponseHeaders()):(t=a(t,e,g),t=a(t,e,f),t=a(t,e,"kill-duration-seconds")),t}(e),n)}n&&e.disableXhrSync&&(n=!1);var c=r.openXhr(u,o,i,!0,n,e.timeout);r.objForEachKey(e.headers,(function(e,t){c.setRequestHeader(e,t)})),c.onload=function(){var e=G(c);s(c,e),de(e)},c.onerror=function(){s(c)},c.ontimeout=function(){s(c)},c.send(e.data)}function ee(e,t,n,o){try{e(t,n,o)}catch(e){r._throwInternal(c.diagLog(),2,518,r.dumpObj(e))}}function te(e,t,n){var o=200,i=e._thePayload,a=e.urlString+U;try{var s=r.getNavigator();if(!s.sendBeacon(a,e.data))if(i){var u=[];r.arrForEach(i.batches,(function(e){if(u&&e&&e.count()>0){for(var t=e.events(),n=0;n<t.length;n++)if(!s.sendBeacon(a,W.getEventBlob(t[n]))){u.push(e.split(n));break}}else u.push(e.split(0))})),he(u,8003,i.sendType,!0)}else o=0}catch(e){c.diagLog().warnToConsole("Failed to send telemetry using sendBeacon API. Ex:"+r.dumpObj(e)),o=0}finally{ee(t,o,{},"")}}function ne(e){return 2===e||3===e}function re(e){return Y&&ne(e)&&(e=2),e}function oe(){return!I&&O<n}function ie(){var e=V;return V=[],e}function ae(e,t,n){var r=!1;return e&&e.length>0&&!I&&p[t]&&W&&(r=0!==t||oe()&&(n>0||R.allowRequestSending())),r}function se(e){var t={};return e&&r.arrForEach(e,(function(e,n){t[n]={iKey:e.iKey(),evts:e.events()}})),t}function ce(e,n,o,i,a){if(e&&0!==e.length){if(I)return void he(e,1,i);i=re(i);try{var s=e,u=0!==i;r.doPerf(w,(function(){return"HttpManager:_sendBatches"}),(function(s){s&&(e=e.slice(0));for(var c=[],l=null,d=r.getTime(),h=p[i]||(u?p[1]:p[0]),m=(Y||ne(i)||h&&3===h._transport)&&!N&&P&&r.isBeaconsSupported();ae(e,i,n);){var f=e.shift();f&&f.count()>0&&(A.isTenantKilled(f.iKey())?c.push(f):(l=l||W.createPayload(n,o,u,m,a,i),W.appendPayload(l,f,t)?null!==l.overflow&&(e=[l.overflow].concat(e),l.overflow=null,le(l,d,r.getTime(),a),d=r.getTime(),l=null):(le(l,d,r.getTime(),a),d=r.getTime(),e=[f].concat(e),l=null)))}l&&le(l,d,r.getTime(),a),e.length>0&&(V=e.concat(V)),he(c,8004,i)}),(function(){return{batches:se(s),retryCount:n,isTeardown:o,isSynchronous:u,sendReason:a,useSendBeacon:ne(i),sendType:i}}),!u)}catch(e){r._throwInternal(c.diagLog(),2,48,"Unexpected Exception sending batch: "+r.dumpObj(e))}}}function ue(e,t,n){e[t]=e[t]||{},e[t][c.identifier]=n}function le(t,n,i,a){if(t&&t.payloadBlob&&t.payloadBlob.length>0){var s=!!e.sendHook,u=p[t.sendType];!ne(t.sendType)&&t.isBeacon&&2===t.sendReason&&(u=p[2]||p[3]||u);var l=X;(t.isBeacon||3===u._transport)&&(l=!1);var k=function(e,t){var n={url:C,hdrs:{},useHdrs:!1};t?(n.hdrs=r.extend(n.hdrs,B),n.useHdrs=r.objKeys(n.hdrs).length>0):r.objForEachKey(B,(function(e,t){H[e]?K(n,H[e],t,!1):(n.hdrs[e]=t,n.useHdrs=!0)})),K(n,y,"NO_AUTH",t),K(n,v,r.FullVersionString,t);var o="";r.arrForEach(e.apiKeys,(function(e){o.length>0&&(o+=","),o+=e})),K(n,E,o,t),K(n,_,r.dateNow().toString(),t);var i=function(e){for(var t=0;t<e.batches.length;t++){var n=e.batches[t].Msfpc();if(n)return encodeURIComponent(n)}return""}(e);if(r.isValueAssigned(i)&&(n.url+="&ext.intweb.msfpc="+i),R.shouldAddClockSkewHeaders()&&K(n,b,R.getClockSkewHeaderValue(),t),w.getWParam){var a=w.getWParam();a>=0&&(n.url+="&w="+a)}for(var s=0;s<M.length;s++)n.url+="&"+M[s].name+"="+M[s].value;return n}(t,l);l=l||k.useHdrs;var T=r.getTime();r.doPerf(w,(function(){return"HttpManager:_doPayloadSend"}),(function(){for(var p=0;p<t.batches.length;p++)for(var v=t.batches[p].events(),y=0;y<v.length;y++){var b=v[y];if(Q){var _=b.timings=b.timings||{};ue(_,"sendEventStart",T),ue(_,"serializationStart",n),ue(_,"serializationCompleted",i)}b[F]>0?b[F]++:b[F]=1}he(t.batches,1e3+(a||0),t.sendType,!0);var E={data:t.payloadBlob,urlString:k.url,headers:k.hdrs,_thePayload:t,_sendReason:a,timeout:S};r.isUndefined(x)||(E.disableXhrSync=!!x),l&&($(E.headers,h)||(E.headers[h]="no-cache, no-store"),$(E.headers,m)||(E.headers[m]=d));var C=null;u&&(C=function(n){R.firstRequestSent();var i=function(n,i){!function(t,n,i,a){var s=9e3,u=null,l=!1,p=!1;try{var d=!0;if(typeof t!==r.strUndefined){if(n){R.setClockSkew(n[g]);var h=n[f]||n["kill-duration-seconds"];r.arrForEach(A.setKillSwitchTenants(n["kill-tokens"],h),(function(e){r.arrForEach(i.batches,(function(t){if(t.iKey()===e){u=u||[];var n=t.split(0);i.numEvents-=n.count(),u.push(n)}}))}))}if(200==t||204==t)return void(s=200);(!function(e){return!(e>=300&&e<500&&408!=e&&429!=e||501==e||505==e)}(t)||i.numEvents<=0)&&(d=!1),s=9e3+t%1e3}if(d){s=100;var m=i.retryCnt;0===i.sendType&&(m<o?(l=!0,pe((function(){0===i.sendType&&O--,ce(i.batches,m+1,i.isTeardown,Y?2:i.sendType,5)}),Y,D(m))):(p=!0,Y&&(s=8001)))}}finally{l||(R.setClockSkew(),function(t,n,o,i){try{i&&c._backOffTransmission(),200===n&&(!i&&!t.isSync&&c._clearBackOff(),function(e){if(Q){var t=r.getTime();r.arrForEach(e,(function(e){e&&e.count()>0&&function(e,t){Q&&r.arrForEach(e,(function(e){ue(e.timings=e.timings||{},"sendEventCompleted",t)}))}(e.events(),t)}))}}(t.batches)),he(t.batches,n,t.sendType,!0)}finally{0===t.sendType&&(O--,5!==o&&e.sendQueuedRequests(t.sendType,o))}}(i,s,a,p)),he(u,8004,i.sendType)}}(n,i,t,a)},s=t.isTeardown||t.isSync;try{u.sendPOST(n,i,s),e.sendListener&&e.sendListener(E,n,s,t.isBeacon)}catch(e){c.diagLog().warnToConsole("Unexpected exception sending payload. Ex:"+r.dumpObj(e)),ee(i,0,{})}}),r.doPerf(w,(function(){return"HttpManager:_doPayloadSend.sender"}),(function(){if(C)if(0===t.sendType&&O++,s&&!t.isBeacon&&3!==u._transport){var n={data:E.data,urlString:E.urlString,headers:r.extend({},E.headers),timeout:E.timeout,disableXhrSync:E.disableXhrSync},o=!1;r.doPerf(w,(function(){return"HttpManager:_doPayloadSend.sendHook"}),(function(){try{e.sendHook(n,(function(e){o=!0,!N&&!e._thePayload&&(e._thePayload=e._thePayload||E._thePayload,e._sendReason=e._sendReason||E._sendReason),C(e)}),t.isSync||t.isTeardown)}catch{o||C(E)}}))}else C(E)}))}),(function(){return{thePayload:t,serializationStart:n,serializationCompleted:i,sendReason:a}}),t.isSync)}t.sizeExceed&&t.sizeExceed.length>0&&he(t.sizeExceed,8003,t.sendType),t.failedEvts&&t.failedEvts.length>0&&he(t.failedEvts,8002,t.sendType)}function pe(e,t,n){t?e():s.set(e,n)}function de(t){var n=e._responseHandlers;try{for(var o=0;o<n.length;o++)try{n[o](t)}catch(e){r._throwInternal(c.diagLog(),1,519,"Response handler failed: "+e)}if(t){var i=JSON.parse(t);r.isValueAssigned(i.webResult)&&r.isValueAssigned(i.webResult[T])&&k.set("MSFPC",i.webResult[T],31536e3)}}catch{}}function he(e,t,n,o){if(e&&e.length>0&&a){var i=a[function(e){var t=q[e];return r.isValueAssigned(t)||(t="oth",e>=9e3&&e<=9999?t="rspFail":e>=8e3&&e<=8999?t=l:e>=1e3&&e<=1999&&(t="send")),t}(t)];if(i){var s=0!==n;r.doPerf(w,(function(){return"HttpManager:_sendBatchesNotification"}),(function(){pe((function(){try{i.call(a,e,t,s,n)}catch(e){r._throwInternal(c.diagLog(),1,74,"send request notification failed: "+e)}}),o||s,0)}),(function(){return{batches:se(e),reason:t,isSync:s,sendSync:o,sendType:n}}),!s)}}}e.initialize=function(e,t,n,o,a){var s;a||(a={}),C=e+C,X=!!r.isUndefined(a.avoidOptions)||!a.avoidOptions,w=t,k=t.getCookieMgr(),Q=!w.config.disableEventTimings;var u=!!w.config.enableCompoundKey;c=n;var l=a.valueSanitizer,d=a.stringifyObjects;r.isUndefined(a.enableCompoundKey)||(u=!!a.enableCompoundKey),S=a.xhrTimeout,x=a.disableXhrSync,P=!r.isReactNative(),W=new j(w,l,d,u);var h=o,m=a.alwaysUseXhrOverride?o:null,f=a.alwaysUseXhrOverride?o:null;if(!o){N=!1;var g=r.getLocation();g&&g.protocol&&"file:"===g.protocol.toLowerCase()&&(i=!1);var v=[];v=r.isReactNative()?[2,1]:[1,2,3];var y=a.transports;y&&(r.isNumber(y)?v=[y].concat(v):r.isArray(y)&&(v=y.concat(v))),o=L(v,!1),h=L(v,!0),o||c.diagLog().warnToConsole("No available transport to send events")}(s={})[0]=o,s[1]=h||L([1,2,3],!0),s[2]=m||L([3,2],!0)||h||L([1],!0),s[3]=f||L([2,3],!0)||h||L([1],!0),p=s},e._getDbgPlgTargets=function(){return[p[0],A,W,p]},e.addQueryStringParameter=function(e,t){for(var n=0;n<M.length;n++)if(M[n].name===e)return void(M[n].value=t);M.push({name:e,value:t})},e.addHeader=function(e,t){B[e]=t},e.canSendRequest=function(){return oe()&&R.allowRequestSending()},e.sendQueuedRequests=function(e,t){r.isUndefined(e)&&(e=0),Y&&(e=re(e),t=2),ae(V,e,0)&&ce(ie(),0,!1,e,t||0)},e.isCompletelyIdle=function(){return!I&&0===O&&0===V.length},e.setUnloading=function(e){Y=e},e.addBatch=function(e){if(e&&e.count()>0){if(A.isTenantKilled(e.iKey()))return!1;V.push(e)}return!0},e.teardown=function(){V.length>0&&ce(ie(),0,!0,2,2)},e.pause=function(){I=!0},e.resume=function(){I=!1,e.sendQueuedRequests(0,4)},e.sendSynchronousBatch=function(e,t,n){e&&e.count()>0&&(r.isNullOrUndefined(t)&&(t=1),Y&&(t=re(t),n=2),ce([e],0,!1,t,n||0))}}))};function Q(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return setTimeout(e,t,n)}function Y(e){clearTimeout(e)}function X(e,t){return{set:e||Q,clear:t||Y}}var J="eventsDiscarded",Z="overrideInstrumentationKey",ee="maxEventRetryAttempts",te="maxUnloadEventRetryAttempts",ne=function(e){function n(){var t=e.call(this)||this;t.identifier="PostChannel",t.priority=1011,t.version="3.2.3";var o,u,l,p,d,h,m,f,g=!1,v=[],y=null,b=!1,_=0,E=500,k=0,T=1e4,S={},x=a,A=null,I=null,R=0,P=0,O={},j=-1,N=!0,M=!1,L=6,z=2;return i(n,t,(function(e,t){function n(e){"beforeunload"!==(e||r.getWindow().event).type&&(M=!0,l.setUnloading(M)),$(2,2)}function i(e){M=!1,l.setUnloading(M)}function F(e,t){if(e.sendAttempt||(e.sendAttempt=0),e.latency||(e.latency=1),e.ext&&e.ext.trace&&delete e.ext.trace,e.ext&&e.ext.user&&e.ext.user.id&&delete e.ext.user.id,N&&(e.ext=r.optimizeObject(e.ext),e.baseData&&(e.baseData=r.optimizeObject(e.baseData)),e.data&&(e.data=r.optimizeObject(e.data))),e.sync)if(R||b)e.latency=3,e.sync=!1;else if(l)return N&&(e=r.optimizeObject(e)),void l.sendSynchronousBatch(C.create(e.iKey,[e]),!0===e.sync?1:e.sync,3);var n=e.latency,o=k,i=T;4===n&&(o=_,i=E);var a=!1;if(o<i)a=!Y(e,t);else{var s=1,c=20;4===n&&(s=4,c=1),a=!0,function(e,t,n,o){for(;n<=t;){var i=K(e,t,!0);if(i&&i.count()>0){var a=i.split(0,o),s=a.count();if(s>0)return 4===n?_-=s:k-=s,le(J,[a],r.EventsDiscardedReason.QueueFull),!0}n++}return ne(),!1}(e.iKey,e.latency,s,c)&&(a=!Y(e,t))}a&&ue(J,[e],r.EventsDiscardedReason.QueueFull)}function U(e,t,n){var r=re(e,t,n);return l.sendQueuedRequests(t,n),r}function q(){return k>0}function B(){if(j>=0&&re(j,0,h)&&l.sendQueuedRequests(0,h),_>0&&!I&&!b){var e=S[x][2];e>=0&&(I=V((function(){I=null,U(4,0,1),B()}),e))}var t=S[x][1];!A&&!y&&t>=0&&!b&&(q()?A=V((function(){A=null,U(0===P?3:1,0,1),P++,P%=2,B()}),t):P=0)}function H(){o=null,g=!1,v=[],y=null,b=!1,_=0,E=500,k=0,T=1e4,S={},x=a,A=null,I=null,R=0,P=0,u=null,O={},p=void 0,d=0,j=-1,h=null,N=!0,M=!1,L=6,z=2,m=null,f=X(),l=new W(500,2,1,{requeue:se,send:pe,sent:de,drop:he,rspFail:me,oth:fe},f),ae(),O[4]={batches:[],iKeyMap:{}},O[3]={batches:[],iKeyMap:{}},O[2]={batches:[],iKeyMap:{}},O[1]={batches:[],iKeyMap:{}},ge()}function V(e,t){0===t&&R&&(t=1);var n=1e3;return R&&(n=D(R-1)),f.set(e,t*n)}function G(){return null!==A&&(f.clear(A),A=null,P=0,!0)}function $(e,t){G(),y&&(f.clear(y),y=null),b||U(1,e,t)}function K(e,t,n){var r=O[t];r||(r=O[t=1]);var o=r.iKeyMap[e];return!o&&n&&(o=C.create(e),r.batches.push(o),r.iKeyMap[e]=o),o}function Q(t,n){l.canSendRequest()&&!R&&(p>0&&k>p&&(n=!0),n&&null==y&&e.flush(t,null,20))}function Y(e,t){N&&(e=r.optimizeObject(e));var n=e.latency,o=K(e.iKey,n,!0);return!!o.addEvent(e)&&(4!==n?(k++,t&&0===e.sendAttempt&&Q(!e.sync,d>0&&o.count()>=d)):_++,!0)}function ne(){for(var e=0,t=0,n=function(n){var o=O[n];o&&o.batches&&r.arrForEach(o.batches,(function(r){4===n?e+=r.count():t+=r.count()}))},o=1;o<=4;o++)n(o);k=t,_=e}function re(t,n,o){var i=!1,a=0===n;return!a||l.canSendRequest()?r.doPerf(e.core,(function(){return"PostChannel._queueBatches"}),(function(){for(var e=[],n=4;n>=t;){var o=O[n];o&&o.batches&&o.batches.length>0&&(r.arrForEach(o.batches,(function(t){l.addBatch(t)?i=i||t&&t.count()>0:e=e.concat(t.events()),4===n?_-=t.count():k-=t.count()})),o.batches=[],o.iKeyMap={}),n--}e.length>0&&ue(J,e,r.EventsDiscardedReason.KillSwitch),i&&j>=t&&(j=-1,h=0)}),(function(){return{latency:t,sendType:n,sendReason:o}}),!a):(j=j>=0?Math.min(j,t):t,h=Math.max(h,o)),i}function oe(e,t){U(1,0,t),ne(),ie((function(){e&&e(),v.length>0?y=V((function(){y=null,oe(v.shift(),t)}),0):(y=null,B())}))}function ie(e){l.isCompletelyIdle()?e():y=V((function(){y=null,ie(e)}),.25)}function ae(){(S={})[a]=[2,1,0],S[s]=[6,3,0],S[c]=[18,9,0]}function se(t,n){var o=[],i=L;M&&(i=z),r.arrForEach(t,(function(t){t&&t.count()>0&&r.arrForEach(t.events(),(function(t){t&&(t.sync&&(t.latency=4,t.sync=!1),t.sendAttempt<i?(r.setProcessTelemetryTimings(t,e.identifier),F(t,!1)):o.push(t))}))})),o.length>0&&ue(J,o,r.EventsDiscardedReason.NonRetryableStatus),M&&$(2,2)}function ce(t,n){var o=e._notificationManager||{},i=o[t];if(i)try{i.apply(o,n)}catch(n){r._throwInternal(e.diagLog(),1,74,t+" notification failed: "+n)}}function ue(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];t&&t.length>0&&ce(e,[t].concat(n))}function le(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];t&&t.length>0&&r.arrForEach(t,(function(t){t&&t.count()>0&&ce(e,[t.events()].concat(n))}))}function pe(e,t,n){e&&e.length>0&&ce("eventsSendRequest",[t>=1e3&&t<=1999?t-1e3:0,!0!==n])}function de(e,t){le("eventsSent",e,t),B()}function he(e,t){le(J,e,t>=8e3&&t<=8999?t-8e3:r.EventsDiscardedReason.Unknown)}function me(e){le(J,e,r.EventsDiscardedReason.NonRetryableStatus),B()}function fe(e,t){le(J,e,r.EventsDiscardedReason.Unknown),B()}function ge(){d=o&&o.disableAutoBatchFlushLimit?0:Math.max(1500,T/6)}H(),e._getDbgPlgTargets=function(){return[l]},e.initialize=function(a,s,c){r.doPerf(s,(function(){return"PostChannel:initialize"}),(function(){var d=s;t.initialize(a,s,c);try{s.addUnloadCb,m=r.mergeEvtNamespace(r.createUniqueNamespace(e.identifier),s.evtNamespace&&s.evtNamespace());var h=e._getTelCtx();a.extensionConfig[e.identifier]=a.extensionConfig[e.identifier]||{},o=h.getExtCfg(e.identifier),f=X(o.setTimeoutOverride,o.clearTimeoutOverride),N=!o.disableOptimizeObj&&r.isChromium(),function(e){var t=e.getWParam;e.getWParam=function(){var e=0;return o.ignoreMc1Ms0CookieProcessing&&(e|=2),e|t()}}(d),o.eventsLimitInMem>0&&(T=o.eventsLimitInMem),o.immediateEventLimit>0&&(E=o.immediateEventLimit),o.autoFlushEventsLimit>0&&(p=o.autoFlushEventsLimit),r.isNumber(o[ee])&&(L=o[ee]),r.isNumber(o[te])&&(z=o[te]),ge(),o.httpXHROverride&&o.httpXHROverride.sendPOST&&(u=o.httpXHROverride),r.isValueAssigned(a.anonCookieName)&&l.addQueryStringParameter("anoncknm",a.anonCookieName),l.sendHook=o.payloadPreprocessor,l.sendListener=o.payloadListener;var g=o.overrideEndpointUrl?o.overrideEndpointUrl:a.endpointUrl;e._notificationManager=a.extensionConfig.NotificationManager,l.initialize(g,e.core,e,u,o);var v=a.disablePageUnloadEvents||[];r.addPageUnloadEventListener(n,v,m),r.addPageHideEventListener(n,v,m),r.addPageShowEventListener(i,a.disablePageShowEvents,m)}catch(t){throw e.setInitialized(!1),t}}),(function(){return{coreConfig:a,core:s,extensions:c}}))},e.processTelemetry=function(t,n){r.setProcessTelemetryTimings(t,e.identifier);var i=(n=e._getTelCtx(n)).getExtCfg(e.identifier),a=!!o.disableTelemetry;i&&(a=a||!!i.disableTelemetry);var s=t;!a&&!g&&(o[Z]&&(s.iKey=o[Z]),i&&i[Z]&&(s.iKey=i[Z]),F(s,!0),M?$(2,2):B()),e.processNext(s,n)},e._doTeardown=function(e,t){$(2,2),g=!0,l.teardown(),r.removePageUnloadEventListener(null,m),r.removePageHideEventListener(null,m),r.removePageShowEventListener(null,m),H()},e.setEventQueueLimits=function(e,t){T=e>0?e:1e4,p=t>0?t:0,ge();var n=k>e;if(!n&&d>0)for(var o=1;!n&&o<=3;o++){var i=O[o];i&&i.batches&&r.arrForEach(i.batches,(function(e){e&&e.count()>=d&&(n=!0)}))}Q(!0,n)},e.pause=function(){G(),b=!0,l.pause()},e.resume=function(){b=!1,l.resume(),B()},e.addResponseHandler=function(e){l._responseHandlers.push(e)},e._loadTransmitProfiles=function(e){G(),ae(),x=a,B(),r.objForEachKey(e,(function(e,t){var n=t.length;if(n>=2){var r=n>2?t[2]:0;if(t.splice(0,n-2),t[1]<0&&(t[0]=-1),t[1]>0&&t[0]>0){var o=t[0]/t[1];t[0]=Math.ceil(o)*t[1]}r>=0&&t[1]>=0&&r>t[1]&&(r=t[1]),t.push(r),S[e]=t}}))},e.flush=function(e,t,n){if(void 0===e&&(e=!0),!b)if(n=n||1,e)null==y?(G(),re(1,0,n),y=V((function(){y=null,oe(t,n)}),0)):v.push(t);else{var r=G();U(1,1,n),null!=t&&t(),r&&B()}},e.setMsaAuthTicket=function(e){l.addHeader(w,e)},e.hasEvents=q,e._setTransmitProfile=function(e){x!==e&&void 0!==S[e]&&(G(),x=e,B())},e._backOffTransmission=function(){R<4&&(R++,G(),B())},e._clearBackOff=function(){R&&(R=0,G(),B())},r.objDefineAccessors(e,"_setTimeoutOverride",(function(){return f.set}),(function(e){f=X(e,f.clear)})),r.objDefineAccessors(e,"_clearTimeoutOverride",(function(){return f.clear}),(function(e){f=X(f.set,e)}))})),t}return t.__extendsFn(n,e),n}(r.BaseTelemetryPlugin);e.BE_PROFILE=c,e.NRT_PROFILE=s,e.PostChannel=ne,e.RT_PROFILE=a,function(e,t,n){var r=Object.defineProperty;if(r)try{return r(e,t,n)}catch{}n&&void 0!==typeof n.value&&(e[t]=n.value)}(e,"__esModule",{value:!0})},"object"==typeof a&&typeof s<"u"?c(a,C(),S(),x()):(o=[t,n(623),n(2314),n(9644)],void 0===(i="function"==typeof(r=c)?r.apply(t,o):r)||(e.exports=i))})),I=_(((e,t)=>{"use strict";var n=function(){function e(){}return e.info=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.enableDebug&&console.info(e.TAG+t,n)},e.warn=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e.disableWarnings||console.warn(e.TAG+t,n)},e.enableDebug=!1,e.disableWarnings=!1,e.disableErrors=!1,e.TAG="ApplicationInsights:",e}();t.exports=n})),R=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.AsyncScopeManager=e.OpenTelemetryScopeManagerWrapper=void 0;var r=xr(),o=n(2361),i=function(){function e(){}return e.prototype.active=function(){var e=this,n=r.CorrelationContextManager.getCurrentContext();return t(t({},n),{getValue:function(t){return e._activeSymbol?t===e._activeSymbol&&n:(e._activeSymbol=t,n)},setValue:function(){}})},e.prototype.with=function(t,n){var o=t.parentSpanId,i=t.name,a=e._spanToContext(t,o,i);return r.CorrelationContextManager.runWithContext(a,n)()},e.prototype.bind=function(e){return"function"==typeof e?r.CorrelationContextManager.wrapCallback(e):(e instanceof o.EventEmitter&&r.CorrelationContextManager.wrapEmitter(e),e)},e.prototype.enable=function(){return r.CorrelationContextManager.enable(),this},e.prototype.disable=function(){return r.CorrelationContextManager.disable(),this},e._spanToContext=function(e,n,o){var i=n?"|"+e.spanContext().traceId+"."+n+".":e.spanContext().traceId,a=t(t({},e.spanContext()),{traceFlags:e.spanContext().traceFlags});return r.CorrelationContextManager.spanToContextObject(a,i,o)},e}();e.OpenTelemetryScopeManagerWrapper=i,e.AsyncScopeManager=new i})),P=_(((e,t)=>{var n;e=t.exports=K,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=e.re=[],a=e.src=[],s=0,c=s++;a[c]="0|[1-9]\\d*";var u=s++;a[u]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=s++;a[p]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var d=s++;a[d]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var h=s++;a[h]="(?:"+a[c]+"|"+a[l]+")";var m=s++;a[m]="(?:"+a[u]+"|"+a[l]+")";var f=s++;a[f]="(?:-("+a[h]+"(?:\\."+a[h]+")*))";var g=s++;a[g]="(?:-?("+a[m]+"(?:\\."+a[m]+")*))";var v=s++;a[v]="[0-9A-Za-z-]+";var y=s++;a[y]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var b=s++,_="v?"+a[p]+a[f]+"?"+a[y]+"?";a[b]="^"+_+"$";var E="[v=\\s]*"+a[d]+a[g]+"?"+a[y]+"?",w=s++;a[w]="^"+E+"$";var k=s++;a[k]="((?:<|>)?=?)";var T=s++;a[T]=a[u]+"|x|X|\\*";var S=s++;a[S]=a[c]+"|x|X|\\*";var x=s++;a[x]="[v=\\s]*("+a[S]+")(?:\\.("+a[S]+")(?:\\.("+a[S]+")(?:"+a[f]+")?"+a[y]+"?)?)?";var C=s++;a[C]="[v=\\s]*("+a[T]+")(?:\\.("+a[T]+")(?:\\.("+a[T]+")(?:"+a[g]+")?"+a[y]+"?)?)?";var A=s++;a[A]="^"+a[k]+"\\s*"+a[x]+"$";var I=s++;a[I]="^"+a[k]+"\\s*"+a[C]+"$";var R=s++;a[R]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var P=s++;a[P]="(?:~>?)";var O=s++;a[O]="(\\s*)"+a[P]+"\\s+",i[O]=new RegExp(a[O],"g");var j=s++;a[j]="^"+a[P]+a[x]+"$";var N=s++;a[N]="^"+a[P]+a[C]+"$";var D=s++;a[D]="(?:\\^)";var M=s++;a[M]="(\\s*)"+a[D]+"\\s+",i[M]=new RegExp(a[M],"g");var L=s++;a[L]="^"+a[D]+a[x]+"$";var z=s++;a[z]="^"+a[D]+a[C]+"$";var F=s++;a[F]="^"+a[k]+"\\s*("+E+")$|^$";var U=s++;a[U]="^"+a[k]+"\\s*("+_+")$|^$";var q=s++;a[q]="(\\s*)"+a[k]+"\\s*("+E+"|"+a[x]+")",i[q]=new RegExp(a[q],"g");var B=s++;a[B]="^\\s*("+a[x]+")\\s+-\\s+("+a[x]+")\\s*$";var H=s++;a[H]="^\\s*("+a[C]+")\\s+-\\s+("+a[C]+")\\s*$";var V,G=s++;for(a[G]="(<|>)?=?\\s*\\*",V=0;V<35;V++)n(V,a[V]),i[V]||(i[V]=new RegExp(a[V]));function $(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K)return e;if("string"!=typeof e||e.length>r)return null;if(!(t.loose?i[w]:i[b]).test(e))return null;try{return new K(e,t)}catch{return null}}function K(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof K))return new K(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?i[w]:i[b]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}e.parse=$,e.valid=function(e,t){var n=$(e,t);return n?n.version:null},e.clean=function(e,t){var n=$(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},e.SemVer=K,K.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},K.prototype.toString=function(){return this.version},K.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof K||(e=new K(e,this.options)),this.compareMain(e)||this.comparePre(e)},K.prototype.compareMain=function(e){return e instanceof K||(e=new K(e,this.options)),Q(this.major,e.major)||Q(this.minor,e.minor)||Q(this.patch,e.patch)},K.prototype.comparePre=function(e){if(e instanceof K||(e=new K(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return Q(r,o)}while(++t)},K.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},e.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new K(e,n).inc(t,r).version}catch{return null}},e.diff=function(e,t){if(Z(e,t))return null;var n=$(e),r=$(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},e.compareIdentifiers=Q;var W=/^[0-9]+$/;function Q(e,t){var n=W.test(e),r=W.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function Y(e,t,n){return new K(e,n).compare(new K(t,n))}function X(e,t,n){return Y(e,t,n)>0}function J(e,t,n){return Y(e,t,n)<0}function Z(e,t,n){return 0===Y(e,t,n)}function ee(e,t,n){return 0!==Y(e,t,n)}function te(e,t,n){return Y(e,t,n)>=0}function ne(e,t,n){return Y(e,t,n)<=0}function re(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return Z(e,n,r);case"!=":return ee(e,n,r);case">":return X(e,n,r);case">=":return te(e,n,r);case"<":return J(e,n,r);case"<=":return ne(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function oe(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof oe){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}e.rcompareIdentifiers=function(e,t){return Q(t,e)},e.major=function(e,t){return new K(e,t).major},e.minor=function(e,t){return new K(e,t).minor},e.patch=function(e,t){return new K(e,t).patch},e.compare=Y,e.compareLoose=function(e,t){return Y(e,t,!0)},e.rcompare=function(e,t,n){return Y(t,e,n)},e.sort=function(t,n){return t.sort((function(t,r){return e.compare(t,r,n)}))},e.rsort=function(t,n){return t.sort((function(t,r){return e.rcompare(t,r,n)}))},e.gt=X,e.lt=J,e.eq=Z,e.neq=ee,e.gte=te,e.lte=ne,e.cmp=re,e.Comparator=oe;var ie={};function ae(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,u,l,p,d){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(u)?"<"+(+c+1)+".0.0":se(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+s)).trim()}function ue(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==ie&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function le(e,t,n){try{t=new ae(t,n)}catch{return!1}return t.test(e)}function pe(e,t,n,r){var o,i,a,s,c;switch(e=new K(e,r),t=new ae(t,r),n){case">":o=X,i=ne,a=J,s=">",c=">=";break;case"<":o=J,i=te,a=X,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],p=null,d=null;if(l.forEach((function(e){e.semver===ie&&(e=new oe(">=0.0.0")),p=p||e,d=d||e,o(e.semver,p.semver,r)?p=e:a(e.semver,d.semver,r)&&(d=e)})),p.operator===s||p.operator===c||(!d.operator||d.operator===s)&&i(e,d.semver))return!1;if(d.operator===c&&a(e,d.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.options.loose?i[F]:i[U],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new K(n[2],this.options.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===ie||("string"==typeof e&&(e=new K(e,this.options)),re(e,this.operator,this.semver,this.options))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new ae(e.value,t),le(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),le(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},e.Range=ae,ae.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[H]:i[B];e=e.replace(r,ce),n("hyphen replace",e),e=e.replace(i[q],"$1$2$3"),n("comparator trim",e,i[q]),e=(e=(e=e.replace(i[O],"$1~")).replace(i[M],"$1^")).split(/\s+/).join(" ");var o=t?i[F]:i[U],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[z]:i[L];return e.replace(r,(function(t,r,o,i,a){var s;return n("caret",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[N]:i[j];return e.replace(r,(function(t,r,o,i,a){var s;return n("tilde",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):s=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[I]:i[A];return e.replace(r,(function(t,r,o,i,a,s){n("xRange",e,t,r,o,i,a,s);var c=se(o),u=c||se(i),l=u||se(a);return"="===r&&l&&(r=""),c?t=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(i=0),a=0,">"===r?(r=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),t=r+o+"."+i+"."+a):u?t=">="+o+".0.0 <"+(+o+1)+".0.0":l&&(t=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"),n("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[G],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a.map((function(e){return new oe(e,this.options)}),this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some((function(n){return n.every((function(n){return e.set.some((function(e){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},e.toComparators=function(e,t){return new ae(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new K(e,this.options));for(var t=0;t<this.set.length;t++)if(ue(this.set[t],e,this.options))return!0;return!1},e.satisfies=le,e.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||-1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minVersion=function(e,t){e=new ae(e,t);var n=new K("0.0.0");if(e.test(n)||(n=new K("0.0.0-0"),e.test(n)))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new K(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!n||X(n,t))&&(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},e.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch{return null}},e.ltr=function(e,t,n){return pe(e,t,"<",n)},e.gtr=function(e,t,n){return pe(e,t,">",n)},e.outside=pe,e.prerelease=function(e,t){var n=$(e,t);return n&&n.prerelease.length?n.prerelease:null},e.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},e.coerce=function(e){if(e instanceof K)return e;if("string"!=typeof e)return null;var t=e.match(i[R]);return null==t?null:$(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}})),O=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makePatchingRequire=void 0;var t=n(1017),r=P(),o=n(8188),i=Object.keys(process.binding("natives")),a=o.prototype.require;e.makePatchingRequire=function(e){var n={};return function(s){var c=a.apply(this,arguments);if(e[s]){var u=o._resolveFilename(s,this);if(n.hasOwnProperty(u))return n[u];var l=void 0;if(i.indexOf(s)<0)try{l=a.call(this,t.join(s,"package.json")).version}catch{return c}else l=process.version.substring(1);var p=l.indexOf("-");p>=0&&(l=l.substring(0,p));for(var d=c,h=0,m=e[s];h<m.length;h++){var f=m[h];r.satisfies(l,f.versionSpecifier)&&(d=f.patch(d,u))}return n[u]=d}return c}}})),j=_(((e,t)=>{t.exports={name:"diagnostic-channel",version:"1.0.0",main:"./dist/src/channel.js",types:"./dist/src/channel.d.ts",scripts:{build:"tsc",lint:"tslint -c tslint.json -p tsconfig.json",clean:"rimraf ./dist",test:"mocha ./dist/tests/**/*.js"},homepage:"https://github.com/Microsoft/node-diagnostic-channel",bugs:{url:"https://github.com/Microsoft/node-diagnostic-channel/issues"},repository:{type:"git",url:"https://github.com/Microsoft/node-diagnostic-channel.git"},description:"Provides a context-saving pub/sub channel to connect diagnostic event publishers and subscribers",dependencies:{semver:"^5.3.0"},devDependencies:{"@types/mocha":"^2.2.40","@types/node":"~8.0.0",mocha:"^3.2.0",rimraf:"^2.6.1",tslint:"^5.0.0",typescript:"4.1.2"},files:["dist/src/**/*.d.ts","dist/src/**/*.js","LICENSE","README.md","package.json"],license:"MIT"}})),N=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.channel=e.makePatchingRequire=void 0;var t=O(),r=O();Object.defineProperty(e,"makePatchingRequire",{enumerable:!0,get:function(){return r.makePatchingRequire}});var o=function(e){return!0},i=function(){function e(){this.version=j().version,this.subscribers={},this.contextPreservationFunction=function(e){return e},this.knownPatches={},this.currentlyPublishing=!1}return e.prototype.shouldPublish=function(e){var t=this.subscribers[e];return!!t&&t.some((function(e){var t=e.filter;return!t||t(!1)}))},e.prototype.publish=function(e,t){if(!this.currentlyPublishing){var n=this.subscribers[e];if(n){var r={timestamp:Date.now(),data:t};this.currentlyPublishing=!0,n.forEach((function(e){var t=e.listener,n=e.filter;try{n&&n(!0)&&t(r)}catch{}})),this.currentlyPublishing=!1}}},e.prototype.subscribe=function(e,t,n){void 0===n&&(n=o),this.subscribers[e]||(this.subscribers[e]=[]),this.subscribers[e].push({listener:t,filter:n})},e.prototype.unsubscribe=function(e,t,n){void 0===n&&(n=o);var r=this.subscribers[e];if(r)for(var i=0;i<r.length;++i)if(r[i].listener===t&&r[i].filter===n)return r.splice(i,1),!0;return!1},e.prototype.reset=function(){var e=this;this.subscribers={},this.contextPreservationFunction=function(e){return e},Object.getOwnPropertyNames(this.knownPatches).forEach((function(t){return delete e.knownPatches[t]}))},e.prototype.bindToContext=function(e){return this.contextPreservationFunction(e)},e.prototype.addContextPreservation=function(e){var t=this.contextPreservationFunction;this.contextPreservationFunction=function(n){return e(t(n))}},e.prototype.registerMonkeyPatch=function(e,t){this.knownPatches[e]||(this.knownPatches[e]=[]),this.knownPatches[e].push(t)},e.prototype.getPatchesObject=function(){return this.knownPatches},e}();global.diagnosticsSource||(global.diagnosticsSource=new i,n(8188).prototype.require=t.makePatchingRequire(global.diagnosticsSource.getPatchesObject())),e.channel=global.diagnosticsSource})),D=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),M=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._globalThis=void 0,e._globalThis="object"==typeof globalThis?globalThis:global})),L=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(M(),e)})),z=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(L(),e)})),F=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,e.VERSION="1.0.3"})),U=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isCompatible=e._makeCompatibilityCheck=void 0;var t=F(),n=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function r(e){var t=new Set([e]),r=new Set,o=e.match(n);if(!o)return function(){return!1};var i=+o[1],a=+o[2],s=+o[3];if(null!=o[4])return function(t){return t===e};function c(e){return r.add(e),!1}function u(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;var o=e.match(n);if(!o)return c(e);var l=+o[1],p=+o[2],d=+o[3];return null!=o[4]||i!==l?c(e):0===i?a===p&&s<=d?u(e):c(e):a<=p?u(e):c(e)}}e._makeCompatibilityCheck=r,e.isCompatible=r(t.VERSION)})),q=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unregisterGlobal=e.getGlobal=e.registerGlobal=void 0;var t=z(),n=F(),r=U(),o=n.VERSION.split(".")[0],i=Symbol.for("opentelemetry.js.api."+o),a=t._globalThis;e.registerGlobal=function(e,t,r,o){var s;void 0===o&&(o=!1);var c=a[i]=null!==(s=a[i])&&void 0!==s?s:{version:n.VERSION};if(!o&&c[e]){var u=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return r.error(u.stack||u.message),!1}return c.version!==n.VERSION?(u=new Error("@opentelemetry/api: All API registration versions must match"),r.error(u.stack||u.message),!1):(c[e]=t,r.debug("@opentelemetry/api: Registered a global for "+e+" v"+n.VERSION+"."),!0)},e.getGlobal=function(e){var t,n,o=null===(t=a[i])||void 0===t?void 0:t.version;if(o&&r.isCompatible(o))return null===(n=a[i])||void 0===n?void 0:n[e]},e.unregisterGlobal=function(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+n.VERSION+".");var r=a[i];r&&delete r[e]}})),B=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiagComponentLogger=void 0;var t=q(),n=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r("debug",this._namespace,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r("error",this._namespace,e)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r("info",this._namespace,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r("warn",this._namespace,e)},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return r("verbose",this._namespace,e)},e}();function r(e,n,r){var o=t.getGlobal("diag");if(o)return r.unshift(n),o[e].apply(o,r)}e.DiagComponentLogger=n})),H=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.DiagLogLevel=void 0,(t=e.DiagLogLevel||(e.DiagLogLevel={}))[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})),V=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createLogLevelDiagLogger=void 0;var t=H();e.createLogLevelDiagLogger=function(e,n){function r(t,r){var o=n[t];return"function"==typeof o&&e>=r?o.bind(n):function(){}}return e<t.DiagLogLevel.NONE?e=t.DiagLogLevel.NONE:e>t.DiagLogLevel.ALL&&(e=t.DiagLogLevel.ALL),n=n||{},{error:r("error",t.DiagLogLevel.ERROR),warn:r("warn",t.DiagLogLevel.WARN),info:r("info",t.DiagLogLevel.INFO),debug:r("debug",t.DiagLogLevel.DEBUG),verbose:r("verbose",t.DiagLogLevel.VERBOSE)}}})),G=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiagAPI=void 0;var t=B(),n=V(),r=H(),o=q(),i=function(){function e(){function e(e){return function(){var t=o.getGlobal("diag");if(t)return t[e].apply(t,arguments)}}var i=this;i.setLogger=function(e,t){var a,s;if(void 0===t&&(t=r.DiagLogLevel.INFO),e===i){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return i.error(null!==(a=c.stack)&&void 0!==a?a:c.message),!1}var u=o.getGlobal("diag"),l=n.createLogLevelDiagLogger(t,e);if(u){var p=null!==(s=(new Error).stack)&&void 0!==s?s:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+p),l.warn("Current logger will overwrite one already registered from "+p)}return o.registerGlobal("diag",l,i,!0)},i.disable=function(){o.unregisterGlobal("diag",i)},i.createComponentLogger=function(e){return new t.DiagComponentLogger(e)},i.verbose=e("verbose"),i.debug=e("debug"),i.info=e("info"),i.warn=e("warn"),i.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}();e.DiagAPI=i})),$=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BaggageImpl=void 0;var t=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){return[e[0],e[1]]}))},e.prototype.setEntry=function(t,n){var r=new e(this._entries);return r._entries.set(t,n),r},e.prototype.removeEntry=function(t){var n=new e(this._entries);return n._entries.delete(t),n},e.prototype.removeEntries=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=new e(this._entries),o=0,i=t;o<i.length;o++){var a=i[o];r._entries.delete(a)}return r},e.prototype.clear=function(){return new e},e}();e.BaggageImpl=t})),K=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.baggageEntryMetadataSymbol=void 0,e.baggageEntryMetadataSymbol=Symbol("BaggageEntryMetadata")})),W=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.baggageEntryMetadataFromString=e.createBaggage=void 0;var t=G(),n=$(),r=K(),o=t.DiagAPI.instance();e.createBaggage=function(e){return void 0===e&&(e={}),new n.BaggageImpl(new Map(Object.entries(e)))},e.baggageEntryMetadataFromString=function(e){return"string"!=typeof e&&(o.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:r.baggageEntryMetadataSymbol,toString:function(){return e}}}})),Q=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Y=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),X=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiagConsoleLogger=void 0;var t=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}];e.DiagConsoleLogger=function(){function e(e){return function(){var t=arguments;if(console){var n=console[e];if("function"!=typeof n&&(n=console.log),"function"==typeof n)return n.apply(console,t)}}}for(var n=0;n<t.length;n++)this[t[n].n]=e(t[n].c)}})),J=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(X(),e),n(H(),e)})),Z=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultTextMapSetter=e.defaultTextMapGetter=void 0,e.defaultTextMapGetter={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},e.defaultTextMapSetter={set:function(e,t,n){null!=e&&(e[t]=n)}}})),ee=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),te=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),ne=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONTEXT=e.createContextKey=void 0,e.createContextKey=function(e){return Symbol.for(e)};e.ROOT_CONTEXT=new function e(t){var n=this;n._currentContext=t?new Map(t):new Map,n.getValue=function(e){return n._currentContext.get(e)},n.setValue=function(t,r){var o=new e(n._currentContext);return o._currentContext.set(t,r),o},n.deleteValue=function(t){var r=new e(n._currentContext);return r._currentContext.delete(t),r}}})),re=_((e=>{"use strict";var t=e&&e.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.NoopContextManager=void 0;var n=ne(),r=function(){function e(){}return e.prototype.active=function(){return n.ROOT_CONTEXT},e.prototype.with=function(e,n,r){for(var o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];return n.call.apply(n,t([r],o))},e.prototype.bind=function(e,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}();e.NoopContextManager=r})),oe=_((e=>{"use strict";var t=e&&e.__spreadArray||function(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.ContextAPI=void 0;var n=re(),r=q(),o=G(),i="context",a=new n.NoopContextManager,s=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return r.registerGlobal(i,e,o.DiagAPI.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,n,r){for(var o,i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];return(o=this._getContextManager()).with.apply(o,t([e,n,r],i))},e.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return r.getGlobal(i)||a},e.prototype.disable=function(){this._getContextManager().disable(),r.unregisterGlobal(i,o.DiagAPI.instance())},e}();e.ContextAPI=s})),ie=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TraceFlags=void 0,(t=e.TraceFlags||(e.TraceFlags={}))[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})),ae=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=void 0;var t=ie();e.INVALID_SPANID="0000000000000000",e.INVALID_TRACEID="00000000000000000000000000000000",e.INVALID_SPAN_CONTEXT={traceId:e.INVALID_TRACEID,spanId:e.INVALID_SPANID,traceFlags:t.TraceFlags.NONE}})),se=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NonRecordingSpan=void 0;var t=ae(),n=function(){function e(e){void 0===e&&(e=t.INVALID_SPAN_CONTEXT),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}();e.NonRecordingSpan=n})),ce=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSpanContext=e.setSpanContext=e.deleteSpan=e.setSpan=e.getSpan=void 0;var t=ne(),n=se(),r=t.createContextKey("OpenTelemetry Context Key SPAN");function o(e){return e.getValue(r)||void 0}function i(e,t){return e.setValue(r,t)}e.getSpan=o,e.setSpan=i,e.deleteSpan=function(e){return e.deleteValue(r)},e.setSpanContext=function(e,t){return i(e,new n.NonRecordingSpan(t))},e.getSpanContext=function(e){var t;return null===(t=o(e))||void 0===t?void 0:t.spanContext()}})),ue=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapSpanContext=e.isSpanContextValid=e.isValidSpanId=e.isValidTraceId=void 0;var t=ae(),n=se(),r=/^([0-9a-f]{32})$/i,o=/^[0-9a-f]{16}$/i;function i(e){return r.test(e)&&e!==t.INVALID_TRACEID}function a(e){return o.test(e)&&e!==t.INVALID_SPANID}e.isValidTraceId=i,e.isValidSpanId=a,e.isSpanContextValid=function(e){return i(e.traceId)&&a(e.spanId)},e.wrapSpanContext=function(e){return new n.NonRecordingSpan(e)}})),le=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTracer=void 0;var t=oe(),n=ce(),r=se(),o=ue(),i=t.ContextAPI.getInstance(),a=function(){function e(){}return e.prototype.startSpan=function(e,t,i){if(Boolean(null==t?void 0:t.root))return new r.NonRecordingSpan;var a=i&&n.getSpanContext(i);return function(e){return"object"==typeof e&&"string"==typeof e.spanId&&"string"==typeof e.traceId&&"number"==typeof e.traceFlags}(a)&&o.isSpanContextValid(a)?new r.NonRecordingSpan(a):new r.NonRecordingSpan},e.prototype.startActiveSpan=function(e,t,r,o){var a,s,c;if(!(arguments.length<2)){2===arguments.length?c=t:3===arguments.length?(a=t,c=r):(a=t,s=r,c=o);var u=s??i.active(),l=this.startSpan(e,a,u),p=n.setSpan(u,l);return i.with(p,c,void 0,l)}},e}();e.NoopTracer=a})),pe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyTracer=void 0;var t=new(le().NoopTracer),n=function(){function e(e,t,n){this._provider=e,this.name=t,this.version=n}return e.prototype.startSpan=function(e,t,n){return this._getTracer().startSpan(e,t,n)},e.prototype.startActiveSpan=function(e,t,n,r){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version);return e?(this._delegate=e,this._delegate):t},e}();e.ProxyTracer=n})),de=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTracerProvider=void 0;var t=le(),n=function(){function e(){}return e.prototype.getTracer=function(e,n){return new t.NoopTracer},e}();e.NoopTracerProvider=n})),he=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProxyTracerProvider=void 0;var t=pe(),n=new(de().NoopTracerProvider),r=function(){function e(){}return e.prototype.getTracer=function(e,n){var r;return null!==(r=this.getDelegateTracer(e,n))&&void 0!==r?r:new t.ProxyTracer(this,e,n)},e.prototype.getDelegate=function(){var e;return null!==(e=this._delegate)&&void 0!==e?e:n},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t){var n;return null===(n=this._delegate)||void 0===n?void 0:n.getTracer(e,t)},e}();e.ProxyTracerProvider=r})),me=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),fe=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SamplingDecision=void 0,(t=e.SamplingDecision||(e.SamplingDecision={}))[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})),ge=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),ve=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SpanKind=void 0,(t=e.SpanKind||(e.SpanKind={}))[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})),ye=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),be=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),_e=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.SpanStatusCode=void 0,(t=e.SpanStatusCode||(e.SpanStatusCode={}))[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})),Ee=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),we=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),ke=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Te=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Se=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TraceAPI=void 0;var t=q(),n=he(),r=ue(),o=ce(),i=G(),a="trace",s=function(){function e(){this._proxyTracerProvider=new n.ProxyTracerProvider,this.wrapSpanContext=r.wrapSpanContext,this.isSpanContextValid=r.isSpanContextValid,this.deleteSpan=o.deleteSpan,this.getSpan=o.getSpan,this.getSpanContext=o.getSpanContext,this.setSpan=o.setSpan,this.setSpanContext=o.setSpanContext}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var n=t.registerGlobal(a,this._proxyTracerProvider,i.DiagAPI.instance());return n&&this._proxyTracerProvider.setDelegate(e),n},e.prototype.getTracerProvider=function(){return t.getGlobal(a)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){t.unregisterGlobal(a,i.DiagAPI.instance()),this._proxyTracerProvider=new n.ProxyTracerProvider},e}();e.TraceAPI=s})),xe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoopTextMapPropagator=void 0;var t=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}();e.NoopTextMapPropagator=t})),Ce=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.deleteBaggage=e.setBaggage=e.getBaggage=void 0;var t=ne().createContextKey("OpenTelemetry Baggage Key");e.getBaggage=function(e){return e.getValue(t)||void 0},e.setBaggage=function(e,n){return e.setValue(t,n)},e.deleteBaggage=function(e){return e.deleteValue(t)}})),Ae=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PropagationAPI=void 0;var t=q(),n=xe(),r=Z(),o=Ce(),i=W(),a=G(),s="propagation",c=new n.NoopTextMapPropagator,u=function(){function e(){this.createBaggage=i.createBaggage,this.getBaggage=o.getBaggage,this.setBaggage=o.setBaggage,this.deleteBaggage=o.deleteBaggage}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return t.registerGlobal(s,e,a.DiagAPI.instance())},e.prototype.inject=function(e,t,n){return void 0===n&&(n=r.defaultTextMapSetter),this._getGlobalPropagator().inject(e,t,n)},e.prototype.extract=function(e,t,n){return void 0===n&&(n=r.defaultTextMapGetter),this._getGlobalPropagator().extract(e,t,n)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){t.unregisterGlobal(s,a.DiagAPI.instance())},e.prototype._getGlobalPropagator=function(){return t.getGlobal(s)||c},e}();e.PropagationAPI=u})),Ie=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.diag=e.propagation=e.trace=e.context=e.INVALID_SPAN_CONTEXT=e.INVALID_TRACEID=e.INVALID_SPANID=e.isValidSpanId=e.isValidTraceId=e.isSpanContextValid=e.baggageEntryMetadataFromString=void 0,n(D(),e);var r=W();Object.defineProperty(e,"baggageEntryMetadataFromString",{enumerable:!0,get:function(){return r.baggageEntryMetadataFromString}}),n(Q(),e),n(Y(),e),n(J(),e),n(Z(),e),n(ee(),e),n(te(),e),n(pe(),e),n(he(),e),n(me(),e),n(fe(),e),n(ge(),e),n(ve(),e),n(ye(),e),n(be(),e),n(_e(),e),n(ie(),e),n(Ee(),e),n(we(),e),n(ke(),e);var o=ue();Object.defineProperty(e,"isSpanContextValid",{enumerable:!0,get:function(){return o.isSpanContextValid}}),Object.defineProperty(e,"isValidTraceId",{enumerable:!0,get:function(){return o.isValidTraceId}}),Object.defineProperty(e,"isValidSpanId",{enumerable:!0,get:function(){return o.isValidSpanId}});var i=ae();Object.defineProperty(e,"INVALID_SPANID",{enumerable:!0,get:function(){return i.INVALID_SPANID}}),Object.defineProperty(e,"INVALID_TRACEID",{enumerable:!0,get:function(){return i.INVALID_TRACEID}}),Object.defineProperty(e,"INVALID_SPAN_CONTEXT",{enumerable:!0,get:function(){return i.INVALID_SPAN_CONTEXT}}),n(ne(),e),n(Te(),e);var a=oe();e.context=a.ContextAPI.getInstance();var s=Se();e.trace=s.TraceAPI.getInstance();var c=Ae();e.propagation=c.PropagationAPI.getInstance();var u=G();e.diag=u.DiagAPI.instance(),e.default={trace:e.trace,context:e.context,propagation:e.propagation,diag:e.diag}})),Re=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTracingSuppressed=e.unsuppressTracing=e.suppressTracing=void 0;var t=Ie().createContextKey("OpenTelemetry SDK Context Key SUPPRESS_TRACING");e.suppressTracing=function(e){return e.setValue(t,!0)},e.unsuppressTracing=function(e){return e.deleteValue(t)},e.isTracingSuppressed=function(e){return!0===e.getValue(t)}})),Pe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BAGGAGE_MAX_TOTAL_LENGTH=e.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS=e.BAGGAGE_MAX_NAME_VALUE_PAIRS=e.BAGGAGE_HEADER=e.BAGGAGE_ITEMS_SEPARATOR=e.BAGGAGE_PROPERTIES_SEPARATOR=e.BAGGAGE_KEY_PAIR_SEPARATOR=void 0,e.BAGGAGE_KEY_PAIR_SEPARATOR="=",e.BAGGAGE_PROPERTIES_SEPARATOR=";",e.BAGGAGE_ITEMS_SEPARATOR=",",e.BAGGAGE_HEADER="baggage",e.BAGGAGE_MAX_NAME_VALUE_PAIRS=180,e.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS=4096,e.BAGGAGE_MAX_TOTAL_LENGTH=8192})),Oe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseKeyPairsIntoRecord=e.parsePairKeyValue=e.getKeyPairs=e.serializeKeyPairs=void 0;var t=Ie(),n=Pe();e.serializeKeyPairs=e=>e.reduce(((e,t)=>{let r=`${e}${""!==e?n.BAGGAGE_ITEMS_SEPARATOR:""}${t}`;return r.length>n.BAGGAGE_MAX_TOTAL_LENGTH?e:r}),""),e.getKeyPairs=e=>e.getAllEntries().map((([e,t])=>`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`)),e.parsePairKeyValue=e=>{let r=e.split(n.BAGGAGE_PROPERTIES_SEPARATOR);if(r.length<=0)return;let o=r.shift();if(!o)return;let i=o.split(n.BAGGAGE_KEY_PAIR_SEPARATOR);if(2!==i.length)return;let a,s=decodeURIComponent(i[0].trim()),c=decodeURIComponent(i[1].trim());return r.length>0&&(a=t.baggageEntryMetadataFromString(r.join(n.BAGGAGE_PROPERTIES_SEPARATOR))),{key:s,value:c,metadata:a}},e.parseKeyPairsIntoRecord=t=>"string"!=typeof t||0===t.length?{}:t.split(n.BAGGAGE_ITEMS_SEPARATOR).map((t=>e.parsePairKeyValue(t))).filter((e=>void 0!==e&&e.value.length>0)).reduce(((e,t)=>(e[t.key]=t.value,e)),{})})),je=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpBaggagePropagator=void 0;var t=Ie(),n=Re(),r=Pe(),o=Oe();e.HttpBaggagePropagator=class{inject(e,i,a){let s=t.propagation.getBaggage(e);if(!s||n.isTracingSuppressed(e))return;let c=o.getKeyPairs(s).filter((e=>e.length<=r.BAGGAGE_MAX_PER_NAME_VALUE_PAIRS)).slice(0,r.BAGGAGE_MAX_NAME_VALUE_PAIRS),u=o.serializeKeyPairs(c);u.length>0&&a.set(i,r.BAGGAGE_HEADER,u)}extract(e,n,i){let a=i.get(n,r.BAGGAGE_HEADER);if(!a)return e;let s={};return 0===a.length||(a.split(r.BAGGAGE_ITEMS_SEPARATOR).forEach((e=>{let t=o.parsePairKeyValue(e);if(t){let e={value:t.value};t.metadata&&(e.metadata=t.metadata),s[t.key]=e}})),0===Object.entries(s).length)?e:t.propagation.setBaggage(e,t.propagation.createBaggage(s))}fields(){return[r.BAGGAGE_HEADER]}}})),Ne=_((e=>{"use strict";function t(e){return null==e||(Array.isArray(e)?function(e){let t;for(let r of e)if(null!=r){if(!t){if(n(r)){t=typeof r;continue}return!1}if(typeof r!==t)return!1}return!0}(e):n(e))}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}Object.defineProperty(e,"__esModule",{value:!0}),e.isAttributeValue=e.sanitizeAttributes=void 0,e.sanitizeAttributes=function(e){let n={};if(null==e||"object"!=typeof e)return n;for(let[r,o]of Object.entries(e))t(o)&&(Array.isArray(o)?n[r]=o.slice():n[r]=o);return n},e.isAttributeValue=t})),De=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.loggingErrorHandler=void 0;var t=Ie();e.loggingErrorHandler=function(){return e=>{t.diag.error(function(e){return"string"==typeof e?e:JSON.stringify(function(e){let t={},n=e;for(;null!==n;)Object.getOwnPropertyNames(n).forEach((e=>{if(t[e])return;let r=n[e];r&&(t[e]=String(r))})),n=Object.getPrototypeOf(n);return t}(e))}(e))}}})),Me=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.globalErrorHandler=e.setGlobalErrorHandler=void 0;var t=De().loggingErrorHandler();e.setGlobalErrorHandler=function(e){t=e},e.globalErrorHandler=e=>{try{t(e)}catch{}}})),Le=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TracesSamplerValues=void 0,(t=e.TracesSamplerValues||(e.TracesSamplerValues={})).AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"})),ze=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseEnvironment=e.DEFAULT_ENVIRONMENT=void 0;var t=Ie(),n=Le(),r=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT"];function o(e){return r.indexOf(e)>-1}var i=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function a(e){return i.indexOf(e)>-1}function s(e,t,n,r=-1/0,o=1/0){if(typeof n[e]<"u"){let i=Number(n[e]);isNaN(i)||(t[e]=i<r?r:i>o?o:i)}}function c(e,t,n,r=","){let o=n[e];"string"==typeof o&&(t[e]=o.split(r).map((e=>e.trim())))}e.DEFAULT_ENVIRONMENT={CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:t.DiagLogLevel.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:128,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_TRACES_EXPORTER:"none",OTEL_TRACES_SAMPLER:n.TracesSamplerValues.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:""};var u={ALL:t.DiagLogLevel.ALL,VERBOSE:t.DiagLogLevel.VERBOSE,DEBUG:t.DiagLogLevel.DEBUG,INFO:t.DiagLogLevel.INFO,WARN:t.DiagLogLevel.WARN,ERROR:t.DiagLogLevel.ERROR,NONE:t.DiagLogLevel.NONE};function l(e,t,n){let r=n[e];if("string"==typeof r){let n=u[r.toUpperCase()];null!=n&&(t[e]=n)}}e.parseEnvironment=function(t){let n={};for(let r in e.DEFAULT_ENVIRONMENT){let e=r;if("OTEL_LOG_LEVEL"===e)l(e,n,t);else if(o(e))s(e,n,t);else if(a(e))c(e,n,t);else{let r=t[e];typeof r<"u"&&null!==r&&(n[e]=String(r))}}return n}})),Fe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=void 0;var t=n(2037),r=ze();e.getEnv=function(){let e=r.parseEnvironment(process.env);return Object.assign({HOSTNAME:t.hostname()},r.DEFAULT_ENVIRONMENT,e)}})),Ue=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hexToBase64=void 0,e.hexToBase64=function(e){let t=e.length,n="";for(let r=0;r<t;r+=2){let t=e.substring(r,r+2),o=parseInt(t,16);n+=String.fromCharCode(o)}return Buffer.from(n,"ascii").toString("base64")}})),qe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RandomIdGenerator=void 0,e.RandomIdGenerator=class{constructor(){this.generateTraceId=n(16),this.generateSpanId=n(8)}};var t=Buffer.allocUnsafe(16);function n(e){return function(){for(let n=0;n<e/4;n++)t.writeUInt32BE(Math.random()*2**32>>>0,4*n);for(let n=0;n<e&&!(t[n]>0);n++)n===e-1&&(t[e-1]=1);return t.toString("hex",0,e)}}})),Be=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.otperformance=void 0;var t=n(4074);e.otperformance=t.performance})),He=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,e.VERSION="0.23.0"})),Ve=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.RpcGrpcStatusCodeValues=e.MessagingOperationValues=e.MessagingDestinationKindValues=e.HttpFlavorValues=e.NetTransportValues=e.FaasInvokedProviderValues=e.FaasDocumentOperationValues=e.FaasTriggerValues=e.DbCassandraConsistencyLevelValues=e.DbSystemValues=e.SemanticAttributes=void 0,e.SemanticAttributes={DB_SYSTEM:"db.system",DB_CONNECTION_STRING:"db.connection_string",DB_USER:"db.user",DB_JDBC_DRIVER_CLASSNAME:"db.jdbc.driver_classname",DB_NAME:"db.name",DB_STATEMENT:"db.statement",DB_OPERATION:"db.operation",DB_MSSQL_INSTANCE_NAME:"db.mssql.instance_name",DB_CASSANDRA_KEYSPACE:"db.cassandra.keyspace",DB_CASSANDRA_PAGE_SIZE:"db.cassandra.page_size",DB_CASSANDRA_CONSISTENCY_LEVEL:"db.cassandra.consistency_level",DB_CASSANDRA_TABLE:"db.cassandra.table",DB_CASSANDRA_IDEMPOTENCE:"db.cassandra.idempotence",DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:"db.cassandra.speculative_execution_count",DB_CASSANDRA_COORDINATOR_ID:"db.cassandra.coordinator.id",DB_CASSANDRA_COORDINATOR_DC:"db.cassandra.coordinator.dc",DB_HBASE_NAMESPACE:"db.hbase.namespace",DB_REDIS_DATABASE_INDEX:"db.redis.database_index",DB_MONGODB_COLLECTION:"db.mongodb.collection",DB_SQL_TABLE:"db.sql.table",EXCEPTION_TYPE:"exception.type",EXCEPTION_MESSAGE:"exception.message",EXCEPTION_STACKTRACE:"exception.stacktrace",EXCEPTION_ESCAPED:"exception.escaped",FAAS_TRIGGER:"faas.trigger",FAAS_EXECUTION:"faas.execution",FAAS_DOCUMENT_COLLECTION:"faas.document.collection",FAAS_DOCUMENT_OPERATION:"faas.document.operation",FAAS_DOCUMENT_TIME:"faas.document.time",FAAS_DOCUMENT_NAME:"faas.document.name",FAAS_TIME:"faas.time",FAAS_CRON:"faas.cron",FAAS_COLDSTART:"faas.coldstart",FAAS_INVOKED_NAME:"faas.invoked_name",FAAS_INVOKED_PROVIDER:"faas.invoked_provider",FAAS_INVOKED_REGION:"faas.invoked_region",NET_TRANSPORT:"net.transport",NET_PEER_IP:"net.peer.ip",NET_PEER_PORT:"net.peer.port",NET_PEER_NAME:"net.peer.name",NET_HOST_IP:"net.host.ip",NET_HOST_PORT:"net.host.port",NET_HOST_NAME:"net.host.name",PEER_SERVICE:"peer.service",ENDUSER_ID:"enduser.id",ENDUSER_ROLE:"enduser.role",ENDUSER_SCOPE:"enduser.scope",THREAD_ID:"thread.id",THREAD_NAME:"thread.name",CODE_FUNCTION:"code.function",CODE_NAMESPACE:"code.namespace",CODE_FILEPATH:"code.filepath",CODE_LINENO:"code.lineno",HTTP_METHOD:"http.method",HTTP_URL:"http.url",HTTP_TARGET:"http.target",HTTP_HOST:"http.host",HTTP_SCHEME:"http.scheme",HTTP_STATUS_CODE:"http.status_code",HTTP_FLAVOR:"http.flavor",HTTP_USER_AGENT:"http.user_agent",HTTP_REQUEST_CONTENT_LENGTH:"http.request_content_length",HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:"http.request_content_length_uncompressed",HTTP_RESPONSE_CONTENT_LENGTH:"http.response_content_length",HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:"http.response_content_length_uncompressed",HTTP_SERVER_NAME:"http.server_name",HTTP_ROUTE:"http.route",HTTP_CLIENT_IP:"http.client_ip",AWS_DYNAMODB_TABLE_NAMES:"aws.dynamodb.table_names",AWS_DYNAMODB_CONSUMED_CAPACITY:"aws.dynamodb.consumed_capacity",AWS_DYNAMODB_ITEM_COLLECTION_METRICS:"aws.dynamodb.item_collection_metrics",AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:"aws.dynamodb.provisioned_read_capacity",AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:"aws.dynamodb.provisioned_write_capacity",AWS_DYNAMODB_CONSISTENT_READ:"aws.dynamodb.consistent_read",AWS_DYNAMODB_PROJECTION:"aws.dynamodb.projection",AWS_DYNAMODB_LIMIT:"aws.dynamodb.limit",AWS_DYNAMODB_ATTRIBUTES_TO_GET:"aws.dynamodb.attributes_to_get",AWS_DYNAMODB_INDEX_NAME:"aws.dynamodb.index_name",AWS_DYNAMODB_SELECT:"aws.dynamodb.select",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:"aws.dynamodb.global_secondary_indexes",AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:"aws.dynamodb.local_secondary_indexes",AWS_DYNAMODB_EXCLUSIVE_START_TABLE:"aws.dynamodb.exclusive_start_table",AWS_DYNAMODB_TABLE_COUNT:"aws.dynamodb.table_count",AWS_DYNAMODB_SCAN_FORWARD:"aws.dynamodb.scan_forward",AWS_DYNAMODB_SEGMENT:"aws.dynamodb.segment",AWS_DYNAMODB_TOTAL_SEGMENTS:"aws.dynamodb.total_segments",AWS_DYNAMODB_COUNT:"aws.dynamodb.count",AWS_DYNAMODB_SCANNED_COUNT:"aws.dynamodb.scanned_count",AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:"aws.dynamodb.attribute_definitions",AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:"aws.dynamodb.global_secondary_index_updates",MESSAGING_SYSTEM:"messaging.system",MESSAGING_DESTINATION:"messaging.destination",MESSAGING_DESTINATION_KIND:"messaging.destination_kind",MESSAGING_TEMP_DESTINATION:"messaging.temp_destination",MESSAGING_PROTOCOL:"messaging.protocol",MESSAGING_PROTOCOL_VERSION:"messaging.protocol_version",MESSAGING_URL:"messaging.url",MESSAGING_MESSAGE_ID:"messaging.message_id",MESSAGING_CONVERSATION_ID:"messaging.conversation_id",MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:"messaging.message_payload_size_bytes",MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:"messaging.message_payload_compressed_size_bytes",MESSAGING_OPERATION:"messaging.operation",MESSAGING_RABBITMQ_ROUTING_KEY:"messaging.rabbitmq.routing_key",MESSAGING_KAFKA_MESSAGE_KEY:"messaging.kafka.message_key",MESSAGING_KAFKA_CONSUMER_GROUP:"messaging.kafka.consumer_group",MESSAGING_KAFKA_CLIENT_ID:"messaging.kafka.client_id",MESSAGING_KAFKA_PARTITION:"messaging.kafka.partition",MESSAGING_KAFKA_TOMBSTONE:"messaging.kafka.tombstone",RPC_SYSTEM:"rpc.system",RPC_SERVICE:"rpc.service",RPC_METHOD:"rpc.method",RPC_GRPC_STATUS_CODE:"rpc.grpc.status_code",RPC_JSONRPC_VERSION:"rpc.jsonrpc.version",RPC_JSONRPC_METHOD:"rpc.jsonrpc.method",RPC_JSONRPC_REQUEST_ID:"rpc.jsonrpc.request_id",RPC_JSONRPC_ERROR_CODE:"rpc.jsonrpc.error_code",RPC_JSONRPC_ERROR_MESSAGE:"rpc.jsonrpc.error_message"},(t=e.DbSystemValues||(e.DbSystemValues={})).OTHER_SQL="other_sql",t.MSSQL="mssql",t.MYSQL="mysql",t.ORACLE="oracle",t.DB2="db2",t.POSTGRESQL="postgresql",t.REDSHIFT="redshift",t.HIVE="hive",t.CLOUDSCAPE="cloudscape",t.HSQLDB="hsqldb",t.PROGRESS="progress",t.MAXDB="maxdb",t.HANADB="hanadb",t.INGRES="ingres",t.FIRSTSQL="firstsql",t.EDB="edb",t.CACHE="cache",t.ADABAS="adabas",t.FIREBIRD="firebird",t.DERBY="derby",t.FILEMAKER="filemaker",t.INFORMIX="informix",t.INSTANTDB="instantdb",t.INTERBASE="interbase",t.MARIADB="mariadb",t.NETEZZA="netezza",t.PERVASIVE="pervasive",t.POINTBASE="pointbase",t.SQLITE="sqlite",t.SYBASE="sybase",t.TERADATA="teradata",t.VERTICA="vertica",t.H2="h2",t.COLDFUSION="coldfusion",t.CASSANDRA="cassandra",t.HBASE="hbase",t.MONGODB="mongodb",t.REDIS="redis",t.COUCHBASE="couchbase",t.COUCHDB="couchdb",t.COSMOSDB="cosmosdb",t.DYNAMODB="dynamodb",t.NEO4J="neo4j",t.GEODE="geode",t.ELASTICSEARCH="elasticsearch",t.MEMCACHED="memcached",t.COCKROACHDB="cockroachdb",function(e){e.ALL="all",e.EACH_QUORUM="each_quorum",e.QUORUM="quorum",e.LOCAL_QUORUM="local_quorum",e.ONE="one",e.TWO="two",e.THREE="three",e.LOCAL_ONE="local_one",e.ANY="any",e.SERIAL="serial",e.LOCAL_SERIAL="local_serial"}(e.DbCassandraConsistencyLevelValues||(e.DbCassandraConsistencyLevelValues={})),function(e){e.DATASOURCE="datasource",e.HTTP="http",e.PUBSUB="pubsub",e.TIMER="timer",e.OTHER="other"}(e.FaasTriggerValues||(e.FaasTriggerValues={})),function(e){e.INSERT="insert",e.EDIT="edit",e.DELETE="delete"}(e.FaasDocumentOperationValues||(e.FaasDocumentOperationValues={})),function(e){e.AWS="aws",e.AZURE="azure",e.GCP="gcp"}(e.FaasInvokedProviderValues||(e.FaasInvokedProviderValues={})),function(e){e.IP_TCP="ip_tcp",e.IP_UDP="ip_udp",e.IP="ip",e.UNIX="unix",e.PIPE="pipe",e.INPROC="inproc",e.OTHER="other"}(e.NetTransportValues||(e.NetTransportValues={})),function(e){e.HTTP_1_0="1.0",e.HTTP_1_1="1.1",e.HTTP_2_0="2.0",e.SPDY="SPDY",e.QUIC="QUIC"}(e.HttpFlavorValues||(e.HttpFlavorValues={})),function(e){e.QUEUE="queue",e.TOPIC="topic"}(e.MessagingDestinationKindValues||(e.MessagingDestinationKindValues={})),function(e){e.RECEIVE="receive",e.PROCESS="process"}(e.MessagingOperationValues||(e.MessagingOperationValues={})),function(e){e[e.OK=0]="OK",e[e.CANCELLED=1]="CANCELLED",e[e.UNKNOWN=2]="UNKNOWN",e[e.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",e[e.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",e[e.NOT_FOUND=5]="NOT_FOUND",e[e.ALREADY_EXISTS=6]="ALREADY_EXISTS",e[e.PERMISSION_DENIED=7]="PERMISSION_DENIED",e[e.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",e[e.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",e[e.ABORTED=10]="ABORTED",e[e.OUT_OF_RANGE=11]="OUT_OF_RANGE",e[e.UNIMPLEMENTED=12]="UNIMPLEMENTED",e[e.INTERNAL=13]="INTERNAL",e[e.UNAVAILABLE=14]="UNAVAILABLE",e[e.DATA_LOSS=15]="DATA_LOSS",e[e.UNAUTHENTICATED=16]="UNAUTHENTICATED"}(e.RpcGrpcStatusCodeValues||(e.RpcGrpcStatusCodeValues={}))})),Ge=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Ve(),e)})),$e=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.TelemetrySdkLanguageValues=e.OsTypeValues=e.HostArchValues=e.AwsEcsLaunchtypeValues=e.CloudPlatformValues=e.CloudProviderValues=e.ResourceAttributes=void 0,e.ResourceAttributes={CLOUD_PROVIDER:"cloud.provider",CLOUD_ACCOUNT_ID:"cloud.account.id",CLOUD_REGION:"cloud.region",CLOUD_AVAILABILITY_ZONE:"cloud.availability_zone",CLOUD_PLATFORM:"cloud.platform",AWS_ECS_CONTAINER_ARN:"aws.ecs.container.arn",AWS_ECS_CLUSTER_ARN:"aws.ecs.cluster.arn",AWS_ECS_LAUNCHTYPE:"aws.ecs.launchtype",AWS_ECS_TASK_ARN:"aws.ecs.task.arn",AWS_ECS_TASK_FAMILY:"aws.ecs.task.family",AWS_ECS_TASK_REVISION:"aws.ecs.task.revision",AWS_EKS_CLUSTER_ARN:"aws.eks.cluster.arn",AWS_LOG_GROUP_NAMES:"aws.log.group.names",AWS_LOG_GROUP_ARNS:"aws.log.group.arns",AWS_LOG_STREAM_NAMES:"aws.log.stream.names",AWS_LOG_STREAM_ARNS:"aws.log.stream.arns",CONTAINER_NAME:"container.name",CONTAINER_ID:"container.id",CONTAINER_RUNTIME:"container.runtime",CONTAINER_IMAGE_NAME:"container.image.name",CONTAINER_IMAGE_TAG:"container.image.tag",DEPLOYMENT_ENVIRONMENT:"deployment.environment",DEVICE_ID:"device.id",DEVICE_MODEL_IDENTIFIER:"device.model.identifier",DEVICE_MODEL_NAME:"device.model.name",FAAS_NAME:"faas.name",FAAS_ID:"faas.id",FAAS_VERSION:"faas.version",FAAS_INSTANCE:"faas.instance",FAAS_MAX_MEMORY:"faas.max_memory",HOST_ID:"host.id",HOST_NAME:"host.name",HOST_TYPE:"host.type",HOST_ARCH:"host.arch",HOST_IMAGE_NAME:"host.image.name",HOST_IMAGE_ID:"host.image.id",HOST_IMAGE_VERSION:"host.image.version",K8S_CLUSTER_NAME:"k8s.cluster.name",K8S_NODE_NAME:"k8s.node.name",K8S_NODE_UID:"k8s.node.uid",K8S_NAMESPACE_NAME:"k8s.namespace.name",K8S_POD_UID:"k8s.pod.uid",K8S_POD_NAME:"k8s.pod.name",K8S_CONTAINER_NAME:"k8s.container.name",K8S_REPLICASET_UID:"k8s.replicaset.uid",K8S_REPLICASET_NAME:"k8s.replicaset.name",K8S_DEPLOYMENT_UID:"k8s.deployment.uid",K8S_DEPLOYMENT_NAME:"k8s.deployment.name",K8S_STATEFULSET_UID:"k8s.statefulset.uid",K8S_STATEFULSET_NAME:"k8s.statefulset.name",K8S_DAEMONSET_UID:"k8s.daemonset.uid",K8S_DAEMONSET_NAME:"k8s.daemonset.name",K8S_JOB_UID:"k8s.job.uid",K8S_JOB_NAME:"k8s.job.name",K8S_CRONJOB_UID:"k8s.cronjob.uid",K8S_CRONJOB_NAME:"k8s.cronjob.name",OS_TYPE:"os.type",OS_DESCRIPTION:"os.description",OS_NAME:"os.name",OS_VERSION:"os.version",PROCESS_PID:"process.pid",PROCESS_EXECUTABLE_NAME:"process.executable.name",PROCESS_EXECUTABLE_PATH:"process.executable.path",PROCESS_COMMAND:"process.command",PROCESS_COMMAND_LINE:"process.command_line",PROCESS_COMMAND_ARGS:"process.command_args",PROCESS_OWNER:"process.owner",PROCESS_RUNTIME_NAME:"process.runtime.name",PROCESS_RUNTIME_VERSION:"process.runtime.version",PROCESS_RUNTIME_DESCRIPTION:"process.runtime.description",SERVICE_NAME:"service.name",SERVICE_NAMESPACE:"service.namespace",SERVICE_INSTANCE_ID:"service.instance.id",SERVICE_VERSION:"service.version",TELEMETRY_SDK_NAME:"telemetry.sdk.name",TELEMETRY_SDK_LANGUAGE:"telemetry.sdk.language",TELEMETRY_SDK_VERSION:"telemetry.sdk.version",TELEMETRY_AUTO_VERSION:"telemetry.auto.version",WEBENGINE_NAME:"webengine.name",WEBENGINE_VERSION:"webengine.version",WEBENGINE_DESCRIPTION:"webengine.description"},(t=e.CloudProviderValues||(e.CloudProviderValues={})).AWS="aws",t.AZURE="azure",t.GCP="gcp",function(e){e.AWS_EC2="aws_ec2",e.AWS_ECS="aws_ecs",e.AWS_EKS="aws_eks",e.AWS_LAMBDA="aws_lambda",e.AWS_ELASTIC_BEANSTALK="aws_elastic_beanstalk",e.AZURE_VM="azure_vm",e.AZURE_CONTAINER_INSTANCES="azure_container_instances",e.AZURE_AKS="azure_aks",e.AZURE_FUNCTIONS="azure_functions",e.AZURE_APP_SERVICE="azure_app_service",e.GCP_COMPUTE_ENGINE="gcp_compute_engine",e.GCP_CLOUD_RUN="gcp_cloud_run",e.GCP_KUBERNETES_ENGINE="gcp_kubernetes_engine",e.GCP_CLOUD_FUNCTIONS="gcp_cloud_functions",e.GCP_APP_ENGINE="gcp_app_engine"}(e.CloudPlatformValues||(e.CloudPlatformValues={})),function(e){e.EC2="ec2",e.FARGATE="fargate"}(e.AwsEcsLaunchtypeValues||(e.AwsEcsLaunchtypeValues={})),function(e){e.AMD64="amd64",e.ARM32="arm32",e.ARM64="arm64",e.IA64="ia64",e.PPC32="ppc32",e.PPC64="ppc64",e.X86="x86"}(e.HostArchValues||(e.HostArchValues={})),function(e){e.WINDOWS="windows",e.LINUX="linux",e.DARWIN="darwin",e.FREEBSD="freebsd",e.NETBSD="netbsd",e.OPENBSD="openbsd",e.DRAGONFLYBSD="dragonflybsd",e.HPUX="hpux",e.AIX="aix",e.SOLARIS="solaris",e.Z_OS="z_os"}(e.OsTypeValues||(e.OsTypeValues={})),function(e){e.CPP="cpp",e.DOTNET="dotnet",e.ERLANG="erlang",e.GO="go",e.JAVA="java",e.NODEJS="nodejs",e.PHP="php",e.PYTHON="python",e.RUBY="ruby",e.WEBJS="webjs"}(e.TelemetrySdkLanguageValues||(e.TelemetrySdkLanguageValues={}))})),Ke=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n($e(),e)})),We=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Ge(),e),n(Ke(),e)})),Qe=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SDK_INFO=void 0;var t=He(),n=We();e.SDK_INFO={[n.ResourceAttributes.TELEMETRY_SDK_NAME]:"opentelemetry",[n.ResourceAttributes.PROCESS_RUNTIME_NAME]:"node",[n.ResourceAttributes.TELEMETRY_SDK_LANGUAGE]:n.TelemetrySdkLanguageValues.NODEJS,[n.ResourceAttributes.TELEMETRY_SDK_VERSION]:t.VERSION}})),Ye=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.unrefTimer=void 0,e.unrefTimer=function(e){e.unref()}})),Xe=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Fe(),e),n(Ue(),e),n(qe(),e),n(Be(),e),n(Qe(),e),n(Ye(),e)})),Je=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Xe(),e)})),Ze=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTimeInput=e.isTimeInputHrTime=e.hrTimeToMicroseconds=e.hrTimeToMilliseconds=e.hrTimeToNanoseconds=e.hrTimeToTimeStamp=e.hrTimeDuration=e.timeInputToHrTime=e.hrTime=void 0;var t=Je(),n=9,r=Math.pow(10,n);function o(e){let t=e/1e3,o=Math.trunc(t);return[o,Number((t-o).toFixed(n))*r]}function i(){let e=t.otperformance.timeOrigin;if("number"!=typeof e){let n=t.otperformance;e=n.timing&&n.timing.fetchStart}return e}function a(e){let n=o(i()),a=o("number"==typeof e?e:t.otperformance.now()),s=n[0]+a[0],c=n[1]+a[1];return c>r&&(c-=r,s+=1),[s,c]}function s(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}e.hrTime=a,e.timeInputToHrTime=function(e){if(s(e))return e;if("number"==typeof e)return e<i()?a(e):o(e);if(e instanceof Date)return o(e.getTime());throw TypeError("Invalid input type")},e.hrTimeDuration=function(e,t){let n=t[0]-e[0],o=t[1]-e[1];return o<0&&(n-=1,o+=r),[n,o]},e.hrTimeToTimeStamp=function(e){let t=n,r=`${"0".repeat(t)}${e[1]}Z`,o=r.substr(r.length-t-1);return new Date(1e3*e[0]).toISOString().replace("000Z",o)},e.hrTimeToNanoseconds=function(e){return e[0]*r+e[1]},e.hrTimeToMilliseconds=function(e){return Math.round(1e3*e[0]+e[1]/1e6)},e.hrTimeToMicroseconds=function(e){return Math.round(1e6*e[0]+e[1]/1e3)},e.isTimeInputHrTime=s,e.isTimeInput=function(e){return s(e)||"number"==typeof e||e instanceof Date}})),et=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),tt=_((e=>{"use strict";var t;Object.defineProperty(e,"__esModule",{value:!0}),e.ExportResultCode=void 0,(t=e.ExportResultCode||(e.ExportResultCode={}))[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"})),nt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompositePropagator=void 0;var t=Ie();e.CompositePropagator=class{constructor(e={}){var t;this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map((e=>"function"==typeof e.fields?e.fields():[])).reduce(((e,t)=>e.concat(t)),[])))}inject(e,n,r){for(let o of this._propagators)try{o.inject(e,n,r)}catch(e){t.diag.warn(`Failed to inject with ${o.constructor.name}. Err: ${e.message}`)}}extract(e,n,r){return this._propagators.reduce(((e,o)=>{try{return o.extract(e,n,r)}catch(e){t.diag.warn(`Failed to inject with ${o.constructor.name}. Err: ${e.message}`)}return e}),e)}fields(){return this._fields.slice()}}})),rt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateValue=e.validateKey=void 0;var t="[_0-9a-z-*/]",n=new RegExp(`^(?:[a-z]${t}{0,255}|[a-z0-9]${t}{0,240}@[a-z]${t}{0,13})$`),r=/^[ -~]{0,255}[!-~]$/,o=/,|=/;e.validateKey=function(e){return n.test(e)},e.validateValue=function(e){return r.test(e)&&!o.test(e)}})),ot=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TraceState=void 0;var t=rt(),n=class{constructor(e){this._internalState=new Map,e&&this._parse(e)}set(e,t){let n=this._clone();return n._internalState.has(e)&&n._internalState.delete(e),n._internalState.set(e,t),n}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce(((e,t)=>(e.push(t+"="+this.get(t)),e)),[]).join(",")}_parse(e){e.length>512||(this._internalState=e.split(",").reverse().reduce(((e,n)=>{let r=n.trim(),o=r.indexOf("=");if(-1!==o){let i=r.slice(0,o),a=r.slice(o+1,n.length);t.validateKey(i)&&t.validateValue(a)&&e.set(i,a)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new n;return e._internalState=new Map(this._internalState),e}};e.TraceState=n})),it=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HttpTraceContextPropagator=e.parseTraceParent=e.TRACE_STATE_HEADER=e.TRACE_PARENT_HEADER=void 0;var t=Ie(),n=Re(),r=ot();e.TRACE_PARENT_HEADER="traceparent",e.TRACE_STATE_HEADER="tracestate";var o=new RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");function i(e){let t=o.exec(e);return!t||"00"===t[1]&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}e.parseTraceParent=i,e.HttpTraceContextPropagator=class{inject(r,o,i){let a=t.trace.getSpanContext(r);if(!a||n.isTracingSuppressed(r)||!t.isSpanContextValid(a))return;let s=`00-${a.traceId}-${a.spanId}-0${Number(a.traceFlags||t.TraceFlags.NONE).toString(16)}`;i.set(o,e.TRACE_PARENT_HEADER,s),a.traceState&&i.set(o,e.TRACE_STATE_HEADER,a.traceState.serialize())}extract(n,o,a){let s=a.get(o,e.TRACE_PARENT_HEADER);if(!s)return n;let c=Array.isArray(s)?s[0]:s;if("string"!=typeof c)return n;let u=i(c);if(!u)return n;u.isRemote=!0;let l=a.get(o,e.TRACE_STATE_HEADER);if(l){let e=Array.isArray(l)?l.join(","):l;u.traceState=new r.TraceState("string"==typeof e?e:void 0)}return t.trace.setSpanContext(n,u)}fields(){return[e.TRACE_PARENT_HEADER,e.TRACE_STATE_HEADER]}}})),at=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),st=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getRPCMetadata=e.deleteRPCMetadata=e.setRPCMetadata=e.RPCType=void 0;var t=Ie().createContextKey("OpenTelemetry SDK Context Key RPC_METADATA");(e.RPCType||(e.RPCType={})).HTTP="http",e.setRPCMetadata=function(e,n){return e.setValue(t,n)},e.deleteRPCMetadata=function(e){return e.deleteValue(t)},e.getRPCMetadata=function(e){return e.getValue(t)}})),ct=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlwaysOffSampler=void 0;var t=Ie();e.AlwaysOffSampler=class{shouldSample(){return{decision:t.SamplingDecision.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}})),ut=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlwaysOnSampler=void 0;var t=Ie();e.AlwaysOnSampler=class{shouldSample(){return{decision:t.SamplingDecision.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}})),lt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ParentBasedSampler=void 0;var t=Ie(),n=Me(),r=ct(),o=ut();e.ParentBasedSampler=class{constructor(e){var t,i,a,s;this._root=e.root,this._root||(n.globalErrorHandler(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new o.AlwaysOnSampler),this._remoteParentSampled=null!==(t=e.remoteParentSampled)&&void 0!==t?t:new o.AlwaysOnSampler,this._remoteParentNotSampled=null!==(i=e.remoteParentNotSampled)&&void 0!==i?i:new r.AlwaysOffSampler,this._localParentSampled=null!==(a=e.localParentSampled)&&void 0!==a?a:new o.AlwaysOnSampler,this._localParentNotSampled=null!==(s=e.localParentNotSampled)&&void 0!==s?s:new r.AlwaysOffSampler}shouldSample(e,n,r,o,i,a){let s=t.trace.getSpanContext(e);return s&&t.isSpanContextValid(s)?s.isRemote?s.traceFlags&t.TraceFlags.SAMPLED?this._remoteParentSampled.shouldSample(e,n,r,o,i,a):this._remoteParentNotSampled.shouldSample(e,n,r,o,i,a):s.traceFlags&t.TraceFlags.SAMPLED?this._localParentSampled.shouldSample(e,n,r,o,i,a):this._localParentNotSampled.shouldSample(e,n,r,o,i,a):this._root.shouldSample(e,n,r,o,i,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}})),pt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TraceIdRatioBasedSampler=void 0;var t=Ie();e.TraceIdRatioBasedSampler=class{constructor(e=0){this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(4294967295*this._ratio)}shouldSample(e,n){return{decision:t.isValidTraceId(n)&&this._accumulate(n)<this._upperBound?t.SamplingDecision.RECORD_AND_SAMPLED:t.SamplingDecision.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return"number"!=typeof e||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<e.length/8;n++){let r=8*n;t=(t^parseInt(e.slice(r,r+8),16))>>>0}return t}}})),dt=_((e=>{"use strict";function t(e,t){return"string"==typeof t?e===t:t.test(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.isUrlIgnored=e.urlMatches=void 0,e.urlMatches=t,e.isUrlIgnored=function(e,n){if(!n)return!1;for(let r of n)if(t(e,r))return!0;return!1}})),ht=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isWrapped=void 0,e.isWrapped=function(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}})),mt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.baggageUtils=void 0,n(je(),e),n(Ne(),e),n(Me(),e),n(De(),e),n(Ze(),e),n(et(),e),n(tt(),e),n(He(),e),e.baggageUtils=Oe(),n(Je(),e),n(nt(),e),n(it(),e),n(at(),e),n(st(),e),n(ct(),e),n(ut(),e),n(lt(),e),n(pt(),e),n(Re(),e),n(ot(),e),n(ze(),e),n(Le(),e),n(dt(),e),n(ht(),e),n(He(),e)})),ft=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExceptionEventName=void 0,e.ExceptionEventName="exception"})),gt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Span=void 0;var t=Ie(),n=mt(),r=We(),o=ft();e.Span=class{constructor(e,r,o,i,a,s,c=[],u=n.hrTime()){this.attributes={},this.links=[],this.events=[],this.status={code:t.SpanStatusCode.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=o,this._spanContext=i,this.parentSpanId=s,this.kind=a,this.links=c,this.startTime=n.timeInputToHrTime(u),this.resource=e.resource,this.instrumentationLibrary=e.instrumentationLibrary,this._spanLimits=e.getSpanLimits(),this._spanProcessor=e.getActiveSpanProcessor(),this._spanProcessor.onStart(this,r)}spanContext(){return this._spanContext}setAttribute(e,r){return null==r||this._isSpanEnded()?this:0===e.length?(t.diag.warn(`Invalid attribute key: ${e}`),this):n.isAttributeValue(r)?(Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,e)||(this.attributes[e]=r),this):(t.diag.warn(`Invalid attribute value set for key: ${e}`),this)}setAttributes(e){for(let[t,n]of Object.entries(e))this.setAttribute(t,n);return this}addEvent(e,r,o){return this._isSpanEnded()||(this.events.length>=this._spanLimits.eventCountLimit&&(t.diag.warn("Dropping extra events."),this.events.shift()),n.isTimeInput(r)&&(typeof o>"u"&&(o=r),r=void 0),typeof o>"u"&&(o=n.hrTime()),this.events.push({name:e,attributes:r,time:n.timeInputToHrTime(o)})),this}setStatus(e){return this._isSpanEnded()||(this.status=e),this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e=n.hrTime()){this._isSpanEnded()?t.diag.error("You can only call end() on a span once."):(this._ended=!0,this.endTime=n.timeInputToHrTime(e),this._duration=n.hrTimeDuration(this.startTime,this.endTime),this._duration[0]<0&&t.diag.warn("Inconsistent start and end time, startTime > endTime",this.startTime,this.endTime),this._spanProcessor.onEnd(this))}isRecording(){return!1===this._ended}recordException(e,i=n.hrTime()){let a={};"string"==typeof e?a[r.SemanticAttributes.EXCEPTION_MESSAGE]=e:e&&(e.code?a[r.SemanticAttributes.EXCEPTION_TYPE]=e.code.toString():e.name&&(a[r.SemanticAttributes.EXCEPTION_TYPE]=e.name),e.message&&(a[r.SemanticAttributes.EXCEPTION_MESSAGE]=e.message),e.stack&&(a[r.SemanticAttributes.EXCEPTION_STACKTRACE]=e.stack)),a[r.SemanticAttributes.EXCEPTION_TYPE]||a[r.SemanticAttributes.EXCEPTION_MESSAGE]?this.addEvent(o.ExceptionEventName,a,i):t.diag.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}_isSpanEnded(){return this._ended&&t.diag.warn("Can not execute the operation on ended Span {traceId: %s, spanId: %s}",this._spanContext.traceId,this._spanContext.spanId),this._ended}}})),vt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildSamplerFromEnv=e.DEFAULT_CONFIG=void 0;var t=Ie(),n=mt(),r=n.getEnv(),o=n.TracesSamplerValues.AlwaysOn;function i(e=n.getEnv()){switch(e.OTEL_TRACES_SAMPLER){case n.TracesSamplerValues.AlwaysOn:return new n.AlwaysOnSampler;case n.TracesSamplerValues.AlwaysOff:return new n.AlwaysOffSampler;case n.TracesSamplerValues.ParentBasedAlwaysOn:return new n.ParentBasedSampler({root:new n.AlwaysOnSampler});case n.TracesSamplerValues.ParentBasedAlwaysOff:return new n.ParentBasedSampler({root:new n.AlwaysOffSampler});case n.TracesSamplerValues.TraceIdRatio:return new n.TraceIdRatioBasedSampler(s(e));case n.TracesSamplerValues.ParentBasedTraceIdRatio:return new n.ParentBasedSampler({root:new n.TraceIdRatioBasedSampler(s(e))});default:return t.diag.error(`OTEL_TRACES_SAMPLER value "${e.OTEL_TRACES_SAMPLER} invalid, defaulting to ${o}".`),new n.AlwaysOnSampler}}e.DEFAULT_CONFIG={sampler:i(r),forceFlushTimeoutMillis:3e4,spanLimits:{attributeCountLimit:n.getEnv().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:n.getEnv().OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:n.getEnv().OTEL_SPAN_EVENT_COUNT_LIMIT}},e.buildSamplerFromEnv=i;var a=1;function s(e){if(void 0===e.OTEL_TRACES_SAMPLER_ARG||""===e.OTEL_TRACES_SAMPLER_ARG)return t.diag.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${a}.`),a;let n=Number(e.OTEL_TRACES_SAMPLER_ARG);return isNaN(n)?(t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${e.OTEL_TRACES_SAMPLER_ARG} was given, but it is invalid, defaulting to ${a}.`),a):n<0||n>1?(t.diag.error(`OTEL_TRACES_SAMPLER_ARG=${e.OTEL_TRACES_SAMPLER_ARG} was given, but it is out of range ([0..1]), defaulting to ${a}.`),a):n}})),yt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mergeConfig=void 0;var t=vt();e.mergeConfig=function(e){let n={sampler:t.buildSamplerFromEnv()},r=Object.assign({},t.DEFAULT_CONFIG,n,e);return r.spanLimits=Object.assign({},t.DEFAULT_CONFIG.spanLimits,e.spanLimits||{}),r}})),bt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Tracer=void 0;var t=Ie(),n=mt(),r=gt(),o=yt();e.Tracer=class{constructor(e,t,r){this._tracerProvider=r;let i=o.mergeConfig(t);this._sampler=i.sampler,this._spanLimits=i.spanLimits,this._idGenerator=t.idGenerator||new n.RandomIdGenerator,this.resource=r.resource,this.instrumentationLibrary=e}startSpan(e,o={},i=t.context.active()){var a,s;if(n.isTracingSuppressed(i))return t.diag.debug("Instrumentation suppressed, returning Noop Span"),t.trace.wrapSpanContext(t.INVALID_SPAN_CONTEXT);let c,u,l,p=function(e,n){if(!e.root)return t.trace.getSpanContext(n)}(o,i),d=this._idGenerator.generateSpanId();p&&t.trace.isSpanContextValid(p)?(c=p.traceId,u=p.traceState,l=p.spanId):c=this._idGenerator.generateTraceId();let h=null!==(a=o.kind)&&void 0!==a?a:t.SpanKind.INTERNAL,m=null!==(s=o.links)&&void 0!==s?s:[],f=n.sanitizeAttributes(o.attributes),g=this._sampler.shouldSample(o.root?t.trace.setSpanContext(i,t.INVALID_SPAN_CONTEXT):i,c,e,h,f,m),v={traceId:c,spanId:d,traceFlags:g.decision===t.SamplingDecision.RECORD_AND_SAMPLED?t.TraceFlags.SAMPLED:t.TraceFlags.NONE,traceState:u};if(g.decision===t.SamplingDecision.NOT_RECORD)return t.diag.debug("Recording is off, propagating context in a non-recording span"),t.trace.wrapSpanContext(v);let y=new r.Span(this,i,e,v,h,l,m,o.startTime);return y.setAttributes(Object.assign(f,g.attributes)),y}startActiveSpan(e,n,r,o){let i,a,s;if(arguments.length<2)return;2===arguments.length?s=n:3===arguments.length?(i=n,s=r):(i=n,a=r,s=o);let c=a??t.context.active(),u=this.startSpan(e,i,c),l=t.trace.setSpan(c,u);return t.context.with(l,s,void 0,u)}getSpanLimits(){return this._spanLimits}getActiveSpanProcessor(){return this._tracerProvider.getActiveSpanProcessor()}}})),_t=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultServiceName=void 0,e.defaultServiceName=function(){return`unknown_service:${process.argv0}`}})),Et=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.detectResources=void 0;var t=Ct(),r=Ie(),o=n(3837);e.detectResources=async(e={})=>{let n=Object.assign(e),o=await Promise.all((n.detectors||[]).map((async e=>{try{let t=await e.detect(n);return r.diag.debug(`${e.constructor.name} found resource.`,t),t}catch(n){return r.diag.debug(`${e.constructor.name} failed: ${n.message}`),t.Resource.empty()}})));return i(o),o.reduce(((e,t)=>e.merge(t)),t.Resource.empty())};var i=e=>{e.forEach((e=>{if(Object.keys(e.attributes).length>0){let t=o.inspect(e.attributes,{depth:2,breakLength:1/0,sorted:!0,compact:!1});r.diag.verbose(t)}}))}})),wt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.envDetector=void 0;var t=Ie(),n=mt(),r=We(),o=Rt();e.envDetector=new class{constructor(){this._MAX_LENGTH=255,this._COMMA_SEPARATOR=",",this._LABEL_KEY_VALUE_SPLITTER="=",this._ERROR_MESSAGE_INVALID_CHARS="should be a ASCII string with a length greater than 0 and not exceed "+this._MAX_LENGTH+" characters.",this._ERROR_MESSAGE_INVALID_VALUE="should be a ASCII string with a length not exceed "+this._MAX_LENGTH+" characters."}async detect(e){let i={},a=n.getEnv(),s=a.OTEL_RESOURCE_ATTRIBUTES,c=a.OTEL_SERVICE_NAME;if(s)try{let e=this._parseResourceAttributes(s);Object.assign(i,e)}catch(e){t.diag.debug(`EnvDetector failed: ${e.message}`)}return c&&(i[r.ResourceAttributes.SERVICE_NAME]=c),new o.Resource(i)}_parseResourceAttributes(e){if(!e)return{};let t={},n=e.split(this._COMMA_SEPARATOR,-1);for(let e of n){let n=e.split(this._LABEL_KEY_VALUE_SPLITTER,-1);if(2!==n.length)continue;let[r,o]=n;if(r=r.trim(),o=o.trim().split('^"|"$').join(""),!this._isValidAndNotEmpty(r))throw new Error(`Attribute key ${this._ERROR_MESSAGE_INVALID_CHARS}`);if(!this._isValid(o))throw new Error(`Attribute value ${this._ERROR_MESSAGE_INVALID_VALUE}`);t[r]=o}return t}_isValid(e){return e.length<=this._MAX_LENGTH&&this._isPrintableString(e)}_isPrintableString(e){for(let t=0;t<e.length;t++){let n=e.charAt(t);if(n<=" "||n>="~")return!1}return!0}_isValidAndNotEmpty(e){return e.length>0&&this._isValid(e)}}})),kt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.processDetector=void 0;var t=Ie(),n=We(),r=Rt();e.processDetector=new class{async detect(e){let t={[n.ResourceAttributes.PROCESS_PID]:process.pid,[n.ResourceAttributes.PROCESS_EXECUTABLE_NAME]:process.title||"",[n.ResourceAttributes.PROCESS_COMMAND]:process.argv[1]||"",[n.ResourceAttributes.PROCESS_COMMAND_LINE]:process.argv.join(" ")||""};return this._getResourceAttributes(t,e)}_getResourceAttributes(e,o){return""===e[n.ResourceAttributes.PROCESS_EXECUTABLE_NAME]||""===e[n.ResourceAttributes.PROCESS_EXECUTABLE_PATH]||""===e[n.ResourceAttributes.PROCESS_COMMAND]||""===e[n.ResourceAttributes.PROCESS_COMMAND_LINE]?(t.diag.debug("ProcessDetector failed: Unable to find required process resources. "),r.Resource.empty()):new r.Resource(Object.assign({},e))}}})),Tt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(wt(),e),n(kt(),e)})),St=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(_t(),e),n(Et(),e),n(Tt(),e)})),xt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(St(),e)})),Ct=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Resource=void 0;var t=We(),n=mt(),r=xt(),o=class{constructor(e){this.attributes=e}static empty(){return o.EMPTY}static default(){return new o({[t.ResourceAttributes.SERVICE_NAME]:r.defaultServiceName(),[t.ResourceAttributes.TELEMETRY_SDK_LANGUAGE]:n.SDK_INFO[t.ResourceAttributes.TELEMETRY_SDK_LANGUAGE],[t.ResourceAttributes.TELEMETRY_SDK_NAME]:n.SDK_INFO[t.ResourceAttributes.TELEMETRY_SDK_NAME],[t.ResourceAttributes.TELEMETRY_SDK_VERSION]:n.SDK_INFO[t.ResourceAttributes.TELEMETRY_SDK_VERSION]})}merge(e){if(!e||!Object.keys(e.attributes).length)return this;let t=Object.assign({},this.attributes,e.attributes);return new o(t)}};e.Resource=o,o.EMPTY=new o({})})),At=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),It=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Rt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Ct(),e),n(xt(),e),n(At(),e),n(It(),e)})),Pt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MultiSpanProcessor=void 0;var t=mt();e.MultiSpanProcessor=class{constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise((n=>{Promise.all(e).then((()=>{n()})).catch((e=>{t.globalErrorHandler(e||new Error("MultiSpanProcessor: forceFlush failed")),n()}))}))}onStart(e,t){for(let n of this._spanProcessors)n.onStart(e,t)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise(((t,n)=>{Promise.all(e).then((()=>{t()}),n)}))}}})),Ot=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NoopSpanProcessor=void 0,e.NoopSpanProcessor=class{onStart(e,t){}onEnd(e){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}})),jt=_(((e,t)=>{var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",c="[object Null]",u="[object Object]",l="[object Proxy]",p="[object Undefined]",d=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[o]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[a]=m["[object Map]"]=m["[object Number]"]=m[u]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var f,g="object"==typeof global&&global&&global.Object===Object&&global,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),b="object"==typeof e&&e&&!e.nodeType&&e,_=b&&"object"==typeof t&&t&&!t.nodeType&&t,E=_&&_.exports===b,w=E&&g.process,k=function(){try{return _&&_.require&&_.require("util").types||w&&w.binding&&w.binding("util")}catch{}}(),T=k&&k.isTypedArray,S=Array.prototype,x=Function.prototype,C=Object.prototype,A=y["__core-js_shared__"],I=x.toString,R=C.hasOwnProperty,P=(f=/[^.]+$/.exec(A&&A.keys&&A.keys.IE_PROTO||""))?"Symbol(src)_1."+f:"",O=C.toString,j=I.call(Object),N=RegExp("^"+I.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D=E?y.Buffer:void 0,M=y.Symbol,L=y.Uint8Array,z=(D&&D.allocUnsafe,function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object)),F=Object.create,U=C.propertyIsEnumerable,q=S.splice,B=M?M.toStringTag:void 0,H=function(){try{var e=le(Object,"defineProperty");return e({},"",{}),e}catch{}}(),V=D?D.isBuffer:void 0,G=Math.max,$=Date.now,K=le(y,"Map"),W=le(Object,"create"),Q=function(){function e(){}return function(t){if(!we(t))return{};if(F)return F(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Y(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function X(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Z(e){var t=this.__data__=new X(e);this.size=t.size}function ee(e,t,n){(void 0!==n&&!fe(e[t],n)||void 0===n&&!(t in e))&&re(e,t,n)}function te(e,t,n){var r=e[t];(!R.call(e,t)||!fe(r,n)||void 0===n&&!(t in e))&&re(e,t,n)}function ne(e,t){for(var n=e.length;n--;)if(fe(e[n][0],t))return n;return-1}function re(e,t,n){"__proto__"==t&&H?H(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}Y.prototype.clear=function(){this.__data__=W?W(null):{},this.size=0},Y.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Y.prototype.get=function(e){var t=this.__data__;if(W){var r=t[e];return r===n?void 0:r}return R.call(t,e)?t[e]:void 0},Y.prototype.has=function(e){var t=this.__data__;return W?void 0!==t[e]:R.call(t,e)},Y.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=W&&void 0===t?n:t,this},X.prototype.clear=function(){this.__data__=[],this.size=0},X.prototype.delete=function(e){var t=this.__data__,n=ne(t,e);return!(n<0||(n==t.length-1?t.pop():q.call(t,n,1),--this.size,0))},X.prototype.get=function(e){var t=this.__data__,n=ne(t,e);return n<0?void 0:t[n][1]},X.prototype.has=function(e){return ne(this.__data__,e)>-1},X.prototype.set=function(e,t){var n=this.__data__,r=ne(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},J.prototype.clear=function(){this.size=0,this.__data__={hash:new Y,map:new(K||X),string:new Y}},J.prototype.delete=function(e){var t=ue(this,e).delete(e);return this.size-=t?1:0,t},J.prototype.get=function(e){return ue(this,e).get(e)},J.prototype.has=function(e){return ue(this,e).has(e)},J.prototype.set=function(e,t){var n=ue(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Z.prototype.clear=function(){this.__data__=new X,this.size=0},Z.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Z.prototype.get=function(e){return this.__data__.get(e)},Z.prototype.has=function(e){return this.__data__.has(e)},Z.prototype.set=function(e,t){var n=this.__data__;if(n instanceof X){var r=n.__data__;if(!K||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new J(r)}return n.set(e,t),this.size=n.size,this};var oe=function(e,t,n){for(var r=-1,o=Object(e),i=n(e),a=i.length;a--;){var s=i[++r];if(!1===t(o[s],s,o))break}return e};function ie(e){return null==e?void 0===e?p:c:B&&B in Object(e)?function(e){var t=R.call(e,B),n=e[B];try{e[B]=void 0;var r=!0}catch{}var o=O.call(e);return r&&(t?e[B]=n:delete e[B]),o}(e):function(e){return O.call(e)}(e)}function ae(e){return ke(e)&&ie(e)==o}function se(e,t,n,r,o){e!==t&&oe(t,(function(i,a){if(o||(o=new Z),we(i))!function(e,t,n,r,o,i,a){var s=he(e,n),c=he(t,n),l=a.get(c);if(l)ee(e,n,l);else{var p=i?i(s,c,n+"",e,t,a):void 0,d=void 0===p;if(d){var h=ve(c),m=!h&&be(c),f=!h&&!m&&Te(c);p=c,h||m||f?ve(s)?p=s:function(e){return ke(e)&&ye(e)}(s)?p=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(s):m?(d=!1,p=function(e,t){return e.slice()}(c)):f?(d=!1,p=function(e,t){var n=function(e){var t=new e.constructor(e.byteLength);return new L(t).set(new L(e)),t}(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}(c)):p=[]:function(e){if(!ke(e)||ie(e)!=u)return!1;var t=z(e);if(null===t)return!0;var n=R.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&I.call(n)==j}(c)||ge(c)?(p=s,ge(s)?p=function(e){return function(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],c=void 0;void 0===c&&(c=e[s]),o?re(n,s,c):te(n,s,c)}return n}(e,Se(e))}(s):(!we(s)||_e(s))&&(p=function(e){return"function"!=typeof e.constructor||de(e)?{}:Q(z(e))}(c))):d=!1}d&&(a.set(c,p),o(p,c,r,i,a),a.delete(c)),ee(e,n,p)}}(e,t,a,n,se,r,o);else{var s=r?r(he(e,a),i,a+"",e,t,o):void 0;void 0===s&&(s=i),ee(e,a,s)}}),Se)}var ce=H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:Ce(t),writable:!0})}:Ae;function ue(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function le(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return function(e){return!(!we(e)||function(e){return!!P&&P in e}(e))&&(_e(e)?N:d).test(function(e){if(null!=e){try{return I.call(e)}catch{}try{return e+""}catch{}}return""}(e))}(n)?n:void 0}function pe(e,t){var n=typeof e;return!!(t=t??r)&&("number"==n||"symbol"!=n&&h.test(e))&&e>-1&&e%1==0&&e<t}function de(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||C)}function he(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var me=function(e){var t=0,n=0;return function(){var r=$(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(ce);function fe(e,t){return e===t||e!=e&&t!=t}var ge=ae(function(){return arguments}())?ae:function(e){return ke(e)&&R.call(e,"callee")&&!U.call(e,"callee")},ve=Array.isArray;function ye(e){return null!=e&&Ee(e.length)&&!_e(e)}var be=V||function(){return!1};function _e(e){if(!we(e))return!1;var t=ie(e);return t==a||t==s||t==i||t==l}function Ee(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function we(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ke(e){return null!=e&&"object"==typeof e}var Te=T?function(e){return function(t){return e(t)}}(T):function(e){return ke(e)&&Ee(e.length)&&!!m[ie(e)]};function Se(e){return ye(e)?function(e,t){var n=ve(e),r=!n&&ge(e),o=!n&&!r&&be(e),i=!n&&!r&&!o&&Te(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],c=s.length;for(var u in e)(t||R.call(e,u))&&(!a||!("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||pe(u,c)))&&s.push(u);return s}(e,!0):function(e){if(!we(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=de(e),n=[];for(var r in e)"constructor"==r&&(t||!R.call(e,r))||n.push(r);return n}(e)}var xe=function(e){return function(e,t){return me(function(e,t,n){return t=G(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=G(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,s)}}(e,t,Ae),e+"")}((function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&function(e,t,n){if(!we(n))return!1;var r=typeof t;return!!("number"==r?ye(n)&&pe(t,n.length):"string"==r&&t in n)&&fe(n[t],e)}(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r)}return t}))}((function(e,t,n){se(e,t,n)}));function Ce(e){return function(){return e}}function Ae(e){return e}t.exports=xe})),Nt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BatchSpanProcessorBase=void 0;var t=Ie(),n=mt();e.BatchSpanProcessorBase=class{constructor(e,t){this._exporter=e,this._finishedSpans=[],this._isShutdown=!1,this._shuttingDownPromise=Promise.resolve();let r=n.getEnv();this._maxExportBatchSize="number"==typeof(null==t?void 0:t.maxExportBatchSize)?t.maxExportBatchSize:r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==t?void 0:t.maxQueueSize)?t.maxQueueSize:r.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==t?void 0:t.scheduledDelayMillis)?t.scheduledDelayMillis:r.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==t?void 0:t.exportTimeoutMillis)?t.exportTimeoutMillis:r.OTEL_BSP_EXPORT_TIMEOUT}forceFlush(){return this._isShutdown?this._shuttingDownPromise:this._flushAll()}onStart(e){}onEnd(e){this._isShutdown||this._addToBuffer(e)}shutdown(){return this._isShutdown||(this._isShutdown=!0,this._shuttingDownPromise=new Promise(((e,t)=>{Promise.resolve().then((()=>this.onShutdown())).then((()=>this._flushAll())).then((()=>this._exporter.shutdown())).then(e).catch((e=>{t(e)}))}))),this._shuttingDownPromise}_addToBuffer(e){this._finishedSpans.length>=this._maxQueueSize||(this._finishedSpans.push(e),this._maybeStartTimer())}_flushAll(){return new Promise(((e,t)=>{let n=[];for(let e=0,t=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);e<t;e++)n.push(this._flushOneBatch());Promise.all(n).then((()=>{e()})).catch(t)}))}_flushOneBatch(){return this._clearTimer(),0===this._finishedSpans.length?Promise.resolve():new Promise(((e,r)=>{let o=setTimeout((()=>{r(new Error("Timeout"))}),this._exportTimeoutMillis);t.context.with(n.suppressTracing(t.context.active()),(()=>{this._exporter.export(this._finishedSpans.splice(0,this._maxExportBatchSize),(t=>{var i;clearTimeout(o),t.code===n.ExportResultCode.SUCCESS?e():r(null!==(i=t.error)&&void 0!==i?i:new Error("BatchSpanProcessor: span export failed"))}))}))}))}_maybeStartTimer(){void 0===this._timer&&(this._timer=setTimeout((()=>{this._flushOneBatch().then((()=>{this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())})).catch((e=>{n.globalErrorHandler(e)}))}),this._scheduledDelayMillis),n.unrefTimer(this._timer))}_clearTimer(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)}}})),Dt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BatchSpanProcessor=void 0;var t=Nt(),n=class extends t.BatchSpanProcessorBase{onShutdown(){}};e.BatchSpanProcessor=n})),Mt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Dt(),e)})),Lt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Mt(),e)})),zt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BasicTracerProvider=e.ForceFlushState=void 0;var t,n,r=Ie(),o=mt(),i=Rt(),a=Kt(),s=vt(),c=Pt(),u=Ot(),l=jt(),p=Lt();(n=t=e.ForceFlushState||(e.ForceFlushState={}))[n.resolved=0]="resolved",n[n.timeout=1]="timeout",n[n.error=2]="error",n[n.unresolved=3]="unresolved";var d=class{constructor(e={}){var t;this._registeredSpanProcessors=[],this._tracers=new Map;let n=l({},s.DEFAULT_CONFIG,e);this.resource=null!==(t=n.resource)&&void 0!==t?t:i.Resource.empty(),this.resource=i.Resource.default().merge(this.resource),this._config=Object.assign({},n,{resource:this.resource});let r=this._buildExporterFromEnv();if(void 0!==r){let e=new p.BatchSpanProcessor(r);this.activeSpanProcessor=e}else this.activeSpanProcessor=new u.NoopSpanProcessor}getTracer(e,t){let n=`${e}@${t||""}`;return this._tracers.has(n)||this._tracers.set(n,new a.Tracer({name:e,version:t},this._config,this)),this._tracers.get(n)}addSpanProcessor(e){0===this._registeredSpanProcessors.length&&this.activeSpanProcessor.shutdown().catch((e=>r.diag.error("Error while trying to shutdown current span processor",e))),this._registeredSpanProcessors.push(e),this.activeSpanProcessor=new c.MultiSpanProcessor(this._registeredSpanProcessors)}getActiveSpanProcessor(){return this.activeSpanProcessor}register(e={}){r.trace.setGlobalTracerProvider(this),void 0===e.propagator&&(e.propagator=this._buildPropagatorFromEnv()),e.contextManager&&r.context.setGlobalContextManager(e.contextManager),e.propagator&&r.propagation.setGlobalPropagator(e.propagator)}forceFlush(){let e=this._config.forceFlushTimeoutMillis,n=this._registeredSpanProcessors.map((n=>new Promise((r=>{let o,i=setTimeout((()=>{r(new Error(`Span processor did not completed within timeout period of ${e} ms`)),o=t.timeout}),e);n.forceFlush().then((()=>{clearTimeout(i),o!==t.timeout&&(o=t.resolved,r(o))})).catch((e=>{clearTimeout(i),o=t.error,r(e)}))}))));return new Promise(((e,r)=>{Promise.all(n).then((n=>{let o=n.filter((e=>e!==t.resolved));o.length>0?r(o):e()})).catch((e=>r([e])))}))}shutdown(){return this.activeSpanProcessor.shutdown()}_getPropagator(e){var t;return null===(t=d._registeredPropagators.get(e))||void 0===t?void 0:t()}_getSpanExporter(e){var t;return null===(t=d._registeredExporters.get(e))||void 0===t?void 0:t()}_buildPropagatorFromEnv(){let e=Array.from(new Set(o.getEnv().OTEL_PROPAGATORS)),t=e.map((e=>{let t=this._getPropagator(e);return t||r.diag.warn(`Propagator "${e}" requested through environment variable is unavailable.`),t})).reduce(((e,t)=>(t&&e.push(t),e)),[]);if(0!==t.length)return 1===e.length?t[0]:new o.CompositePropagator({propagators:t})}_buildExporterFromEnv(){let e=o.getEnv().OTEL_TRACES_EXPORTER;if("none"===e)return;let t=this._getSpanExporter(e);return t||r.diag.error(`Exporter "${e}" requested through environment variable is unavailable.`),t}};e.BasicTracerProvider=d,d._registeredPropagators=new Map([["tracecontext",()=>new o.HttpTraceContextPropagator],["baggage",()=>new o.HttpBaggagePropagator]]),d._registeredExporters=new Map})),Ft=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ConsoleSpanExporter=void 0;var t=mt();e.ConsoleSpanExporter=class{export(e,t){return this._sendSpans(e,t)}shutdown(){return this._sendSpans([]),Promise.resolve()}_exportInfo(e){return{traceId:e.spanContext().traceId,parentId:e.parentSpanId,name:e.name,id:e.spanContext().spanId,kind:e.kind,timestamp:t.hrTimeToMicroseconds(e.startTime),duration:t.hrTimeToMicroseconds(e.duration),attributes:e.attributes,status:e.status,events:e.events}}_sendSpans(e,n){for(let t of e)console.log(this._exportInfo(t));if(n)return n({code:t.ExportResultCode.SUCCESS})}}})),Ut=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemorySpanExporter=void 0;var t=mt();e.InMemorySpanExporter=class{constructor(){this._finishedSpans=[],this._stopped=!1}export(e,n){if(this._stopped)return n({code:t.ExportResultCode.FAILED,error:new Error("Exporter has been stopped")});this._finishedSpans.push(...e),setTimeout((()=>n({code:t.ExportResultCode.SUCCESS})),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}})),qt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Bt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SimpleSpanProcessor=void 0;var t=Ie(),n=mt();e.SimpleSpanProcessor=class{constructor(e){this._exporter=e,this._isShutdown=!1,this._shuttingDownPromise=Promise.resolve()}forceFlush(){return Promise.resolve()}onStart(e){}onEnd(e){this._isShutdown||t.context.with(n.suppressTracing(t.context.active()),(()=>{this._exporter.export([e],(e=>{var t;e.code!==n.ExportResultCode.SUCCESS&&n.globalErrorHandler(null!==(t=e.error)&&void 0!==t?t:new Error(`SimpleSpanProcessor: span export failed (status ${e})`))}))}))}shutdown(){return this._isShutdown||(this._isShutdown=!0,this._shuttingDownPromise=new Promise(((e,t)=>{Promise.resolve().then((()=>this._exporter.shutdown())).then(e).catch((e=>{t(e)}))}))),this._shuttingDownPromise}}})),Ht=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Vt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Gt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),$t=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Kt=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(bt(),e),n(zt(),e),n(Lt(),e),n(Ft(),e),n(Ut(),e),n(qt(),e),n(Bt(),e),n(Ht(),e),n(Ot(),e),n(gt(),e),n(Vt(),e),n(Gt(),e),n($t(),e)})),Wt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.azureCoreTracing=e.AzureMonitorSymbol=void 0;var t=N();e.AzureMonitorSymbol="Azure_Monitor_Tracer";var n=!1;e.azureCoreTracing={versionSpecifier:">= 1.0.0 < 2.0.0",patch:function(r){if(n)return r;try{var o=Kt(),i=Ie(),a=(new o.BasicTracerProvider).getTracer("applicationinsights tracer"),s=r.setTracer;r.setTracer=function(n){var r=n.startSpan;n.startSpan=function(e,n,o){var i=r.call(this,e,n,o),a=i.end;return i.end=function(){var e=a.apply(this,arguments);return t.channel.publish("azure-coretracing",i),e},i},n[e.AzureMonitorSymbol]=!0,s.call(this,n)},i.trace.getSpan(i.context.active()),r.setTracer(a),n=!0}catch{}return r}},e.enable=function(){t.channel.registerMonkeyPatch("@azure/core-tracing",e.azureCoreTracing)}})),Qt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.bunyan=void 0;var t=N();e.bunyan={versionSpecifier:">= 1.0.0 < 2.0.0",patch:function(e){var n=e.prototype._emit;return e.prototype._emit=function(e,r){var o=n.apply(this,arguments);if(!r){var i=o;i||(i=n.call(this,e,!0)),t.channel.publish("bunyan",{level:e.level,result:i})}return o},e}},e.enable=function(){t.channel.registerMonkeyPatch("bunyan",e.bunyan)}})),Yt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.console=void 0;var t=N(),r=n(2781);e.console={versionSpecifier:">= 4.0.0",patch:function(e){var n=new r.Writable,o=new r.Writable;n.write=function(e){if(!e)return!0;var n=e.toString();return t.channel.publish("console",{message:n}),!0},o.write=function(e){if(!e)return!0;var n=e.toString();return t.channel.publish("console",{message:n,stderr:!0}),!0};for(var i=new e.Console(n,o),a=function(t){var n=e[t];n&&(e[t]=function(){if(i[t])try{i[t].apply(i,arguments)}catch{}return n.apply(e,arguments)})},s=0,c=["log","info","warn","error","dir","time","timeEnd","trace","assert"];s<c.length;s++)a(c[s]);return e}},e.enable=function(){t.channel.registerMonkeyPatch("console",e.console),n(6206)}})),Xt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.mongoCore=void 0;var t=N();e.mongoCore={versionSpecifier:">= 2.0.0 < 4.0.0",patch:function(e){var n=e.Server.prototype.connect;return e.Server.prototype.connect=function(){var e=n.apply(this,arguments),r=this.s.pool.write;this.s.pool.write=function(){var e="function"==typeof arguments[1]?1:2;return"function"==typeof arguments[e]&&(arguments[e]=t.channel.bindToContext(arguments[e])),r.apply(this,arguments)};var o=this.s.pool.logout;return this.s.pool.logout=function(){return"function"==typeof arguments[1]&&(arguments[1]=t.channel.bindToContext(arguments[1])),o.apply(this,arguments)},e},e}},e.enable=function(){t.channel.registerMonkeyPatch("mongodb-core",e.mongoCore)}})),Jt=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.mongo330=e.mongo3=e.mongo2=void 0;var n=N();e.mongo2={versionSpecifier:">= 2.0.0 <= 3.0.5",patch:function(e){var r=e.instrument({operationIdGenerator:{next:function(){return n.channel.bindToContext((function(e){return e()}))}}}),o={};return r.on("started",(function(e){o[e.requestId]||(o[e.requestId]=t(t({},e),{time:new Date}))})),r.on("succeeded",(function(e){var t=o[e.requestId];t&&delete o[e.requestId],"function"==typeof e.operationId?e.operationId((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!0})})):n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!0})})),r.on("failed",(function(e){var t=o[e.requestId];t&&delete o[e.requestId],"function"==typeof e.operationId?e.operationId((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!1})})):n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!1})})),e}},e.mongo3={versionSpecifier:"> 3.0.5 < 3.3.0",patch:function(e){var r=e.instrument(),o={},i={};return r.on("started",(function(e){o[e.requestId]||(i[e.requestId]=n.channel.bindToContext((function(e){return e()})),o[e.requestId]=t(t({},e),{time:new Date}))})),r.on("succeeded",(function(e){var t=o[e.requestId];t&&delete o[e.requestId],"object"==typeof e&&"function"==typeof i[e.requestId]&&(i[e.requestId]((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!0})})),delete i[e.requestId])})),r.on("failed",(function(e){var t=o[e.requestId];t&&delete o[e.requestId],"object"==typeof e&&"function"==typeof i[e.requestId]&&(i[e.requestId]((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!1})})),delete i[e.requestId])})),e}},e.mongo330={versionSpecifier:">= 3.3.0 < 4.0.0",patch:function(e){!function(e){var t=e.Server.prototype.connect;e.Server.prototype.connect=function(){var e=t.apply(this,arguments),r=this.s.coreTopology.s.pool.write;this.s.coreTopology.s.pool.write=function(){var e="function"==typeof arguments[1]?1:2;return"function"==typeof arguments[e]&&(arguments[e]=n.channel.bindToContext(arguments[e])),r.apply(this,arguments)};var o=this.s.coreTopology.s.pool.logout;return this.s.coreTopology.s.pool.logout=function(){return"function"==typeof arguments[1]&&(arguments[1]=n.channel.bindToContext(arguments[1])),o.apply(this,arguments)},e}}(e);var t=e.instrument(),r={},o={};return t.on("started",(function(e){r[e.requestId]||(o[e.requestId]=n.channel.bindToContext((function(e){return e()})),r[e.requestId]=e)})),t.on("succeeded",(function(e){var t=r[e.requestId];t&&delete r[e.requestId],"object"==typeof e&&"function"==typeof o[e.requestId]&&(o[e.requestId]((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!0})})),delete o[e.requestId])})),t.on("failed",(function(e){var t=r[e.requestId];t&&delete r[e.requestId],"object"==typeof e&&"function"==typeof o[e.requestId]&&(o[e.requestId]((function(){return n.channel.publish("mongodb",{startedData:t,event:e,succeeded:!1})})),delete o[e.requestId])})),e}},e.enable=function(){n.channel.registerMonkeyPatch("mongodb",e.mongo2),n.channel.registerMonkeyPatch("mongodb",e.mongo3),n.channel.registerMonkeyPatch("mongodb",e.mongo330)}})),Zt=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.mysql=void 0;var t=N(),r=n(1017);e.mysql={versionSpecifier:">= 2.0.0 < 3.0.0",patch:function(e,o){var i=function(e,n){return function(n,r){var o=e[n];o&&(e[n]=function(){for(var e=arguments.length-1,n=arguments.length-1;n>=0;--n){if("function"==typeof arguments[n]){e=n;break}if(typeof arguments[n]<"u")break}var i=arguments[e],a={result:null,startTime:null,startDate:null};"function"==typeof i&&(r?(a.startTime=process.hrtime(),a.startDate=new Date,arguments[e]=t.channel.bindToContext(r(a,i))):arguments[e]=t.channel.bindToContext(i));var s=o.apply(this,arguments);return a.result=s,s})}},a=function(e,t){return i(e.prototype)},s=n(5029)(r.dirname(o)+"/lib/Connection");["connect","changeUser","ping","statistics","end"].forEach((function(e){return a(s)(e)})),i(s)("createQuery",(function(e,n){return function(r){var o=process.hrtime(e.startTime),i=1e3*o[0]+o[1]/1e6|0;t.channel.publish("mysql",{query:e.result,callbackArgs:arguments,err:r,duration:i,time:e.startDate}),n.apply(this,arguments)}}));var c=n(3437)(r.dirname(o)+"/lib/Pool");return["_enqueueCallback"].forEach((function(e){return a(c)(e)})),e}},e.enable=function(){t.channel.registerMonkeyPatch("mysql",e.mysql)}})),en=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.postgresPool1=void 0;var t=N();e.postgresPool1={versionSpecifier:">= 1.0.0 < 3.0.0",patch:function(e){var n=e.prototype.connect;return e.prototype.connect=function(e){return e&&(arguments[0]=t.channel.bindToContext(e)),n.apply(this,arguments)},e}},e.enable=function(){t.channel.registerMonkeyPatch("pg-pool",e.postgresPool1)}})),tn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.postgres7=e.postgres6=void 0;var t=N(),r=n(2361);e.postgres6={versionSpecifier:"6.*",patch:function(e,n){var o=e.Client.prototype.query,i="__diagnosticOriginalFunc";return e.Client.prototype.query=function(e,n,a){var s,c={query:{},database:{host:this.connectionParameters.host,port:this.connectionParameters.port},result:null,error:null,duration:0,time:new Date},u=process.hrtime();function l(e){e&&e[i]&&(e=e[i]);var n=t.channel.bindToContext((function(n,o){var i=process.hrtime(u);if(c.result=o&&{rowCount:o.rowCount,command:o.command},c.error=n,c.duration=Math.ceil(1e3*i[0]+i[1]/1e6),t.channel.publish("postgres",c),n){if(e)return e.apply(this,arguments);s&&s instanceof r.EventEmitter&&s.emit("error",n)}else e&&e.apply(this,arguments)}));try{return Object.defineProperty(n,i,{value:e}),n}catch{return e}}try{"string"==typeof e?n instanceof Array?(c.query.preparable={text:e,args:n},a=l(a)):(c.query.text=e,a?a=l(a):n=l(n)):("string"==typeof e.name?c.query.plan=e.name:e.values instanceof Array?c.query.preparable={text:e.text,args:e.values}:c.query.text=e.text,a?a=l(a):n?n=l(n):e.callback=l(e.callback))}catch{return o.apply(this,arguments)}return arguments[0]=e,arguments[1]=n,arguments[2]=a,arguments.length=arguments.length>3?arguments.length:3,s=o.apply(this,arguments)},e}},e.postgres7={versionSpecifier:">=7.* <=8.*",patch:function(e,n){var o=e.Client.prototype.query,i="__diagnosticOriginalFunc";return e.Client.prototype.query=function(e,n,a){var s,c=this,u=!!a,l={query:{},database:{host:this.connectionParameters.host,port:this.connectionParameters.port},result:null,error:null,duration:0,time:new Date},p=process.hrtime();function d(e){e&&e[i]&&(e=e[i]);var n=t.channel.bindToContext((function(n,o){var i=process.hrtime(p);if(l.result=o&&{rowCount:o.rowCount,command:o.command},l.error=n,l.duration=Math.ceil(1e3*i[0]+i[1]/1e6),t.channel.publish("postgres",l),n){if(e)return e.apply(this,arguments);s&&s instanceof r.EventEmitter&&s.emit("error",n)}else e&&e.apply(this,arguments)}));try{return Object.defineProperty(n,i,{value:e}),n}catch{return e}}try{"string"==typeof e?n instanceof Array?(l.query.preparable={text:e,args:n},a=(u="function"==typeof a)?d(a):a):(l.query.text=e,a?a=(u="function"==typeof a)?d(a):a:n=(u="function"==typeof n)?d(n):n):("string"==typeof e.name?l.query.plan=e.name:e.values instanceof Array?l.query.preparable={text:e.text,args:e.values}:l.query.text=e.text,a?(u="function"==typeof a,a=d(a)):n?n=(u="function"==typeof n)?d(n):n:(u="function"==typeof e.callback,e.callback=u?d(e.callback):e.callback))}catch{return o.apply(this,arguments)}return arguments[0]=e,arguments[1]=n,arguments[2]=a,arguments.length=arguments.length>3?arguments.length:3,s=o.apply(this,arguments),u?s:s.then((function(e){return d()(void 0,e),new c._Promise((function(t,n){t(e)}))})).catch((function(e){return d()(e,void 0),new c._Promise((function(t,n){n(e)}))}))},e}},e.enable=function(){t.channel.registerMonkeyPatch("pg",e.postgres6),t.channel.registerMonkeyPatch("pg",e.postgres7)}})),nn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.redis=void 0;var t=N();e.redis={versionSpecifier:">= 2.0.0 < 4.0.0",patch:function(e){var n=e.RedisClient.prototype.internal_send_command;return e.RedisClient.prototype.internal_send_command=function(e){if(e){var r=e.callback;if(!r||!r.pubsubBound){var o=this.address,i=process.hrtime(),a=new Date;e.callback=t.channel.bindToContext((function(n,s){var c=process.hrtime(i),u=1e3*c[0]+c[1]/1e6|0;t.channel.publish("redis",{duration:u,address:o,commandObj:e,err:n,result:s,time:a}),"function"==typeof r&&r.apply(this,arguments)})),e.callback.pubsubBound=!0}}return n.call(this,e)},e}},e.enable=function(){t.channel.registerMonkeyPatch("redis",e.redis)}})),rn=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.tedious=void 0;var n=N();e.tedious={versionSpecifier:">= 6.0.0 < 9.0.0",patch:function(e){var r=e.Connection.prototype.makeRequest;return e.Connection.prototype.makeRequest=function(){var e,o,i,a=arguments[0];arguments[0].callback=(e=a.callback,o=process.hrtime(),i={query:{},database:{host:null,port:null},result:null,error:null,duration:0},n.channel.bindToContext((function(r,a,s){var c=process.hrtime(o);i=t(t({},i),{database:{host:this.connection.config.server,port:this.connection.config.options.port},result:!r&&{rowCount:a,rows:s},query:{text:this.parametersByName.statement.value},error:r,duration:Math.ceil(1e3*c[0]+c[1]/1e6)}),n.channel.publish("tedious",i),e.call(this,r,a,s)}))),r.apply(this,arguments)},e}},e.enable=function(){n.channel.registerMonkeyPatch("tedious",e.tedious)}})),on=_((e=>{"use strict";var t,n=e&&e.__extends||(t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},t(e,n)},function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}),r=e&&e.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.winston2=e.winston3=void 0;var o=N();e.winston3={versionSpecifier:"3.x",patch:function(e){var t=function(e){function t(t,n){var r=e.call(this,n)||this;return r.winston=t,r}return n(t,e),t.prototype.log=function(e,t){var n=e.message,i=e.level,a=e.meta,s=r(e,["message","level","meta"]);i="function"==typeof Symbol.for?e[Symbol.for("level")]:i,n=e instanceof Error?e:n;var c=function(e,t){return null!=e.config.npm.levels[t]?"npm":null!=e.config.syslog.levels[t]?"syslog":"unknown"}(this.winston,i);for(var u in a=a||{},s)s.hasOwnProperty(u)&&(a[u]=s[u]);o.channel.publish("winston",{message:n,level:i,levelKind:c,meta:a}),t()},t}(e.Transport);function i(){var n,r=arguments[0].levels||e.config.npm.levels;for(var o in r)r.hasOwnProperty(o)&&(n=void 0===n||r[o]>r[n]?o:n);this.add(new t(e,{level:n}))}var a=e.createLogger;e.createLogger=function(){var n,r=arguments[0].levels||e.config.npm.levels;for(var o in r)r.hasOwnProperty(o)&&(n=void 0===n||r[o]>r[n]?o:n);var s=a.apply(this,arguments);s.add(new t(e,{level:n}));var c=s.configure;return s.configure=function(){c.apply(this,arguments),i.apply(this,arguments)},s};var s=e.configure;return e.configure=function(){s.apply(this,arguments),i.apply(this,arguments)},e.add(new t(e)),e}},e.winston2={versionSpecifier:"2.x",patch:function(e){var t,n=e.Logger.prototype.log,r=function(n,r,i){var a;return a=t===e.config.npm.levels?"npm":t===e.config.syslog.levels?"syslog":"unknown",o.channel.publish("winston",{level:n,message:r,meta:i,levelKind:a}),r};return e.Logger.prototype.log=function(){return t=this.levels,this.filters&&0!==this.filters.length?this.filters[this.filters.length-1]!==r&&(this.filters=this.filters.filter((function(e){return e!==r})),this.filters.push(r)):this.filters=[r],n.apply(this,arguments)},e}},e.enable=function(){o.channel.registerMonkeyPatch("winston",e.winston2),o.channel.registerMonkeyPatch("winston",e.winston3)}})),an=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.tedious=e.pgPool=e.pg=e.winston=e.redis=e.mysql=e.mongodb=e.mongodbCore=e.console=e.bunyan=e.azuresdk=void 0;var t=Wt();e.azuresdk=t;var n=Qt();e.bunyan=n;var r=Yt();e.console=r;var o=Xt();e.mongodbCore=o;var i=Jt();e.mongodb=i;var a=Zt();e.mysql=a;var s=en();e.pgPool=s;var c=tn();e.pg=c;var u=nn();e.redis=u;var l=rn();e.tedious=l;var p=on();e.winston=p,e.enable=function(){n.enable(),r.enable(),o.enable(),i.enable(),a.enable(),c.enable(),s.enable(),u.enable(),p.enable(),t.enable(),l.enable()}})),sn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerContextPreservation=e.IsInitialized=void 0;var t=R(),n=I();e.IsInitialized=!process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL;var r,o,i,a,s="DiagnosticChannel";if(e.IsInitialized){for(a in r=an(),o=(process.env.APPLICATION_INSIGHTS_NO_PATCH_MODULES||"").split(","),i={bunyan:r.bunyan,console:r.console,mongodb:r.mongodb,mongodbCore:r.mongodbCore,mysql:r.mysql,redis:r.redis,pg:r.pg,pgPool:r.pgPool,winston:r.winston,azuresdk:r.azuresdk})-1===o.indexOf(a)&&(i[a].enable(),n.info(s,"Subscribed to "+a+" events"));o.length>0&&n.info(s,"Some modules will not be patched",o)}else n.info(s,"Not subscribing to dependency autocollection because APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL was set");e.registerContextPreservation=function(n){if(e.IsInitialized){var r=N();r.channel.addContextPreservation(n),r.channel.spanContextPropagator=t.AsyncScopeManager}}})),cn=_(((e,t)=>{"use strict";t.exports={requestContextHeader:"request-context",requestContextSourceKey:"appId",requestContextTargetKey:"appId",requestIdHeader:"request-id",parentIdHeader:"x-ms-request-id",rootIdHeader:"x-ms-request-root-id",correlationContextHeader:"correlation-context",traceparentHeader:"traceparent",traceStateHeader:"tracestate"}})),un=_(((e,t)=>{"use strict";var r=e&&e.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=n(3685),i=n(5687),a=n(7310),s=n(2057),c=I(),u=cn(),l=function(){function e(){}return e.getCookie=function(t,n){var r="";if(t&&t.length&&"string"==typeof n)for(var o=t+"=",i=n.split(";"),a=0;a<i.length;a++)if(n=i[a],(n=e.trim(n))&&0===n.indexOf(o)){r=n.substring(o.length,i[a].length);break}return r},e.trim=function(e){return"string"==typeof e?e.replace(/^\s+|\s+$/g,""):""},e.int32ArrayToBase64=function(e){var t=function(e,t){return String.fromCharCode(e>>t&255)},n=e.map((function(e){return t(e,24)+t(e,16)+t(e,8)+t(e,0)})).join(""),r=(Buffer.from?Buffer.from(n,"binary"):new Buffer(n,"binary")).toString("base64");return r.substr(0,r.indexOf("="))},e.random32=function(){return 4294967296*Math.random()|0},e.randomu32=function(){return e.random32()+2147483648},e.w3cTraceId=function(){for(var t,n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],r="",o=0;o<4;o++)r+=n[15&(t=e.random32())]+n[t>>4&15]+n[t>>8&15]+n[t>>12&15]+n[t>>16&15]+n[t>>20&15]+n[t>>24&15]+n[t>>28&15];var i=n[8+4*Math.random()|0];return r.substr(0,8)+r.substr(9,4)+"4"+r.substr(13,3)+i+r.substr(16,3)+r.substr(19,12)},e.w3cSpanId=function(){return e.w3cTraceId().substring(16)},e.isValidW3CId=function(e){return 32===e.length&&"00000000000000000000000000000000"!==e},e.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)},e.isError=function(e){return e instanceof Error},e.isPrimitive=function(e){var t=typeof e;return"string"===t||"number"===t||"boolean"===t},e.isDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)},e.msToTimeSpan=function(e){(isNaN(e)||e<0)&&(e=0);var t=(e/1e3%60).toFixed(7).replace(/0{0,4}$/,""),n=""+Math.floor(e/6e4)%60,r=""+Math.floor(e/36e5)%24,o=Math.floor(e/864e5);return t=t.indexOf(".")<2?"0"+t:t,n=n.length<2?"0"+n:n,(o>0?o+".":"")+(r=r.length<2?"0"+r:r)+":"+n+":"+t},e.extractError=function(e){var t=e;return{message:e.message,code:t.code||t.id||""}},e.extractObject=function(t){return t instanceof Error?e.extractError(t):"function"==typeof t.toJSON?t.toJSON():t},e.validateStringMap=function(t){if("object"==typeof t){var n={};for(var r in t){var o="",i=t[r],a=typeof i;if(e.isPrimitive(i))o=i.toString();else if(null===i||"undefined"===a)o="";else{if("function"===a){c.info("key: "+r+" was function; will not serialize");continue}var s=e.isArray(i)?i:e.extractObject(i);try{o=e.isPrimitive(s)?s:JSON.stringify(s)}catch(e){o=i.constructor.name.toString()+" (Error: "+e.message+")",c.info("key: "+r+", could not be serialized")}}n[r]=o.substring(0,e.MAX_PROPERTY_LENGTH)}return n}c.info("Invalid properties dropped from payload")},e.canIncludeCorrelationHeader=function(e,t){var n=e&&e.config&&e.config.correlationHeaderExcludedDomains;if(!n||0==n.length||!t)return!0;for(var r=0;r<n.length;r++)if(new RegExp(n[r].replace(/\./g,".").replace(/\*/g,".*")).test(a.parse(t).hostname))return!1;return!0},e.getCorrelationContextTarget=function(e,t){var n=e.headers&&e.headers[u.requestContextHeader];if(n)for(var r=n.split(","),o=0;o<r.length;++o){var i=r[o].split("=");if(2==i.length&&i[0]==t)return i[1]}},e.makeRequest=function(t,n,s,u){n&&0===n.indexOf("//")&&(n="https:"+n);var l=a.parse(n),p=r(r({},s),{host:l.hostname,port:l.port,path:l.pathname}),d=void 0;if("https:"===l.protocol&&(d=t.proxyHttpsUrl||void 0),"http:"===l.protocol&&(d=t.proxyHttpUrl||void 0),d){0===d.indexOf("//")&&(d="http:"+d);var h=a.parse(d);"https:"===h.protocol?(c.info("Proxies that use HTTPS are not supported"),d=void 0):p=r(r({},p),{host:h.hostname,port:h.port||"80",path:n,headers:r(r({},p.headers),{Host:l.hostname})})}var m="https:"===l.protocol&&!d;return m&&void 0!==t.httpsAgent?p.agent=t.httpsAgent:m||void 0===t.httpAgent?m&&(p.agent=e.tlsRestrictedAgent):p.agent=t.httpAgent,m?i.request(p,u):o.request(p,u)},e.safeIncludeCorrelationHeader=function(t,n,r){var o;if("string"==typeof r)o=r;else if(r instanceof Array)o=r.join(",");else if(r&&"function"==typeof r.toString)try{o=r.toString()}catch(e){c.warn("Outgoing request-context header could not be read. Correlation of requests may be lost.",e,r)}o?e.addCorrelationIdHeaderFromString(t,n,o):n.setHeader(u.requestContextHeader,u.requestContextSourceKey+"="+t.config.correlationId)},e.dumpObj=function(e){var t=Object.prototype.toString.call(e);return t+("[object Error]"===t?"{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e.name+"'":JSON.stringify(e))},e.addCorrelationIdHeaderFromString=function(e,t,n){var r=n.split(","),o=u.requestContextSourceKey+"=";r.some((function(e){return e.substring(0,o.length)===o}))||t.setHeader(u.requestContextHeader,n+","+u.requestContextSourceKey+"="+e.config.correlationId)},e.MAX_PROPERTY_LENGTH=8192,e.tlsRestrictedAgent=new i.Agent({keepAlive:!0,maxSockets:25,secureOptions:s.SSL_OP_NO_SSLv2|s.SSL_OP_NO_SSLv3|s.SSL_OP_NO_TLSv1|s.SSL_OP_NO_TLSv1_1}),e}();t.exports=l})),ln=_(((e,t)=>{"use strict";var n=un(),r=I(),o=function(){function e(){}return e.queryCorrelationId=function(t,o){var i=t.profileQueryEndpoint+"/api/profiles/"+t.instrumentationKey+"/appId";if(e.completedLookups.hasOwnProperty(i))o(e.completedLookups[i]);else if(e.pendingLookups[i])e.pendingLookups[i].push(o);else{e.pendingLookups[i]=[o];var a=function(){if(e.pendingLookups[i]){var o={method:"GET",disableAppInsightsAutoCollection:!0};r.info(e.TAG,o);var s=n.makeRequest(t,i,o,(function(n){if(200===n.statusCode){var o="";n.setEncoding("utf-8"),n.on("data",(function(e){o+=e})),n.on("end",(function(){r.info(e.TAG,o);var t=e.correlationIdPrefix+o;e.completedLookups[i]=t,e.pendingLookups[i]&&e.pendingLookups[i].forEach((function(e){return e(t)})),delete e.pendingLookups[i]}))}else n.statusCode>=400&&n.statusCode<500?(e.completedLookups[i]=void 0,delete e.pendingLookups[i]):setTimeout(a,t.correlationIdRetryIntervalMs)}));s&&(s.on("error",(function(t){r.warn(e.TAG,t)})),s.end())}};setTimeout(a,0)}},e.cancelCorrelationIdQuery=function(t,n){var r=t.profileQueryEndpoint+"/api/profiles/"+t.instrumentationKey+"/appId",o=e.pendingLookups[r];o&&(e.pendingLookups[r]=o.filter((function(e){return e!=n})),0==e.pendingLookups[r].length&&delete e.pendingLookups[r])},e.generateRequestId=function(t){if(t){"."!==(t="|"==t[0]?t:"|"+t)[t.length-1]&&(t+=".");var n=(e.currentRootId++).toString(16);return e.appendSuffix(t,n,"_")}return e.generateRootId()},e.getRootId=function(e){var t=e.indexOf(".");t<0&&(t=e.length);var n="|"===e[0]?1:0;return e.substring(n,t)},e.generateRootId=function(){return"|"+n.w3cTraceId()+"."},e.appendSuffix=function(t,r,o){if(t.length+r.length<e.requestIdMaxLength)return t+r+o;var i=e.requestIdMaxLength-9;if(t.length>i)for(;i>1;--i){var a=t[i-1];if("."===a||"_"===a)break}if(i<=1)return e.generateRootId();for(r=n.randomu32().toString(16);r.length<8;)r="0"+r;return t.substring(0,i)+r+"#"},e.TAG="CorrelationIdManager",e.correlationIdPrefix="cid-v1:",e.w3cEnabled=!0,e.pendingLookups={},e.completedLookups={},e.requestIdMaxLength=1024,e.currentRootId=n.randomu32(),e}();t.exports=o})),pn=_(((e,t)=>{"use strict";var n=un(),r=ln(),o=function(){function e(t,o){if(this.traceFlag=e.DEFAULT_TRACE_FLAG,this.version=e.DEFAULT_VERSION,t&&"string"==typeof t)if(t.split(",").length>1)this.traceId=n.w3cTraceId(),this.spanId=n.w3cTraceId().substr(0,16);else{var i=t.trim().split("-"),a=i.length;a>=4?(this.version=i[0],this.traceId=i[1],this.spanId=i[2],this.traceFlag=i[3]):(this.traceId=n.w3cTraceId(),this.spanId=n.w3cTraceId().substr(0,16)),this.version.match(/^[0-9a-f]{2}$/g)||(this.version=e.DEFAULT_VERSION,this.traceId=n.w3cTraceId()),"00"===this.version&&4!==a&&(this.traceId=n.w3cTraceId(),this.spanId=n.w3cTraceId().substr(0,16)),"ff"===this.version&&(this.version=e.DEFAULT_VERSION,this.traceId=n.w3cTraceId(),this.spanId=n.w3cTraceId().substr(0,16)),this.version.match(/^0[0-9a-f]$/g)||(this.version=e.DEFAULT_VERSION),this.traceFlag.match(/^[0-9a-f]{2}$/g)||(this.traceFlag=e.DEFAULT_TRACE_FLAG,this.traceId=n.w3cTraceId()),e.isValidTraceId(this.traceId)||(this.traceId=n.w3cTraceId()),e.isValidSpanId(this.spanId)||(this.spanId=n.w3cTraceId().substr(0,16),this.traceId=n.w3cTraceId()),this.parentId=this.getBackCompatRequestId()}else if(o){this.parentId=o.slice();var s=r.getRootId(o);e.isValidTraceId(s)||(this.legacyRootId=s,s=n.w3cTraceId()),-1!==o.indexOf("|")&&(o=o.substring(1+o.substring(0,o.length-1).lastIndexOf("."),o.length-1)),this.traceId=s,this.spanId=o}else this.traceId=n.w3cTraceId(),this.spanId=n.w3cTraceId().substr(0,16)}return e.isValidTraceId=function(e){return e.match(/^[0-9a-f]{32}$/)&&"00000000000000000000000000000000"!==e},e.isValidSpanId=function(e){return e.match(/^[0-9a-f]{16}$/)&&"0000000000000000"!==e},e.formatOpenTelemetryTraceFlags=function(e){var t="0"+e.toString(16);return t.substring(t.length-2)},e.prototype.getBackCompatRequestId=function(){return"|"+this.traceId+"."+this.spanId+"."},e.prototype.toString=function(){return this.version+"-"+this.traceId+"-"+this.spanId+"-"+this.traceFlag},e.prototype.updateSpanId=function(){this.spanId=n.w3cTraceId().substr(0,16)},e.DEFAULT_TRACE_FLAG="01",e.DEFAULT_VERSION="00",e}();t.exports=o})),dn=_(((e,t)=>{"use strict";var n=function(){function e(e){this.fieldmap=[],e&&(this.fieldmap=this.parseHeader(e))}return e.prototype.toString=function(){var e=this.fieldmap;return e&&0!=e.length?e.join(", "):null},e.validateKeyChars=function(e){var t=e.split("@");if(2==t.length){var n=t[0].trim(),r=t[1].trim(),o=Boolean(n.match(/^[\ ]?[a-z0-9\*\-\_/]{1,241}$/)),i=Boolean(r.match(/^[\ ]?[a-z0-9\*\-\_/]{1,14}$/));return o&&i}return 1==t.length&&Boolean(e.match(/^[\ ]?[a-z0-9\*\-\_/]{1,256}$/))},e.prototype.parseHeader=function(t){var n=[],r={},o=t.split(",");if(o.length>32)return null;for(var i=0,a=o;i<a.length;i++){var s=a[i].trim();if(0!==s.length){var c=s.split("=");if(2!==c.length||!e.validateKeyChars(c[0])||r[c[0]])return null;r[c[0]]=!0,n.push(s)}}return n},e.strict=!0,e}();t.exports=n})),hn=_(((e,t)=>{"use strict";t.exports=function(){}})),mn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return r(t,e),t}(hn());t.exports=o})),fn=_(((e,t)=>{"use strict";t.exports=function(){}})),gn=_(((e,t)=>{"use strict";t.exports=function(){this.applicationVersion="ai.application.ver",this.deviceId="ai.device.id",this.deviceLocale="ai.device.locale",this.deviceModel="ai.device.model",this.deviceOEMName="ai.device.oemName",this.deviceOSVersion="ai.device.osVersion",this.deviceType="ai.device.type",this.locationIp="ai.location.ip",this.operationId="ai.operation.id",this.operationName="ai.operation.name",this.operationParentId="ai.operation.parentId",this.operationSyntheticSource="ai.operation.syntheticSource",this.operationCorrelationVector="ai.operation.correlationVector",this.sessionId="ai.session.id",this.sessionIsFirst="ai.session.isFirst",this.userAccountId="ai.user.accountId",this.userId="ai.user.id",this.userAuthUserId="ai.user.authUserId",this.cloudRole="ai.cloud.role",this.cloudRoleInstance="ai.cloud.roleInstance",this.internalSdkVersion="ai.internal.sdkVersion",this.internalAgentVersion="ai.internal.agentVersion",this.internalNodeName="ai.internal.nodeName"}})),vn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){return e.call(this)||this}return r(t,e),t}(fn());t.exports=o})),yn=_(((e,t)=>{"use strict";var n,r;(r=n||(n={}))[r.Measurement=0]="Measurement",r[r.Aggregation=1]="Aggregation",t.exports=n})),bn=_(((e,t)=>{"use strict";var n=yn();t.exports=function(){this.kind=n.Measurement}})),_n=_(((e,t)=>{"use strict";t.exports=function(){this.ver=1,this.sampleRate=100,this.tags={}}})),En=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return r(t,e),t}(hn());t.exports=o})),wn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.exceptions=[],t.properties={},t.measurements={},t}return r(t,e),t}(hn());t.exports=o})),kn=_(((e,t)=>{"use strict";t.exports=function(){this.hasFullStack=!0,this.parsedStack=[]}})),Tn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t}return r(t,e),t}(hn());t.exports=o})),Sn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.metrics=[],t.properties={},t}return r(t,e),t}(hn());t.exports=o})),xn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return r(t,e),t}(En());t.exports=o})),Cn=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.success=!0,t.properties={},t.measurements={},t}return r(t,e),t}(hn());t.exports=o})),An=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(e){function t(){var t=e.call(this)||this;return t.ver=2,t.properties={},t.measurements={},t}return r(t,e),t}(hn());t.exports=o})),In=_(((e,t)=>{"use strict";var n,r;(r=n||(n={}))[r.Verbose=0]="Verbose",r[r.Information=1]="Information",r[r.Warning=2]="Warning",r[r.Error=3]="Error",r[r.Critical=4]="Critical",t.exports=n})),Rn=_(((e,t)=>{"use strict";t.exports=function(){}})),Pn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AvailabilityData=mn(),e.Base=fn(),e.ContextTagKeys=gn(),e.Data=vn(),e.DataPoint=bn(),e.DataPointType=yn(),e.Domain=hn(),e.Envelope=_n(),e.EventData=En(),e.ExceptionData=wn(),e.ExceptionDetails=kn(),e.MessageData=Tn(),e.MetricData=Sn(),e.PageViewData=xn(),e.RemoteDependencyData=Cn(),e.RequestData=An(),e.SeverityLevel=In(),e.StackFrame=Rn()})),On=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.domainSupportsProperties=e.RemoteDependencyDataConstants=void 0;var t=Pn(),n=function(){function e(){}return e.TYPE_HTTP="Http",e.TYPE_AI="Http (tracked component)",e}();e.RemoteDependencyDataConstants=n,e.domainSupportsProperties=function(e){return"properties"in e||e instanceof t.EventData||e instanceof t.ExceptionData||e instanceof t.MessageData||e instanceof t.MetricData||e instanceof t.PageViewData||e instanceof t.RemoteDependencyData||e instanceof t.RequestData}})),jn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Nn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Dn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Mn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Ln=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),zn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Fn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Un=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),qn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Bn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Hn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Vn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Gn=_((e=>{"use strict";var t,n;Object.defineProperty(e,"__esModule",{value:!0}),e.TelemetryType=e.TelemetryTypeString=e.baseTypeToTelemetryType=e.telemetryTypeToBaseType=void 0,e.telemetryTypeToBaseType=function(e){switch(e){case t.Event:return"EventData";case t.Exception:return"ExceptionData";case t.Trace:return"MessageData";case t.Metric:return"MetricData";case t.Request:return"RequestData";case t.Dependency:return"RemoteDependencyData";case t.Availability:return"AvailabilityData";case t.PageView:return"PageViewData"}},e.baseTypeToTelemetryType=function(e){switch(e){case"EventData":return t.Event;case"ExceptionData":return t.Exception;case"MessageData":return t.Trace;case"MetricData":return t.Metric;case"RequestData":return t.Request;case"RemoteDependencyData":return t.Dependency;case"AvailabilityData":return t.Availability;case"PageViewData":return t.PageView}},e.TelemetryTypeString={Event:"EventData",Exception:"ExceptionData",Trace:"MessageData",Metric:"MetricData",Request:"RequestData",Dependency:"RemoteDependencyData",Availability:"AvailabilityData",PageView:"PageViewData"},(n=t=e.TelemetryType||(e.TelemetryType={}))[n.Event=0]="Event",n[n.Exception=1]="Exception",n[n.Trace=2]="Trace",n[n.Metric=3]="Metric",n[n.Request=4]="Request",n[n.Dependency=5]="Dependency",n[n.Availability=6]="Availability",n[n.PageView=7]="PageView"})),$n=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(jn(),e),n(Nn(),e),n(Dn(),e),n(Mn(),e),n(Ln(),e),n(zn(),e),n(Fn(),e),n(Un(),e),n(qn(),e),n(Bn(),e),n(Hn(),e),n(Vn(),e),n(Gn(),e)})),Kn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Wn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Qn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Yn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Xn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Jn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),Zn=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),er=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),tr=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(Kn(),e),n(Wn(),e),n(Qn(),e),n(Yn(),e),n(Xn(),e),n(Jn(),e),n(Zn(),e),n(er(),e)})),nr=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(On(),e),n(Pn(),e),n($n(),e),n(tr(),e)})),rr=_(((e,t)=>{"use strict";var n=function(){function e(){}return e.prototype.getUrl=function(){return this.url},e.prototype.RequestParser=function(){this.startTime=+new Date},e.prototype._setStatus=function(e,t){var n=+new Date;this.duration=n-this.startTime,this.statusCode=e;var r=this.properties||{};if(t)if("string"==typeof t)r.error=t;else if(t instanceof Error)r.error=t.message;else if("object"==typeof t)for(var o in t)r[o]=t[o]&&t[o].toString&&t[o].toString();this.properties=r},e.prototype._isSuccess=function(){return 0<this.statusCode&&this.statusCode<400},e}();t.exports=n})),or=_(((e,t)=>{"use strict";var r,o=e&&e.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=n(7310),a=nr(),s=un(),c=cn(),u=rr(),l=ln(),p=dn(),d=pn(),h=function(e){function t(t,n){var r=e.call(this)||this;return t&&(r.method=t.method,r.url=r._getAbsoluteUrl(t),r.startTime=+new Date,r.socketRemoteAddress=t.socket&&t.socket.remoteAddress,r.parseHeaders(t,n),t.connection&&(r.connectionRemoteAddress=t.connection.remoteAddress,r.legacySocketRemoteAddress=t.connection.socket&&t.connection.socket.remoteAddress)),r}return o(t,e),t.prototype.onError=function(e,t){this._setStatus(void 0,e),t&&(this.duration=t)},t.prototype.onResponse=function(e,t){this._setStatus(e.statusCode,void 0),t&&(this.duration=t)},t.prototype.getRequestTelemetry=function(e){var t={id:this.requestId,name:this.method+" "+i.parse(this.url).pathname,url:this.url,source:this.sourceCorrelationId,duration:this.duration,resultCode:this.statusCode?this.statusCode.toString():null,success:this._isSuccess(),properties:this.properties};if(e&&e.time?t.time=e.time:this.startTime&&(t.time=new Date(this.startTime)),e){for(var n in e)t[n]||(t[n]=e[n]);if(e.properties)for(var n in e.properties)t.properties[n]=e.properties[n]}return t},t.prototype.getRequestTags=function(e){var n={};for(var r in e)n[r]=e[r];return n[t.keys.locationIp]=e[t.keys.locationIp]||this._getIp(),n[t.keys.sessionId]=e[t.keys.sessionId]||this._getId("ai_session"),n[t.keys.userId]=e[t.keys.userId]||this._getId("ai_user"),n[t.keys.userAuthUserId]=e[t.keys.userAuthUserId]||this._getId("ai_authUser"),n[t.keys.operationName]=this.getOperationName(e),n[t.keys.operationParentId]=this.getOperationParentId(e),n[t.keys.operationId]=this.getOperationId(e),n},t.prototype.getOperationId=function(e){return e[t.keys.operationId]||this.operationId},t.prototype.getOperationParentId=function(e){return e[t.keys.operationParentId]||this.parentId||this.getOperationId(e)},t.prototype.getOperationName=function(e){return e[t.keys.operationName]||this.method+" "+i.parse(this.url).pathname},t.prototype.getRequestId=function(){return this.requestId},t.prototype.getCorrelationContextHeader=function(){return this.correlationContextHeader},t.prototype.getTraceparent=function(){return this.traceparent},t.prototype.getTracestate=function(){return this.tracestate},t.prototype.getLegacyRootId=function(){return this.legacyRootId},t.prototype._getAbsoluteUrl=function(e){if(!e.headers)return e.url;var t=e.connection?e.connection.encrypted:null,n=i.parse(e.url),r=n.pathname,o=n.search,a=t||"https"==e.headers["x-forwarded-proto"]?"https":"http";return i.format({protocol:a,host:e.headers.host,pathname:r,search:o})},t.prototype._getIp=function(){var e=/[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/,t=function(t){var n=e.exec(t);if(n)return n[0]},n=t(this.rawHeaders["x-forwarded-for"])||t(this.rawHeaders["x-client-ip"])||t(this.rawHeaders["x-real-ip"])||t(this.connectionRemoteAddress)||t(this.socketRemoteAddress)||t(this.legacySocketRemoteAddress);return!n&&this.connectionRemoteAddress&&this.connectionRemoteAddress.substr&&"::"===this.connectionRemoteAddress.substr(0,2)&&(n="127.0.0.1"),n},t.prototype._getId=function(e){var n=this.rawHeaders&&this.rawHeaders.cookie&&"string"==typeof this.rawHeaders.cookie&&this.rawHeaders.cookie||"";return t.parseId(s.getCookie(e,n))},t.prototype.setBackCompatFromThisTraceContext=function(){this.operationId=this.traceparent.traceId,this.traceparent.legacyRootId&&(this.legacyRootId=this.traceparent.legacyRootId),this.parentId=this.traceparent.parentId,this.traceparent.updateSpanId(),this.requestId=this.traceparent.getBackCompatRequestId()},t.prototype.parseHeaders=function(e,t){if(this.rawHeaders=e.headers||e.rawHeaders,this.userAgent=e.headers&&e.headers["user-agent"],this.sourceCorrelationId=s.getCorrelationContextTarget(e,c.requestContextSourceKey),e.headers){var n=e.headers[c.traceStateHeader]?e.headers[c.traceStateHeader].toString():null,r=e.headers[c.traceparentHeader]?e.headers[c.traceparentHeader].toString():null,o=e.headers[c.requestIdHeader]?e.headers[c.requestIdHeader].toString():null,i=e.headers[c.parentIdHeader]?e.headers[c.parentIdHeader].toString():null,a=e.headers[c.rootIdHeader]?e.headers[c.rootIdHeader].toString():null;this.correlationContextHeader=e.headers[c.correlationContextHeader]?e.headers[c.correlationContextHeader].toString():null,l.w3cEnabled&&(r||n)?(this.traceparent=new d(r?r.toString():null),this.tracestate=r&&n&&new p(n?n.toString():null),this.setBackCompatFromThisTraceContext()):o?l.w3cEnabled?(this.traceparent=new d(null,o),this.setBackCompatFromThisTraceContext()):(this.parentId=o,this.requestId=l.generateRequestId(this.parentId),this.operationId=l.getRootId(this.requestId)):l.w3cEnabled?(this.traceparent=new d,this.traceparent.parentId=i,this.traceparent.legacyRootId=a||i,this.setBackCompatFromThisTraceContext()):(this.parentId=i,this.requestId=l.generateRequestId(a||this.parentId),this.correlationContextHeader=null,this.operationId=l.getRootId(this.requestId)),t&&(this.requestId=t,this.operationId=l.getRootId(this.requestId))}},t.parseId=function(e){var t=e.split("|");return t.length>0?t[0]:""},t.keys=new a.ContextTagKeys,t}(u);t.exports=h})),ir=_(((e,t)=>{var n;e=t.exports=K,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=e.re=[],a=e.src=[],s=0,c=s++;a[c]="0|[1-9]\\d*";var u=s++;a[u]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=s++;a[p]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var d=s++;a[d]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var h=s++;a[h]="(?:"+a[c]+"|"+a[l]+")";var m=s++;a[m]="(?:"+a[u]+"|"+a[l]+")";var f=s++;a[f]="(?:-("+a[h]+"(?:\\."+a[h]+")*))";var g=s++;a[g]="(?:-?("+a[m]+"(?:\\."+a[m]+")*))";var v=s++;a[v]="[0-9A-Za-z-]+";var y=s++;a[y]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var b=s++,_="v?"+a[p]+a[f]+"?"+a[y]+"?";a[b]="^"+_+"$";var E="[v=\\s]*"+a[d]+a[g]+"?"+a[y]+"?",w=s++;a[w]="^"+E+"$";var k=s++;a[k]="((?:<|>)?=?)";var T=s++;a[T]=a[u]+"|x|X|\\*";var S=s++;a[S]=a[c]+"|x|X|\\*";var x=s++;a[x]="[v=\\s]*("+a[S]+")(?:\\.("+a[S]+")(?:\\.("+a[S]+")(?:"+a[f]+")?"+a[y]+"?)?)?";var C=s++;a[C]="[v=\\s]*("+a[T]+")(?:\\.("+a[T]+")(?:\\.("+a[T]+")(?:"+a[g]+")?"+a[y]+"?)?)?";var A=s++;a[A]="^"+a[k]+"\\s*"+a[x]+"$";var I=s++;a[I]="^"+a[k]+"\\s*"+a[C]+"$";var R=s++;a[R]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var P=s++;a[P]="(?:~>?)";var O=s++;a[O]="(\\s*)"+a[P]+"\\s+",i[O]=new RegExp(a[O],"g");var j=s++;a[j]="^"+a[P]+a[x]+"$";var N=s++;a[N]="^"+a[P]+a[C]+"$";var D=s++;a[D]="(?:\\^)";var M=s++;a[M]="(\\s*)"+a[D]+"\\s+",i[M]=new RegExp(a[M],"g");var L=s++;a[L]="^"+a[D]+a[x]+"$";var z=s++;a[z]="^"+a[D]+a[C]+"$";var F=s++;a[F]="^"+a[k]+"\\s*("+E+")$|^$";var U=s++;a[U]="^"+a[k]+"\\s*("+_+")$|^$";var q=s++;a[q]="(\\s*)"+a[k]+"\\s*("+E+"|"+a[x]+")",i[q]=new RegExp(a[q],"g");var B=s++;a[B]="^\\s*("+a[x]+")\\s+-\\s+("+a[x]+")\\s*$";var H=s++;a[H]="^\\s*("+a[C]+")\\s+-\\s+("+a[C]+")\\s*$";var V,G=s++;for(a[G]="(<|>)?=?\\s*\\*",V=0;V<35;V++)n(V,a[V]),i[V]||(i[V]=new RegExp(a[V]));function $(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K)return e;if("string"!=typeof e||e.length>r)return null;if(!(t.loose?i[w]:i[b]).test(e))return null;try{return new K(e,t)}catch{return null}}function K(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof K))return new K(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?i[w]:i[b]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}e.parse=$,e.valid=function(e,t){var n=$(e,t);return n?n.version:null},e.clean=function(e,t){var n=$(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},e.SemVer=K,K.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},K.prototype.toString=function(){return this.version},K.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof K||(e=new K(e,this.options)),this.compareMain(e)||this.comparePre(e)},K.prototype.compareMain=function(e){return e instanceof K||(e=new K(e,this.options)),Q(this.major,e.major)||Q(this.minor,e.minor)||Q(this.patch,e.patch)},K.prototype.comparePre=function(e){if(e instanceof K||(e=new K(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return Q(r,o)}while(++t)},K.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},e.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new K(e,n).inc(t,r).version}catch{return null}},e.diff=function(e,t){if(Z(e,t))return null;var n=$(e),r=$(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},e.compareIdentifiers=Q;var W=/^[0-9]+$/;function Q(e,t){var n=W.test(e),r=W.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function Y(e,t,n){return new K(e,n).compare(new K(t,n))}function X(e,t,n){return Y(e,t,n)>0}function J(e,t,n){return Y(e,t,n)<0}function Z(e,t,n){return 0===Y(e,t,n)}function ee(e,t,n){return 0!==Y(e,t,n)}function te(e,t,n){return Y(e,t,n)>=0}function ne(e,t,n){return Y(e,t,n)<=0}function re(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return Z(e,n,r);case"!=":return ee(e,n,r);case">":return X(e,n,r);case">=":return te(e,n,r);case"<":return J(e,n,r);case"<=":return ne(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function oe(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof oe){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}e.rcompareIdentifiers=function(e,t){return Q(t,e)},e.major=function(e,t){return new K(e,t).major},e.minor=function(e,t){return new K(e,t).minor},e.patch=function(e,t){return new K(e,t).patch},e.compare=Y,e.compareLoose=function(e,t){return Y(e,t,!0)},e.rcompare=function(e,t,n){return Y(t,e,n)},e.sort=function(t,n){return t.sort((function(t,r){return e.compare(t,r,n)}))},e.rsort=function(t,n){return t.sort((function(t,r){return e.rcompare(t,r,n)}))},e.gt=X,e.lt=J,e.eq=Z,e.neq=ee,e.gte=te,e.lte=ne,e.cmp=re,e.Comparator=oe;var ie={};function ae(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,u,l,p,d){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(u)?"<"+(+c+1)+".0.0":se(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+s)).trim()}function ue(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==ie&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function le(e,t,n){try{t=new ae(t,n)}catch{return!1}return t.test(e)}function pe(e,t,n,r){var o,i,a,s,c;switch(e=new K(e,r),t=new ae(t,r),n){case">":o=X,i=ne,a=J,s=">",c=">=";break;case"<":o=J,i=te,a=X,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],p=null,d=null;if(l.forEach((function(e){e.semver===ie&&(e=new oe(">=0.0.0")),p=p||e,d=d||e,o(e.semver,p.semver,r)?p=e:a(e.semver,d.semver,r)&&(d=e)})),p.operator===s||p.operator===c||(!d.operator||d.operator===s)&&i(e,d.semver))return!1;if(d.operator===c&&a(e,d.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.options.loose?i[F]:i[U],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new K(n[2],this.options.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===ie||("string"==typeof e&&(e=new K(e,this.options)),re(e,this.operator,this.semver,this.options))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new ae(e.value,t),le(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),le(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},e.Range=ae,ae.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[H]:i[B];e=e.replace(r,ce),n("hyphen replace",e),e=e.replace(i[q],"$1$2$3"),n("comparator trim",e,i[q]),e=(e=(e=e.replace(i[O],"$1~")).replace(i[M],"$1^")).split(/\s+/).join(" ");var o=t?i[F]:i[U],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[z]:i[L];return e.replace(r,(function(t,r,o,i,a){var s;return n("caret",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[N]:i[j];return e.replace(r,(function(t,r,o,i,a){var s;return n("tilde",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):s=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[I]:i[A];return e.replace(r,(function(t,r,o,i,a,s){n("xRange",e,t,r,o,i,a,s);var c=se(o),u=c||se(i),l=u||se(a);return"="===r&&l&&(r=""),c?t=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(i=0),a=0,">"===r?(r=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),t=r+o+"."+i+"."+a):u?t=">="+o+".0.0 <"+(+o+1)+".0.0":l&&(t=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"),n("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[G],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a.map((function(e){return new oe(e,this.options)}),this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some((function(n){return n.every((function(n){return e.set.some((function(e){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},e.toComparators=function(e,t){return new ae(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new K(e,this.options));for(var t=0;t<this.set.length;t++)if(ue(this.set[t],e,this.options))return!0;return!1},e.satisfies=le,e.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||-1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minVersion=function(e,t){e=new ae(e,t);var n=new K("0.0.0");if(e.test(n)||(n=new K("0.0.0-0"),e.test(n)))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new K(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!n||X(n,t))&&(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},e.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch{return null}},e.ltr=function(e,t,n){return pe(e,t,"<",n)},e.gtr=function(e,t,n){return pe(e,t,">",n)},e.outside=pe,e.prerelease=function(e,t){var n=$(e,t);return n&&n.prerelease.length?n.prerelease:null},e.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},e.coerce=function(e){if(e instanceof K)return e;if("string"!=typeof e)return null;var t=e.match(i[R]);return null==t?null:$(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}})),ar=_(((e,t)=>{"use strict";function n(e){return"function"==typeof e}var r=console.error.bind(console);function o(e,t,n){var r=!!e[t]&&e.propertyIsEnumerable(t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}function i(e){e&&e.logger&&(n(e.logger)?r=e.logger:r("new logger isn't a function, not replacing"))}function a(e,t,i){if(e&&e[t]){if(!i)return r("no wrapper function"),void r((new Error).stack);if(n(e[t])&&n(i)){var a=e[t],s=i(a,t);return o(s,"__original",a),o(s,"__unwrap",(function(){e[t]===s&&o(e,t,a)})),o(s,"__wrapped",!0),o(e,t,s),s}r("original object and wrapper must be functions")}else r("no original function "+t+" to wrap")}function s(e,t){return e&&e[t]?e[t].__unwrap?e[t].__unwrap():void r("no original to unwrap to -- has "+t+" already been unwrapped?"):(r("no function to unwrap."),void r((new Error).stack))}i.wrap=a,i.massWrap=function(e,t,n){if(!e)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(e)||(e=[e]),t&&Array.isArray(t)?e.forEach((function(e){t.forEach((function(t){a(e,t,n)}))})):r("must provide one or more functions to wrap on modules")},i.unwrap=s,i.massUnwrap=function(e,t){if(!e)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(e)||(e=[e]),t&&Array.isArray(t)?e.forEach((function(e){t.forEach((function(t){s(e,t)}))})):r("must provide one or more functions to unwrap on modules")},t.exports=i})),sr=_(((e,t)=>{"use strict";var n=ar(),r=n.wrap,o=n.unwrap,i="wrap@before";function a(e,t,n){var r=!!e[t]&&e.propertyIsEnumerable(t);Object.defineProperty(e,t,{configurable:!0,enumerable:r,writable:!0,value:n})}function s(e,t){var n;return n=e._events&&e._events[t],Array.isArray(n)||(n=n?[n]:[]),n}function c(e,t){if(e){var n=e;if("function"==typeof e)n=t(e);else if(Array.isArray(e)){n=[];for(var r=0;r<e.length;r++)n[r]=t(e[r])}return n}}t.exports=function(e,t,n){if(!(e&&e.on&&e.addListener&&e.removeListener&&e.emit))throw new Error("can only wrap real EEs");if(!t)throw new Error("must have function to run on listener addition");if(!n)throw new Error("must have function to wrap listeners when emitting");function u(e){return function(t,n){var o=s(this,t).slice();try{var a=e.call(this,t,n);return function(e,t,n){var r=s(e,t).filter((function(e){return-1===n.indexOf(e)}));r.length>0&&function(e,t){for(var n=t.length,r=0;r<n;r++){var o=t[r],a=e[i];if("function"==typeof a)a(o);else if(Array.isArray(a))for(var s=a.length,c=0;c<s;c++)a[c](o)}}(e,r)}(this,t,o),a}finally{this.on.__wrapped||r(this,"on",u),this.addListener.__wrapped||r(this,"addListener",u)}}}e[i]?"function"==typeof e[i]?a(e,i,[e[i],t]):Array.isArray(e[i])&&e[i].push(t):a(e,i,t),e.__wrapped||(r(e,"addListener",u),r(e,"on",u),r(e,"emit",(function(e){return function(t){if(!this._events||!this._events[t])return e.apply(this,arguments);var i=this._events[t];r(this,"removeListener",(function(e){return function(){this._events[t]=i;try{return e.apply(this,arguments)}finally{i=this._events[t],this._events[t]=c(i,n)}}}));try{return this._events[t]=c(i,n),e.apply(this,arguments)}finally{o(this,"removeListener"),this._events[t]=i}}})),a(e,"__unwrap",(function(){o(e,"addListener"),o(e,"on"),o(e,"emit"),delete e[i],delete e.__wrapped})),a(e,"__wrapped",!0))}})),cr=_(((e,t)=>{"use strict";var r=n(3837),o=n(9491),i=sr(),a=n(852),s="cls@contexts",c="error@context",u=process.env.DEBUG_CLS_HOOKED,l=-1;function p(e){this.name=e,this.active=null,this._set=[],this.id=null,this._contexts=new Map,this._indent=0}function d(e){return process.namespaces[e]}function h(e){let t=d(e);o.ok(t,"can't delete nonexistent namespace! \""+e+'"'),o.ok(t.id,"don't assign to process.namespaces directly! "+r.inspect(t)),process.namespaces[e]=null}function m(...e){u&&process._rawDebug(`${r.format(...e)}`)}t.exports={getNamespace:d,createNamespace:function(e){o.ok(e,"namespace must be given a name."),u&&m(`NS-CREATING NAMESPACE (${e})`);let t=new p(e);return t.id=l,a.createHook({init(n,o,i,s){if(l=a.executionAsyncId(),t.active)t._contexts.set(n,t.active),u&&m(`${" ".repeat(t._indent<0?0:t._indent)}INIT [${o}] (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} resource:${s}`);else if(0===l){let i=a.triggerAsyncId(),c=t._contexts.get(i);c?(t._contexts.set(n,c),u&&m(`${" ".repeat(t._indent<0?0:t._indent)}INIT USING CONTEXT FROM TRIGGERID [${o}] (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} resource:${s}`)):u&&m(`${" ".repeat(t._indent<0?0:t._indent)}INIT MISSING CONTEXT [${o}] (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} resource:${s}`)}if(u&&"PROMISE"===o){m(r.inspect(s,{showHidden:!0}));let a=s.parentId;m(`${" ".repeat(t._indent<0?0:t._indent)}INIT RESOURCE-PROMISE [${o}] (${e}) parentId:${a} asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} resource:${s}`)}},before(n){let o;if(l=a.executionAsyncId(),o=t._contexts.get(n)||t._contexts.get(l),o){if(u){let i=a.triggerAsyncId();m(`${" ".repeat(t._indent<0?0:t._indent)}BEFORE (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} context:${r.inspect(o)}`),t._indent+=2}t.enter(o)}else if(u){let o=a.triggerAsyncId();m(`${" ".repeat(t._indent<0?0:t._indent)}BEFORE MISSING CONTEXT (${e}) asyncId:${n} currentUid:${l} triggerId:${o} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} namespace._contexts:${r.inspect(t._contexts,{showHidden:!0,depth:2,colors:!0})}`),t._indent+=2}},after(n){let o;if(l=a.executionAsyncId(),o=t._contexts.get(n)||t._contexts.get(l),o){if(u){let i=a.triggerAsyncId();t._indent-=2,m(`${" ".repeat(t._indent<0?0:t._indent)}AFTER (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} context:${r.inspect(o)}`)}t.exit(o)}else if(u){let i=a.triggerAsyncId();t._indent-=2,m(`${" ".repeat(t._indent<0?0:t._indent)}AFTER MISSING CONTEXT (${e}) asyncId:${n} currentUid:${l} triggerId:${i} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} context:${r.inspect(o)}`)}},destroy(n){if(l=a.executionAsyncId(),u){let o=a.triggerAsyncId();m(`${" ".repeat(t._indent<0?0:t._indent)}DESTROY (${e}) currentUid:${l} asyncId:${n} triggerId:${o} active:${r.inspect(t.active,{showHidden:!0,depth:2,colors:!0})} context:${r.inspect(t._contexts.get(l))}`)}t._contexts.delete(n)}}).enable(),process.namespaces[e]=t,t},destroyNamespace:h,reset:function(){process.namespaces&&Object.keys(process.namespaces).forEach((function(e){h(e)})),process.namespaces=Object.create(null)},ERROR_SYMBOL:c},p.prototype.set=function(e,t){if(!this.active)throw new Error("No context available. ns.run() or ns.bind() must be called first.");return this.active[e]=t,u&&m(" ".repeat(this._indent<0?0:this._indent)+"CONTEXT-SET KEY:"+e+"="+t+" in ns:"+this.name+" currentUid:"+l+" active:"+r.inspect(this.active,{showHidden:!0,depth:2,colors:!0})),t},p.prototype.get=function(e){if(this.active){if(u){let t=a.executionAsyncId(),n=a.triggerAsyncId(),o=" ".repeat(this._indent<0?0:this._indent);m(o+"CONTEXT-GETTING KEY:"+e+"="+this.active[e]+" ("+this.name+") currentUid:"+l+" active:"+r.inspect(this.active,{showHidden:!0,depth:2,colors:!0})),m(`${o}CONTEXT-GETTING KEY: (${this.name}) ${e}=${this.active[e]} currentUid:${l} asyncHooksCurrentId:${t} triggerId:${n} len:${this._set.length} active:${r.inspect(this.active)}`)}return this.active[e]}if(u){let t=a.currentId(),n=a.triggerAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-GETTING KEY NO ACTIVE NS: (${this.name}) ${e}=undefined currentUid:${l} asyncHooksCurrentId:${t} triggerId:${n} len:${this._set.length}`)}},p.prototype.createContext=function(){let e=Object.create(this.active?this.active:Object.prototype);if(e._ns_name=this.name,e.id=l,u){let t=a.executionAsyncId(),n=a.triggerAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-CREATED Context: (${this.name}) currentUid:${l} asyncHooksCurrentId:${t} triggerId:${n} len:${this._set.length} context:${r.inspect(e,{showHidden:!0,depth:2,colors:!0})}`)}return e},p.prototype.run=function(e){let t=this.createContext();this.enter(t);try{if(u){let e=a.triggerAsyncId(),n=a.executionAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-RUN BEGIN: (${this.name}) currentUid:${l} triggerId:${e} asyncHooksCurrentId:${n} len:${this._set.length} context:${r.inspect(t)}`)}return e(t),t}catch(e){throw e&&(e[c]=t),e}finally{if(u){let e=a.triggerAsyncId(),n=a.executionAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-RUN END: (${this.name}) currentUid:${l} triggerId:${e} asyncHooksCurrentId:${n} len:${this._set.length} ${r.inspect(t)}`)}this.exit(t)}},p.prototype.runAndReturn=function(e){let t;return this.run((function(n){t=e(n)})),t},p.prototype.runPromise=function(e){let t=this.createContext();this.enter(t);let n=e(t);if(!n||!n.then||!n.catch)throw new Error("fn must return a promise.");return u&&m("CONTEXT-runPromise BEFORE: ("+this.name+") currentUid:"+l+" len:"+this._set.length+" "+r.inspect(t)),n.then((e=>(u&&m("CONTEXT-runPromise AFTER then: ("+this.name+") currentUid:"+l+" len:"+this._set.length+" "+r.inspect(t)),this.exit(t),e))).catch((e=>{throw e[c]=t,u&&m("CONTEXT-runPromise AFTER catch: ("+this.name+") currentUid:"+l+" len:"+this._set.length+" "+r.inspect(t)),this.exit(t),e}))},p.prototype.bind=function(e,t){t||(t=this.active?this.active:this.createContext());let n=this;return function(){n.enter(t);try{return e.apply(this,arguments)}catch(e){throw e&&(e[c]=t),e}finally{n.exit(t)}}},p.prototype.enter=function(e){if(o.ok(e,"context must be provided for entering"),u){let t=a.executionAsyncId(),n=a.triggerAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-ENTER: (${this.name}) currentUid:${l} triggerId:${n} asyncHooksCurrentId:${t} len:${this._set.length} ${r.inspect(e)}`)}this._set.push(this.active),this.active=e},p.prototype.exit=function(e){if(o.ok(e,"context must be provided for exiting"),u){let t=a.executionAsyncId(),n=a.triggerAsyncId();m(`${" ".repeat(this._indent<0?0:this._indent)}CONTEXT-EXIT: (${this.name}) currentUid:${l} triggerId:${n} asyncHooksCurrentId:${t} len:${this._set.length} ${r.inspect(e)}`)}if(this.active===e)return o.ok(this._set.length,"can't remove top context"),void(this.active=this._set.pop());let t=this._set.lastIndexOf(e);t<0?(u&&m("??ERROR?? context exiting but not entered - ignoring: "+r.inspect(e)),o.ok(t>=0,"context not currently entered; can't exit. \n"+r.inspect(this)+"\n"+r.inspect(e))):(o.ok(t,"can't remove top context"),this._set.splice(t,1))},p.prototype.bindEmitter=function(e){o.ok(e.on&&e.addListener&&e.emit,"can only bind real EEs");let t=this,n="context@"+this.name;i(e,(function(e){!e||(e[s]||(e[s]=Object.create(null)),e[s][n]={namespace:t,context:t.active})}),(function(e){if(!e||!e[s])return e;let t=e,n=e[s];return Object.keys(n).forEach((function(e){let r=n[e];t=r.namespace.bind(t,r.context)})),t}))},p.prototype.fromException=function(e){return e[c]},process.namespaces={}})),ur=_(((e,t)=>{"use strict";function n(){}t.exports=function(){let e=this._hooks,t=this._state,r=process.nextTick;process.nextTick=function(){if(!t.enabled)return r.apply(process,arguments);let o=new Array(arguments.length);for(let e=0;e<arguments.length;e++)o[e]=arguments[e];let i=o[0];if("function"!=typeof i)throw new TypeError("callback is not a function");let a=new n,s=--t.counter;return e.init.call(a,s,0,null,null),o[0]=function(){e.pre.call(a,s);let t=!0;try{i.apply(this,arguments),t=!1}finally{t&&process.listenerCount("uncaughtException")>0&&process.once("uncaughtException",(function(){e.post.call(a,s,!0),e.destroy.call(null,s)}))}e.post.call(a,s,!1),e.destroy.call(null,s)},r.apply(process,o)}}})),lr=_(((e,t)=>{"use strict";function n(){}t.exports=function(){let e=this._hooks,t=this._state,r=global.Promise,o=r.prototype.then;function i(t,n,r,o){return"function"!=typeof t?o?function(t){return function(n){return e.destroy.call(null,t),n}}(r):function(t){return function(n){throw e.destroy.call(null,t),n}}(r):function(){e.pre.call(n,r);try{return t.apply(this,arguments)}finally{e.post.call(n,r,!1),e.destroy.call(null,r)}}}r.prototype.then=function(r,a){if(!t.enabled)return o.call(this,r,a);let s=new n,c=--t.counter;return e.init.call(s,c,0,null,null),o.call(this,i(r,s,c,!0),i(a,s,c,!1))}}})),pr=_(((e,t)=>{"use strict";var r=n(9512);function o(){}function i(){}function a(){}var s=new Map,c=new Map,u=new Map,l=null,p=!1;function d(e,t,n,o,i,a,s){let c=r[n],u=r[o];r[n]=function(){if(!t.enabled)return c.apply(r,arguments);let n=new Array(arguments.length);for(let e=0;e<arguments.length;e++)n[e]=arguments[e];let o=n[0];if("function"!=typeof o)throw new TypeError('"callback" argument must be a function');let u,d=new i,h=--t.counter;return e.init.call(d,h,0,null,null),n[0]=function(){l=u,e.pre.call(d,h);let t=!0;try{o.apply(this,arguments),t=!1}finally{t&&process.listenerCount("uncaughtException")>0&&process.once("uncaughtException",(function(){e.post.call(d,h,!0),a.delete(u),e.destroy.call(null,h)}))}e.post.call(d,h,!1),l=null,(s||p)&&(p=!1,a.delete(u),e.destroy.call(null,h))},u=c.apply(r,n),a.set(u,h),u},r[o]=function(t){if(l===t&&null!==t)p=!0;else if(a.has(t)){let n=a.get(t);a.delete(t),e.destroy.call(null,n)}u.apply(r,arguments)}}t.exports=function(){d(this._hooks,this._state,"setTimeout","clearTimeout",o,s,!0),d(this._hooks,this._state,"setInterval","clearInterval",i,c,!1),d(this._hooks,this._state,"setImmediate","clearImmediate",a,u,!0),global.setTimeout=r.setTimeout,global.setInterval=r.setInterval,global.setImmediate=r.setImmediate,global.clearTimeout=r.clearTimeout,global.clearInterval=r.clearInterval,global.clearImmediate=r.clearImmediate}})),dr=_(((e,t)=>{t.exports={name:"async-hook-jl",description:"Inspect the life of handle objects in node",version:"1.7.6",author:"Andreas Madsen <amwebdk@gmail.com>",main:"./index.js",scripts:{test:"node ./test/runner.js && eslint ."},repository:{type:"git",url:"git://github.com/jeff-lewis/async-hook-jl.git"},keywords:["async","async hooks","inspect","async wrap"],license:"MIT",dependencies:{"stack-chain":"^1.3.7"},devDependencies:{async:"1.5.x","cli-color":"1.1.x",eslint:"^3.4.0",endpoint:"0.4.x"},engines:{node:"^4.7 || >=6.9 || >=7.3"}}})),hr=_(((e,t)=>{"use strict";var n=process.binding("async_wrap"),r=n.Providers.TIMERWRAP,o={nextTick:ur(),promise:lr(),timers:pr()},i=new Set;function a(){this.enabled=!1,this.counter=0}function s(){let e=this.initFns=[],t=this.preFns=[],n=this.postFns=[],o=this.destroyFns=[];this.init=function(t,n,o,a){if(n!==r)for(let r of e)r(t,this,n,o,a);else i.add(t)},this.pre=function(e){if(!i.has(e))for(let n of t)n(e,this)},this.post=function(e,t){if(!i.has(e))for(let r of n)r(e,this,t)},this.destroy=function(e){if(i.has(e))i.delete(e);else for(let t of o)t(e)}}function c(e,t){let n=e.indexOf(t);-1!==n&&e.splice(n,1)}function u(){this._state=new a,this._hooks=new s,this.version=dr().version,this.providers=n.Providers;for(let e of Object.keys(o))o[e].call(this);process.env.hasOwnProperty("NODE_ASYNC_HOOK_WARNING")&&console.warn("warning: you are using async-hook-jl which is unstable."),n.setupHooks({init:this._hooks.init,pre:this._hooks.pre,post:this._hooks.post,destroy:this._hooks.destroy})}s.prototype.add=function(e){e.init&&this.initFns.push(e.init),e.pre&&this.preFns.push(e.pre),e.post&&this.postFns.push(e.post),e.destroy&&this.destroyFns.push(e.destroy)},s.prototype.remove=function(e){e.init&&c(this.initFns,e.init),e.pre&&c(this.preFns,e.pre),e.post&&c(this.postFns,e.post),e.destroy&&c(this.destroyFns,e.destroy)},t.exports=u,u.prototype.addHooks=function(e){this._hooks.add(e)},u.prototype.removeHooks=function(e){this._hooks.remove(e)},u.prototype.enable=function(){this._state.enabled=!0,n.enable()},u.prototype.disable=function(){this._state.enabled=!1,n.disable()}})),mr=_(((e,t)=>{t.exports={name:"stack-chain",description:"API for combining call site modifiers",version:"1.3.7",author:"Andreas Madsen <amwebdk@gmail.com>",scripts:{test:"tap ./test/simple"},repository:{type:"git",url:"git://github.com/AndreasMadsen/stack-chain.git"},keywords:["stack","chain","trace","call site","concat","format"],devDependencies:{tap:"2.x.x","uglify-js":"2.5.x"},license:"MIT"}})),fr=_(((e,t)=>{t.exports=function(e,t){var n=[];n.push(function(e){try{return Error.prototype.toString.call(e)}catch(e){try{return"<error: "+e+">"}catch{return"<error>"}}}(e));for(var r=0;r<t.length;r++){var o,i=t[r];try{o=i.toString()}catch(e){try{o="<error: "+e+">"}catch{o="<error>"}}n.push("    at "+o)}return n.join("\n")}})),gr=_(((e,t)=>{var n=fr();function r(){this.extend=new a,this.filter=new a,this.format=new s,this.version=mr().version}var o=!1;r.prototype.callSite=function e(t){t||(t={}),o=!0;var n={};Error.captureStackTrace(n,e);var r=n.stack;return o=!1,r=r.slice(t.slice||0),t.extend&&(r=this.extend._modify(n,r)),t.filter&&(r=this.filter._modify(n,r)),r};var i=new r;function a(){this._modifiers=[]}function s(){this._formater=n,this._previous=void 0}a.prototype._modify=function(e,t){for(var n=0,r=this._modifiers.length;n<r;n++)t=this._modifiers[n](e,t);return t},a.prototype.attach=function(e){this._modifiers.push(e)},a.prototype.deattach=function(e){var t=this._modifiers.indexOf(e);return-1!==t&&(this._modifiers.splice(t,1),!0)},s.prototype.replace=function(e){e?this._formater=e:this.restore()},s.prototype.restore=function(){this._formater=n,this._previous=void 0},s.prototype._backup=function(){this._previous=this._formater},s.prototype._roolback=function(){this._previous===n?this.replace(void 0):this.replace(this._previous),this._previous=void 0},Error.prepareStackTrace&&i.format.replace(Error.prepareStackTrace);var c=!1;function u(e,t){if(o)return t;if(c)return n(e,t);var r=t.concat();r=i.extend._modify(e,r),r=(r=i.filter._modify(e,r)).slice(0,Error.stackTraceLimit),Object.isExtensible(e)&&void 0===Object.getOwnPropertyDescriptor(e,"callSite")&&(e.callSite={original:t,mutated:r}),c=!0;var a=i.format._formater(e,r);return c=!1,a}Object.defineProperty(Error,"prepareStackTrace",{get:function(){return u},set:function(e){e===u?i.format._roolback():(i.format._backup(),i.format.replace(e))}}),Object.defineProperty(Error.prototype,"callSite",{get:function(){return this.stack,this.callSite},set:function(e){Object.defineProperty(this,"callSite",{value:e,writable:!0,configurable:!0})},configurable:!0}),t.exports=i})),vr=_(((e,t)=>{if(global._stackChain){if(global._stackChain.version!==mr().version)throw new Error("Conflicting version of stack-chain found");t.exports=global._stackChain}else t.exports=global._stackChain=gr()})),yr=_(((e,t)=>{"use strict";var n=hr();if(global._asyncHook){if(global._asyncHook.version!==dr().version)throw new Error("Conflicting version of async-hook-jl found");t.exports=global._asyncHook}else vr().filter.attach((function(e,t){return t.filter((function(e){let t=e.getFileName();return!(t&&t.slice(0,__dirname.length)===__dirname)}))})),t.exports=global._asyncHook=new n})),br=_(((e,t)=>{"use strict";var r=n(3837),o=n(9491),i=sr(),a=yr(),s="cls@contexts",c="error@context",u=[];for(let e in a.providers)u[a.providers[e]]=e;var l,p,d=process.env.DEBUG_CLS_HOOKED,h=-1;function m(e){this.name=e,this.active=null,this._set=[],this.id=null,this._contexts=new Map}function f(e){return process.namespaces[e]}function g(e){let t=f(e);o.ok(t,"can't delete nonexistent namespace! \""+e+'"'),o.ok(t.id,"don't assign to process.namespaces directly! "+r.inspect(t)),process.namespaces[e]=null}function v(e){process.env.DEBUG&&process._rawDebug(e)}function y(e){return e?"function"==typeof e?e.name?e.name:(e.toString().trim().match(/^function\s*([^\s(]+)/)||[])[1]:e.constructor&&e.constructor.name?e.constructor.name:void 0:e}if(t.exports={getNamespace:f,createNamespace:function(e){o.ok(e,"namespace must be given a name."),d&&v("CREATING NAMESPACE "+e);let t=new m(e);return t.id=h,a.addHooks({init(n,o,i,a,s){h=n,a?(t._contexts.set(n,t._contexts.get(a)),d&&v("PARENTID: "+e+" uid:"+n+" parent:"+a+" provider:"+i)):t._contexts.set(h,t.active),d&&v("INIT "+e+" uid:"+n+" parent:"+a+" provider:"+u[i]+" active:"+r.inspect(t.active,!0))},pre(n,o){h=n;let i=t._contexts.get(n);i?(d&&v(" PRE "+e+" uid:"+n+" handle:"+y(o)+" context:"+r.inspect(i)),t.enter(i)):d&&v(" PRE MISSING CONTEXT "+e+" uid:"+n+" handle:"+y(o))},post(n,o){h=n;let i=t._contexts.get(n);i?(d&&v(" POST "+e+" uid:"+n+" handle:"+y(o)+" context:"+r.inspect(i)),t.exit(i)):d&&v(" POST MISSING CONTEXT "+e+" uid:"+n+" handle:"+y(o))},destroy(n){h=n,d&&v("DESTROY "+e+" uid:"+n+" context:"+r.inspect(t._contexts.get(h))+" active:"+r.inspect(t.active,!0)),t._contexts.delete(n)}}),process.namespaces[e]=t,t},destroyNamespace:g,reset:function(){process.namespaces&&Object.keys(process.namespaces).forEach((function(e){g(e)})),process.namespaces=Object.create(null)},ERROR_SYMBOL:c},m.prototype.set=function(e,t){if(!this.active)throw new Error("No context available. ns.run() or ns.bind() must be called first.");return d&&v("    SETTING KEY:"+e+"="+t+" in ns:"+this.name+" uid:"+h+" active:"+r.inspect(this.active,!0)),this.active[e]=t,t},m.prototype.get=function(e){if(this.active)return d&&v("    GETTING KEY:"+e+"="+this.active[e]+" "+this.name+" uid:"+h+" active:"+r.inspect(this.active,!0)),this.active[e];d&&v("    GETTING KEY:"+e+"=undefined "+this.name+" uid:"+h+" active:"+r.inspect(this.active,!0))},m.prototype.createContext=function(){d&&v("   CREATING Context: "+this.name+" uid:"+h+" len:"+this._set.length+"  active:"+r.inspect(this.active,!0,2,!0));let e=Object.create(this.active?this.active:Object.prototype);return e._ns_name=this.name,e.id=h,d&&v("   CREATED Context: "+this.name+" uid:"+h+" len:"+this._set.length+"  context:"+r.inspect(e,!0,2,!0)),e},m.prototype.run=function(e){let t=this.createContext();this.enter(t);try{return d&&v(" BEFORE RUN: "+this.name+" uid:"+h+" len:"+this._set.length+" "+r.inspect(t)),e(t),t}catch(e){throw e&&(e[c]=t),e}finally{d&&v(" AFTER RUN: "+this.name+" uid:"+h+" len:"+this._set.length+" "+r.inspect(t)),this.exit(t)}},m.prototype.runAndReturn=function(e){var t;return this.run((function(n){t=e(n)})),t},m.prototype.runPromise=function(e){let t=this.createContext();this.enter(t);let n=e(t);if(!n||!n.then||!n.catch)throw new Error("fn must return a promise.");return d&&v(" BEFORE runPromise: "+this.name+" uid:"+h+" len:"+this._set.length+" "+r.inspect(t)),n.then((e=>(d&&v(" AFTER runPromise: "+this.name+" uid:"+h+" len:"+this._set.length+" "+r.inspect(t)),this.exit(t),e))).catch((e=>{throw e[c]=t,d&&v(" AFTER runPromise: "+this.name+" uid:"+h+" len:"+this._set.length+" "+r.inspect(t)),this.exit(t),e}))},m.prototype.bind=function(e,t){t||(t=this.active?this.active:this.createContext());let n=this;return function(){n.enter(t);try{return e.apply(this,arguments)}catch(e){throw e&&(e[c]=t),e}finally{n.exit(t)}}},m.prototype.enter=function(e){o.ok(e,"context must be provided for entering"),d&&v("  ENTER "+this.name+" uid:"+h+" len:"+this._set.length+" context: "+r.inspect(e)),this._set.push(this.active),this.active=e},m.prototype.exit=function(e){if(o.ok(e,"context must be provided for exiting"),d&&v("  EXIT "+this.name+" uid:"+h+" len:"+this._set.length+" context: "+r.inspect(e)),this.active===e)return o.ok(this._set.length,"can't remove top context"),void(this.active=this._set.pop());let t=this._set.lastIndexOf(e);t<0?(d&&v("??ERROR?? context exiting but not entered - ignoring: "+r.inspect(e)),o.ok(t>=0,"context not currently entered; can't exit. \n"+r.inspect(this)+"\n"+r.inspect(e))):(o.ok(t,"can't remove top context"),this._set.splice(t,1))},m.prototype.bindEmitter=function(e){o.ok(e.on&&e.addListener&&e.emit,"can only bind real EEs");let t=this,n="context@"+this.name;i(e,(function(e){!e||(e[s]||(e[s]=Object.create(null)),e[s][n]={namespace:t,context:t.active})}),(function(e){if(!e||!e[s])return e;let t=e,n=e[s];return Object.keys(n).forEach((function(e){let r=n[e];t=r.namespace.bind(t,r.context)})),t}))},m.prototype.fromException=function(e){return e[c]},process.namespaces={},a._state&&!a._state.enabled&&a.enable(),d)for(p in(l=vr()).filter._modifiers)l.filter.deattach(p)})),_r=_(((e,t)=>{"use strict";var n=ir();process&&n.gte(process.versions.node,"8.0.0")?t.exports=cr():t.exports=br()})),Er=_(((e,t)=>{var n;e=t.exports=K,n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var r=256,o=Number.MAX_SAFE_INTEGER||9007199254740991,i=e.re=[],a=e.src=[],s=0,c=s++;a[c]="0|[1-9]\\d*";var u=s++;a[u]="[0-9]+";var l=s++;a[l]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var p=s++;a[p]="("+a[c]+")\\.("+a[c]+")\\.("+a[c]+")";var d=s++;a[d]="("+a[u]+")\\.("+a[u]+")\\.("+a[u]+")";var h=s++;a[h]="(?:"+a[c]+"|"+a[l]+")";var m=s++;a[m]="(?:"+a[u]+"|"+a[l]+")";var f=s++;a[f]="(?:-("+a[h]+"(?:\\."+a[h]+")*))";var g=s++;a[g]="(?:-?("+a[m]+"(?:\\."+a[m]+")*))";var v=s++;a[v]="[0-9A-Za-z-]+";var y=s++;a[y]="(?:\\+("+a[v]+"(?:\\."+a[v]+")*))";var b=s++,_="v?"+a[p]+a[f]+"?"+a[y]+"?";a[b]="^"+_+"$";var E="[v=\\s]*"+a[d]+a[g]+"?"+a[y]+"?",w=s++;a[w]="^"+E+"$";var k=s++;a[k]="((?:<|>)?=?)";var T=s++;a[T]=a[u]+"|x|X|\\*";var S=s++;a[S]=a[c]+"|x|X|\\*";var x=s++;a[x]="[v=\\s]*("+a[S]+")(?:\\.("+a[S]+")(?:\\.("+a[S]+")(?:"+a[f]+")?"+a[y]+"?)?)?";var C=s++;a[C]="[v=\\s]*("+a[T]+")(?:\\.("+a[T]+")(?:\\.("+a[T]+")(?:"+a[g]+")?"+a[y]+"?)?)?";var A=s++;a[A]="^"+a[k]+"\\s*"+a[x]+"$";var I=s++;a[I]="^"+a[k]+"\\s*"+a[C]+"$";var R=s++;a[R]="(?:^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])";var P=s++;a[P]="(?:~>?)";var O=s++;a[O]="(\\s*)"+a[P]+"\\s+",i[O]=new RegExp(a[O],"g");var j=s++;a[j]="^"+a[P]+a[x]+"$";var N=s++;a[N]="^"+a[P]+a[C]+"$";var D=s++;a[D]="(?:\\^)";var M=s++;a[M]="(\\s*)"+a[D]+"\\s+",i[M]=new RegExp(a[M],"g");var L=s++;a[L]="^"+a[D]+a[x]+"$";var z=s++;a[z]="^"+a[D]+a[C]+"$";var F=s++;a[F]="^"+a[k]+"\\s*("+E+")$|^$";var U=s++;a[U]="^"+a[k]+"\\s*("+_+")$|^$";var q=s++;a[q]="(\\s*)"+a[k]+"\\s*("+E+"|"+a[x]+")",i[q]=new RegExp(a[q],"g");var B=s++;a[B]="^\\s*("+a[x]+")\\s+-\\s+("+a[x]+")\\s*$";var H=s++;a[H]="^\\s*("+a[C]+")\\s+-\\s+("+a[C]+")\\s*$";var V,G=s++;for(a[G]="(<|>)?=?\\s*\\*",V=0;V<35;V++)n(V,a[V]),i[V]||(i[V]=new RegExp(a[V]));function $(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K)return e;if("string"!=typeof e||e.length>r)return null;if(!(t.loose?i[w]:i[b]).test(e))return null;try{return new K(e,t)}catch{return null}}function K(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof K){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>r)throw new TypeError("version is longer than "+r+" characters");if(!(this instanceof K))return new K(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?i[w]:i[b]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}e.parse=$,e.valid=function(e,t){var n=$(e,t);return n?n.version:null},e.clean=function(e,t){var n=$(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},e.SemVer=K,K.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},K.prototype.toString=function(){return this.version},K.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof K||(e=new K(e,this.options)),this.compareMain(e)||this.comparePre(e)},K.prototype.compareMain=function(e){return e instanceof K||(e=new K(e,this.options)),Q(this.major,e.major)||Q(this.minor,e.minor)||Q(this.patch,e.patch)},K.prototype.comparePre=function(e){if(e instanceof K||(e=new K(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return Q(r,o)}while(++t)},K.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},e.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new K(e,n).inc(t,r).version}catch{return null}},e.diff=function(e,t){if(Z(e,t))return null;var n=$(e),r=$(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},e.compareIdentifiers=Q;var W=/^[0-9]+$/;function Q(e,t){var n=W.test(e),r=W.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function Y(e,t,n){return new K(e,n).compare(new K(t,n))}function X(e,t,n){return Y(e,t,n)>0}function J(e,t,n){return Y(e,t,n)<0}function Z(e,t,n){return 0===Y(e,t,n)}function ee(e,t,n){return 0!==Y(e,t,n)}function te(e,t,n){return Y(e,t,n)>=0}function ne(e,t,n){return Y(e,t,n)<=0}function re(e,t,n,r){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return Z(e,n,r);case"!=":return ee(e,n,r);case">":return X(e,n,r);case">=":return te(e,n,r);case"<":return J(e,n,r);case"<=":return ne(e,n,r);default:throw new TypeError("Invalid operator: "+t)}}function oe(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof oe){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof oe))return new oe(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===ie?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}e.rcompareIdentifiers=function(e,t){return Q(t,e)},e.major=function(e,t){return new K(e,t).major},e.minor=function(e,t){return new K(e,t).minor},e.patch=function(e,t){return new K(e,t).patch},e.compare=Y,e.compareLoose=function(e,t){return Y(e,t,!0)},e.rcompare=function(e,t,n){return Y(t,e,n)},e.sort=function(t,n){return t.sort((function(t,r){return e.compare(t,r,n)}))},e.rsort=function(t,n){return t.sort((function(t,r){return e.rcompare(t,r,n)}))},e.gt=X,e.lt=J,e.eq=Z,e.neq=ee,e.gte=te,e.lte=ne,e.cmp=re,e.Comparator=oe;var ie={};function ae(e,t){if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),e instanceof ae)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new ae(e.raw,t);if(e instanceof oe)return new ae(e.value,t);if(!(this instanceof ae))return new ae(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function se(e){return!e||"x"===e.toLowerCase()||"*"===e}function ce(e,t,n,r,o,i,a,s,c,u,l,p,d){return((t=se(n)?"":se(r)?">="+n+".0.0":se(o)?">="+n+"."+r+".0":">="+t)+" "+(s=se(c)?"":se(u)?"<"+(+c+1)+".0.0":se(l)?"<"+c+"."+(+u+1)+".0":p?"<="+c+"."+u+"."+l+"-"+p:"<="+s)).trim()}function ue(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==ie&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function le(e,t,n){try{t=new ae(t,n)}catch{return!1}return t.test(e)}function pe(e,t,n,r){var o,i,a,s,c;switch(e=new K(e,r),t=new ae(t,r),n){case">":o=X,i=ne,a=J,s=">",c=">=";break;case"<":o=J,i=te,a=X,s="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(le(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var l=t.set[u],p=null,d=null;if(l.forEach((function(e){e.semver===ie&&(e=new oe(">=0.0.0")),p=p||e,d=d||e,o(e.semver,p.semver,r)?p=e:a(e.semver,d.semver,r)&&(d=e)})),p.operator===s||p.operator===c||(!d.operator||d.operator===s)&&i(e,d.semver))return!1;if(d.operator===c&&a(e,d.semver))return!1}return!0}oe.prototype.parse=function(e){var t=this.options.loose?i[F]:i[U],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new K(n[2],this.options.loose):this.semver=ie},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(e){return n("Comparator.test",e,this.options.loose),this.semver===ie||("string"==typeof e&&(e=new K(e,this.options)),re(e,this.operator,this.semver,this.options))},oe.prototype.intersects=function(e,t){if(!(e instanceof oe))throw new TypeError("a Comparator is required");var n;if((!t||"object"!=typeof t)&&(t={loose:!!t,includePrerelease:!1}),""===this.operator)return n=new ae(e.value,t),le(this.value,n,t);if(""===e.operator)return n=new ae(this.value,t),le(e.semver,n,t);var r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=re(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=re(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&a||s||c},e.Range=ae,ae.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},ae.prototype.toString=function(){return this.range},ae.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[H]:i[B];e=e.replace(r,ce),n("hyphen replace",e),e=e.replace(i[q],"$1$2$3"),n("comparator trim",e,i[q]),e=(e=(e=e.replace(i[O],"$1~")).replace(i[M],"$1^")).split(/\s+/).join(" ");var o=t?i[F]:i[U],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[z]:i[L];return e.replace(r,(function(t,r,o,i,a){var s;return n("caret",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),s="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),s="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",s),s}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[N]:i[j];return e.replace(r,(function(t,r,o,i,a){var s;return n("tilde",e,t,r,o,i,a),se(r)?s="":se(o)?s=">="+r+".0.0 <"+(+r+1)+".0.0":se(i)?s=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),s=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):s=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",s),s}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[I]:i[A];return e.replace(r,(function(t,r,o,i,a,s){n("xRange",e,t,r,o,i,a,s);var c=se(o),u=c||se(i),l=u||se(a);return"="===r&&l&&(r=""),c?t=">"===r||"<"===r?"<0.0.0":"*":r&&l?(u&&(i=0),a=0,">"===r?(r=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===r&&(r="<",u?o=+o+1:i=+i+1),t=r+o+"."+i+"."+a):u?t=">="+o+".0.0 <"+(+o+1)+".0.0":l&&(t=">="+o+"."+i+".0 <"+o+"."+(+i+1)+".0"),n("xRange return",t),t}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[G],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a.map((function(e){return new oe(e,this.options)}),this)},ae.prototype.intersects=function(e,t){if(!(e instanceof ae))throw new TypeError("a Range is required");return this.set.some((function(n){return n.every((function(n){return e.set.some((function(e){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},e.toComparators=function(e,t){return new ae(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},ae.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new K(e,this.options));for(var t=0;t<this.set.length;t++)if(ue(this.set[t],e,this.options))return!0;return!1},e.satisfies=le,e.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||-1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new ae(t,n)}catch{return null}return e.forEach((function(e){i.test(e)&&(!r||1===o.compare(e))&&(o=new K(r=e,n))})),r},e.minVersion=function(e,t){e=new ae(e,t);var n=new K("0.0.0");if(e.test(n)||(n=new K("0.0.0-0"),e.test(n)))return n;n=null;for(var r=0;r<e.set.length;++r)e.set[r].forEach((function(e){var t=new K(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!n||X(n,t))&&(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}));return n&&e.test(n)?n:null},e.validRange=function(e,t){try{return new ae(e,t).range||"*"}catch{return null}},e.ltr=function(e,t,n){return pe(e,t,"<",n)},e.gtr=function(e,t,n){return pe(e,t,">",n)},e.outside=pe,e.prerelease=function(e,t){var n=$(e,t);return n&&n.prerelease.length?n.prerelease:null},e.intersects=function(e,t,n){return e=new ae(e,n),t=new ae(t,n),e.intersects(t)},e.coerce=function(e){if(e instanceof K)return e;if("string"!=typeof e)return null;var t=e.match(i[R]);return null==t?null:$(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}})),wr=_(((e,t)=>{var n,r,o,i,a,s=ar().wrap,c=1,u=2,l=4,p=8,d=[],h=0,m=!1,f=[];function g(e,t){var n=e.length,r=t.length,o=[];if(0===n&&0===r)return o;for(var i=0;i<n;i++)o[i]=e[i];if(0===r)return o;for(var a=0;a<r;a++){var s=!0;for(i=0;i<n;i++)if(e[i].uid===t[a].uid){s=!1;break}s&&o.push(t[a])}return o}function v(e,t){"function"==typeof e.create&&(this.create=e.create,this.flags|=c),"function"==typeof e.before&&(this.before=e.before,this.flags|=u),"function"==typeof e.after&&(this.after=e.after,this.flags|=l),"function"==typeof e.error&&(this.error=e.error,this.flags|=p),this.uid=++h,this.data=void 0===t?null:t}function y(e,t){if("object"!=typeof e||!e)throw new TypeError("callbacks argument must be an object");return e instanceof v?e:new v(e,t)}process._fatalException?(o=!1,n=function(e){var t=d.length;if(o||0===t)return!1;var n=!1;o=!0;for(var r=0;r<t;++r){var a=d[r];if(0!=(a.flags&p)){var s=i&&i[a.uid];n=a.error(s,e)||n}}return o=!1,f.length>0&&(d=f.pop()),i=void 0,n&&!m},r=function(e,t,n){var r=[];m=!0;for(var o=0;o<n;++o){var a=t[o];if(r[a.uid]=a.data,0!=(a.flags&c)){var s=a.create(a.data);void 0!==s&&(r[a.uid]=s)}}return m=!1,function(){i=r,f.push(d),d=g(t,d),m=!0;for(var o=0;o<n;++o)(t[o].flags&u)>0&&t[o].before(this,r[t[o].uid]);m=!1;var a=e.apply(this,arguments);for(m=!0,o=0;o<n;++o)(t[o].flags&l)>0&&t[o].after(this,r[t[o].uid]);return m=!1,d=f.pop(),i=void 0,a}},s(process,"_fatalException",(function(e){return function(t){return n(t)||e(t)}}))):(a=!1,n=function(e){if(a)throw e;for(var t=!1,n=d.length,r=0;r<n;++r){var o=d[r];0!=(o.flags&p)&&(t=o.error(null,e)||t)}if(!t&&m)throw e},r=function(e,t,r){var o=[];m=!0;for(var i=0;i<r;++i){var s=t[i];if(o[s.uid]=s.data,0!=(s.flags&c)){var h=s.create(s.data);void 0!==h&&(o[s.uid]=h)}}return m=!1,function(){var i,s=!1,c=!1;f.push(d),d=g(t,d),m=!0;for(var h=0;h<r;++h)(t[h].flags&u)>0&&t[h].before(this,o[t[h].uid]);m=!1;try{i=e.apply(this,arguments)}catch(e){for(s=!0,h=0;h<r;++h)if(0!=(d[h].flags&p))try{c=d[h].error(o[t[h].uid],e)||c}catch(e){throw a=!0,e}if(!c)throw process.removeListener("uncaughtException",n),process._originalNextTick((function(){process.addListener("uncaughtException",n)})),e}finally{if(!s||c){for(m=!0,h=0;h<r;++h)(t[h].flags&l)>0&&t[h].after(this,o[t[h].uid]);m=!1}d=f.pop()}return i}},process.addListener("uncaughtException",n)),v.prototype.create=void 0,v.prototype.before=void 0,v.prototype.after=void 0,v.prototype.error=void 0,v.prototype.data=void 0,v.prototype.uid=0,v.prototype.flags=0,process.createAsyncListener=y,process.addAsyncListener=function(e,t){var n;n=e instanceof v?e:y(e,t);for(var r=!1,o=0;o<d.length;o++)if(n===d[o]){r=!0;break}return r||d.push(n),n},process.removeAsyncListener=function(e){for(var t=0;t<d.length;t++)if(e===d[t]){d.splice(t,1);break}},t.exports=function(e){var t=d.length;if(0===t)return e;for(var n=d.slice(),o=0;o<t;++o)if(n[o].flags>0)return r(e,n,t);return function(e,t,n){m=!0;for(var r=0;r<n;++r){var o=t[r];o.create&&o.create(o.data)}return m=!1,function(){f.push(d),d=g(t,d);var n=e.apply(this,arguments);return d=f.pop(),n}}(e,n,t)}})),kr=_(((e,t)=>{"use strict";t.exports=(e,t)=>class extends e{constructor(e){var n,r;super((function(e,i){n=this,r=[function(n){return t(o,!1),e(n)},function(e){return t(o,!1),i(e)}]}));var o=this;try{e.apply(n,r)}catch(e){r[1](e)}return o}}})),Tr=_((()=>{"use strict";if(process.addAsyncListener)throw new Error("Don't require polyfill unless needed");var e=ar(),t=Er(),r=e.wrap,o=e.massWrap,i=wr(),a=n(3837),s=t.gte(process.version,"6.0.0"),c=t.gte(process.version,"7.0.0"),u=t.gte(process.version,"8.0.0"),l=t.gte(process.version,"11.0.0"),p=n(1808);function d(e){return function(){this.on("connection",(function(e){e._handle&&(e._handle.onread=i(e._handle.onread))}));try{return e.apply(this,arguments)}finally{this._handle&&this._handle.onconnection&&(this._handle.onconnection=i(this._handle.onconnection))}}}function h(e){if(e&&e._handle){var t=e._handle;t._originalOnread||(t._originalOnread=t.onread),t.onread=i(t._originalOnread)}}c&&!p._normalizeArgs?p._normalizeArgs=function(e){if(0===e.length)return[{},null];var t=e[0],n={};"object"==typeof t&&null!==t?n=t:function(e){return"string"==typeof e&&!1===function(e){return(e=Number(e))>=0&&e}(e)}(t)?n.path=t:(n.port=t,e.length>1&&"string"==typeof e[1]&&(n.host=e[1]));var r=e[e.length-1];return"function"!=typeof r?[n,null]:[n,r]}:!c&&!p._normalizeConnectArgs&&(p._normalizeConnectArgs=function(e){var t={};"object"==typeof e[0]&&null!==e[0]?t=e[0]:"string"==typeof e[0]&&!1===function(e){return(e=Number(e))>=0&&e}(e[0])?t.path=e[0]:(t.port=e[0],"string"==typeof e[1]&&(t.host=e[1]));var n=e[e.length-1];return"function"==typeof n?[t,n]:[t]}),"_setUpListenHandle"in p.Server.prototype?r(p.Server.prototype,"_setUpListenHandle",d):r(p.Server.prototype,"_listen2",d),r(p.Socket.prototype,"connect",(function(e){return function(){var t;(t=u&&Array.isArray(arguments[0])&&Object.getOwnPropertySymbols(arguments[0]).length>0?arguments[0]:c?p._normalizeArgs(arguments):p._normalizeConnectArgs(arguments))[1]&&(t[1]=i(t[1]));var n=e.apply(this,t);return h(this),n}}));var m=n(3685);r(m.Agent.prototype,"addRequest",(function(e){return function(t){var n=t.onSocket;return t.onSocket=i((function(e){return h(e),n.apply(this,arguments)})),e.apply(this,arguments)}}));var f=n(2081);function g(e){Array.isArray(e.stdio)&&e.stdio.forEach((function(e){e&&e._handle&&(e._handle.onread=i(e._handle.onread),r(e._handle,"close",R))})),e._handle&&(e._handle.onexit=i(e._handle.onexit))}f.ChildProcess?r(f.ChildProcess.prototype,"spawn",(function(e){return function(){var t=e.apply(this,arguments);return g(this),t}})):o(f,["execFile","fork","spawn"],(function(e){return function(){var t=e.apply(this,arguments);return g(t),t}})),process._fatalException||(process._originalNextTick=process.nextTick);var v=[];process._nextDomainTick&&v.push("_nextDomainTick"),process._tickDomainCallback&&v.push("_tickDomainCallback"),o(process,v,I),r(process,"nextTick",R);var y=["setTimeout","setInterval"];global.setImmediate&&y.push("setImmediate");var b=n(9512),_=global.setTimeout===b.setTimeout;o(b,y,R),_&&o(global,y,R);var E=n(9523);o(E,["lookup","resolve","resolve4","resolve6","resolveCname","resolveMx","resolveNs","resolveTxt","resolveSrv","reverse"],I),E.resolveNaptr&&r(E,"resolveNaptr",I);var w,k,T,S=n(7147);o(S,["watch","rename","truncate","chown","fchown","chmod","fchmod","stat","lstat","fstat","link","symlink","readlink","realpath","unlink","rmdir","mkdir","readdir","close","open","utimes","futimes","fsync","write","read","readFile","writeFile","appendFile","watchFile","unwatchFile","exists"],I),S.lchown&&r(S,"lchown",I),S.lchmod&&r(S,"lchmod",I),S.ftruncate&&r(S,"ftruncate",I);try{w=n(9796)}catch{}w&&w.Deflate&&w.Deflate.prototype&&((k=Object.getPrototypeOf(w.Deflate.prototype))._transform?r(k,"_transform",I):k.write&&k.flush&&k.end&&o(k,["write","flush","end"],I));try{T=n(6113)}catch{}T&&(x=["pbkdf2","randomBytes"],l||x.push("pseudoRandomBytes"),o(T,x,I));var x,C,A=!!global.Promise&&"function Promise() { [native code] }"===Promise.toString()&&"function toString() { [native code] }"===Promise.toString.toString();function I(e){var t=function(){var t,n=arguments.length-1;if("function"==typeof arguments[n]){t=Array(arguments.length);for(var r=0;r<arguments.length-1;r++)t[r]=arguments[r];t[n]=i(arguments[n])}return e.apply(this,t||arguments)};switch(e.length){case 1:return function(n){return 1!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n))};case 2:return function(n,r){return 2!==arguments.length?t.apply(this,arguments):("function"==typeof r&&(r=i(r)),e.call(this,n,r))};case 3:return function(n,r,o){return 3!==arguments.length?t.apply(this,arguments):("function"==typeof o&&(o=i(o)),e.call(this,n,r,o))};case 4:return function(n,r,o,a){return 4!==arguments.length?t.apply(this,arguments):("function"==typeof a&&(a=i(a)),e.call(this,n,r,o,a))};case 5:return function(n,r,o,a,s){return 5!==arguments.length?t.apply(this,arguments):("function"==typeof s&&(s=i(s)),e.call(this,n,r,o,a,s))};case 6:return function(n,r,o,a,s,c){return 6!==arguments.length?t.apply(this,arguments):("function"==typeof c&&(c=i(c)),e.call(this,n,r,o,a,s,c))};default:return t}}function R(e){var t=function(){var t;if("function"==typeof arguments[0]){(t=Array(arguments.length))[0]=i(arguments[0]);for(var n=1;n<arguments.length;n++)t[n]=arguments[n]}return e.apply(this,t||arguments)};switch(e.length){case 1:return function(n){return 1!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n))};case 2:return function(n,r){return 2!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n,r))};case 3:return function(n,r,o){return 3!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n,r,o))};case 4:return function(n,r,o,a){return 4!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n,r,o,a))};case 5:return function(n,r,o,a,s){return 5!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n,r,o,a,s))};case 6:return function(n,r,o,a,s,c){return 6!==arguments.length?t.apply(this,arguments):("function"==typeof n&&(n=i(n)),e.call(this,n,r,o,a,s,c))};default:return t}}A&&(C=process.addAsyncListener({create:function(){A=!1}}),global.Promise.resolve(!0).then((function(){A=!1})),process.removeAsyncListener(C)),A&&function(){var e=global.Promise;function t(r){if(!(this instanceof t))return e(r);if("function"!=typeof r)return new e(r);var o,i,a=new e((function(e,t){o=this,i=[function(t){return n(a,!1),e(t)},function(e){return n(a,!1),t(e)}]}));a.__proto__=t.prototype;try{r.apply(o,i)}catch(e){i[1](e)}return a}function n(e,t){(!e.__asl_wrapper||t)&&(e.__asl_wrapper=i(o))}function o(t,r,i,a){var s;try{return{returnVal:s=r.call(t,i),error:!1}}catch(e){return{errorVal:e,error:!0}}finally{s instanceof e?a.__asl_wrapper=function(){return(s.__asl_wrapper||o).apply(this,arguments)}:n(a,!0)}}function c(e){return function(){var t=this,n=e.apply(t,Array.prototype.map.call(arguments,(function(e){return"function"!=typeof e?e:i((function(r){var i=(t.__asl_wrapper||o)(this,e,r,n);if(i.error)throw i.errorVal;return i.returnVal}))})));return n.__asl_wrapper=function(e,r,i,a){return t.__asl_wrapper?(t.__asl_wrapper(e,(function(){}),null,n),n.__asl_wrapper(e,r,i,a)):o(e,r,i,a)},n}}a.inherits(t,e),r(e.prototype,"then",c),e.prototype.chain&&r(e.prototype,"chain",c),s?global.Promise=kr()(e,n):(["all","race","reject","resolve","accept","defer"].forEach((function(n){"function"==typeof e[n]&&(t[n]=e[n])})),global.Promise=t)}()})),Sr=_(((e,t)=>{"use strict";var r=n(9491),o=sr(),i="cls@contexts",a="error@context";function s(e){this.name=e,this.active=null,this._set=[],this.id=null}function c(e){return process.namespaces[e]}function u(e){var t=c(e);r.ok(t,"can't delete nonexistent namespace!"),r.ok(t.id,"don't assign to process.namespaces directly!"),process.removeAsyncListener(t.id),process.namespaces[e]=null}function l(){process.namespaces&&Object.keys(process.namespaces).forEach((function(e){u(e)})),process.namespaces=Object.create(null)}process.addAsyncListener||Tr(),s.prototype.set=function(e,t){if(!this.active)throw new Error("No context available. ns.run() or ns.bind() must be called first.");return this.active[e]=t,t},s.prototype.get=function(e){if(this.active)return this.active[e]},s.prototype.createContext=function(){return Object.create(this.active)},s.prototype.run=function(e){var t=this.createContext();this.enter(t);try{return e(t),t}catch(e){throw e&&(e[a]=t),e}finally{this.exit(t)}},s.prototype.runAndReturn=function(e){var t;return this.run((function(n){t=e(n)})),t},s.prototype.bind=function(e,t){t||(t=this.active?this.active:this.createContext());var n=this;return function(){n.enter(t);try{return e.apply(this,arguments)}catch(e){throw e&&(e[a]=t),e}finally{n.exit(t)}}},s.prototype.enter=function(e){r.ok(e,"context must be provided for entering"),this._set.push(this.active),this.active=e},s.prototype.exit=function(e){if(r.ok(e,"context must be provided for exiting"),this.active===e)return r.ok(this._set.length,"can't remove top context"),void(this.active=this._set.pop());var t=this._set.lastIndexOf(e);r.ok(t>=0,"context not currently entered; can't exit"),r.ok(t,"can't remove top context"),this._set.splice(t,1)},s.prototype.bindEmitter=function(e){r.ok(e.on&&e.addListener&&e.emit,"can only bind real EEs");var t=this,n="context@"+this.name;o(e,(function(e){!e||(e[i]||(e[i]=Object.create(null)),e[i][n]={namespace:t,context:t.active})}),(function(e){if(!e||!e[i])return e;var t=e,n=e[i];return Object.keys(n).forEach((function(e){var r=n[e];t=r.namespace.bind(t,r.context)})),t}))},s.prototype.fromException=function(e){return e[a]},process.namespaces||l(),t.exports={getNamespace:c,createNamespace:function(e){r.ok(e,"namespace must be given a name!");var t=new s(e);return t.id=process.addAsyncListener({create:function(){return t.active},before:function(e,n){n&&t.enter(n)},after:function(e,n){n&&t.exit(n)},error:function(e){e&&t.exit(e)}}),process.namespaces[e]=t,t},destroyNamespace:u,reset:l}})),xr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CorrelationContextManager=void 0;var t=I(),n=sn(),r=pn(),o=dn(),i=or(),a=function(){function e(){}return e.getCurrentContext=function(){if(!e.enabled)return null;var t=e.session.get(e.CONTEXT_NAME);return void 0===t?null:t},e.generateContextObject=function(e,t,n,r,o,i){return t=t||e,this.enabled?{operation:{name:n,id:e,parentId:t,traceparent:o,tracestate:i},customProperties:new s(r)}:null},e.spanToContextObject=function(t,n,o){var i=new r;return i.traceId=t.traceId,i.spanId=t.spanId,i.traceFlag=r.formatOpenTelemetryTraceFlags(t.traceFlags)||r.DEFAULT_TRACE_FLAG,i.parentId=n,e.generateContextObject(i.traceId,i.parentId,o,null,i)},e.runWithContext=function(t,n){var r;return e.enabled?e.session.bind(n,((r={})[e.CONTEXT_NAME]=t,r))():n()},e.wrapEmitter=function(t){e.enabled&&e.session.bindEmitter(t)},e.wrapCallback=function(t,n){var r;return e.enabled?e.session.bind(t,n?((r={})[e.CONTEXT_NAME]=n,r):void 0):t},e.enable=function(t){if(!this.enabled){if(!this.isNodeVersionCompatible())return void(this.enabled=!1);e.hasEverEnabled||(this.forceClsHooked=t,this.hasEverEnabled=!0,typeof this.cls>"u"&&(!0===e.forceClsHooked||void 0===e.forceClsHooked&&e.shouldUseClsHooked()?this.cls=_r():this.cls=Sr()),e.session=this.cls.createNamespace("AI-CLS-Session"),n.registerContextPreservation((function(t){return e.session.bind(t)}))),this.enabled=!0}},e.startOperation=function(n,a){var s=n&&n.traceContext||null,c=n&&n.traceId?n:null,u=n&&n.headers;if(c){var l=new r("00-"+c.traceId+"-"+c.spanId+"-01"),p=new o(c.traceState?c.traceState.serialize():null);return e.generateContextObject(c.traceId,"|"+c.traceId+"."+c.spanId+".","string"==typeof a?a:"",void 0,l,p)}if(s){l=new r(s.traceparent),p=new o(s.tracestate);var d="object"==typeof a?new i(a):null;return e.generateContextObject(l.traceId,l.parentId,"string"==typeof a?a:d.getOperationName({}),d&&d.getCorrelationContextHeader()||void 0,l,p)}return u?(l=new r(u.traceparent?u.traceparent.toString():null),p=new o(u.tracestate?u.tracestate.toString():null),d=new i(n),e.generateContextObject(l.traceId,l.parentId,d.getOperationName({}),d.getCorrelationContextHeader(),l,p)):(t.warn("startOperation was called with invalid arguments",arguments),null)},e.disable=function(){this.enabled=!1},e.reset=function(){e.hasEverEnabled&&(e.session=null,e.session=this.cls.createNamespace("AI-CLS-Session"))},e.isNodeVersionCompatible=function(){var e=process.versions.node.split(".");return parseInt(e[0])>3||parseInt(e[0])>2&&parseInt(e[1])>2},e.shouldUseClsHooked=function(){var e=process.versions.node.split(".");return parseInt(e[0])>8||parseInt(e[0])>=8&&parseInt(e[1])>=2},e.canUseClsHooked=function(){var e=process.versions.node.split("."),t=parseInt(e[0])>8||parseInt(e[0])>=8&&parseInt(e[1])>=0,n=parseInt(e[0])<8||parseInt(e[0])<=8&&parseInt(e[1])<2,r=parseInt(e[0])>4||parseInt(e[0])>=4&&parseInt(e[1])>=7;return!(t&&n)&&r},e.enabled=!1,e.hasEverEnabled=!1,e.forceClsHooked=void 0,e.CONTEXT_NAME="ApplicationInsights-Context",e}();e.CorrelationContextManager=a;var s=function(){function e(e){this.props=[],this.addHeaderData(e)}return e.prototype.addHeaderData=function(e){var t=e?e.split(", "):[];this.props=t.map((function(e){var t=e.split("=");return{key:t[0],value:t[1]}})).concat(this.props)},e.prototype.serializeToHeader=function(){return this.props.map((function(e){return e.key+"="+e.value})).join(", ")},e.prototype.getProperty=function(e){for(var t=0;t<this.props.length;++t){var n=this.props[t];if(n.key===e)return n.value}},e.prototype.setProperty=function(n,r){if(e.bannedCharacters.test(n)||e.bannedCharacters.test(r))t.warn("Correlation context property keys and values must not contain ',' or '='. setProperty was called with key: "+n+" and value: "+r);else{for(var o=0;o<this.props.length;++o){var i=this.props[o];if(i.key===n)return void(i.value=r)}this.props.push({key:n,value:r})}},e.bannedCharacters=/[,=]/,e}()})),Cr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispose=e.enable=void 0;var t=nr(),n=N(),r=[],o=function(e){var n=e.data.message;r.forEach((function(r){n instanceof Error?r.trackException({exception:n}):(n.lastIndexOf("\n")==n.length-1&&(n=n.substring(0,n.length-1)),r.trackTrace({message:n,severity:e.data.stderr?t.SeverityLevel.Warning:t.SeverityLevel.Information}))}))};e.enable=function(e,t){e?(0===r.length&&n.channel.subscribe("console",o),r.push(t)):0===(r=r.filter((function(e){return e!=t}))).length&&n.channel.unsubscribe("console",o)},e.dispose=function(){n.channel.unsubscribe("console",o),r=[]}})),Ar=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispose=e.enable=void 0;var t=nr(),n=N(),r=[],o={10:t.SeverityLevel.Verbose,20:t.SeverityLevel.Verbose,30:t.SeverityLevel.Information,40:t.SeverityLevel.Warning,50:t.SeverityLevel.Error,60:t.SeverityLevel.Critical},i=function(e){var t=e.data.result;r.forEach((function(n){var r=o[e.data.level];t instanceof Error?n.trackException({exception:t}):n.trackTrace({message:t,severity:r})}))};e.enable=function(e,t){e?(0===r.length&&n.channel.subscribe("bunyan",i),r.push(t)):0===(r=r.filter((function(e){return e!=t}))).length&&n.channel.unsubscribe("bunyan",i)},e.dispose=function(){n.channel.unsubscribe("bunyan",i),r=[]}})),Ir=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispose=e.enable=void 0;var t=nr(),n=N(),r=[],o={syslog:function(e){var n={emerg:t.SeverityLevel.Critical,alert:t.SeverityLevel.Critical,crit:t.SeverityLevel.Critical,error:t.SeverityLevel.Error,warning:t.SeverityLevel.Warning,notice:t.SeverityLevel.Information,info:t.SeverityLevel.Information,debug:t.SeverityLevel.Verbose};return void 0===n[e]?t.SeverityLevel.Information:n[e]},npm:function(e){var n={error:t.SeverityLevel.Error,warn:t.SeverityLevel.Warning,info:t.SeverityLevel.Information,verbose:t.SeverityLevel.Verbose,debug:t.SeverityLevel.Verbose,silly:t.SeverityLevel.Verbose};return void 0===n[e]?t.SeverityLevel.Information:n[e]},unknown:function(e){return t.SeverityLevel.Information}},i=function(e){var t=e.data.message;r.forEach((function(n){if(t instanceof Error)n.trackException({exception:t,properties:e.data.meta});else{var r=o[e.data.levelKind](e.data.level);n.trackTrace({message:t,severity:r,properties:e.data.meta})}}))};e.enable=function(e,t){e?(0===r.length&&n.channel.subscribe("winston",i),r.push(t)):0===(r=r.filter((function(e){return e!=t}))).length&&n.channel.unsubscribe("winston",i)},e.dispose=function(){n.channel.unsubscribe("winston",i),r=[]}})),Rr=_(((e,t)=>{"use strict";var n=sn(),r=function(){function e(t){if(e.INSTANCE)throw new Error("Console logging adapter tracking should be configured from the applicationInsights object");this._client=t,e.INSTANCE=this}return e.prototype.enable=function(e,t){n.IsInitialized&&(Cr().enable(e&&t,this._client),Ar().enable(e,this._client),Ir().enable(e,this._client))},e.prototype.isInitialized=function(){return this._isInitialized},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1,!1)},e._methodNames=["debug","info","log","warn","error"],e}();t.exports=r})),Pr=_(((e,t)=>{"use strict";var n=function(){function e(t){if(e.INSTANCE)throw new Error("Exception tracking should be configured from the applicationInsights object");e.INSTANCE=this,this._client=t;var n=process.versions.node.split(".");e._canUseUncaughtExceptionMonitor=parseInt(n[0])>13||13===parseInt(n[0])&&parseInt(n[1])>=7}return e.prototype.isInitialized=function(){return this._isInitialized},e.prototype.enable=function(t){var n=this;if(t){if(this._isInitialized=!0,!this._exceptionListenerHandle){var r=function(t,r,o){void 0===o&&(o=new Error(e._FALLBACK_ERROR_MESSAGE)),n._client.trackException({exception:o}),n._client.flush({isAppCrashing:!0}),t&&r&&1===process.listeners(r).length&&(console.error(o),process.exit(1))};e._canUseUncaughtExceptionMonitor?(this._exceptionListenerHandle=r.bind(this,!1,void 0),process.on(e.UNCAUGHT_EXCEPTION_MONITOR_HANDLER_NAME,this._exceptionListenerHandle)):(this._exceptionListenerHandle=r.bind(this,!0,e.UNCAUGHT_EXCEPTION_HANDLER_NAME),this._rejectionListenerHandle=r.bind(this,!1,void 0),process.on(e.UNCAUGHT_EXCEPTION_HANDLER_NAME,this._exceptionListenerHandle),process.on(e.UNHANDLED_REJECTION_HANDLER_NAME,this._rejectionListenerHandle))}}else this._exceptionListenerHandle&&(e._canUseUncaughtExceptionMonitor?process.removeListener(e.UNCAUGHT_EXCEPTION_MONITOR_HANDLER_NAME,this._exceptionListenerHandle):(process.removeListener(e.UNCAUGHT_EXCEPTION_HANDLER_NAME,this._exceptionListenerHandle),process.removeListener(e.UNHANDLED_REJECTION_HANDLER_NAME,this._rejectionListenerHandle)),this._exceptionListenerHandle=void 0,this._rejectionListenerHandle=void 0,delete this._exceptionListenerHandle,delete this._rejectionListenerHandle)},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e.INSTANCE=null,e.UNCAUGHT_EXCEPTION_MONITOR_HANDLER_NAME="uncaughtExceptionMonitor",e.UNCAUGHT_EXCEPTION_HANDLER_NAME="uncaughtException",e.UNHANDLED_REJECTION_HANDLER_NAME="unhandledRejection",e._RETHROW_EXIT_MESSAGE="Application Insights Rethrow Exception Handler",e._FALLBACK_ERROR_MESSAGE="A promise was rejected without providing an error. Application Insights generated this error stack for you.",e._canUseUncaughtExceptionMonitor=!1,e}();t.exports=n})),Or=_((e=>{"use strict";var t,n,r,o;Object.defineProperty(e,"__esModule",{value:!0}),e.HeartBeatMetricName=e.DependencyTypeName=e.SpanAttribute=e.TelemetryTypeStringToQuickPulseDocumentType=e.TelemetryTypeStringToQuickPulseType=e.QuickPulseType=e.QuickPulseDocumentType=e.PerformanceToQuickPulseCounter=e.MetricId=e.PerformanceCounter=e.QuickPulseCounter=e.DEFAULT_LIVEMETRICS_HOST=e.DEFAULT_LIVEMETRICS_ENDPOINT=e.DEFAULT_BREEZE_ENDPOINT=void 0,e.DEFAULT_BREEZE_ENDPOINT="https://dc.services.visualstudio.com",e.DEFAULT_LIVEMETRICS_ENDPOINT="https://rt.services.visualstudio.com",e.DEFAULT_LIVEMETRICS_HOST="rt.services.visualstudio.com",(r=n=e.QuickPulseCounter||(e.QuickPulseCounter={})).COMMITTED_BYTES="\\Memory\\Committed Bytes",r.PROCESSOR_TIME="\\Processor(_Total)\\% Processor Time",r.REQUEST_RATE="\\ApplicationInsights\\Requests/Sec",r.REQUEST_FAILURE_RATE="\\ApplicationInsights\\Requests Failed/Sec",r.REQUEST_DURATION="\\ApplicationInsights\\Request Duration",r.DEPENDENCY_RATE="\\ApplicationInsights\\Dependency Calls/Sec",r.DEPENDENCY_FAILURE_RATE="\\ApplicationInsights\\Dependency Calls Failed/Sec",r.DEPENDENCY_DURATION="\\ApplicationInsights\\Dependency Call Duration",r.EXCEPTION_RATE="\\ApplicationInsights\\Exceptions/Sec",function(e){e.PRIVATE_BYTES="\\Process(??APP_WIN32_PROC??)\\Private Bytes",e.AVAILABLE_BYTES="\\Memory\\Available Bytes",e.PROCESSOR_TIME="\\Processor(_Total)\\% Processor Time",e.PROCESS_TIME="\\Process(??APP_WIN32_PROC??)\\% Processor Time",e.REQUEST_RATE="\\ASP.NET Applications(??APP_W3SVC_PROC??)\\Requests/Sec",e.REQUEST_DURATION="\\ASP.NET Applications(??APP_W3SVC_PROC??)\\Request Execution Time"}(o=e.PerformanceCounter||(e.PerformanceCounter={})),function(e){e.REQUESTS_DURATION="requests/duration",e.DEPENDENCIES_DURATION="dependencies/duration",e.EXCEPTIONS_COUNT="exceptions/count",e.TRACES_COUNT="traces/count"}(e.MetricId||(e.MetricId={})),e.PerformanceToQuickPulseCounter=((t={})[o.PROCESSOR_TIME]=n.PROCESSOR_TIME,t[o.REQUEST_RATE]=n.REQUEST_RATE,t[o.REQUEST_DURATION]=n.REQUEST_DURATION,t[n.COMMITTED_BYTES]=n.COMMITTED_BYTES,t[n.REQUEST_FAILURE_RATE]=n.REQUEST_FAILURE_RATE,t[n.DEPENDENCY_RATE]=n.DEPENDENCY_RATE,t[n.DEPENDENCY_FAILURE_RATE]=n.DEPENDENCY_FAILURE_RATE,t[n.DEPENDENCY_DURATION]=n.DEPENDENCY_DURATION,t[n.EXCEPTION_RATE]=n.EXCEPTION_RATE,t),e.QuickPulseDocumentType={Event:"Event",Exception:"Exception",Trace:"Trace",Metric:"Metric",Request:"Request",Dependency:"RemoteDependency",Availability:"Availability",PageView:"PageView"},e.QuickPulseType={Event:"EventTelemetryDocument",Exception:"ExceptionTelemetryDocument",Trace:"TraceTelemetryDocument",Metric:"MetricTelemetryDocument",Request:"RequestTelemetryDocument",Dependency:"DependencyTelemetryDocument",Availability:"AvailabilityTelemetryDocument",PageView:"PageViewTelemetryDocument"},e.TelemetryTypeStringToQuickPulseType={EventData:e.QuickPulseType.Event,ExceptionData:e.QuickPulseType.Exception,MessageData:e.QuickPulseType.Trace,MetricData:e.QuickPulseType.Metric,RequestData:e.QuickPulseType.Request,RemoteDependencyData:e.QuickPulseType.Dependency,AvailabilityData:e.QuickPulseType.Availability,PageViewData:e.QuickPulseType.PageView},e.TelemetryTypeStringToQuickPulseDocumentType={EventData:e.QuickPulseDocumentType.Event,ExceptionData:e.QuickPulseDocumentType.Exception,MessageData:e.QuickPulseDocumentType.Trace,MetricData:e.QuickPulseDocumentType.Metric,RequestData:e.QuickPulseDocumentType.Request,RemoteDependencyData:e.QuickPulseDocumentType.Dependency,AvailabilityData:e.QuickPulseDocumentType.Availability,PageViewData:e.QuickPulseDocumentType.PageView},e.SpanAttribute={HttpHost:"http.host",HttpMethod:"http.method",HttpPort:"http.port",HttpStatusCode:"http.status_code",HttpUrl:"http.url",HttpUserAgent:"http.user_agent",GrpcMethod:"grpc.method",GrpcService:"rpc.service"},e.DependencyTypeName={Grpc:"GRPC",Http:"HTTP",InProc:"InProc"},e.HeartBeatMetricName="HeartBeat"})),jr=_(((e,t)=>{"use strict";var r=n(2037),o=Or(),i=function(){function e(t,n,r){void 0===n&&(n=6e4),void 0===r&&(r=!1),this._lastIntervalRequestExecutionTime=0,this._lastIntervalDependencyExecutionTime=0,e.INSTANCE||(e.INSTANCE=this),this._isInitialized=!1,this._client=t,this._collectionInterval=n,this._enableLiveMetricsCounters=r}return e.prototype.enable=function(t,n){var o=this;this._isEnabled=t,this._isEnabled&&!this._isInitialized&&(this._isInitialized=!0),t?this._handle||(this._lastCpus=r.cpus(),this._lastRequests={totalRequestCount:e._totalRequestCount,totalFailedRequestCount:e._totalFailedRequestCount,time:+new Date},this._lastDependencies={totalDependencyCount:e._totalDependencyCount,totalFailedDependencyCount:e._totalFailedDependencyCount,time:+new Date},this._lastExceptions={totalExceptionCount:e._totalExceptionCount,time:+new Date},"function"==typeof process.cpuUsage&&(this._lastAppCpuUsage=process.cpuUsage()),this._lastHrtime=process.hrtime(),this._collectionInterval=n||this._collectionInterval,this._handle=setInterval((function(){return o.trackPerformance()}),this._collectionInterval),this._handle.unref()):this._handle&&(clearInterval(this._handle),this._handle=void 0)},e.countRequest=function(t,n){var r;if(e.isEnabled()){if("string"==typeof t)r=+new Date("1970-01-01T"+t+"Z");else{if("number"!=typeof t)return;r=t}e._intervalRequestExecutionTime+=r,!1===n&&e._totalFailedRequestCount++,e._totalRequestCount++}},e.countException=function(){e._totalExceptionCount++},e.countDependency=function(t,n){var r;if(e.isEnabled()){if("string"==typeof t)r=+new Date("1970-01-01T"+t+"Z");else{if("number"!=typeof t)return;r=t}e._intervalDependencyExecutionTime+=r,!1===n&&e._totalFailedDependencyCount++,e._totalDependencyCount++}},e.prototype.isInitialized=function(){return this._isInitialized},e.isEnabled=function(){return e.INSTANCE&&e.INSTANCE._isEnabled},e.prototype.trackPerformance=function(){this._trackCpu(),this._trackMemory(),this._trackNetwork(),this._trackDependencyRate(),this._trackExceptionRate()},e.prototype._trackCpu=function(){var e=r.cpus();if(e&&e.length&&this._lastCpus&&e.length===this._lastCpus.length){for(var t=0,n=0,i=0,a=0,s=0,c=0;e&&c<e.length;c++){var u=e[c],l=this._lastCpus[c],p=(u.model,u.speed,u.times),d=l.times;t+=p.user-d.user||0,n+=p.sys-d.sys||0,i+=p.nice-d.nice||0,a+=p.idle-d.idle||0,s+=p.irq-d.irq||0}var h=void 0;if("function"==typeof process.cpuUsage){var m=process.cpuUsage(),f=process.hrtime(),g=m.user-this._lastAppCpuUsage.user+(m.system-this._lastAppCpuUsage.system)||0;typeof this._lastHrtime<"u"&&2===this._lastHrtime.length&&(h=100*g/((1e6*(f[0]-this._lastHrtime[0])+(f[1]-this._lastHrtime[1])/1e3||0)*e.length)),this._lastAppCpuUsage=m,this._lastHrtime=f}var v=t+n+i+a+s||1;this._client.trackMetric({name:o.PerformanceCounter.PROCESSOR_TIME,value:(v-a)/v*100}),this._client.trackMetric({name:o.PerformanceCounter.PROCESS_TIME,value:h||t/v*100})}this._lastCpus=e},e.prototype._trackMemory=function(){var e=r.freemem(),t=process.memoryUsage().rss,n=r.totalmem()-e;this._client.trackMetric({name:o.PerformanceCounter.PRIVATE_BYTES,value:t}),this._client.trackMetric({name:o.PerformanceCounter.AVAILABLE_BYTES,value:e}),this._enableLiveMetricsCounters&&this._client.trackMetric({name:o.QuickPulseCounter.COMMITTED_BYTES,value:n})},e.prototype._trackNetwork=function(){var t=this._lastRequests,n={totalRequestCount:e._totalRequestCount,totalFailedRequestCount:e._totalFailedRequestCount,time:+new Date},r=n.totalRequestCount-t.totalRequestCount||0,i=n.totalFailedRequestCount-t.totalFailedRequestCount||0,a=n.time-t.time,s=a/1e3,c=(e._intervalRequestExecutionTime-this._lastIntervalRequestExecutionTime)/r||0;if(this._lastIntervalRequestExecutionTime=e._intervalRequestExecutionTime,a>0){var u=r/s,l=i/s;this._client.trackMetric({name:o.PerformanceCounter.REQUEST_RATE,value:u}),(!this._enableLiveMetricsCounters||r>0)&&this._client.trackMetric({name:o.PerformanceCounter.REQUEST_DURATION,value:c}),this._enableLiveMetricsCounters&&this._client.trackMetric({name:o.QuickPulseCounter.REQUEST_FAILURE_RATE,value:l})}this._lastRequests=n},e.prototype._trackDependencyRate=function(){if(this._enableLiveMetricsCounters){var t=this._lastDependencies,n={totalDependencyCount:e._totalDependencyCount,totalFailedDependencyCount:e._totalFailedDependencyCount,time:+new Date},r=n.totalDependencyCount-t.totalDependencyCount||0,i=n.totalFailedDependencyCount-t.totalFailedDependencyCount||0,a=n.time-t.time,s=a/1e3,c=(e._intervalDependencyExecutionTime-this._lastIntervalDependencyExecutionTime)/r||0;if(this._lastIntervalDependencyExecutionTime=e._intervalDependencyExecutionTime,a>0){var u=r/s,l=i/s;this._client.trackMetric({name:o.QuickPulseCounter.DEPENDENCY_RATE,value:u}),this._client.trackMetric({name:o.QuickPulseCounter.DEPENDENCY_FAILURE_RATE,value:l}),(!this._enableLiveMetricsCounters||r>0)&&this._client.trackMetric({name:o.QuickPulseCounter.DEPENDENCY_DURATION,value:c})}this._lastDependencies=n}},e.prototype._trackExceptionRate=function(){if(this._enableLiveMetricsCounters){var t=this._lastExceptions,n={totalExceptionCount:e._totalExceptionCount,time:+new Date},r=n.totalExceptionCount-t.totalExceptionCount||0,i=n.time-t.time;if(i>0){var a=r/(i/1e3);this._client.trackMetric({name:o.QuickPulseCounter.EXCEPTION_RATE,value:a})}this._lastExceptions=n}},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e._totalRequestCount=0,e._totalFailedRequestCount=0,e._totalDependencyCount=0,e._totalFailedDependencyCount=0,e._totalExceptionCount=0,e._intervalDependencyExecutionTime=0,e._intervalRequestExecutionTime=0,e}();t.exports=i})),Nr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AggregatedMetricCounter=void 0;e.AggregatedMetricCounter=function(e){this.dimensions=e,this.totalCount=0,this.lastTotalCount=0,this.intervalExecutionTime=0,this.lastTime=+new Date,this.lastIntervalExecutionTime=0}})),Dr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PreaggregatedMetricPropertyNames=void 0,e.PreaggregatedMetricPropertyNames={cloudRoleInstance:"cloud/roleInstance",cloudRoleName:"cloud/roleName",operationSynthetic:"operation/synthetic",requestSuccess:"Request.Success",requestResultCode:"request/resultCode",dependencyType:"Dependency.Type",dependencyTarget:"dependency/target",dependencySuccess:"Dependency.Success",dependencyResultCode:"dependency/resultCode",traceSeverityLevel:"trace/severityLevel"}})),Mr=_(((e,t)=>{"use strict";var n=e&&e.__assign||function(){return n=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},n.apply(this,arguments)},r=Or(),o=Nr(),i=Dr(),a=function(){function e(t,n){void 0===n&&(n=6e4),e.INSTANCE||(e.INSTANCE=this),this._isInitialized=!1,e._dependencyCountersCollection=[],e._requestCountersCollection=[],e._exceptionCountersCollection=[],e._traceCountersCollection=[],this._client=t,this._collectionInterval=n}return e.prototype.enable=function(e,t){var n=this;this._isEnabled=e,this._isEnabled&&!this._isInitialized&&(this._isInitialized=!0),e?this._handle||(this._collectionInterval=t||this._collectionInterval,this._handle=setInterval((function(){return n.trackPreAggregatedMetrics()}),this._collectionInterval),this._handle.unref()):this._handle&&(clearInterval(this._handle),this._handle=void 0)},e.countException=function(t){e.isEnabled()&&e._getAggregatedCounter(t,this._exceptionCountersCollection).totalCount++},e.countTrace=function(t){e.isEnabled()&&e._getAggregatedCounter(t,this._traceCountersCollection).totalCount++},e.countRequest=function(t,n){if(e.isEnabled()){var r,o=e._getAggregatedCounter(n,this._requestCountersCollection);if("string"==typeof t)r=+new Date("1970-01-01T"+t+"Z");else{if("number"!=typeof t)return;r=t}o.intervalExecutionTime+=r,o.totalCount++}},e.countDependency=function(t,n){if(e.isEnabled()){var r,o=e._getAggregatedCounter(n,this._dependencyCountersCollection);if("string"==typeof t)r=+new Date("1970-01-01T"+t+"Z");else{if("number"!=typeof t)return;r=t}o.intervalExecutionTime+=r,o.totalCount++}},e.prototype.isInitialized=function(){return this._isInitialized},e.isEnabled=function(){return e.INSTANCE&&e.INSTANCE._isEnabled},e.prototype.trackPreAggregatedMetrics=function(){this._trackRequestMetrics(),this._trackDependencyMetrics(),this._trackExceptionMetrics(),this._trackTraceMetrics()},e._getAggregatedCounter=function(e,t){for(var n=!1,r=0;r<t.length;r++){if(e===t[r].dimensions)return t[r];if(Object.keys(e).length===Object.keys(t[r].dimensions).length){for(var i in e)if(e[i]!=t[r].dimensions[i]){n=!0;break}if(!n)return t[r];n=!1}}var a=new o.AggregatedMetricCounter(e);return t.push(a),a},e.prototype._trackRequestMetrics=function(){for(var t=0;t<e._requestCountersCollection.length;t++){var n=e._requestCountersCollection[t];n.time=+new Date;var o=n.totalCount-n.lastTotalCount||0,i=n.time-n.lastTime,a=(n.intervalExecutionTime-n.lastIntervalExecutionTime)/o||0;n.lastIntervalExecutionTime=n.intervalExecutionTime,i>0&&o>0&&this._trackPreAggregatedMetric({name:"Server response time",dimensions:n.dimensions,value:a,count:o,aggregationInterval:i,metricType:r.MetricId.REQUESTS_DURATION}),n.lastTotalCount=n.totalCount,n.lastTime=n.time}},e.prototype._trackDependencyMetrics=function(){for(var t=0;t<e._dependencyCountersCollection.length;t++){var n=e._dependencyCountersCollection[t];n.time=+new Date;var o=n.totalCount-n.lastTotalCount||0,i=n.time-n.lastTime,a=(n.intervalExecutionTime-n.lastIntervalExecutionTime)/o||0;n.lastIntervalExecutionTime=n.intervalExecutionTime,i>0&&o>0&&this._trackPreAggregatedMetric({name:"Dependency duration",dimensions:n.dimensions,value:a,count:o,aggregationInterval:i,metricType:r.MetricId.DEPENDENCIES_DURATION}),n.lastTotalCount=n.totalCount,n.lastTime=n.time}},e.prototype._trackExceptionMetrics=function(){for(var t=0;t<e._exceptionCountersCollection.length;t++){var n=e._exceptionCountersCollection[t],o=n.totalCount-n.lastTotalCount||0,i=n.time-n.lastTime;this._trackPreAggregatedMetric({name:"Exceptions",dimensions:n.dimensions,value:o,count:o,aggregationInterval:i,metricType:r.MetricId.EXCEPTIONS_COUNT}),n.lastTotalCount=n.totalCount,n.lastTime=n.time}},e.prototype._trackTraceMetrics=function(){for(var t=0;t<e._traceCountersCollection.length;t++){var n=e._traceCountersCollection[t],o=n.totalCount-n.lastTotalCount||0,i=n.time-n.lastTime;this._trackPreAggregatedMetric({name:"Traces",dimensions:n.dimensions,value:o,count:o,aggregationInterval:i,metricType:r.MetricId.TRACES_COUNT}),n.lastTotalCount=n.totalCount,n.lastTime=n.time}},e.prototype._trackPreAggregatedMetric=function(e){var t={};for(var r in e.dimensions)t[i.PreaggregatedMetricPropertyNames[r]]=e.dimensions[r];t=n(n({},t),{"_MS.MetricId":e.metricType,"_MS.AggregationIntervalMs":String(e.aggregationInterval),"_MS.IsAutocollected":"True"});var o={name:e.name,value:e.value,count:e.count,properties:t,kind:"Aggregation"};this._client.trackMetric(o)},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e}();t.exports=a})),Lr=_(((e,t)=>{"use strict";var r=n(2037),o=n(7147),i=n(1017),a=nr(),s=I(),c=function(){function e(e){this.keys=new a.ContextTagKeys,this.tags={},this._loadApplicationContext(e),this._loadDeviceContext(),this._loadInternalContext()}return e.prototype._loadApplicationContext=function(t){if(t=t||i.resolve(__dirname,"../../../../package.json"),!e.appVersion[t]){e.appVersion[t]="unknown";try{var n=JSON.parse(o.readFileSync(t,"utf8"));n&&"string"==typeof n.version&&(e.appVersion[t]=n.version)}catch(e){s.info("unable to read app version: ",e)}}this.tags[this.keys.applicationVersion]=e.appVersion[t]},e.prototype._loadDeviceContext=function(){this.tags[this.keys.deviceId]="",this.tags[this.keys.cloudRoleInstance]=r&&r.hostname(),this.tags[this.keys.deviceOSVersion]=r&&r.type()+" "+r.release(),this.tags[this.keys.cloudRole]=e.DefaultRoleName,this.tags["ai.device.osArchitecture"]=r&&r.arch(),this.tags["ai.device.osPlatform"]=r&&r.platform()},e.prototype._loadInternalContext=function(){var t=i.resolve(__dirname,"../../package.json");if(!e.sdkVersion){e.sdkVersion="unknown";try{var n=JSON.parse(o.readFileSync(t,"utf8"));n&&"string"==typeof n.version&&(e.sdkVersion=n.version)}catch(e){s.info("unable to read app version: ",e)}}this.tags[this.keys.internalSdkVersion]="node:"+e.sdkVersion},e.DefaultRoleName="Web",e.appVersion={},e.sdkVersion=null,e}();t.exports=c})),zr=_(((e,t)=>{"use strict";var r,o=e&&e.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=n(7310),a=nr(),s=un(),c=cn(),u=rr(),l=ln(),p=function(e){function t(n,r){var o=e.call(this)||this;return r&&r.method&&n&&(o.method=r.method,o.url=t._getUrlFromRequestOptions(n,r),o.startTime=+new Date),o}return o(t,e),t.prototype.onError=function(e){this._setStatus(void 0,e)},t.prototype.onResponse=function(e){this._setStatus(e.statusCode,void 0),this.correlationId=s.getCorrelationContextTarget(e,c.requestContextTargetKey)},t.prototype.getDependencyTelemetry=function(e,t){var n=i.parse(this.url);n.search=void 0,n.hash=void 0;var r=this.method.toUpperCase()+" "+n.pathname,o=a.RemoteDependencyDataConstants.TYPE_HTTP,s=n.hostname;n.port&&(s+=":"+n.port),this.correlationId?(o=a.RemoteDependencyDataConstants.TYPE_AI,this.correlationId!==l.correlationIdPrefix&&(s+=" | "+this.correlationId)):o=a.RemoteDependencyDataConstants.TYPE_HTTP;var c={id:t,name:r,data:this.url,duration:this.duration,success:this._isSuccess(),resultCode:this.statusCode?this.statusCode.toString():null,properties:this.properties||{},dependencyTypeName:o,target:s};if(e&&e.time?c.time=e.time:this.startTime&&(c.time=new Date(this.startTime)),e){for(var u in e)c[u]||(c[u]=e[u]);if(e.properties)for(var u in e.properties)c.properties[u]=e.properties[u]}return c},t._getUrlFromRequestOptions=function(e,t){if("string"==typeof e)if(0===e.indexOf("http://")||0===e.indexOf("https://"))e=i.parse(e);else{var n=i.parse(e);e="443"===n.host?i.parse("https://"+e):i.parse("http://"+e)}else{if(e&&"function"==typeof i.URL&&e instanceof i.URL)return i.format(e);var r=e;e={},r&&Object.keys(r).forEach((function(t){e[t]=r[t]}))}if(e.path){var o=i.parse(e.path);e.pathname=o.pathname,e.search=o.search}return e.host&&e.port&&!i.parse("http://"+e.host).port&&e.port&&(e.hostname=e.host,delete e.host),e.protocol=e.protocol||t.agent&&t.agent.protocol||t.protocol||void 0,e.hostname=e.hostname||"localhost",i.format(e)},t}(u);t.exports=p})),Fr=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.spanToTelemetryContract=void 0;var n=Ie(),r=Or();function o(e){var n=t({},e);return Object.keys(r.SpanAttribute).forEach((function(e){delete n[e]})),n}e.spanToTelemetryContract=function(e){var i="|"+e.spanContext().traceId+"."+e.spanContext().spanId+".",a=Math.round(1e3*e._duration[0]+e._duration[1]/1e6),s=e.attributes["peer.address"]?e.attributes["peer.address"].toString():"",c=e.attributes.component?e.attributes.component.toString():"",u=c.toUpperCase()===r.DependencyTypeName.Http||!!e.attributes[r.SpanAttribute.HttpUrl],l=c.toLowerCase()===r.DependencyTypeName.Grpc;if(u){var p=e.attributes[r.SpanAttribute.HttpMethod]||"GET",d=new URL(e.attributes[r.SpanAttribute.HttpUrl].toString()),h=e.attributes[r.SpanAttribute.HttpHost]||d.host,m=e.attributes[r.SpanAttribute.HttpPort]||d.port||null,f=p+" "+(d.pathname||"/"),g=r.DependencyTypeName.Http,v=m?(h+":"+m).toString():h.toString(),y=d.toString(),b=e.attributes[r.SpanAttribute.HttpStatusCode]||e.status.code||0;return{id:i,name:f,dependencyTypeName:g,target:v,data:y,success:b<400,duration:a,url:y,resultCode:String(b),properties:o(e.attributes)}}if(l){p=e.attributes[r.SpanAttribute.GrpcMethod]||"rpc";var _=e.attributes[r.SpanAttribute.GrpcService],E=_?p+" "+_:e.name;return{id:i,duration:a,name:E,target:_.toString(),data:_.toString()||E,url:_.toString()||E,dependencyTypeName:r.DependencyTypeName.Grpc,resultCode:String(e.status.code||0),success:0===e.status.code,properties:o(e.attributes)}}var w=e.name,k=e.links&&e.links.map((function(e){return{operation_Id:e.context.traceId,id:e.context.spanId}}));return{id:i,duration:a,name:w,target:s,data:s||w,url:s||w,dependencyTypeName:e.kind===n.SpanKind.INTERNAL?r.DependencyTypeName.InProc:c||e.name,resultCode:String(e.status.code||0),success:0===e.status.code,properties:t(t({},o(e.attributes)),{"_MS.links":k||void 0})}}})),Ur=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.subscriber=void 0;var t=Ie(),n=N(),r=pn(),o=Fr(),i=R(),a=[];e.subscriber=function(e){var n=e.data,s=o.spanToTelemetryContract(n),c=n.spanContext(),u=new r;u.traceId=c.traceId,u.spanId=c.spanId,u.traceFlag=r.formatOpenTelemetryTraceFlags(c.traceFlags),u.parentId=n.parentSpanId?"|"+c.traceId+"."+n.parentSpanId+".":null,i.AsyncScopeManager.with(n,(function(){a.forEach((function(e){n.kind===t.SpanKind.SERVER?e.trackRequest(s):(n.kind===t.SpanKind.CLIENT||n.kind===t.SpanKind.INTERNAL)&&e.trackDependency(s)}))}))},e.enable=function(t,r){t?(0===a.length&&n.channel.subscribe("azure-coretracing",e.subscriber),a.push(r)):0===(a=a.filter((function(e){return e!=r}))).length&&n.channel.unsubscribe("azure-coretracing",e.subscriber)}})),qr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.subscriber=void 0;var t=N(),n=[];e.subscriber=function(e){"ismaster"!==e.data.event.commandName&&n.forEach((function(t){var n=e.data.startedData&&e.data.startedData.databaseName||"Unknown database";t.trackDependency({target:n,data:e.data.event.commandName,name:e.data.event.commandName,duration:e.data.event.duration,success:e.data.succeeded,resultCode:e.data.succeeded?"0":"1",time:e.data.startedData.time,dependencyTypeName:"mongodb"})}))},e.enable=function(r,o){r?(0===n.length&&t.channel.subscribe("mongodb",e.subscriber),n.push(o)):0===(n=n.filter((function(e){return e!=o}))).length&&t.channel.unsubscribe("mongodb",e.subscriber)}})),Br=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.subscriber=void 0;var t=N(),n=[];e.subscriber=function(e){n.forEach((function(t){var n=e.data.query||{},r=n.sql||"Unknown query",o=!e.data.err,i=(n._connection||{}).config||{},a=i.socketPath?i.socketPath:(i.host||"localhost")+":"+i.port;t.trackDependency({target:a,data:r,name:r,duration:e.data.duration,success:o,resultCode:o?"0":"1",time:e.data.time,dependencyTypeName:"mysql"})}))},e.enable=function(r,o){r?(0===n.length&&t.channel.subscribe("mysql",e.subscriber),n.push(o)):0===(n=n.filter((function(e){return e!=o}))).length&&t.channel.unsubscribe("mysql",e.subscriber)}})),Hr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.subscriber=void 0;var t=N(),n=[];e.subscriber=function(e){n.forEach((function(t){"info"!==e.data.commandObj.command&&t.trackDependency({target:e.data.address,name:e.data.commandObj.command,data:e.data.commandObj.command,duration:e.data.duration,success:!e.data.err,resultCode:e.data.err?"1":"0",time:e.data.time,dependencyTypeName:"redis"})}))},e.enable=function(r,o){r?(0===n.length&&t.channel.subscribe("redis",e.subscriber),n.push(o)):0===(n=n.filter((function(e){return e!=o}))).length&&t.channel.unsubscribe("redis",e.subscriber)}})),Vr=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.enable=e.subscriber=void 0;var t=N(),n=[];e.subscriber=function(e){n.forEach((function(t){var n=e.data.query,r=n.preparable&&n.preparable.text||n.plan||n.text||"unknown query",o=!e.data.error,i=e.data.database.host+":"+e.data.database.port;t.trackDependency({target:i,data:r,name:r,duration:e.data.duration,success:o,resultCode:o?"0":"1",time:e.data.time,dependencyTypeName:"postgres"})}))},e.enable=function(r,o){r?(0===n.length&&t.channel.subscribe("postgres",e.subscriber),n.push(o)):0===(n=n.filter((function(e){return e!=o}))).length&&t.channel.unsubscribe("postgres",e.subscriber)}})),Gr=_(((e,t)=>{"use strict";var r=e&&e.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},o=n(3685),i=n(5687),a=I(),s=un(),c=cn(),u=zr(),l=xr(),p=ln(),d=pn(),h=sn(),m=function(){function e(t){if(e.INSTANCE)throw new Error("Client request tracking should be configured from the applicationInsights object");e.INSTANCE=this,this._client=t}return e.prototype.enable=function(e){this._isEnabled=e,this._isEnabled&&!this._isInitialized&&this._initialize(),h.IsInitialized&&(Ur().enable(!0,this._client),qr().enable(e,this._client),Br().enable(e,this._client),Hr().enable(e,this._client),Vr().enable(e,this._client))},e.prototype.isInitialized=function(){return this._isInitialized},e.prototype._initialize=function(){var t=this;this._isInitialized=!0;var n=o.request,a=i.request,s=function(n,r){var o=!r[e.disableCollectionRequestOption]&&!n[e.alreadyAutoCollectedFlag];r.headers&&r.headers["user-agent"]&&-1!==r.headers["user-agent"].toString().indexOf("azsdk-js")&&(o=!1),n[e.alreadyAutoCollectedFlag]=!0,n&&r&&o&&(l.CorrelationContextManager.wrapEmitter(n),e.trackRequest(t._client,{options:r,request:n}))};o.request=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];var a=n.call.apply(n,r([o,e],t));return s(a,e),a},i.request=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var o=a.call.apply(a,r([i,e],t));return s(o,e),o},o.get=function(e){for(var t,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=(t=o.request).call.apply(t,r([o,e],n));return a.end(),a},i.get=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var a=(t=i.request).call.apply(t,r([i,e],n));return a.end(),a}},e.trackRequest=function(t,n){if(n.options&&n.request&&t){var r,o,i=new u(n.options,n.request),h=l.CorrelationContextManager.getCurrentContext();if(h&&h.operation&&h.operation.traceparent&&d.isValidTraceId(h.operation.traceparent.traceId)?(h.operation.traceparent.updateSpanId(),r=h.operation.traceparent.getBackCompatRequestId()):p.w3cEnabled?(o=(f=new d).toString(),r=f.getBackCompatRequestId()):r=h&&h.operation&&h.operation.parentId+e.requestNumber+++".",s.canIncludeCorrelationHeader(t,i.getUrl())&&n.request.getHeader&&n.request.setHeader&&t.config&&t.config.correlationId){var m=n.request.getHeader(c.requestContextHeader);try{s.safeIncludeCorrelationHeader(t,n.request,m)}catch(e){a.warn("Request-Context header could not be set. Correlation of requests may be lost",e)}if(h&&h.operation)try{if(n.request.setHeader(c.requestIdHeader,r),t.config.ignoreLegacyHeaders||(n.request.setHeader(c.parentIdHeader,h.operation.id),n.request.setHeader(c.rootIdHeader,r)),o||h.operation.traceparent)n.request.setHeader(c.traceparentHeader,o||h.operation.traceparent.toString());else if(p.w3cEnabled){var f=(new d).toString();n.request.setHeader(c.traceparentHeader,f)}if(h.operation.tracestate){var g=h.operation.tracestate.toString();g&&n.request.setHeader(c.traceStateHeader,g)}var v=h.customProperties.serializeToHeader();v&&n.request.setHeader(c.correlationContextHeader,v)}catch(e){a.warn("Correlation headers could not be set. Correlation of requests may be lost.",e)}}n.request.on&&(n.request.on("response",(function(e){i.onResponse(e);var o=i.getDependencyTelemetry(n,r);o.contextObjects=o.contextObjects||{},o.contextObjects["http.RequestOptions"]=n.options,o.contextObjects["http.ClientRequest"]=n.request,o.contextObjects["http.ClientResponse"]=e,t.trackDependency(o)})),n.request.on("error",(function(e){i.onError(e);var o=i.getDependencyTelemetry(n,r);o.contextObjects=o.contextObjects||{},o.contextObjects["http.RequestOptions"]=n.options,o.contextObjects["http.ClientRequest"]=n.request,o.contextObjects.Error=e,t.trackDependency(o)})),n.request.on("abort",(function(){i.onError(new Error);var e=i.getDependencyTelemetry(n,r);e.contextObjects=e.contextObjects||{},e.contextObjects["http.RequestOptions"]=n.options,e.contextObjects["http.ClientRequest"]=n.request,t.trackDependency(e)})))}else a.info("AutoCollectHttpDependencies.trackRequest was called with invalid parameters: ",!n.options,!n.request,!t)},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e.disableCollectionRequestOption="disableAppInsightsAutoCollection",e.requestNumber=1,e.alreadyAutoCollectedFlag="_appInsightsAutoCollected",e}();t.exports=m})),$r=_(((e,t)=>{"use strict";var r=n(2037),o=Or(),i=un(),a=Lr(),s=Gr(),c=function(){function e(t){this._collectionInterval=9e5,this._vmData={},this._azInst_vmId="",this._azInst_subscriptionId="",this._azInst_osType="",e.INSTANCE||(e.INSTANCE=this),this._isInitialized=!1,this._client=t}return e.prototype.enable=function(e,t){var n=this;this._isEnabled=e,this._isEnabled&&!this._isInitialized&&(this._isInitialized=!0),e?this._handle||(this._handle=setInterval((function(){return n.trackHeartBeat(t,(function(){}))}),this._collectionInterval),this._handle.unref()):this._handle&&(clearInterval(this._handle),this._handle=null)},e.prototype.isInitialized=function(){return this._isInitialized},e.isEnabled=function(){return e.INSTANCE&&e.INSTANCE._isEnabled},e.prototype.trackHeartBeat=function(e,t){var n=this,i=!1,s={},c=a.sdkVersion;s.sdk=c,s.osType=r.type(),process.env.WEBSITE_SITE_NAME?(s.appSrv_SiteName=process.env.WEBSITE_SITE_NAME||"",s.appSrv_wsStamp=process.env.WEBSITE_HOME_STAMPNAME||"",s.appSrv_wsHost=process.env.WEBSITE_HOSTNAME||""):process.env.FUNCTIONS_WORKER_RUNTIME?s.azfunction_appId=process.env.WEBSITE_HOSTNAME:e&&(void 0===this._isVM?(i=!0,this._getAzureComputeMetadata(e,(function(){n._isVM&&Object.keys(n._vmData).length>0&&(s.azInst_vmId=n._vmData.vmId||"",s.azInst_subscriptionId=n._vmData.subscriptionId||"",s.azInst_osType=n._vmData.osType||"",n._azInst_vmId=n._vmData.vmId||"",n._azInst_subscriptionId=n._vmData.subscriptionId||"",n._azInst_osType=n._vmData.osType||""),n._client.trackMetric({name:o.HeartBeatMetricName,value:0,properties:s}),t()}))):this._isVM&&(s.azInst_vmId=this._azInst_vmId,s.azInst_subscriptionId=this._azInst_subscriptionId,s.azInst_osType=this._azInst_osType)),i||(this._client.trackMetric({name:o.HeartBeatMetricName,value:0,properties:s}),t())},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1},e.prototype._getAzureComputeMetadata=function(e,t){var n,r=this,o=((n={method:"GET"})[s.disableCollectionRequestOption]=!0,n.headers={Metadata:"True"},n),a=i.makeRequest(e,"http://169.254.169.254/metadata/instance/compute?api-version=2017-12-01&format=json",o,(function(e){if(200===e.statusCode){r._isVM=!0;var n="";e.on("data",(function(e){n+=e})),e.on("end",(function(){r._vmData=r._isJSON(n)?JSON.parse(n):{},t()}))}else t()}));a&&(a.on("error",(function(e){e&&e.message&&e.message.indexOf("ENETUNREACH")>-1&&(r._isVM=!1),t()})),a.end())},e.prototype._isJSON=function(e){try{return JSON.parse(e)&&!!e}catch{return!1}},e}();t.exports=c})),Kr=_(((e,t)=>{"use strict";var r=n(3685),o=n(5687),i=I(),a=un(),s=cn(),c=or(),u=xr(),l=jr(),p=function(){function e(t){if(e.INSTANCE)throw new Error("Server request tracking should be configured from the applicationInsights object");e.INSTANCE=this,this._client=t}return e.prototype.enable=function(e){this._isEnabled=e,(this._isAutoCorrelating||this._isEnabled||l.isEnabled())&&!this._isInitialized&&(this.useAutoCorrelation(this._isAutoCorrelating),this._initialize())},e.prototype.useAutoCorrelation=function(e,t){e&&!this._isAutoCorrelating?u.CorrelationContextManager.enable(t):!e&&this._isAutoCorrelating&&u.CorrelationContextManager.disable(),this._isAutoCorrelating=e},e.prototype.isInitialized=function(){return this._isInitialized},e.prototype.isAutoCorrelating=function(){return this._isAutoCorrelating},e.prototype._generateCorrelationContext=function(e){if(this._isAutoCorrelating)return u.CorrelationContextManager.generateContextObject(e.getOperationId(this._client.context.tags),e.getRequestId(),e.getOperationName(this._client.context.tags),e.getCorrelationContextHeader(),e.getTraceparent(),e.getTracestate())},e.prototype._initialize=function(){var t=this;this._isInitialized=!0;var n=function(n){if(n){if("function"!=typeof n)throw new Error("onRequest handler must be a function");return function(r,o){u.CorrelationContextManager.wrapEmitter(r),u.CorrelationContextManager.wrapEmitter(o);var i=r&&!r[e.alreadyAutoCollectedFlag];if(r&&i){var a=new c(r),s=t._generateCorrelationContext(a);u.CorrelationContextManager.runWithContext(s,(function(){t._isEnabled&&(r[e.alreadyAutoCollectedFlag]=!0,e.trackRequest(t._client,{request:r,response:o},a)),"function"==typeof n&&n(r,o)}))}else"function"==typeof n&&n(r,o)}}},i=function(e){var t=e.addListener.bind(e);e.addListener=function(e,r){switch(e){case"request":case"checkContinue":return t(e,n(r));default:return t(e,r)}},e.on=e.addListener},a=r.createServer;r.createServer=function(e,t){if(t&&"function"==typeof t){var r=a(e,n(t));return i(r),r}return r=a(n(e)),i(r),r};var s=o.createServer;o.createServer=function(e,t){var r=s(e,n(t));return i(r),r}},e.trackRequestSync=function(t,n){if(n.request&&n.response&&t){e.addResponseCorrelationIdHeader(t,n.response);var r=u.CorrelationContextManager.getCurrentContext(),o=new c(n.request,r&&r.operation.parentId);r&&(r.operation.id=o.getOperationId(t.context.tags)||r.operation.id,r.operation.name=o.getOperationName(t.context.tags)||r.operation.name,r.operation.parentId=o.getRequestId()||r.operation.parentId,r.customProperties.addHeaderData(o.getCorrelationContextHeader())),e.endRequest(t,o,n,n.duration,n.error)}else i.info("AutoCollectHttpRequests.trackRequestSync was called with invalid parameters: ",!n.request,!n.response,!t)},e.trackRequest=function(t,n,r){if(n.request&&n.response&&t){var o=u.CorrelationContextManager.getCurrentContext(),s=r||new c(n.request,o&&o.operation.parentId);a.canIncludeCorrelationHeader(t,s.getUrl())&&e.addResponseCorrelationIdHeader(t,n.response),o&&!r&&(o.operation.id=s.getOperationId(t.context.tags)||o.operation.id,o.operation.name=s.getOperationName(t.context.tags)||o.operation.name,o.operation.parentId=s.getOperationParentId(t.context.tags)||o.operation.parentId,o.customProperties.addHeaderData(s.getCorrelationContextHeader())),n.response.once&&n.response.once("finish",(function(){e.endRequest(t,s,n,null,null)})),n.request.on&&n.request.on("error",(function(r){e.endRequest(t,s,n,null,r)})),n.request.on&&n.request.on("aborted",(function(){e.endRequest(t,s,n,null,"The request has been aborted and the network socket has closed.")}))}else i.info("AutoCollectHttpRequests.trackRequest was called with invalid parameters: ",!n.request,!n.response,!t)},e.addResponseCorrelationIdHeader=function(e,t){if(e.config&&e.config.correlationId&&t.getHeader&&t.setHeader&&!t.headersSent){var n=t.getHeader(s.requestContextHeader);a.safeIncludeCorrelationHeader(e,t,n)}},e.endRequest=function(e,t,n,r,o){o?t.onError(o,r):t.onResponse(n.response,r);var i=t.getRequestTelemetry(n);if(i.tagOverrides=t.getRequestTags(e.context.tags),n.tagOverrides)for(var a in n.tagOverrides)i.tagOverrides[a]=n.tagOverrides[a];var s=t.getLegacyRootId();s&&(i.properties.ai_legacyRootId=s),i.contextObjects=i.contextObjects||{},i.contextObjects["http.ServerRequest"]=n.request,i.contextObjects["http.ServerResponse"]=n.response,e.trackRequest(i)},e.prototype.dispose=function(){e.INSTANCE=null,this.enable(!1),this._isInitialized=!1,u.CorrelationContextManager.disable(),this._isAutoCorrelating=!1},e.alreadyAutoCollectedFlag="_appInsightsAutoCollected",e}();t.exports=p})),Wr=_(((e,t)=>{"use strict";var r=e&&e.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)},o=n(2037),i=nr(),a=Or(),s=un(),c=I(),u=s.w3cTraceId(),l=function(){function e(){}return e.createQuickPulseEnvelope=function(e,t,n,r){var i=o&&"function"==typeof o.hostname&&o.hostname()||"Unknown",a=r.tags&&r.keys&&r.keys.cloudRoleInstance&&r.tags[r.keys.cloudRoleInstance]||i,s=r.tags&&r.keys&&r.keys.cloudRole&&r.tags[r.keys.cloudRole]||null;return{Documents:t.length>0?t:null,InstrumentationKey:n.instrumentationKey||"",Metrics:e.length>0?e:null,InvariantVersion:1,Timestamp:"/Date("+Date.now()+")/",Version:r.tags[r.keys.internalSdkVersion],StreamId:u,MachineName:i,Instance:a,RoleName:s}},e.createQuickPulseMetric=function(e){return{Name:e.name,Value:e.value,Weight:e.count||1}},e.telemetryEnvelopeToQuickPulseDocument=function(t){switch(t.data.baseType){case i.TelemetryTypeString.Event:return e.createQuickPulseEventDocument(t);case i.TelemetryTypeString.Exception:return e.createQuickPulseExceptionDocument(t);case i.TelemetryTypeString.Trace:return e.createQuickPulseTraceDocument(t);case i.TelemetryTypeString.Dependency:return e.createQuickPulseDependencyDocument(t);case i.TelemetryTypeString.Request:return e.createQuickPulseRequestDocument(t)}return null},e.createQuickPulseEventDocument=function(t){var n=e.createQuickPulseDocument(t),o=t.data.baseData.name;return r(r({},n),{Name:o})},e.createQuickPulseTraceDocument=function(t){var n=e.createQuickPulseDocument(t),o=t.data.baseData.severityLevel||0;return r(r({},n),{Message:t.data.baseData.message,SeverityLevel:i.SeverityLevel[o]})},e.createQuickPulseExceptionDocument=function(t){var n=e.createQuickPulseDocument(t),o=t.data.baseData.exceptions,i="",a="",s="";return o&&o.length>0&&(o[0].parsedStack&&o[0].parsedStack.length>0?o[0].parsedStack.forEach((function(e){i+=e.assembly+"\n"})):o[0].stack&&o[0].stack.length>0&&(i=o[0].stack),a=o[0].message,s=o[0].typeName),r(r({},n),{Exception:i,ExceptionMessage:a,ExceptionType:s})},e.createQuickPulseRequestDocument=function(t){var n=e.createQuickPulseDocument(t),o=t.data.baseData;return r(r({},n),{Name:o.name,Success:o.success,Duration:o.duration,ResponseCode:o.responseCode,OperationName:o.name})},e.createQuickPulseDependencyDocument=function(t){var n=e.createQuickPulseDocument(t),o=t.data.baseData;return r(r({},n),{Name:o.name,Target:o.target,Success:o.success,Duration:o.duration,ResultCode:o.resultCode,CommandName:o.data,OperationName:n.OperationId,DependencyTypeName:o.type})},e.createQuickPulseDocument=function(t){var n,r;return t.data.baseType?(r=a.TelemetryTypeStringToQuickPulseType[t.data.baseType],n=a.TelemetryTypeStringToQuickPulseDocumentType[t.data.baseType]):c.warn("Document type invalid; not sending live metric document",t.data.baseType),{DocumentType:n,__type:r,OperationId:t.tags[e.keys.operationId],Version:"1.0",Properties:e.aggregateProperties(t)}},e.aggregateProperties=function(e){var t=[],n=e.data.baseData.measurements||{};for(var r in n)if(n.hasOwnProperty(r)){var o={key:r,value:n[r]};t.push(o)}var i=e.data.baseData.properties||{};for(var r in i)i.hasOwnProperty(r)&&(o={key:r,value:i[r]},t.push(o));return t},e.keys=new i.ContextTagKeys,e}();t.exports=l})),Qr=_(((e,t)=>{"use strict";t.exports={getTransmissionTime:function(){return 1e4*(Date.now()+621355968e5)}}})),Yr=_(((e,t)=>{"use strict";var r=e&&e.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=e&&e.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=n(5687),a=Gr(),s=I(),c=Qr(),u=un(),l="x-ms-qps-service-polling-interval-hint",p="x-ms-qps-service-endpoint-redirect",d=function(){function e(e){this._config=e,this._consecutiveErrors=0}return e.prototype.ping=function(e,t,n){var r=[{name:"x-ms-qps-stream-id",value:e.StreamId},{name:"x-ms-qps-machine-name",value:e.MachineName},{name:"x-ms-qps-role-name",value:e.RoleName},{name:"x-ms-qps-instance-name",value:e.Instance},{name:"x-ms-qps-invariant-version",value:e.InvariantVersion.toString()}];this._submitData(e,t,n,"ping",r)},e.prototype.post=function(e,t,n){return r(this,void 0,void 0,(function(){return o(this,(function(r){switch(r.label){case 0:return[4,this._submitData([e],t,n,"post")];case 1:return r.sent(),[2]}}))}))},e.prototype._submitData=function(e,t,n,s,d){return r(this,void 0,void 0,(function(){var r,h,m,f,g,v=this;return o(this,(function(o){return r=JSON.stringify(e),(f={})[a.disableCollectionRequestOption]=!0,f.host=t&&t.length>0?t:this._config.quickPulseHost,f.method="POST",f.path="/QuickPulseService.svc/"+s+"?ikey="+this._config.instrumentationKey,f.headers=((g={Expect:"100-continue"})["x-ms-qps-transmission-time"]=c.getTransmissionTime(),g["Content-Type"]="application/json",g["Content-Length"]=Buffer.byteLength(r),g),h=f,d&&d.length>0&&d.forEach((function(e){return h.headers[e.name]=e.value})),this._config.httpsAgent?h.agent=this._config.httpsAgent:h.agent=u.tlsRestrictedAgent,(m=i.request(h,(function(e){if(200==e.statusCode){var t="true"===e.headers["x-ms-qps-subscribed"],r=e.headers[p]?e.headers[p].toString():null,o=e.headers[l]?parseInt(e.headers[l].toString()):null;v._consecutiveErrors=0,n(t,e,r,o)}else v._onError("StatusCode:"+e.statusCode+" StatusMessage:"+e.statusMessage),n()}))).on("error",(function(e){v._onError(e),n()})),m.write(r),m.end(),[2]}))}))},e.prototype._onError=function(t){this._consecutiveErrors++;var n="Transient error connecting to the Live Metrics endpoint. This packet will not appear in your Live Metrics Stream. Error:";this._consecutiveErrors%e.MAX_QPS_FAILURES_BEFORE_WARN==0?(n="Live Metrics endpoint could not be reached "+this._consecutiveErrors+" consecutive times. Most recent error:",s.warn(e.TAG,n,t)):s.info(e.TAG,n,t)},e.TAG="QuickPulseSender",e.MAX_QPS_FAILURES_BEFORE_WARN=25,e}();t.exports=d})),Xr=_(((e,t)=>{"use strict";var n=e&&e.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}c((r=r.apply(e,t||[])).next())}))},r=e&&e.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},o=I(),i=Wr(),a=Yr(),s=Or(),c=Lr(),u=function(){function e(e,t){this._isCollectingData=!1,this._lastSuccessTime=Date.now(),this._lastSendSucceeded=!0,this._metrics={},this._documents=[],this._collectors=[],this._redirectedHost=null,this._pollingIntervalHint=-1,this.config=e,this.context=t||new c,this._sender=new a(this.config),this._isEnabled=!1}return e.prototype.addCollector=function(e){this._collectors.push(e)},e.prototype.trackMetric=function(e){this._addMetric(e)},e.prototype.addDocument=function(e){var t=i.telemetryEnvelopeToQuickPulseDocument(e);t&&this._documents.push(t)},e.prototype.enable=function(e){e&&!this._isEnabled?(this._isEnabled=!0,this._goQuickPulse()):!e&&this._isEnabled&&(this._isEnabled=!1,clearTimeout(this._handle),this._handle=void 0)},e.prototype.enableCollectors=function(e){this._collectors.forEach((function(t){t.enable(e)}))},e.prototype._addMetric=function(e){var t=e.value,n=e.count||1,r=s.PerformanceToQuickPulseCounter[e.name];r&&(this._metrics[r]?(this._metrics[r].Value=(this._metrics[r].Value*this._metrics[r].Weight+t*n)/(this._metrics[r].Weight+n),this._metrics[r].Weight+=n):(this._metrics[r]=i.createQuickPulseMetric(e),this._metrics[r].Name=r,this._metrics[r].Weight=1))},e.prototype._resetQuickPulseBuffer=function(){delete this._metrics,this._metrics={},this._documents.length=0},e.prototype._goQuickPulse=function(){return n(this,void 0,void 0,(function(){var t,n,o,a,s=this;return r(this,(function(r){switch(r.label){case 0:return t=Object.keys(this._metrics).map((function(e){return s._metrics[e]})),n=i.createQuickPulseEnvelope(t,this._documents.slice(),this.config,this.context),this._resetQuickPulseBuffer(),this._isCollectingData?[4,this._post(n)]:[3,2];case 1:return r.sent(),[3,3];case 2:this._ping(n),r.label=3;case 3:return o=this._pollingIntervalHint>0?this._pollingIntervalHint:e.PING_INTERVAL,a=this._isCollectingData?e.POST_INTERVAL:o,this._isCollectingData&&Date.now()-this._lastSuccessTime>=e.MAX_POST_WAIT_TIME&&!this._lastSendSucceeded?(this._isCollectingData=!1,a=e.FALLBACK_INTERVAL):!this._isCollectingData&&Date.now()-this._lastSuccessTime>=e.MAX_PING_WAIT_TIME&&!this._lastSendSucceeded&&(a=e.FALLBACK_INTERVAL),this._lastSendSucceeded=null,this._handle=setTimeout(this._goQuickPulse.bind(this),a),this._handle.unref(),[2]}}))}))},e.prototype._ping=function(e){this._sender.ping(e,this._redirectedHost,this._quickPulseDone.bind(this))},e.prototype._post=function(e){return n(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this._sender.post(e,this._redirectedHost,this._quickPulseDone.bind(this))];case 1:return t.sent(),[2]}}))}))},e.prototype._quickPulseDone=function(e,t,n,r){null!=e?(this._isCollectingData!==e&&(o.info("Live Metrics sending data",e),this.enableCollectors(e)),this._isCollectingData=e,n&&n.length>0&&(this._redirectedHost=n,o.info("Redirecting endpoint to: ",n)),r&&r>0&&(this._pollingIntervalHint=r),t&&t.statusCode<300&&t.statusCode>=200?(this._lastSuccessTime=Date.now(),this._lastSendSucceeded=!0):this._lastSendSucceeded=!1):this._lastSendSucceeded=!1},e.MAX_POST_WAIT_TIME=2e4,e.MAX_PING_WAIT_TIME=6e4,e.FALLBACK_INTERVAL=6e4,e.PING_INTERVAL=5e3,e.POST_INTERVAL=1e3,e}();t.exports=u})),Jr=_(((e,t)=>{"use strict";var n=Or(),r=function(){function e(){}return e.parse=function(t){if(!t)return{};var r=t.split(e._FIELDS_SEPARATOR).reduce((function(t,n){var r=n.split(e._FIELD_KEY_VALUE_SEPARATOR);if(2===r.length){var o=r[0].toLowerCase(),i=r[1];t[o]=i}return t}),{});if(Object.keys(r).length>0){if(r.endpointsuffix){var o=r.location?r.location+".":"";r.ingestionendpoint=r.ingestionendpoint||"https://"+o+"dc."+r.endpointsuffix,r.liveendpoint=r.liveendpoint||"https://"+o+"live."+r.endpointsuffix}r.ingestionendpoint=r.ingestionendpoint||n.DEFAULT_BREEZE_ENDPOINT,r.liveendpoint=r.liveendpoint||n.DEFAULT_LIVEMETRICS_ENDPOINT}return r},e._FIELDS_SEPARATOR=";",e._FIELD_KEY_VALUE_SEPARATOR="=",e}();t.exports=r})),Zr=_(((e,t)=>{"use strict";var r=ln(),o=Jr(),i=(I(),Or()),a=n(7310),s=function(){function e(t){var n=this;this.endpointBase=i.DEFAULT_BREEZE_ENDPOINT;var r=process.env[e.ENV_connectionString],s=o.parse(t),c=o.parse(r),u=!s.instrumentationkey&&Object.keys(s).length>0?null:t;this.instrumentationKey=s.instrumentationkey||u||c.instrumentationkey||e._getInstrumentationKey(),e._validateInstrumentationKey(this.instrumentationKey),this.endpointUrl=(s.ingestionendpoint||c.ingestionendpoint||this.endpointBase)+"/v2.1/track",this.maxBatchSize=250,this.maxBatchIntervalMs=15e3,this.disableAppInsights=!1,this.samplingPercentage=100,this.correlationIdRetryIntervalMs=3e4,this.correlationHeaderExcludedDomains=["*.core.windows.net","*.core.chinacloudapi.cn","*.core.cloudapi.de","*.core.usgovcloudapi.net","*.core.microsoft.scloud","*.core.eaglex.ic.gov"],this.setCorrelationId=function(e){return n.correlationId=e},this.proxyHttpUrl=process.env[e.ENV_http_proxy]||void 0,this.proxyHttpsUrl=process.env[e.ENV_https_proxy]||void 0,this.httpAgent=void 0,this.httpsAgent=void 0,this.profileQueryEndpoint=s.ingestionendpoint||c.ingestionendpoint||process.env[e.ENV_profileQueryEndpoint]||this.endpointBase,this._quickPulseHost=s.liveendpoint||c.liveendpoint||process.env[e.ENV_quickPulseHost]||i.DEFAULT_LIVEMETRICS_HOST,this._quickPulseHost.match(/^https?:\/\//)&&(this._quickPulseHost=a.parse(this._quickPulseHost).host)}return Object.defineProperty(e.prototype,"profileQueryEndpoint",{get:function(){return this._profileQueryEndpoint},set:function(e){r.cancelCorrelationIdQuery(this,this.setCorrelationId),this._profileQueryEndpoint=e,this.correlationId=r.correlationIdPrefix,r.queryCorrelationId(this,this.setCorrelationId)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"quickPulseHost",{get:function(){return this._quickPulseHost},set:function(e){this._quickPulseHost=e},enumerable:!1,configurable:!0}),e._getInstrumentationKey=function(){var t=process.env[e.ENV_iKey]||process.env[e.ENV_azurePrefix+e.ENV_iKey]||process.env[e.legacy_ENV_iKey]||process.env[e.ENV_azurePrefix+e.legacy_ENV_iKey];if(!t||""==t)throw new Error("Instrumentation key not found, pass the key in the config to this method or set the key in the environment variable APPINSIGHTS_INSTRUMENTATIONKEY before starting the server");return t},e._validateInstrumentationKey=function(e){return new RegExp("^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$").test(e)},e.ENV_azurePrefix="APPSETTING_",e.ENV_iKey="APPINSIGHTS_INSTRUMENTATIONKEY",e.legacy_ENV_iKey="APPINSIGHTS_INSTRUMENTATION_KEY",e.ENV_profileQueryEndpoint="APPINSIGHTS_PROFILE_QUERY_ENDPOINT",e.ENV_quickPulseHost="APPINSIGHTS_QUICKPULSE_HOST",e.ENV_connectionString="APPLICATIONINSIGHTS_CONNECTION_STRING",e.ENV_nativeMetricsDisablers="APPLICATION_INSIGHTS_DISABLE_EXTENDED_METRIC",e.ENV_nativeMetricsDisableAll="APPLICATION_INSIGHTS_DISABLE_ALL_EXTENDED_METRICS",e.ENV_http_proxy="http_proxy",e.ENV_https_proxy="https_proxy",e}();t.exports=s})),eo=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.AutoCollectNativePerformance=void 0;var r=Zr(),o=Lr(),i=I(),a=function(){function e(t){this._disabledMetrics={},e.INSTANCE&&e.INSTANCE.dispose(),e.INSTANCE=this,this._client=t}return e.isNodeVersionCompatible=function(){var e=process.versions.node.split(".");return parseInt(e[0])>=6},e.prototype.enable=function(t,r,o){var a=this;if(void 0===r&&(r={}),void 0===o&&(o=6e4),e.isNodeVersionCompatible()){if(null==e._metricsAvailable&&t&&!this._isInitialized)try{var s=n(9166);e._emitter=new s,e._metricsAvailable=!0,i.info("Native metrics module successfully loaded!")}catch{return void(e._metricsAvailable=!1)}this._isEnabled=t,this._disabledMetrics=r,this._isEnabled&&!this._isInitialized&&(this._isInitialized=!0),this._isEnabled&&e._emitter?(e._emitter.enable(!0,o),this._handle||(this._handle=setInterval((function(){return a._trackNativeMetrics()}),o),this._handle.unref())):e._emitter&&(e._emitter.enable(!1),this._handle&&(clearInterval(this._handle),this._handle=void 0))}},e.prototype.dispose=function(){this.enable(!1)},e.parseEnabled=function(e){var n=process.env[r.ENV_nativeMetricsDisableAll],o=process.env[r.ENV_nativeMetricsDisablers];if(n)return{isEnabled:!1,disabledMetrics:{}};if(o){var i=o.split(","),a={};if(i.length>0)for(var s=0,c=i;s<c.length;s++)a[c[s]]=!0;return"object"==typeof e?{isEnabled:!0,disabledMetrics:t(t({},e),a)}:{isEnabled:e,disabledMetrics:a}}return"boolean"==typeof e?{isEnabled:e,disabledMetrics:{}}:{isEnabled:!0,disabledMetrics:e}},e.prototype._trackNativeMetrics=function(){var e=!0;"object"!=typeof this._isEnabled&&(e=this._isEnabled),e&&(this._trackGarbageCollection(),this._trackEventLoop(),this._trackHeapUsage())},e.prototype._trackGarbageCollection=function(){var t;if(!this._disabledMetrics.gc){var n=e._emitter.getGCData();for(var r in n){var i=n[r].metrics,a=r+" Garbage Collection Duration",s=Math.sqrt(i.sumSquares/i.count-Math.pow(i.total/i.count,2))||0;this._client.trackMetric({name:a,value:i.total,count:i.count,max:i.max,min:i.min,stdDev:s,tagOverrides:(t={},t[this._client.context.keys.internalSdkVersion]="node-nativeperf:"+o.sdkVersion,t)})}}},e.prototype._trackEventLoop=function(){var t;if(!this._disabledMetrics.loop){var n=e._emitter.getLoopData().loopUsage;if(0!=n.count){var r=Math.sqrt(n.sumSquares/n.count-Math.pow(n.total/n.count,2))||0;this._client.trackMetric({name:"Event Loop CPU Time",value:n.total,count:n.count,min:n.min,max:n.max,stdDev:r,tagOverrides:(t={},t[this._client.context.keys.internalSdkVersion]="node-nativeperf:"+o.sdkVersion,t)})}}},e.prototype._trackHeapUsage=function(){var e,t,n;if(!this._disabledMetrics.heap){var r=process.memoryUsage(),i=r.heapUsed,a=r.heapTotal,s=r.rss;this._client.trackMetric({name:"Memory Usage (Heap)",value:i,count:1,tagOverrides:(e={},e[this._client.context.keys.internalSdkVersion]="node-nativeperf:"+o.sdkVersion,e)}),this._client.trackMetric({name:"Memory Total (Heap)",value:a,count:1,tagOverrides:(t={},t[this._client.context.keys.internalSdkVersion]="node-nativeperf:"+o.sdkVersion,t)}),this._client.trackMetric({name:"Memory Usage (Non-Heap)",value:s-a,count:1,tagOverrides:(n={},n[this._client.context.keys.internalSdkVersion]="node-nativeperf:"+o.sdkVersion,n)})}},e}();e.AutoCollectNativePerformance=a})),to=_(((e,t)=>{"use strict";var n=I(),r=function(){function e(e,t,n,r){this._buffer=[],this._lastSend=0,this._isDisabled=e,this._getBatchSize=t,this._getBatchIntervalMs=n,this._sender=r}return e.prototype.setUseDiskRetryCaching=function(e,t,n){this._sender.setDiskRetryMode(e,t,n)},e.prototype.send=function(e){var t=this;if(!this._isDisabled()){if(!e)return void n.warn("Cannot send null/undefined telemetry");if(this._buffer.push(e),this._buffer.length>=this._getBatchSize())return void this.triggerSend(!1);!this._timeoutHandle&&this._buffer.length>0&&(this._timeoutHandle=setTimeout((function(){t._timeoutHandle=null,t.triggerSend(!1)}),this._getBatchIntervalMs()))}},e.prototype.triggerSend=function(e,t){var n=this._buffer.length<1;n||(e?(this._sender.saveOnCrash(this._buffer),"function"==typeof t&&t("data saved on crash")):this._sender.send(this._buffer,t)),this._lastSend=+new Date,this._buffer=[],clearTimeout(this._timeoutHandle),this._timeoutHandle=null,n&&"function"==typeof t&&t("no data to send")},e}();t.exports=r})),no=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.azureRoleEnvironmentTelemetryProcessor=void 0,e.azureRoleEnvironmentTelemetryProcessor=function(e,t){process.env.WEBSITE_SITE_NAME&&(e.tags[t.keys.cloudRole]=process.env.WEBSITE_SITE_NAME)}})),ro=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getSamplingHashCode=e.samplingTelemetryProcessor=void 0;var t=nr();function n(e){var t=2147483647,n=5381;if(!e)return 0;for(;e.length<8;)e+=e;for(var r=0;r<e.length;r++)n=((n<<5)+n|0)+e.charCodeAt(r)|0;return(n=n<=-2147483648?t:Math.abs(n))/t*100}e.samplingTelemetryProcessor=function(e,r){var o=e.sampleRate;return!!(null==o||o>=100||e.data&&t.TelemetryType.Metric===t.baseTypeToTelemetryType(e.data.baseType))||(r.correlationContext&&r.correlationContext.operation?n(r.correlationContext.operation.id)<o:100*Math.random()<o)},e.getSamplingHashCode=n})),oo=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.performanceMetricsTelemetryProcessor=void 0;var t=jr(),n=nr();e.performanceMetricsTelemetryProcessor=function(e,r){switch(r&&r.addDocument(e),e.data.baseType){case n.TelemetryTypeString.Exception:t.countException();break;case n.TelemetryTypeString.Request:var o=e.data.baseData;t.countRequest(o.duration,o.success);break;case n.TelemetryTypeString.Dependency:var i=e.data.baseData;t.countDependency(i.duration,i.success)}return!0}})),io=_((e=>{"use strict";var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.preAggregatedMetricsTelemetryProcessor=void 0;var n=nr(),r=Mr(),o=nr();e.preAggregatedMetricsTelemetryProcessor=function(e,i){if(r.isEnabled())switch(e.data.baseType){case o.TelemetryTypeString.Exception:var a=e.data.baseData;a.properties=t(t({},a.properties),{"_MS.ProcessedByMetricExtractors":"(Name:'Exceptions', Ver:'1.1')"});var s={cloudRoleInstance:e.tags[i.keys.cloudRoleInstance],cloudRoleName:e.tags[i.keys.cloudRole]};r.countException(s);break;case o.TelemetryTypeString.Trace:var c=e.data.baseData;c.properties=t(t({},c.properties),{"_MS.ProcessedByMetricExtractors":"(Name:'Traces', Ver:'1.1')"});var u={cloudRoleInstance:e.tags[i.keys.cloudRoleInstance],cloudRoleName:e.tags[i.keys.cloudRole],traceSeverityLevel:n.SeverityLevel[c.severity]};r.countTrace(u);break;case o.TelemetryTypeString.Request:var l=e.data.baseData;l.properties=t(t({},l.properties),{"_MS.ProcessedByMetricExtractors":"(Name:'Requests', Ver:'1.1')"});var p={cloudRoleInstance:e.tags[i.keys.cloudRoleInstance],cloudRoleName:e.tags[i.keys.cloudRole],operationSynthetic:e.tags[i.keys.operationSyntheticSource],requestSuccess:l.success,requestResultCode:l.responseCode};r.countRequest(l.duration,p);break;case o.TelemetryTypeString.Dependency:var d=e.data.baseData;d.properties=t(t({},d.properties),{"_MS.ProcessedByMetricExtractors":"(Name:'Dependencies', Ver:'1.1')"});var h={cloudRoleInstance:e.tags[i.keys.cloudRoleInstance],cloudRoleName:e.tags[i.keys.cloudRole],operationSynthetic:e.tags[i.keys.operationSyntheticSource],dependencySuccess:d.success,dependencyType:d.type,dependencyTarget:d.target,dependencyResultCode:d.resultCode};r.countDependency(d.duration,h)}return!0}})),ao=_((e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0}),n(no(),e),n(ro(),e),n(oo(),e),n(io(),e)})),so=_(((e,t)=>{"use strict";var r=e&&e.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){e.done?o(e.value):function(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=e&&e.__generator||function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},i=n(7147),a=n(2037),s=n(1017),c=n(9796),u=n(2081),l=I(),p=Gr(),d=un(),h=function(){function e(t,n,r){if(this._redirectedHost=null,this._config=t,this._onSuccess=n,this._onError=r,this._enableDiskRetryMode=!1,this._resendInterval=e.WAIT_BETWEEN_RESEND,this._maxBytesOnDisk=e.MAX_BYTES_ON_DISK,this._numConsecutiveFailures=0,this._numConsecutiveRedirects=0,this._resendTimer=null,this._fileCleanupTimer=null,this._tempDir=s.join(a.tmpdir(),e.TEMPDIR_PREFIX+this._config.instrumentationKey),!e.OS_PROVIDES_FILE_PROTECTION)if(e.USE_ICACLS){try{e.OS_PROVIDES_FILE_PROTECTION=i.existsSync(e.ICACLS_PATH)}catch{}e.OS_PROVIDES_FILE_PROTECTION||l.warn(e.TAG,"Could not find ICACLS in expected location! This is necessary to use disk retry mode on Windows.")}else e.OS_PROVIDES_FILE_PROTECTION=!0}return e.prototype.setDiskRetryMode=function(t,n,r){var o=this;this._enableDiskRetryMode=e.OS_PROVIDES_FILE_PROTECTION&&t,"number"==typeof n&&n>=0&&(this._resendInterval=Math.floor(n)),"number"==typeof r&&r>=0&&(this._maxBytesOnDisk=Math.floor(r)),t&&!e.OS_PROVIDES_FILE_PROTECTION&&(this._enableDiskRetryMode=!1,l.warn(e.TAG,"Ignoring request to enable disk retry mode. Sufficient file protection capabilities were not detected.")),this._enableDiskRetryMode?this._fileCleanupTimer||(this._fileCleanupTimer=setTimeout((function(){o._fileCleanupTask()}),e.CLEANUP_TIMEOUT),this._fileCleanupTimer.unref()):this._fileCleanupTimer&&clearTimeout(this._fileCleanupTimer)},e.prototype.send=function(t,n){return r(this,void 0,void 0,(function(){var r,i,a,s,u=this;return o(this,(function(o){return t&&(r=this._redirectedHost||this._config.endpointUrl,i={method:"POST",withCredentials:!1,headers:{"Content-Type":"application/x-json-stream"}},a="",t.forEach((function(e){var t=u._stringify(e);"string"==typeof t&&(a+=t+"\n")})),a.length>0&&(a=a.substring(0,a.length-1)),s=Buffer.from?Buffer.from(a):new Buffer(a),c.gzip(s,(function(o,a){var c=a;o?(l.warn(o),c=s,i.headers["Content-Length"]=s.length.toString()):(i.headers["Content-Encoding"]="gzip",i.headers["Content-Length"]=a.length.toString()),l.info(e.TAG,i),i[p.disableCollectionRequestOption]=!0;var h=d.makeRequest(u._config,r,i,(function(r){r.setEncoding("utf-8");var o="";r.on("data",(function(e){o+=e})),r.on("end",(function(){if(u._numConsecutiveFailures=0,u._enableDiskRetryMode)if(200===r.statusCode)u._resendTimer||(u._resendTimer=setTimeout((function(){u._resendTimer=null,u._sendFirstFileOnDisk()}),u._resendInterval),u._resendTimer.unref());else if(u._isRetriable(r.statusCode))try{var i=JSON.parse(o),a=[];i.errors.forEach((function(e){u._isRetriable(e.statusCode)&&a.push(t[e.index])})),a.length>0&&u._storeToDisk(a)}catch{u._storeToDisk(t)}if(307===r.statusCode||308===r.statusCode)if(u._numConsecutiveRedirects++,u._numConsecutiveRedirects<10){var s=r.headers.location?r.headers.location.toString():null;s&&(u._redirectedHost=s,u.send(t,n))}else"function"==typeof n&&n("Error sending telemetry because of circular redirects.");else u._numConsecutiveRedirects=0,"function"==typeof n&&n(o),l.info(e.TAG,o),"function"==typeof u._onSuccess&&u._onSuccess(o)}))}));h.on("error",(function(r){if(u._numConsecutiveFailures++,!u._enableDiskRetryMode||u._numConsecutiveFailures>0&&u._numConsecutiveFailures%e.MAX_CONNECTION_FAILURES_BEFORE_WARN==0){var o="Ingestion endpoint could not be reached. This batch of telemetry items has been lost. Use Disk Retry Caching to enable resending of failed telemetry. Error:";u._enableDiskRetryMode&&(o="Ingestion endpoint could not be reached "+u._numConsecutiveFailures+" consecutive times. There may be resulting telemetry loss. Most recent error:"),l.warn(e.TAG,o,d.dumpObj(r))}else o="Transient failure to reach ingestion endpoint. This batch of telemetry items will be retried. Error:",l.info(e.TAG,o,d.dumpObj(r));u._onErrorHelper(r),"function"==typeof n&&(r&&n(d.dumpObj(r)),n("Error sending telemetry")),u._enableDiskRetryMode&&u._storeToDisk(t)})),h.write(c),h.end()}))),[2]}))}))},e.prototype.saveOnCrash=function(e){this._enableDiskRetryMode&&this._storeToDiskSync(this._stringify(e))},e.prototype._isRetriable=function(e){return 206===e||408===e||429===e||439===e||500===e||503===e},e.prototype._runICACLS=function(t,n){var r=u.spawn(e.ICACLS_PATH,t,{windowsHide:!0});r.on("error",(function(e){return n(e)})),r.on("close",(function(e,t){return n(0===e?null:new Error("Setting ACL restrictions did not succeed (ICACLS returned code "+e+")"))}))},e.prototype._runICACLSSync=function(t){if(!u.spawnSync)throw new Error("Could not synchronously call ICACLS under current version of Node.js");var n=u.spawnSync(e.ICACLS_PATH,t,{windowsHide:!0});if(n.error)throw n.error;if(0!==n.status)throw new Error("Setting ACL restrictions did not succeed (ICACLS returned code "+n.status+")")},e.prototype._getACLIdentity=function(t){if(e.ACL_IDENTITY)return t(null,e.ACL_IDENTITY);var n=u.spawn(e.POWERSHELL_PATH,["-Command","[System.Security.Principal.WindowsIdentity]::GetCurrent().Name"],{windowsHide:!0,stdio:["ignore","pipe","pipe"]}),r="";n.stdout.on("data",(function(e){return r+=e})),n.on("error",(function(e){return t(e,null)})),n.on("close",(function(n,o){return e.ACL_IDENTITY=r&&r.trim(),t(0===n?null:new Error("Getting ACL identity did not succeed (PS returned code "+n+")"),e.ACL_IDENTITY)}))},e.prototype._getACLIdentitySync=function(){if(e.ACL_IDENTITY)return e.ACL_IDENTITY;if(u.spawnSync){var t=u.spawnSync(e.POWERSHELL_PATH,["-Command","[System.Security.Principal.WindowsIdentity]::GetCurrent().Name"],{windowsHide:!0,stdio:["ignore","pipe","pipe"]});if(t.error)throw t.error;if(0!==t.status)throw new Error("Getting ACL identity did not succeed (PS returned code "+t.status+")");return e.ACL_IDENTITY=t.stdout&&t.stdout.toString().trim(),e.ACL_IDENTITY}throw new Error("Could not synchronously get ACL identity under current version of Node.js")},e.prototype._getACLArguments=function(e,t){return[e,"/grant","*S-1-5-32-544:(OI)(CI)F","/grant",t+":(OI)(CI)F","/inheritance:r"]},e.prototype._applyACLRules=function(t,n){var r=this;return e.USE_ICACLS?void 0!==e.ACLED_DIRECTORIES[t]?n(e.ACLED_DIRECTORIES[t]?null:new Error("Setting ACL restrictions did not succeed (cached result)")):(e.ACLED_DIRECTORIES[t]=!1,void this._getACLIdentity((function(o,i){if(o)return e.ACLED_DIRECTORIES[t]=!1,n(o);r._runICACLS(r._getACLArguments(t,i),(function(r){return e.ACLED_DIRECTORIES[t]=!r,n(r)}))}))):n(null)},e.prototype._applyACLRulesSync=function(t){if(e.USE_ICACLS){if(void 0===e.ACLED_DIRECTORIES[t])return this._runICACLSSync(this._getACLArguments(t,this._getACLIdentitySync())),void(e.ACLED_DIRECTORIES[t]=!0);if(!e.ACLED_DIRECTORIES[t])throw new Error("Setting ACL restrictions did not succeed (cached result)")}},e.prototype._confirmDirExists=function(e,t){var n=this;i.lstat(e,(function(r,o){r&&"ENOENT"===r.code?i.mkdir(e,(function(r){r&&"EEXIST"!==r.code?t(r):n._applyACLRules(e,t)})):!r&&o.isDirectory()?n._applyACLRules(e,t):t(r||new Error("Path existed but was not a directory"))}))},e.prototype._getShallowDirectorySize=function(e,t){i.readdir(e,(function(n,r){if(n)return t(n,-1);var o=null,a=0,c=0;if(0!==r.length)for(var u=0;u<r.length;u++)i.stat(s.join(e,r[u]),(function(e,n){c++,e?o=e:n.isFile()&&(a+=n.size),c===r.length&&t(o,o?-1:a)}));else t(null,0)}))},e.prototype._getShallowDirectorySizeSync=function(e){for(var t=i.readdirSync(e),n=0,r=0;r<t.length;r++)n+=i.statSync(s.join(e,t[r])).size;return n},e.prototype._storeToDisk=function(t){var n=this;l.info(e.TAG,"Checking existence of data storage directory: "+this._tempDir),this._confirmDirExists(this._tempDir,(function(r){if(r)return l.warn(e.TAG,"Error while checking/creating directory: "+(r&&r.message)),void n._onErrorHelper(r);n._getShallowDirectorySize(n._tempDir,(function(r,o){if(r||o<0)return l.warn(e.TAG,"Error while checking directory size: "+(r&&r.message)),void n._onErrorHelper(r);if(o>n._maxBytesOnDisk)l.warn(e.TAG,"Not saving data due to max size limit being met. Directory size in bytes is: "+o);else{var a=(new Date).getTime()+".ai.json",c=s.join(n._tempDir,a);l.info(e.TAG,"saving data to disk at: "+c),i.writeFile(c,n._stringify(t),{mode:384},(function(e){return n._onErrorHelper(e)}))}}))}))},e.prototype._storeToDiskSync=function(t){try{l.info(e.TAG,"Checking existence of data storage directory: "+this._tempDir),i.existsSync(this._tempDir)||i.mkdirSync(this._tempDir),this._applyACLRulesSync(this._tempDir);var n=this._getShallowDirectorySizeSync(this._tempDir);if(n>this._maxBytesOnDisk)return void l.info(e.TAG,"Not saving data due to max size limit being met. Directory size in bytes is: "+n);var r=(new Date).getTime()+".ai.json",o=s.join(this._tempDir,r);l.info(e.TAG,"saving data before crash to disk at: "+o),i.writeFileSync(o,t,{mode:384})}catch(t){l.warn(e.TAG,"Error while saving data to disk: "+(t&&t.message)),this._onErrorHelper(t)}},e.prototype._sendFirstFileOnDisk=function(){var e=this;i.exists(this._tempDir,(function(t){t&&i.readdir(e._tempDir,(function(t,n){if(t)e._onErrorHelper(t);else if((n=n.filter((function(e){return s.basename(e).indexOf(".ai.json")>-1}))).length>0){var r=n[0],o=s.join(e._tempDir,r);i.readFile(o,(function(t,n){t?e._onErrorHelper(t):i.unlink(o,(function(t){if(t)e._onErrorHelper(t);else try{var r=JSON.parse(n.toString());e.send(r)}catch(e){l.warn("Failed to read persisted file",e)}}))}))}}))}))},e.prototype._onErrorHelper=function(e){"function"==typeof this._onError&&this._onError(e)},e.prototype._stringify=function(e){try{return JSON.stringify(e)}catch(t){l.warn("Failed to serialize payload",t,e)}},e.prototype._fileCleanupTask=function(){var t=this;i.exists(this._tempDir,(function(n){n&&i.readdir(t._tempDir,(function(n,r){n?t._onErrorHelper(n):(r=r.filter((function(e){return s.basename(e).indexOf(".ai.json")>-1}))).length>0&&r.forEach((function(n){var r=new Date(parseInt(n.split(".ai.json")[0]));if(new Date(+new Date-e.FILE_RETEMPTION_PERIOD)>r){var o=s.join(t._tempDir,n);i.unlink(o,(function(e){e&&t._onErrorHelper(e)}))}}))}))}))},e.TAG="Sender",e.ICACLS_PATH=process.env.systemdrive+"/windows/system32/icacls.exe",e.POWERSHELL_PATH=process.env.systemdrive+"/windows/system32/windowspowershell/v1.0/powershell.exe",e.ACLED_DIRECTORIES={},e.ACL_IDENTITY=null,e.WAIT_BETWEEN_RESEND=6e4,e.MAX_BYTES_ON_DISK=52428800,e.MAX_CONNECTION_FAILURES_BEFORE_WARN=5,e.CLEANUP_TIMEOUT=36e5,e.FILE_RETEMPTION_PERIOD=6048e5,e.TEMPDIR_PREFIX="appInsights-node",e.OS_PROVIDES_FILE_PROTECTION=!1,e.USE_ICACLS="Windows_NT"===a.type(),e}();t.exports=h})),co=_(((e,t)=>{"use strict";var n=nr(),r=un(),o=xr(),i=function(){function e(){}return e.createEnvelope=function(t,o,i,a,s){var c=null;switch(o){case n.TelemetryType.Trace:c=e.createTraceData(t);break;case n.TelemetryType.Dependency:c=e.createDependencyData(t);break;case n.TelemetryType.Event:c=e.createEventData(t);break;case n.TelemetryType.Exception:c=e.createExceptionData(t);break;case n.TelemetryType.Request:c=e.createRequestData(t);break;case n.TelemetryType.Metric:c=e.createMetricData(t);break;case n.TelemetryType.Availability:c=e.createAvailabilityData(t);break;case n.TelemetryType.PageView:c=e.createPageViewData(t)}if(i&&n.domainSupportsProperties(c.baseData)){if(c&&c.baseData)if(c.baseData.properties)for(var u in i)c.baseData.properties[u]||(c.baseData.properties[u]=i[u]);else c.baseData.properties=i;c.baseData.properties=r.validateStringMap(c.baseData.properties)}var l=s&&s.instrumentationKey||"",p=new n.Envelope;return p.data=c,p.iKey=l,p.name="Microsoft.ApplicationInsights."+l.replace(/-/g,"")+"."+c.baseType.substr(0,c.baseType.length-4),p.tags=this.getTags(a,t.tagOverrides),p.time=(new Date).toISOString(),p.ver=1,p.sampleRate=s?s.samplingPercentage:100,o===n.TelemetryType.Metric&&(p.sampleRate=100),p},e.createTraceData=function(e){var t=new n.MessageData;t.message=e.message,t.properties=e.properties,isNaN(e.severity)?t.severityLevel=n.SeverityLevel.Information:t.severityLevel=e.severity;var r=new n.Data;return r.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Trace),r.baseData=t,r},e.createDependencyData=function(e){var t=new n.RemoteDependencyData;"string"==typeof e.name&&(t.name=e.name.length>1024?e.name.slice(0,1021)+"...":e.name),t.data=e.data,t.target=e.target,t.duration=r.msToTimeSpan(e.duration),t.success=e.success,t.type=e.dependencyTypeName,t.properties=e.properties,t.resultCode=e.resultCode?e.resultCode+"":"",e.id?t.id=e.id:t.id=r.w3cTraceId();var o=new n.Data;return o.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Dependency),o.baseData=t,o},e.createEventData=function(e){var t=new n.EventData;t.name=e.name,t.properties=e.properties,t.measurements=e.measurements;var r=new n.Data;return r.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Event),r.baseData=t,r},e.createExceptionData=function(e){var t=new n.ExceptionData;t.properties=e.properties,isNaN(e.severity)?t.severityLevel=n.SeverityLevel.Error:t.severityLevel=e.severity,t.measurements=e.measurements,t.exceptions=[];var o=e.exception.stack,i=new n.ExceptionDetails;i.message=e.exception.message,i.typeName=e.exception.name,i.parsedStack=this.parseStack(o),i.hasFullStack=r.isArray(i.parsedStack)&&i.parsedStack.length>0,t.exceptions.push(i);var a=new n.Data;return a.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Exception),a.baseData=t,a},e.createRequestData=function(e){var t=new n.RequestData;e.id?t.id=e.id:t.id=r.w3cTraceId(),t.name=e.name,t.url=e.url,t.source=e.source,t.duration=r.msToTimeSpan(e.duration),t.responseCode=e.resultCode?e.resultCode+"":"",t.success=e.success,t.properties=e.properties;var o=new n.Data;return o.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Request),o.baseData=t,o},e.createMetricData=function(e){var t=new n.MetricData;t.metrics=[];var r=new n.DataPoint;r.count=isNaN(e.count)?1:e.count,r.kind=n.DataPointType.Aggregation,r.max=isNaN(e.max)?e.value:e.max,r.min=isNaN(e.min)?e.value:e.min,r.name=e.name,r.stdDev=isNaN(e.stdDev)?0:e.stdDev,r.value=e.value,t.metrics.push(r),t.properties=e.properties;var o=new n.Data;return o.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Metric),o.baseData=t,o},e.createAvailabilityData=function(e){var t=new n.AvailabilityData;e.id?t.id=e.id:t.id=r.w3cTraceId(),t.name=e.name,t.duration=r.msToTimeSpan(e.duration),t.success=e.success,t.runLocation=e.runLocation,t.message=e.message,t.measurements=e.measurements,t.properties=e.properties;var o=new n.Data;return o.baseType=n.telemetryTypeToBaseType(n.TelemetryType.Availability),o.baseData=t,o},e.createPageViewData=function(e){var t=new n.PageViewData;t.name=e.name,t.duration=r.msToTimeSpan(e.duration),t.url=e.url,t.measurements=e.measurements,t.properties=e.properties;var o=new n.Data;return o.baseType=n.telemetryTypeToBaseType(n.TelemetryType.PageView),o.baseData=t,o},e.getTags=function(e,t){var n=o.CorrelationContextManager.getCurrentContext(),r={};if(e&&e.tags)for(var i in e.tags)r[i]=e.tags[i];if(t)for(var i in t)r[i]=t[i];return n&&(r[e.keys.operationId]=r[e.keys.operationId]||n.operation.id,r[e.keys.operationName]=r[e.keys.operationName]||n.operation.name,r[e.keys.operationParentId]=r[e.keys.operationParentId]||n.operation.parentId),r},e.parseStack=function(e){var t=void 0;if("string"==typeof e){var n=e.split("\n");t=[];for(var r=0,o=0,i=0;i<=n.length;i++){var s=n[i];if(a.regex.test(s)){var c=new a(n[i],r++);o+=c.sizeInBytes,t.push(c)}}if(o>32768)for(var u=0,l=t.length-1,p=0,d=u,h=l;u<l;){if((p+=t[u].sizeInBytes+t[l].sizeInBytes)>32768){var m=h-d+1;t.splice(d,m);break}d=u,h=l,u++,l--}}return t},e}(),a=function(){function e(t,n){this.sizeInBytes=0,this.level=n,this.method="<no_method>",this.assembly=r.trim(t);var o=t.match(e.regex);o&&o.length>=5&&(this.method=r.trim(o[2])||this.method,this.fileName=r.trim(o[4])||"<no_filename>",this.line=parseInt(o[5])||0),this.sizeInBytes+=this.method.length,this.sizeInBytes+=this.fileName.length,this.sizeInBytes+=this.assembly.length,this.sizeInBytes+=e.baseSize,this.sizeInBytes+=this.level.toString().length,this.sizeInBytes+=this.line.toString().length}return e.regex=/^(\s+at)?(.*?)(\@|\s\(|\s)([^\(\n]+):(\d+):(\d+)(\)?)$/,e.baseSize=58,e}();t.exports=i})),uo=_(((e,t)=>{"use strict";var r=n(7310),o=Zr(),i=Lr(),a=nr(),s=to(),c=ao(),u=xr(),l=so(),p=un(),d=I(),h=co(),m=function(){function e(e){this._telemetryProcessors=[],this._enableAzureProperties=!1;var t=new o(e);this.config=t,this.context=new i,this.commonProperties={};var n=new l(this.config);this.channel=new s((function(){return t.disableAppInsights}),(function(){return t.maxBatchSize}),(function(){return t.maxBatchIntervalMs}),n)}return e.prototype.trackAvailability=function(e){this.track(e,a.TelemetryType.Availability)},e.prototype.trackPageView=function(e){this.track(e,a.TelemetryType.PageView)},e.prototype.trackTrace=function(e){this.track(e,a.TelemetryType.Trace)},e.prototype.trackMetric=function(e){this.track(e,a.TelemetryType.Metric)},e.prototype.trackException=function(e){e&&e.exception&&!p.isError(e.exception)&&(e.exception=new Error(e.exception.toString())),this.track(e,a.TelemetryType.Exception)},e.prototype.trackEvent=function(e){this.track(e,a.TelemetryType.Event)},e.prototype.trackRequest=function(e){this.track(e,a.TelemetryType.Request)},e.prototype.trackDependency=function(e){e&&!e.target&&e.data&&(e.target=r.parse(e.data).host),this.track(e,a.TelemetryType.Dependency)},e.prototype.flush=function(e){this.channel.triggerSend(!!e&&!!e.isAppCrashing,e?e.callback:void 0)},e.prototype.track=function(e,t){if(e&&a.telemetryTypeToBaseType(t)){var n=h.createEnvelope(e,t,this.commonProperties,this.context,this.config);e.time&&(n.time=e.time.toISOString()),this._enableAzureProperties&&c.azureRoleEnvironmentTelemetryProcessor(n,this.context);var r=this.runTelemetryProcessors(n,e.contextObjects);r=r&&c.samplingTelemetryProcessor(n,{correlationContext:u.CorrelationContextManager.getCurrentContext()}),c.preAggregatedMetricsTelemetryProcessor(n,this.context),r&&(c.performanceMetricsTelemetryProcessor(n,this.quickPulseClient),this.channel.send(n))}else d.warn("track() requires telemetry object and telemetryType to be specified.")},e.prototype.setAutoPopulateAzureProperties=function(e){this._enableAzureProperties=e},e.prototype.addTelemetryProcessor=function(e){this._telemetryProcessors.push(e)},e.prototype.clearTelemetryProcessors=function(){this._telemetryProcessors=[]},e.prototype.runTelemetryProcessors=function(e,t){var n=!0,r=this._telemetryProcessors.length;if(0===r)return n;(t=t||{}).correlationContext=u.CorrelationContextManager.getCurrentContext();for(var o=0;o<r;++o)try{var i=this._telemetryProcessors[o];if(i&&!1===i.apply(null,[e,t])){n=!1;break}}catch(t){n=!0,d.warn("One of telemetry processors failed, telemetry item will be sent.",t,e)}return n&&(e&&e.tags&&(e.tags=p.validateStringMap(e.tags)),e&&e.data&&e.data.baseData&&e.data.baseData.properties&&(e.data.baseData.properties=p.validateStringMap(e.data.baseData.properties))),n},e}();t.exports=m})),lo=_(((e,t)=>{"use strict";var n,r=e&&e.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=uo(),i=Kr(),a=Gr(),s=I(),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.prototype.trackNodeHttpRequestSync=function(e){e&&e.request&&e.response&&e.duration?i.trackRequestSync(this,e):s.warn("trackNodeHttpRequestSync requires NodeHttpRequestTelemetry object with request, response and duration specified.")},t.prototype.trackNodeHttpRequest=function(e){(e.duration||e.error)&&s.warn("trackNodeHttpRequest will ignore supplied duration and error parameters. These values are collected from the request and response objects."),e&&e.request&&e.response?i.trackRequest(this,e):s.warn("trackNodeHttpRequest requires NodeHttpRequestTelemetry object with request and response specified.")},t.prototype.trackNodeHttpDependency=function(e){e&&e.request?a.trackRequest(this,e):s.warn("trackNodeHttpDependency requires NodeHttpDependencyTelemetry object with request specified.")},t}(o);t.exports=c})),po=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),ho=_((e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispose=e.Configuration=e.wrapWithCorrelationContext=e.startOperation=e.getCorrelationContext=e.start=e.setup=e.liveMetricsClient=e.defaultClient=e.DistributedTracingModes=void 0;var t,n,r=xr(),o=Rr(),i=Pr(),a=jr(),s=Mr(),c=$r(),u=Gr(),l=Kr(),p=ln(),d=I(),h=Xr(),m=eo();e.TelemetryClient=lo(),e.Contracts=nr(),e.azureFunctionsTypes=po(),(n=t=e.DistributedTracingModes||(e.DistributedTracingModes={}))[n.AI=0]="AI",n[n.AI_AND_W3C=1]="AI_AND_W3C";var f,g,v,y,b,_,E,w,k,T,S,x=!0,C=!1,A=!0,R=!0,P=!0,O=!1,j=!0,N=!0,D=!0,M=!0,L=!1,z=!0,F=void 0,U=void 0,q=!1;function B(){return e.defaultClient?(q=!0,v.enable(x,C),y.enable(A),b.enable(R),_.enable(P),E.enable(O,e.defaultClient.config),w.enable(z,g),k.useAutoCorrelation(M,f),k.enable(j),T.enable(N),e.liveMetricsClient&&L&&e.liveMetricsClient.enable(L)):d.warn("Start cannot be called before setup"),H}e.setup=function(t){return e.defaultClient?d.info("The default client is already setup"):(e.defaultClient=new e.TelemetryClient(t),v=new o(e.defaultClient),y=new i(e.defaultClient),b=new a(e.defaultClient),_=new s(e.defaultClient),E=new c(e.defaultClient),k=new l(e.defaultClient),T=new u(e.defaultClient),w||(w=new m.AutoCollectNativePerformance(e.defaultClient))),e.defaultClient&&e.defaultClient.channel&&e.defaultClient.channel.setUseDiskRetryCaching(D,F,U),H},e.start=B,e.getCorrelationContext=function(){return M?r.CorrelationContextManager.getCurrentContext():null},e.startOperation=function(e,t){return r.CorrelationContextManager.startOperation(e,t)},e.wrapWithCorrelationContext=function(e,t){return r.CorrelationContextManager.wrapCallback(e,t)};var H=function(){function n(){}return n.setDistributedTracingMode=function(e){return p.w3cEnabled=e===t.AI_AND_W3C,n},n.setAutoCollectConsole=function(e,t){return void 0===t&&(t=!1),x=e,C=t,q&&v.enable(e,t),n},n.setAutoCollectExceptions=function(e){return A=e,q&&y.enable(e),n},n.setAutoCollectPerformance=function(e,t){void 0===t&&(t=!0),R=e;var r=m.AutoCollectNativePerformance.parseEnabled(t);return z=r.isEnabled,g=r.disabledMetrics,q&&(b.enable(e),w.enable(r.isEnabled,r.disabledMetrics)),n},n.setAutoCollectPreAggregatedMetrics=function(e){return P=e,q&&_.enable(e),n},n.setAutoCollectHeartbeat=function(t){return O=t,q&&E.enable(t,e.defaultClient.config),n},n.setAutoCollectRequests=function(e){return j=e,q&&k.enable(e),n},n.setAutoCollectDependencies=function(e){return N=e,q&&T.enable(e),n},n.setAutoDependencyCorrelation=function(e,t){return M=e,f=t,q&&k.useAutoCorrelation(e,t),n},n.setUseDiskRetryCaching=function(t,r,o){return D=t,F=r,U=o,e.defaultClient&&e.defaultClient.channel&&e.defaultClient.channel.setUseDiskRetryCaching(t,r,o),n},n.setInternalLogging=function(e,t){return void 0===e&&(e=!1),void 0===t&&(t=!0),d.enableDebug=e,d.disableWarnings=!t,n},n.setSendLiveMetrics=function(t){return void 0===t&&(t=!1),e.defaultClient?(!e.liveMetricsClient&&t?(e.liveMetricsClient=new h(e.defaultClient.config,null),S=new a(e.liveMetricsClient,1e3,!0),e.liveMetricsClient.addCollector(S),e.defaultClient.quickPulseClient=e.liveMetricsClient):e.liveMetricsClient&&e.liveMetricsClient.enable(t),L=t,n):(d.warn("Live metrics client cannot be setup without the default client"),n)},n.start=B,n}();e.Configuration=H,e.dispose=function(){p.w3cEnabled=!0,e.defaultClient=null,q=!1,v&&v.dispose(),y&&y.dispose(),b&&b.dispose(),_&&_.dispose(),E&&E.dispose(),w&&w.dispose(),k&&k.dispose(),T&&T.dispose(),e.liveMetricsClient&&(e.liveMetricsClient.enable(!1),L=!1,e.liveMetricsClient=void 0)}})),mo={};((e,t)=>{for(var n in t)c(e,n,{get:t[n],enumerable:!0})})(mo,{default:()=>_o}),e.exports=(a=mo,E(c({},"__esModule",{value:!0}),a));var fo=w(n(2037)),go=w(n(9496)),vo=w(n(5687)),yo=class{constructor(e){this.vscodeAPI=e}getTelemetryLevel(){try{let e=this.vscodeAPI.env.telemetryConfiguration;return e.isUsageEnabled&&e.isErrorsEnabled&&e.isCrashEnabled?"on":e.isErrorsEnabled&&e.isCrashEnabled?"error":"off"}catch{return void 0!==this.vscodeAPI.env.isTelemetryEnabled?this.vscodeAPI.env.isTelemetryEnabled?"on":"off":this.vscodeAPI.workspace.getConfiguration("telemetry").get("enableTelemetry")?"on":"off"}}static applyReplacements(e,t){for(let n of Object.keys(e))for(let r of t)r.lookup.test(n)&&(void 0!==r.replacementString?e[n]=r.replacementString:delete e[n])}static shouldUseOneDataSystemSDK(e){return 74===e.length&&"-"===e[32]&&"-"===e[41]&&"-"===e[46]&&"-"===e[51]&&"-"===e[56]&&"-"===e[69]}static getInstance(e){return yo._instance||(yo._instance=new yo(e)),yo._instance}},bo=class{constructor(e,t,n,r,o,i){this.extensionId=e,this.extensionVersion=t,this.telemetryAppender=n,this.osShim=r,this.vscodeAPI=o,this.firstParty=!1,this.userOptIn=!1,this.errorOptIn=!1,this.disposables=[],this.firstParty=!!i,this.updateUserOptStatus(),void 0!==o.env.onDidChangeTelemetryEnabled?(this.disposables.push(o.env.onDidChangeTelemetryEnabled((()=>this.updateUserOptStatus()))),this.disposables.push(o.workspace.onDidChangeConfiguration((()=>this.updateUserOptStatus())))):this.disposables.push(o.workspace.onDidChangeConfiguration((()=>this.updateUserOptStatus())))}updateUserOptStatus(){let e=yo.getInstance(this.vscodeAPI).getTelemetryLevel();this.userOptIn="on"===e,this.errorOptIn="error"===e||this.userOptIn,(this.userOptIn||this.errorOptIn)&&this.telemetryAppender.instantiateAppender()}cleanRemoteName(e){if(!e)return"none";let t="other";return["ssh-remote","dev-container","attached-container","wsl","codespaces"].forEach((n=>{0===e.indexOf(`${n}`)&&(t=n)})),t}get extension(){return void 0===this._extension&&(this._extension=this.vscodeAPI.extensions.getExtension(this.extensionId)),this._extension}cloneAndChange(e,t){if(null===e||"object"!=typeof e||"function"!=typeof t)return e;let n={};for(let r in e)n[r]=t(r,e[r]);return n}shouldSendErrorTelemetry(){return!(!1===this.errorOptIn||this.firstParty&&this.vscodeAPI.env.remoteName&&"other"===this.cleanRemoteName(this.vscodeAPI.env.remoteName))}getCommonProperties(){let e={};if(e["common.os"]=this.osShim.platform,e["common.nodeArch"]=this.osShim.architecture,e["common.platformversion"]=(this.osShim.release||"").replace(/^(\d+)(\.\d+)?(\.\d+)?(.*)/,"$1$2$3"),e["common.extname"]=this.extensionId,e["common.extversion"]=this.extensionVersion,this.vscodeAPI&&this.vscodeAPI.env){switch(e["common.vscodemachineid"]=this.vscodeAPI.env.machineId,e["common.vscodesessionid"]=this.vscodeAPI.env.sessionId,e["common.vscodeversion"]=this.vscodeAPI.version,e["common.isnewappinstall"]=this.vscodeAPI.env.isNewAppInstall?this.vscodeAPI.env.isNewAppInstall.toString():"false",e["common.product"]=this.vscodeAPI.env.appHost,this.vscodeAPI.env.uiKind){case this.vscodeAPI.UIKind.Web:e["common.uikind"]="web";break;case this.vscodeAPI.UIKind.Desktop:e["common.uikind"]="desktop";break;default:e["common.uikind"]="unknown"}e["common.remotename"]=this.cleanRemoteName(this.vscodeAPI.env.remoteName)}return e}anonymizeFilePaths(e,t){let n;if(null==e)return"";let r=[];""!==this.vscodeAPI.env.appRoot&&r.push(new RegExp(this.vscodeAPI.env.appRoot.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi")),this.extension&&r.push(new RegExp(this.extension.extensionPath.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"));let o=e;if(t){let t=[];for(let o of r)for(;(n=o.exec(e))&&n;)t.push([n.index,o.lastIndex]);let i=/^[\\/]?(node_modules|node_modules\.asar)[\\/]/,a=/(file:\/\/)?([a-zA-Z]:(\\\\|\\|\/)|(\\\\|\\|\/))?([\w-._]+(\\\\|\\|\/))+[\w-._]*/g,s=0;for(o="";(n=a.exec(e))&&n;)n[0]&&!i.test(n[0])&&t.every((([e,t])=>n.index<e||n.index>=t))&&(o+=e.substring(s,n.index)+"<REDACTED: user-file-path>",s=a.lastIndex);s<e.length&&(o+=e.substr(s))}for(let e of r)o=o.replace(e,"");return o}removePropertiesWithPossibleUserInfo(e){if("object"!=typeof e)return;let t={};for(let n of Object.keys(e)){let r=e[n];if(!r)continue;let o=/@[a-zA-Z0-9-.]+/,i=/xox[pbaors]-[a-zA-Z0-9]+-[a-zA-Z0-9-]+?/;/(key|token|sig|signature|password|passwd|pwd|android:value)[^a-zA-Z0-9]/.test(r.toLowerCase())?t[n]="<REDACTED: secret>":o.test(r)?t[n]="<REDACTED: email>":i.test(r)?t[n]="<REDACTED: token>":t[n]=r}return t}get telemetryLevel(){switch(yo.getInstance(this.vscodeAPI).getTelemetryLevel()){case"on":return"all";case"error":return"error";case"off":return"off"}}internalSendTelemetryEvent(e,t,n,r,o){if((this.userOptIn||o)&&""!==e){if(t=y(y({},t),this.getCommonProperties()),r){let e=this.cloneAndChange(t,((e,t)=>this.anonymizeFilePaths(t,this.firstParty)));t=this.removePropertiesWithPossibleUserInfo(e)}t=t??{},n=n??{},e=`${this.extensionId}/${e}`,this.telemetryAppender.logEvent(e,{properties:t,measurements:n})}}sendTelemetryEvent(e,t,n){this.internalSendTelemetryEvent(e,t,n,!0,!1)}sendRawTelemetryEvent(e,t,n){this.internalSendTelemetryEvent(e,t,n,!1,!1)}sendDangerousTelemetryEvent(e,t,n,r=!0){this.telemetryAppender.instantiateAppender(),this.internalSendTelemetryEvent(e,t,n,r,!0)}internalSendTelemetryErrorEvent(e,t,n,r,o){if((this.shouldSendErrorTelemetry()||o)&&""!==e){if(t=y(y({},t),this.getCommonProperties()),r){let e=this.cloneAndChange(t,((e,t)=>this.anonymizeFilePaths(t,this.firstParty)));t=this.removePropertiesWithPossibleUserInfo(e)}t=t??{},n=n??{},e=`${this.extensionId}/${e}`,this.telemetryAppender.logEvent(e,{properties:t,measurements:n})}}sendTelemetryErrorEvent(e,t,n){this.internalSendTelemetryErrorEvent(e,t,n,!0,!1)}sendDangerousTelemetryErrorEvent(e,t,n,r=!0){this.telemetryAppender.instantiateAppender(),this.internalSendTelemetryErrorEvent(e,t,n,r,!0)}internalSendTelemetryException(e,t,n,r,o){if((this.shouldSendErrorTelemetry()||o)&&e){if(t=y(y({},t),this.getCommonProperties()),r){let n=this.cloneAndChange(t,((e,t)=>this.anonymizeFilePaths(t,this.firstParty)));e.stack&&(e.stack=this.anonymizeFilePaths(e.stack,this.firstParty)),t=this.removePropertiesWithPossibleUserInfo(n)}t=t??{},n=n??{},this.telemetryAppender.logException(e,{properties:t,measurements:n})}}sendTelemetryException(e,t,n){this.internalSendTelemetryException(e,t,n,!0,!1)}sendDangerousTelemetryException(e,t,n,r=!0){this.telemetryAppender.instantiateAppender(),this.internalSendTelemetryException(e,t,n,r,!0)}dispose(){return this.telemetryAppender.flush(),Promise.all(this.disposables.map((e=>e.dispose())))}},_o=class extends bo{constructor(e,t,n,r,o){let i=e=>(async(e,t)=>{let n;try{process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL="1";let t=await Promise.resolve().then((()=>w(ho())));t.defaultClient?(n=new t.TelemetryClient(e),n.channel.setUseDiskRetryCaching(!0)):(t.setup(e).setAutoCollectRequests(!1).setAutoCollectPerformance(!1).setAutoCollectExceptions(!1).setAutoCollectDependencies(!1).setAutoDependencyCorrelation(!1).setAutoCollectConsole(!1).setAutoCollectHeartbeat(!1).setUseDiskRetryCaching(!0).start(),n=t.defaultClient),go&&go.env&&(n.context.tags[n.context.keys.userId]=go.env.machineId,n.context.tags[n.context.keys.sessionId]=go.env.sessionId,n.context.tags[n.context.keys.cloudRole]=go.env.appName,n.context.tags[n.context.keys.cloudRoleInstance]=go.env.appName),e&&0===e.indexOf("AIF-")&&(n.config.endpointUrl="https://mobile.events.data.microsoft.com/collect/v1")}catch(e){return Promise.reject("Failed to initialize app insights!\n"+e.message)}return null!=t&&t.length&&function(e,t){e.addTelemetryProcessor((e=>(Array.isArray(e.tags)?e.tags.forEach((e=>yo.applyReplacements(e,t))):e.tags&&yo.applyReplacements(e.tags,t),e.data.baseData&&yo.applyReplacements(e.data.baseData,t),!0)))}(n,t),{logEvent:(e,t)=>{try{null==n||n.trackEvent({name:e,properties:null==t?void 0:t.properties,measurements:null==t?void 0:t.measurements})}catch(e){throw new Error("Failed to log event to app insights!\n"+e.message)}},logException:(e,t)=>{try{null==n||n.trackException({exception:e,properties:null==t?void 0:t.properties,measurements:null==t?void 0:t.measurements})}catch(e){throw new Error("Failed to log exception to app insights!\n"+e.message)}},flush:async()=>{try{null==n||n.flush()}catch(e){throw new Error("Failed to flush app insights!\n"+e.message)}}}})(e,o);yo.shouldUseOneDataSystemSDK(n)&&(i=e=>(async(e,t,n)=>{let r=await(async(e,t,n)=>{let r=await Promise.resolve().then((()=>w(x()))),o=await Promise.resolve().then((()=>w(A()))),i=new r.AppInsightsCore,a=new o.PostChannel,s={instrumentationKey:e,endpointUrl:"https://mobile.events.data.microsoft.com/OneCollector/1.0",loggingLevelTelemetry:0,loggingLevelConsole:0,disableCookiesUsage:!0,disableDbgExt:!0,disableInstrumentationKeyValidation:!0,channels:[[a]]};if(n){s.extensionConfig={};let e={alwaysUseXhrOverride:!0,httpXHROverride:n};s.extensionConfig[a.identifier]=e}let c=t.workspace.getConfiguration("telemetry").get("internalTesting");return i.initialize(s,[]),i.addTelemetryInitializer((e=>{!c||(e.ext=e.ext??{},e.ext.utc=e.ext.utc??{},e.ext.utc.flags=8462029)})),i})(e,t,n);return{logEvent:(e,t)=>{try{null==r||r.track({name:e,baseData:{name:e,properties:null==t?void 0:t.properties,measurements:null==t?void 0:t.measurements}})}catch(e){throw new Error("Failed to log event to app insights!\n"+e.message)}},logException:(e,t)=>{throw new Error("1DS SDK does not support logging exceptions, please use logEvent for exception tracking")},flush:async()=>{try{null==r||r.unload()}catch(e){throw new Error("Failed to flush app insights!\n"+e.message)}}}})(e,go,{sendPOST:(e,t)=>{let n={method:"POST",headers:b(y({},e.headers),{"Content-Type":"application/json","Content-Length":Buffer.byteLength(e.data)})};try{let r=vo.request(e.urlString,n,(e=>{e.on("data",(function(n){t(e.statusCode??200,e.headers,n.toString())})),e.on("error",(function(){t(0,{})}))}));r.write(e.data),r.end()}catch{t(0,{})}}}));let a=new class{constructor(e,t){this._instantiationStatus=0,this._eventQueue=[],this._exceptionQueue=[],this._clientFactory=t,this._key=e}logEvent(e,t){this._telemetryClient?this._telemetryClient.logEvent(e,t):2!==this._instantiationStatus&&this._eventQueue.push({eventName:e,data:t})}logException(e,t){this._telemetryClient?this._telemetryClient.logException(e,t):2!==this._instantiationStatus&&this._exceptionQueue.push({exception:e,data:t})}async flush(){this._telemetryClient&&(await this._telemetryClient.flush(),this._telemetryClient=void 0)}_flushQueues(){this._eventQueue.forEach((({eventName:e,data:t})=>this.logEvent(e,t))),this._eventQueue=[],this._exceptionQueue.forEach((({exception:e,data:t})=>this.logException(e,t))),this._exceptionQueue=[]}instantiateAppender(){0===this._instantiationStatus&&(this._instantiationStatus=1,this._clientFactory(this._key).then((e=>{this._telemetryClient=e,this._instantiationStatus=2,this._flushQueues()})).catch((e=>{console.error(e),this._instantiationStatus=2})))}}(n,i);n&&(0===n.indexOf("AIF-")||yo.shouldUseOneDataSystemSDK(n))&&(r=!0),super(e,t,a,{release:fo.release(),platform:fo.platform(),architecture:fo.arch()},go,r)}}},5029:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=5029,e.exports=t},3437:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=3437,e.exports=t},271:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7185);class o extends r.EventTarget{constructor(){throw super(),new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const e=i.get(this);if("boolean"!=typeof e)throw new TypeError("Expected 'this' to be an 'AbortSignal' object, but got "+(null===this?"null":typeof this));return e}}r.defineEventAttribute(o.prototype,"abort");const i=new WeakMap;Object.defineProperties(o.prototype,{aborted:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(o.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class a{constructor(){s.set(this,function(){const e=Object.create(o.prototype);return r.EventTarget.call(e),i.set(e,!1),e}())}get signal(){return c(this)}abort(){var e;e=c(this),!1===i.get(e)&&(i.set(e,!0),e.dispatchEvent({type:"abort"}))}}const s=new WeakMap;function c(e){const t=s.get(e);if(null==t)throw new TypeError("Expected 'this' to be an 'AbortController' object, but got "+(null===e?"null":typeof e));return t}Object.defineProperties(a.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}}),"function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag&&Object.defineProperty(a.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"}),t.AbortController=a,t.AbortSignal=o,t.default=a,e.exports=a,e.exports.AbortController=e.exports.default=a,e.exports.AbortSignal=o},9118:(e,t,n)=>{e.exports={parallel:n(9162),serial:n(1357),serialOrdered:n(9087)}},7651:e=>{function t(e){"function"==typeof this.jobs[e]&&this.jobs[e]()}e.exports=function(e){Object.keys(e.jobs).forEach(t.bind(e)),e.jobs={}}},5912:(e,t,n)=>{var r=n(9265);e.exports=function(e){var t=!1;return r((function(){t=!0})),function(n,o){t?e(n,o):r((function(){e(n,o)}))}}},9265:e=>{e.exports=function(e){var t="function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:null;t?t(e):setTimeout(e,0)}},7594:(e,t,n)=>{var r=n(5912),o=n(7651);e.exports=function(e,t,n,i){var a=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[a]=function(e,t,n,o){return 2==e.length?e(n,r(o)):e(n,t,r(o))}(t,a,e[a],(function(e,t){a in n.jobs&&(delete n.jobs[a],e?o(n):n.results[a]=t,i(e,n.results))}))}},4528:e=>{e.exports=function(e,t){var n=!Array.isArray(e),r={index:0,keyedList:n||t?Object.keys(e):null,jobs:{},results:n?{}:[],size:n?Object.keys(e).length:e.length};return t&&r.keyedList.sort(n?t:function(n,r){return t(e[n],e[r])}),r}},5353:(e,t,n)=>{var r=n(7651),o=n(5912);e.exports=function(e){Object.keys(this.jobs).length&&(this.index=this.size,r(this),o(e)(null,this.results))}},9162:(e,t,n)=>{var r=n(7594),o=n(4528),i=n(5353);e.exports=function(e,t,n){for(var a=o(e);a.index<(a.keyedList||e).length;)r(e,t,a,(function(e,t){e?n(e,t):0!==Object.keys(a.jobs).length||n(null,a.results)})),a.index++;return i.bind(a,n)}},1357:(e,t,n)=>{var r=n(9087);e.exports=function(e,t,n){return r(e,t,null,n)}},9087:(e,t,n)=>{var r=n(7594),o=n(4528),i=n(5353);function a(e,t){return e<t?-1:e>t?1:0}e.exports=function(e,t,n,a){var s=o(e,n);return r(e,t,s,(function n(o,i){o?a(o,i):(s.index++,s.index<(s.keyedList||e).length?r(e,t,s,n):a(null,s.results))})),i.bind(s,a)},e.exports.ascending=a,e.exports.descending=function(e,t){return-1*a(e,t)}},4106:(e,t,n)=>{var r=n(9779),o=n(3837),i=n(1017),a=n(3685),s=n(5687),c=n(7310).parse,u=n(7147),l=n(2781).Stream,p=n(983),d=n(9118),h=n(5469);function m(e){if(!(this instanceof m))return new m(e);for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=m,o.inherits(m,r),m.LINE_BREAK="\r\n",m.DEFAULT_CONTENT_TYPE="application/octet-stream",m.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),o.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},m.prototype._trackLength=function(e,t,n){var r=0;null!=n.knownLength?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+m.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion")||t instanceof l)&&(n.knownLength||this._valuesToMeasure.push(t))},m.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(n,r){var o;n?t(n):(o=r.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},m.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var r,o=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof n.header&&h(s,n.header),s)s.hasOwnProperty(c)&&null!=(r=s[c])&&(Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+m.LINE_BREAK));return"--"+this.getBoundary()+m.LINE_BREAK+a+m.LINE_BREAK},m.prototype._getContentDisposition=function(e,t){var n,r;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r},m.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=p.lookup(e.name)),!n&&e.path&&(n=p.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=p.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=m.DEFAULT_CONTENT_TYPE),n},m.prototype._multiPartFooter=function(){return function(e){var t=m.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},m.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+m.LINE_BREAK},m.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},m.prototype.setBoundary=function(e){this._boundary=e},m.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},m.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(m.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},m.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},m.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},m.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},m.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?d.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,r){n?e(n):(r.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},m.prototype.submit=function(e,t){var n,r,o={method:"post"};return"string"==typeof e?(e=c(e),r=h({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(r=h(e,o)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"==r.protocol?s.request(r):a.request(r),this.getLength(function(e,r){if(e&&"Unknown stream"!==e)this._error(e);else if(r&&n.setHeader("Content-Length",r),this.pipe(n),t){var o,i=function(e,r){return n.removeListener("error",i),n.removeListener("response",o),t.call(this,e,r)};o=i.bind(this,null),n.on("error",i),n.on("response",o)}}.bind(this)),n},m.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},m.prototype.toString=function(){return"[object FormData]"}},5469:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},9779:(e,t,n)=>{var r=n(3837),o=n(2781).Stream,i=n(3463);function a(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2097152,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}e.exports=a,r.inherits(a,o),a.create=function(e){var t=new this;for(var n in e=e||{})t[n]=e[n];return t},a.isStreamLike=function(e){return"function"!=typeof e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e&&!Buffer.isBuffer(e)},a.prototype.append=function(e){if(a.isStreamLike(e)){if(!(e instanceof i)){var t=i.create(e,{maxDataSize:1/0,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this)),e=t}this._handleErrors(e),this.pauseStreams&&e.pause()}return this._streams.push(e),this},a.prototype.pipe=function(e,t){return o.prototype.pipe.call(this,e,t),this.resume(),e},a.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop)this._pendingNext=!0;else{this._insideLoop=!0;try{do{this._pendingNext=!1,this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=!1}}},a.prototype._realGetNext=function(){var e=this._streams.shift();void 0!==e?"function"==typeof e?e(function(e){a.isStreamLike(e)&&(e.on("data",this._checkDataSize.bind(this)),this._handleErrors(e)),this._pipeNext(e)}.bind(this)):this._pipeNext(e):this.end()},a.prototype._pipeNext=function(e){if(this._currentStream=e,a.isStreamLike(e))return e.on("end",this._getNext.bind(this)),void e.pipe(this,{end:!1});var t=e;this.write(t),this._getNext()},a.prototype._handleErrors=function(e){var t=this;e.on("error",(function(e){t._emitError(e)}))},a.prototype.write=function(e){this.emit("data",e)},a.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.pause&&this._currentStream.pause(),this.emit("pause"))},a.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&"function"==typeof this._currentStream.resume&&this._currentStream.resume(),this.emit("resume")},a.prototype.end=function(){this._reset(),this.emit("end")},a.prototype.destroy=function(){this._reset(),this.emit("close")},a.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null},a.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))}},a.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach((function(t){t.dataSize&&(e.dataSize+=t.dataSize)})),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)},a.prototype._emitError=function(e){this._reset(),this.emit("error",e)}},1227:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2447)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:(e,t,n)=>{e.exports=function(e){function t(e){let n,o,i,a=null;function s(...e){if(!s.enabled)return;const r=s,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";a++;const i=t.formatters[o];if("function"==typeof i){const t=e[a];n=i.call(r,t),e.splice(a,1),a--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=r,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(o!==t.namespaces&&(o=t.namespaces,i=t.enabled(e)),i),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},5158:(e,t,n)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=n(1227):e.exports=n(39)},39:(e,t,n)=>{const r=n(6224),o=n(3837);t.init=function(e){e.inspectOpts={};const n=Object.keys(t.inspectOpts);for(let r=0;r<n.length;r++)e.inspectOpts[n[r]]=t.inspectOpts[n[r]]},t.log=function(...e){return process.stderr.write(o.format(...e)+"\n")},t.formatArgs=function(n){const{namespace:r,useColors:o}=this;if(o){const t=this.color,o="[3"+(t<8?t:"8;5;"+t),i=`  ${o};1m${r} `;n[0]=i+n[0].split("\n").join("\n"+i),n.push(o+"m+"+e.exports.humanize(this.diff)+"")}else n[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+r+" "+n[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):r.isatty(process.stderr.fd)},t.destroy=o.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=n(2130);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const n=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let r=process.env[t];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),e[n]=r,e}),{}),e.exports=n(2447)(t);const{formatters:i}=e.exports;i.o=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},i.O=function(e){return this.inspectOpts.colors=this.useColors,o.inspect(e,this.inspectOpts)}},3463:(e,t,n)=>{var r=n(2781).Stream,o=n(3837);function i(){this.source=null,this.dataSize=0,this.maxDataSize=1048576,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}e.exports=i,o.inherits(i,r),i.create=function(e,t){var n=new this;for(var r in t=t||{})n[r]=t[r];n.source=e;var o=e.emit;return e.emit=function(){return n._handleEmit(arguments),o.apply(e,arguments)},e.on("error",(function(){})),n.pauseStream&&e.pause(),n},Object.defineProperty(i.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}}),i.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)},i.prototype.resume=function(){this._released||this.release(),this.source.resume()},i.prototype.pause=function(){this.source.pause()},i.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this)),this._bufferedEvents=[]},i.prototype.pipe=function(){var e=r.prototype.pipe.apply(this,arguments);return this.resume(),e},i.prototype._handleEmit=function(e){this._released?this.emit.apply(this,e):("data"===e[0]&&(this.dataSize+=e[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(e))},i.prototype._checkIfMaxDataSizeExceeded=function(){if(!(this._maxDataSizeExceeded||this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}}},7185:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=new WeakMap,r=new WeakMap;function o(e){const t=n.get(e);return console.assert(null!=t,"'this' is expected an Event object, but got",e),t}function i(e){null==e.passiveListener?e.event.cancelable&&(e.canceled=!0,"function"==typeof e.event.preventDefault&&e.event.preventDefault()):"undefined"!=typeof console&&"function"==typeof console.error&&console.error("Unable to preventDefault inside passive event listener invocation.",e.passiveListener)}function a(e,t){n.set(this,{eventTarget:e,event:t,eventPhase:2,currentTarget:e,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:t.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});const r=Object.keys(t);for(let e=0;e<r.length;++e){const t=r[e];t in this||Object.defineProperty(this,t,s(t))}}function s(e){return{get(){return o(this).event[e]},set(t){o(this).event[e]=t},configurable:!0,enumerable:!0}}function c(e){return{value(){const t=o(this).event;return t[e].apply(t,arguments)},configurable:!0,enumerable:!0}}function u(e){if(null==e||e===Object.prototype)return a;let t=r.get(e);return null==t&&(t=function(e,t){const n=Object.keys(t);if(0===n.length)return e;function r(t,n){e.call(this,t,n)}r.prototype=Object.create(e.prototype,{constructor:{value:r,configurable:!0,writable:!0}});for(let o=0;o<n.length;++o){const i=n[o];if(!(i in e.prototype)){const e="function"==typeof Object.getOwnPropertyDescriptor(t,i).value;Object.defineProperty(r.prototype,i,e?c(i):s(i))}}return r}(u(Object.getPrototypeOf(e)),e),r.set(e,t)),t}function l(e){return o(e).immediateStopped}function p(e,t){o(e).passiveListener=t}a.prototype={get type(){return o(this).event.type},get target(){return o(this).eventTarget},get currentTarget(){return o(this).currentTarget},composedPath(){const e=o(this).currentTarget;return null==e?[]:[e]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return o(this).eventPhase},stopPropagation(){const e=o(this);e.stopped=!0,"function"==typeof e.event.stopPropagation&&e.event.stopPropagation()},stopImmediatePropagation(){const e=o(this);e.stopped=!0,e.immediateStopped=!0,"function"==typeof e.event.stopImmediatePropagation&&e.event.stopImmediatePropagation()},get bubbles(){return Boolean(o(this).event.bubbles)},get cancelable(){return Boolean(o(this).event.cancelable)},preventDefault(){i(o(this))},get defaultPrevented(){return o(this).canceled},get composed(){return Boolean(o(this).event.composed)},get timeStamp(){return o(this).timeStamp},get srcElement(){return o(this).eventTarget},get cancelBubble(){return o(this).stopped},set cancelBubble(e){if(!e)return;const t=o(this);t.stopped=!0,"boolean"==typeof t.event.cancelBubble&&(t.event.cancelBubble=!0)},get returnValue(){return!o(this).canceled},set returnValue(e){e||i(o(this))},initEvent(){}},Object.defineProperty(a.prototype,"constructor",{value:a,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.Event&&(Object.setPrototypeOf(a.prototype,window.Event.prototype),r.set(window.Event.prototype,a));const d=new WeakMap,h=3;function m(e){return null!==e&&"object"==typeof e}function f(e){const t=d.get(e);if(null==t)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return t}function g(e,t){Object.defineProperty(e,`on${t}`,function(e){return{get(){let t=f(this).get(e);for(;null!=t;){if(t.listenerType===h)return t.listener;t=t.next}return null},set(t){"function"==typeof t||m(t)||(t=null);const n=f(this);let r=null,o=n.get(e);for(;null!=o;)o.listenerType===h?null!==r?r.next=o.next:null!==o.next?n.set(e,o.next):n.delete(e):r=o,o=o.next;if(null!==t){const o={listener:t,listenerType:h,passive:!1,once:!1,next:null};null===r?n.set(e,o):r.next=o}},configurable:!0,enumerable:!0}}(t))}function v(e){function t(){y.call(this)}t.prototype=Object.create(y.prototype,{constructor:{value:t,configurable:!0,writable:!0}});for(let n=0;n<e.length;++n)g(t.prototype,e[n]);return t}function y(){if(!(this instanceof y)){if(1===arguments.length&&Array.isArray(arguments[0]))return v(arguments[0]);if(arguments.length>0){const e=new Array(arguments.length);for(let t=0;t<arguments.length;++t)e[t]=arguments[t];return v(e)}throw new TypeError("Cannot call a class as a function")}d.set(this,new Map)}y.prototype={addEventListener(e,t,n){if(null==t)return;if("function"!=typeof t&&!m(t))throw new TypeError("'listener' should be a function or an object.");const r=f(this),o=m(n),i=(o?Boolean(n.capture):Boolean(n))?1:2,a={listener:t,listenerType:i,passive:o&&Boolean(n.passive),once:o&&Boolean(n.once),next:null};let s=r.get(e);if(void 0===s)return void r.set(e,a);let c=null;for(;null!=s;){if(s.listener===t&&s.listenerType===i)return;c=s,s=s.next}c.next=a},removeEventListener(e,t,n){if(null==t)return;const r=f(this),o=(m(n)?Boolean(n.capture):Boolean(n))?1:2;let i=null,a=r.get(e);for(;null!=a;){if(a.listener===t&&a.listenerType===o)return void(null!==i?i.next=a.next:null!==a.next?r.set(e,a.next):r.delete(e));i=a,a=a.next}},dispatchEvent(e){if(null==e||"string"!=typeof e.type)throw new TypeError('"event.type" should be a string.');const t=f(this),n=e.type;let r=t.get(n);if(null==r)return!0;const i=function(e,t){return new(u(Object.getPrototypeOf(t)))(e,t)}(this,e);let a=null;for(;null!=r;){if(r.once?null!==a?a.next=r.next:null!==r.next?t.set(n,r.next):t.delete(n):a=r,p(i,r.passive?r.listener:null),"function"==typeof r.listener)try{r.listener.call(this,i)}catch(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}else r.listenerType!==h&&"function"==typeof r.listener.handleEvent&&r.listener.handleEvent(i);if(l(i))break;r=r.next}return p(i,null),function(e,t){o(e).eventPhase=0}(i),function(e,t){o(e).currentTarget=null}(i),!i.defaultPrevented}},Object.defineProperty(y.prototype,"constructor",{value:y,configurable:!0,writable:!0}),"undefined"!=typeof window&&void 0!==window.EventTarget&&Object.setPrototypeOf(y.prototype,window.EventTarget.prototype),t.defineEventAttribute=g,t.EventTarget=y,t.default=y,e.exports=y,e.exports.EventTarget=e.exports.default=y,e.exports.defineEventAttribute=g},2261:(e,t,n)=>{var r;e.exports=function(){if(!r){try{r=n(5158)("follow-redirects")}catch(e){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},938:(e,t,n)=>{var r=n(7310),o=r.URL,i=n(3685),a=n(5687),s=n(2781).Writable,c=n(9491),u=n(2261),l=!1;try{c(new o)}catch(e){l="ERR_INVALID_URL"===e.code}var p=["auth","host","hostname","href","path","pathname","port","protocol","query","search"],d=["abort","aborted","connect","error","socket","timeout"],h=Object.create(null);d.forEach((function(e){h[e]=function(t,n,r){this._redirectable.emit(e,t,n,r)}}));var m=C("ERR_INVALID_URL","Invalid URL",TypeError),f=C("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),g=C("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded",f),v=C("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),y=C("ERR_STREAM_WRITE_AFTER_END","write after end"),b=s.prototype.destroy||w;function _(e,t){s.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var n=this;this._onNativeResponse=function(e){try{n._processResponse(e)}catch(e){n.emit("error",e instanceof f?e:new f({cause:e}))}},this._performRequest()}function E(e){var t={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(e).forEach((function(r){var i=r+":",a=n[i]=e[r],s=t[r]=Object.create(a);Object.defineProperties(s,{request:{value:function(e,r,a){return o&&e instanceof o?e=S(e):I(e)?e=S(k(e)):(a=r,r=T(e),e={protocol:i}),R(r)&&(a=r,r=null),(r=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},e,r)).nativeProtocols=n,I(r.host)||I(r.hostname)||(r.hostname="::1"),c.equal(r.protocol,i,"protocol mismatch"),u("options",r),new _(r,a)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(e,t,n){var r=s.request(e,t,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),t}function w(){}function k(e){var t;if(l)t=new o(e);else if(!I((t=T(r.parse(e))).protocol))throw new m({input:e});return t}function T(e){if(/^\[/.test(e.hostname)&&!/^\[[:0-9a-f]+\]$/i.test(e.hostname))throw new m({input:e.href||e});if(/^\[/.test(e.host)&&!/^\[[:0-9a-f]+\](:\d+)?$/i.test(e.host))throw new m({input:e.href||e});return e}function S(e,t){var n=t||{};for(var r of p)n[r]=e[r];return n.hostname.startsWith("[")&&(n.hostname=n.hostname.slice(1,-1)),""!==n.port&&(n.port=Number(n.port)),n.path=n.search?n.pathname+n.search:n.pathname,n}function x(e,t){var n;for(var r in t)e.test(r)&&(n=t[r],delete t[r]);return null==n?void 0:String(n).trim()}function C(e,t,n){function r(n){Error.captureStackTrace(this,this.constructor),Object.assign(this,n||{}),this.code=e,this.message=this.cause?t+": "+this.cause.message:t}return r.prototype=new(n||Error),Object.defineProperties(r.prototype,{constructor:{value:r,enumerable:!1},name:{value:"Error ["+e+"]",enumerable:!1}}),r}function A(e,t){for(var n of d)e.removeListener(n,h[n]);e.on("error",w),e.destroy(t)}function I(e){return"string"==typeof e||e instanceof String}function R(e){return"function"==typeof e}_.prototype=Object.create(s.prototype),_.prototype.abort=function(){A(this._currentRequest),this._currentRequest.abort(),this.emit("abort")},_.prototype.destroy=function(e){return A(this._currentRequest,e),b.call(this,e),this},_.prototype.write=function(e,t,n){if(this._ending)throw new y;if(!(I(e)||"object"==typeof(r=e)&&"length"in r))throw new TypeError("data should be a string, Buffer or Uint8Array");var r;R(t)&&(n=t,t=null),0!==e.length?this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,n)):(this.emit("error",new v),this.abort()):n&&n()},_.prototype.end=function(e,t,n){if(R(e)?(n=e,e=t=null):R(t)&&(n=t,t=null),e){var r=this,o=this._currentRequest;this.write(e,t,(function(){r._ended=!0,o.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},_.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)},_.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)},_.prototype.setTimeout=function(e,t){var n=this;function r(t){t.setTimeout(e),t.removeListener("timeout",t.destroy),t.addListener("timeout",t.destroy)}function o(t){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),i()}),e),r(t)}function i(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",i),n.removeListener("error",i),n.removeListener("response",i),n.removeListener("close",i),t&&n.removeListener("timeout",t),n.socket||n._currentRequest.removeListener("socket",o)}return t&&this.on("timeout",t),this.socket?o(this.socket):this._currentRequest.once("socket",o),this.on("socket",r),this.on("abort",i),this.on("error",i),this.on("response",i),this.on("close",i),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(e){_.prototype[e]=function(t,n){return this._currentRequest[e](t,n)}})),["aborted","connection","socket"].forEach((function(e){Object.defineProperty(_.prototype,e,{get:function(){return this._currentRequest[e]}})})),_.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}},_.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t)throw new TypeError("Unsupported protocol "+e);if(this._options.agents){var n=e.slice(0,-1);this._options.agent=this._options.agents[n]}var o=this._currentRequest=t.request(this._options,this._onNativeResponse);for(var i of(o._redirectable=this,d))o.on(i,h[i]);if(this._currentUrl=/^\//.test(this._options.path)?r.format(this._options):this._options.path,this._isRedirect){var a=0,s=this,c=this._requestBodyBuffers;!function e(t){if(o===s._currentRequest)if(t)s.emit("error",t);else if(a<c.length){var n=c[a++];o.finished||o.write(n.data,n.encoding,e)}else s._ended&&o.end()}()}},_.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var n,i=e.headers.location;if(!i||!1===this._options.followRedirects||t<300||t>=400)return e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),void(this._requestBodyBuffers=[]);if(A(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects)throw new g;var a=this._options.beforeRedirect;a&&(n=Object.assign({Host:e.req.getHeader("host")},this._options.headers));var s=this._options.method;((301===t||302===t)&&"POST"===this._options.method||303===t&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],x(/^content-/i,this._options.headers));var p,d,h=x(/^host$/i,this._options.headers),m=k(this._currentUrl),f=h||m.host,v=/^\w+:/.test(i)?this._currentUrl:r.format(Object.assign(m,{host:f})),y=(p=i,d=v,l?new o(p,d):k(r.resolve(d,p)));if(u("redirecting to",y.href),this._isRedirect=!0,S(y,this._options),(y.protocol!==m.protocol&&"https:"!==y.protocol||y.host!==f&&!function(e,t){c(I(e)&&I(t));var n=e.length-t.length-1;return n>0&&"."===e[n]&&e.endsWith(t)}(y.host,f))&&x(/^(?:authorization|cookie)$/i,this._options.headers),R(a)){var b={headers:e.headers,statusCode:t},_={url:v,method:s,headers:n};a(this._options,b,_),this._sanitizeOptions(this._options)}this._performRequest()},e.exports=E({http:i,https:a}),e.exports.wrap=E},6882:(e,t,n)=>{var r=n(9779),o=n(3837),i=n(1017),a=n(3685),s=n(5687),c=n(7310).parse,u=n(7147),l=n(983),p=n(9118),d=n(2275);function h(e){if(!(this instanceof h))return new h;for(var t in this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],r.call(this),e=e||{})this[t]=e[t]}e.exports=h,o.inherits(h,r),h.LINE_BREAK="\r\n",h.DEFAULT_CONTENT_TYPE="application/octet-stream",h.prototype.append=function(e,t,n){"string"==typeof(n=n||{})&&(n={filename:n});var i=r.prototype.append.bind(this);if("number"==typeof t&&(t=""+t),o.isArray(t))this._error(new Error("Arrays are not supported."));else{var a=this._multiPartHeader(e,t,n),s=this._multiPartFooter();i(a),i(t),i(s),this._trackLength(a,t,n)}},h.prototype._trackLength=function(e,t,n){var r=0;null!=n.knownLength?r+=+n.knownLength:Buffer.isBuffer(t)?r=t.length:"string"==typeof t&&(r=Buffer.byteLength(t)),this._valueLength+=r,this._overheadLength+=Buffer.byteLength(e)+h.LINE_BREAK.length,t&&(t.path||t.readable&&t.hasOwnProperty("httpVersion"))&&(n.knownLength||this._valuesToMeasure.push(t))},h.prototype._lengthRetriever=function(e,t){e.hasOwnProperty("fd")?null!=e.end&&e.end!=1/0&&null!=e.start?t(null,e.end+1-(e.start?e.start:0)):u.stat(e.path,(function(n,r){var o;n?t(n):(o=r.size-(e.start?e.start:0),t(null,o))})):e.hasOwnProperty("httpVersion")?t(null,+e.headers["content-length"]):e.hasOwnProperty("httpModule")?(e.on("response",(function(n){e.pause(),t(null,+n.headers["content-length"])})),e.resume()):t("Unknown stream")},h.prototype._multiPartHeader=function(e,t,n){if("string"==typeof n.header)return n.header;var r,o=this._getContentDisposition(t,n),i=this._getContentType(t,n),a="",s={"Content-Disposition":["form-data",'name="'+e+'"'].concat(o||[]),"Content-Type":[].concat(i||[])};for(var c in"object"==typeof n.header&&d(s,n.header),s)s.hasOwnProperty(c)&&null!=(r=s[c])&&(Array.isArray(r)||(r=[r]),r.length&&(a+=c+": "+r.join("; ")+h.LINE_BREAK));return"--"+this.getBoundary()+h.LINE_BREAK+a+h.LINE_BREAK},h.prototype._getContentDisposition=function(e,t){var n,r;return"string"==typeof t.filepath?n=i.normalize(t.filepath).replace(/\\/g,"/"):t.filename||e.name||e.path?n=i.basename(t.filename||e.name||e.path):e.readable&&e.hasOwnProperty("httpVersion")&&(n=i.basename(e.client._httpMessage.path||"")),n&&(r='filename="'+n+'"'),r},h.prototype._getContentType=function(e,t){var n=t.contentType;return!n&&e.name&&(n=l.lookup(e.name)),!n&&e.path&&(n=l.lookup(e.path)),!n&&e.readable&&e.hasOwnProperty("httpVersion")&&(n=e.headers["content-type"]),n||!t.filepath&&!t.filename||(n=l.lookup(t.filepath||t.filename)),n||"object"!=typeof e||(n=h.DEFAULT_CONTENT_TYPE),n},h.prototype._multiPartFooter=function(){return function(e){var t=h.LINE_BREAK;0===this._streams.length&&(t+=this._lastBoundary()),e(t)}.bind(this)},h.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+h.LINE_BREAK},h.prototype.getHeaders=function(e){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in e)e.hasOwnProperty(t)&&(n[t.toLowerCase()]=e[t]);return n},h.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary},h.prototype.getBuffer=function(){for(var e=new Buffer.alloc(0),t=this.getBoundary(),n=0,r=this._streams.length;n<r;n++)"function"!=typeof this._streams[n]&&(e=Buffer.isBuffer(this._streams[n])?Buffer.concat([e,this._streams[n]]):Buffer.concat([e,Buffer.from(this._streams[n])]),"string"==typeof this._streams[n]&&this._streams[n].substring(2,t.length+2)===t||(e=Buffer.concat([e,Buffer.from(h.LINE_BREAK)])));return Buffer.concat([e,Buffer.from(this._lastBoundary())])},h.prototype._generateBoundary=function(){for(var e="--------------------------",t=0;t<24;t++)e+=Math.floor(10*Math.random()).toString(16);this._boundary=e},h.prototype.getLengthSync=function(){var e=this._overheadLength+this._valueLength;return this._streams.length&&(e+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),e},h.prototype.hasKnownLength=function(){var e=!0;return this._valuesToMeasure.length&&(e=!1),e},h.prototype.getLength=function(e){var t=this._overheadLength+this._valueLength;this._streams.length&&(t+=this._lastBoundary().length),this._valuesToMeasure.length?p.parallel(this._valuesToMeasure,this._lengthRetriever,(function(n,r){n?e(n):(r.forEach((function(e){t+=e})),e(null,t))})):process.nextTick(e.bind(this,null,t))},h.prototype.submit=function(e,t){var n,r,o={method:"post"};return"string"==typeof e?(e=c(e),r=d({port:e.port,path:e.pathname,host:e.hostname,protocol:e.protocol},o)):(r=d(e,o)).port||(r.port="https:"==r.protocol?443:80),r.headers=this.getHeaders(e.headers),n="https:"==r.protocol?s.request(r):a.request(r),this.getLength(function(e,r){e?this._error(e):(n.setHeader("Content-Length",r),this.pipe(n),t&&(n.on("error",t),n.on("response",t.bind(this,null))))}.bind(this)),n},h.prototype._error=function(e){this.error||(this.error=e,this.pause(),this.emit("error",e))},h.prototype.toString=function(){return"[object FormData]"}},2275:e=>{e.exports=function(e,t){return Object.keys(t).forEach((function(n){e[n]=e[n]||t[n]})),e}},1476:e=>{"use strict";const t="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}",n="[0-9a-fA-F]{1,4}",r=`\n(\n(?:${n}:){7}(?:${n}|:)|                                // 1:2:3:4:5:6:7::  1:2:3:4:5:6:7:8\n(?:${n}:){6}(?:${t}|:${n}|:)|                         // 1:2:3:4:5:6::    1:2:3:4:5:6::8   1:2:3:4:5:6::8  1:2:3:4:5:6::1.2.3.4\n(?:${n}:){5}(?::${t}|(:${n}){1,2}|:)|                 // 1:2:3:4:5::      1:2:3:4:5::7:8   1:2:3:4:5::8    1:2:3:4:5::7:1.2.3.4\n(?:${n}:){4}(?:(:${n}){0,1}:${t}|(:${n}){1,3}|:)| // 1:2:3:4::        1:2:3:4::6:7:8   1:2:3:4::8      1:2:3:4::6:7:1.2.3.4\n(?:${n}:){3}(?:(:${n}){0,2}:${t}|(:${n}){1,4}|:)| // 1:2:3::          1:2:3::5:6:7:8   1:2:3::8        1:2:3::5:6:7:1.2.3.4\n(?:${n}:){2}(?:(:${n}){0,3}:${t}|(:${n}){1,5}|:)| // 1:2::            1:2::4:5:6:7:8   1:2::8          1:2::4:5:6:7:1.2.3.4\n(?:${n}:){1}(?:(:${n}){0,4}:${t}|(:${n}){1,6}|:)| // 1::              1::3:4:5:6:7:8   1::8            1::3:4:5:6:7:1.2.3.4\n(?::((?::${n}){0,5}:${t}|(?::${n}){1,7}|:))           // ::2:3:4:5:6:7:8  ::2:3:4:5:6:7:8  ::8             ::1.2.3.4\n)(%[0-9a-zA-Z]{1,})?                                           // %eth0            %1\n`.replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),o=e.exports=e=>e&&e.exact?new RegExp(`(?:^${t}$)|(?:^${r}$)`):new RegExp(`(?:${t})|(?:${r})`,"g");o.v4=e=>e&&e.exact?new RegExp(`^${t}$`):new RegExp(t,"g"),o.v6=e=>e&&e.exact?new RegExp(`^${r}$`):new RegExp(r,"g")},578:(e,t,n)=>{var r=n(7147),o="wx";if(process.version.match(/^v0\.[0-6]/)){var i=n(2057);o=i.O_TRUNC|i.O_CREAT|i.O_WRONLY|i.O_EXCL}var a,s=n(2037);t.filetime="ctime","win32"==s.platform()&&(t.filetime="mtime");var c=n(3837);a=c.debuglog?c.debuglog("LOCKFILE"):/\blockfile\b/i.test(process.env.NODE_DEBUG)?function(){var e=c.format.apply(c,arguments);console.error("LOCKFILE %d %s",process.pid,e)}:function(){};var u={};n(7908)((function(){a("exit listener"),Object.keys(u).forEach(t.unlockSync)})),/^v0\.[0-8]\./.test(process.version)&&(a("uncaughtException, version = %s",process.version),process.on("uncaughtException",(function e(n){if(a("uncaughtException"),!process.listeners("uncaughtException").filter((function(t){return t!==e})).length){try{Object.keys(u).forEach(t.unlockSync)}catch(e){}throw process.removeListener("uncaughtException",e),n}}))),t.unlock=function(e,t){a("unlock",e),delete u[e],r.unlink(e,(function(e){t&&t()}))},t.unlockSync=function(e){a("unlockSync",e);try{r.unlinkSync(e)}catch(e){}delete u[e]},t.check=function(e,n,o){"function"==typeof n&&(o=n,n={}),a("check",e,n),r.open(e,"r",(function(e,i){return e?"ENOENT"!==e.code?o(e):o(null,!1):n.stale?void r.fstat(i,(function(e,a){if(e)return r.close(i,(function(t){return o(e)}));r.close(i,(function(e){var r=Date.now()-a[t.filetime].getTime();return o(e,r<=n.stale)}))})):r.close(i,(function(e){return o(e,!0)}))}))},t.checkSync=function(e,n){if(a("checkSync",e,n=n||{}),n.wait)throw new Error("opts.wait not supported sync for obvious reasons");try{var o=r.openSync(e,"r")}catch(e){if("ENOENT"!==e.code)throw e;return!1}if(!n.stale){try{r.closeSync(o)}catch(e){}return!0}if(n.stale){try{var i=r.fstatSync(o)}finally{r.closeSync(o)}return Date.now()-i[t.filetime].getTime()<=n.stale}};var l=1;function p(e,n,o,i,s){r.stat(n,(function(c,u){return c?"ENOENT"===c.code?(o.stale=!1,a("lock stale enoent retry",n,o),void t.lock(n,o,s)):s(c):Date.now()-u[t.filetime].getTime()<=o.stale?d(e,n,o,s):(a("lock stale",n,o),void(i?t.unlock(n,(function(e){if(e)return s(e);a("lock stale retry",n,o),r.link(n+".STALE",n,(function(e){r.unlink(n+".STALE",(function(){s(e)}))}))})):(a("acquire .STALE file lock",o),t.lock(n+".STALE",o,(function(t){if(t)return s(t);p(e,n,o,!0,s)})))))}))}function d(e,n,r,o){if(a("notStale",n,r),"number"!=typeof r.wait||r.wait<=0)return a("notStale, wait is not a number"),o(e);var i=Date.now(),s=r.start||i,c=s+r.wait;if(c<=i)return o(e);a("now=%d, wait until %d (delta=%d)",s,c,c-s);var u=Math.min(c-s,r.pollPeriod||100);setTimeout((function(){a("notStale, polling",n,r),t.lock(n,r,o)}),u)}function h(e,n,r){if("number"==typeof n.retries&&n.retries>0){var o=n.retries-1;return a("retryThrow",e,n,o),n.retries=o,t.lockSync(e,n)}throw r}t.lock=function(e,n,i){if("function"==typeof n&&(i=n,n={}),n.req=n.req||l++,a("lock",e,n),n.start=n.start||Date.now(),"number"==typeof n.retries&&n.retries>0){a("has retries",n.retries);var s=n.retries;n.retries=0,c=i,i=function r(o,i){if(a("retry-mutated callback"),s-=1,!o||s<0)return c(o,i);function u(){n.start=Date.now(),a("retrying",n.start),t.lock(e,n,r)}a("lock retry",e,n),n.retryWait?setTimeout(u,n.retryWait):u()}}var c;r.open(e,o,(function(t,o){return t?(a("failed to acquire lock",t),"EEXIST"!==t.code?(a("not EEXIST error",t),i(t)):n.stale?p(t,e,n,!1,i):d(t,e,n,i)):(a("locked",e,o),u[e]=o,r.close(o,(function(){return i()})))})),a("lock return")},t.lockSync=function(e,n){if((n=n||{}).req=n.req||l++,a("lockSync",e,n),n.wait||n.retryWait)throw new Error("opts.wait not supported sync for obvious reasons");try{var i=r.openSync(e,o);u[e]=i;try{r.closeSync(i)}catch(e){}return void a("locked sync!",e,i)}catch(o){if("EEXIST"!==o.code)return h(e,n,o);if(n.stale){var s=r.statSync(e)[t.filetime].getTime();!(s%1e3)&&n.stale%1e3&&(n.stale=1e3*Math.ceil(n.stale/1e3));var c=Date.now()-s;if(c>n.stale)return a("lockSync stale",e,n,c),t.unlockSync(e),t.lockSync(e,n)}return a("failed to lock",e,n,o),h(e,n,o)}}},5234:(e,t,n)=>{e.exports=n(3765)},983:(e,t,n)=>{"use strict";var r,o,i,a=n(5234),s=n(1017).extname,c=/^\s*([^;\s]*)(?:;|\s|$)/,u=/^text\//i;function l(e){if(!e||"string"!=typeof e)return!1;var t=c.exec(e),n=t&&a[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!u.test(t[1]))&&"UTF-8"}t.charset=l,t.charsets={lookup:l},t.contentType=function(e){if(!e||"string"!=typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n},t.extension=function(e){if(!e||"string"!=typeof e)return!1;var n=c.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[0]},t.extensions=Object.create(null),t.lookup=function(e){if(!e||"string"!=typeof e)return!1;var n=s("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1},t.types=Object.create(null),r=t.extensions,o=t.types,i=["nginx","apache",void 0,"iana"],Object.keys(a).forEach((function(e){var t=a[e],n=t.extensions;if(n&&n.length){r[e]=n;for(var s=0;s<n.length;s++){var c=n[s];if(o[c]){var u=i.indexOf(a[o[c]].source),l=i.indexOf(t.source);if("application/octet-stream"!==o[c]&&(u>l||u===l&&"application/"===o[c].substr(0,12)))continue}o[c]=e}}}))},7824:e=>{var t=1e3,n=60*t,r=60*n,o=24*r;function i(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,a){a=a||{};var s,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var a=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*r;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return a.long?(s=e,(c=Math.abs(s))>=o?i(s,c,o,"day"):c>=r?i(s,c,r,"hour"):c>=n?i(s,c,n,"minute"):c>=t?i(s,c,t,"second"):s+" ms"):function(e){var i=Math.abs(e);return i>=o?Math.round(e/o)+"d":i>=r?Math.round(e/r)+"h":i>=n?Math.round(e/n)+"m":i>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1394:(e,t,n)=>{"use strict";var r=n(7310).parse,o={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},i=String.prototype.endsWith||function(e){return e.length<=this.length&&-1!==this.indexOf(e,this.length-e.length)};function a(e){return process.env[e.toLowerCase()]||process.env[e.toUpperCase()]||""}t.getProxyForUrl=function(e){var t="string"==typeof e?r(e):e||{},n=t.protocol,s=t.host,c=t.port;if("string"!=typeof s||!s||"string"!=typeof n)return"";if(n=n.split(":",1)[0],!function(e,t){var n=(a("npm_config_no_proxy")||a("no_proxy")).toLowerCase();return!n||"*"!==n&&n.split(/[,\s]/).every((function(n){if(!n)return!0;var r=n.match(/^(.+):(\d+)$/),o=r?r[1]:n,a=r?parseInt(r[2]):0;return!(!a||a===t)||(/^[.*]/.test(o)?("*"===o.charAt(0)&&(o=o.slice(1)),!i.call(e,o)):e!==o)}))}(s=s.replace(/:\d*$/,""),c=parseInt(c)||o[n]||0))return"";var u=a("npm_config_"+n+"_proxy")||a(n+"_proxy")||a("npm_config_proxy")||a("all_proxy");return u&&-1===u.indexOf("://")&&(u=n+"://"+u),u}},6244:(e,t,n)=>{"use strict";var r=n(5477),o={};o.rules=n(3704).map((function(e){return{rule:e,suffix:e.replace(/^(\*\.|\!)/,""),punySuffix:-1,wildcard:"*"===e.charAt(0),exception:"!"===e.charAt(0)}})),o.endsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},o.findRule=function(e){var t=r.toASCII(e);return o.rules.reduce((function(e,n){return-1===n.punySuffix&&(n.punySuffix=r.toASCII(n.suffix)),o.endsWith(t,"."+n.punySuffix)||t===n.punySuffix?n:e}),null)},t.errorCodes={DOMAIN_TOO_SHORT:"Domain name too short.",DOMAIN_TOO_LONG:"Domain name too long. It should be no more than 255 chars.",LABEL_STARTS_WITH_DASH:"Domain name label can not start with a dash.",LABEL_ENDS_WITH_DASH:"Domain name label can not end with a dash.",LABEL_TOO_LONG:"Domain name label should be at most 63 chars long.",LABEL_TOO_SHORT:"Domain name label should be at least 1 character long.",LABEL_INVALID_CHARS:"Domain name label can only contain alphanumeric characters or dashes."},o.validate=function(e){var t=r.toASCII(e);if(t.length<1)return"DOMAIN_TOO_SHORT";if(t.length>255)return"DOMAIN_TOO_LONG";for(var n,o=t.split("."),i=0;i<o.length;++i){if(!(n=o[i]).length)return"LABEL_TOO_SHORT";if(n.length>63)return"LABEL_TOO_LONG";if("-"===n.charAt(0))return"LABEL_STARTS_WITH_DASH";if("-"===n.charAt(n.length-1))return"LABEL_ENDS_WITH_DASH";if(!/^[a-z0-9\-]+$/.test(n))return"LABEL_INVALID_CHARS"}},t.parse=function(e){if("string"!=typeof e)throw new TypeError("Domain name must be a string.");var n=e.slice(0).toLowerCase();"."===n.charAt(n.length-1)&&(n=n.slice(0,n.length-1));var i=o.validate(n);if(i)return{input:e,error:{message:t.errorCodes[i],code:i}};var a={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:!1},s=n.split(".");if("local"===s[s.length-1])return a;var c=function(){return/xn--/.test(n)?(a.domain&&(a.domain=r.toASCII(a.domain)),a.subdomain&&(a.subdomain=r.toASCII(a.subdomain)),a):a},u=o.findRule(n);if(!u)return s.length<2?a:(a.tld=s.pop(),a.sld=s.pop(),a.domain=[a.sld,a.tld].join("."),s.length&&(a.subdomain=s.pop()),c());a.listed=!0;var l=u.suffix.split("."),p=s.slice(0,s.length-l.length);return u.exception&&p.push(l.shift()),a.tld=l.join("."),p.length?(u.wildcard&&(l.unshift(p.pop()),a.tld=l.join(".")),p.length?(a.sld=p.pop(),a.domain=[a.sld,a.tld].join("."),p.length&&(a.subdomain=p.join(".")),c()):c()):c()},t.get=function(e){return e&&t.parse(e).domain||null},t.isValid=function(e){var n=t.parse(e);return Boolean(n.domain&&n.listed)}},6099:(e,t,n)=>{!function(e){e.parser=function(e,t){return new o(e,t)},e.SAXParser=o,e.SAXStream=a,e.createStream=function(e,t){return new a(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,r=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function o(t,n){if(!(this instanceof o))return new o(t,n);var i=this;!function(e){for(var t=0,n=r.length;t<n;t++)e[r[t]]=""}(i),i.q=i.c="",i.bufferCheckPosition=e.MAX_BUFFER_LENGTH,i.opt=n||{},i.opt.lowercase=i.opt.lowercase||i.opt.lowercasetags,i.looseCase=i.opt.lowercase?"toLowerCase":"toUpperCase",i.tags=[],i.closed=i.closedRoot=i.sawRoot=!1,i.tag=i.error=null,i.strict=!!t,i.noscript=!(!t&&!i.opt.noscript),i.state=T.BEGIN,i.strictEntities=i.opt.strictEntities,i.ENTITIES=i.strictEntities?Object.create(e.XML_ENTITIES):Object.create(e.ENTITIES),i.attribList=[],i.opt.xmlns&&(i.ns=Object.create(p)),i.trackPosition=!1!==i.opt.position,i.trackPosition&&(i.position=i.line=i.column=0),x(i,"onready")}e.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}return t.prototype=e,new t}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),o.prototype={end:function(){P(this)},write:function(t){var n=this;if(this.error)throw this.error;if(n.closed)return R(n,"Cannot write after close. Assign an onready handler.");if(null===t)return P(n);"object"==typeof t&&(t=t.toString());for(var o=0,i="";i=U(t,o++),n.c=i,i;)switch(n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++),n.state){case T.BEGIN:if(n.state=T.BEGIN_WHITESPACE,"\ufeff"===i)continue;F(n,i);continue;case T.BEGIN_WHITESPACE:F(n,i);continue;case T.TEXT:if(n.sawRoot&&!n.closedRoot){for(var a=o-1;i&&"<"!==i&&"&"!==i;)(i=U(t,o++))&&n.trackPosition&&(n.position++,"\n"===i?(n.line++,n.column=0):n.column++);n.textNode+=t.substring(a,o-1)}"<"!==i||n.sawRoot&&n.closedRoot&&!n.strict?(g(i)||n.sawRoot&&!n.closedRoot||O(n,"Text data outside of root node."),"&"===i?n.state=T.TEXT_ENTITY:n.textNode+=i):(n.state=T.OPEN_WAKA,n.startTagPosition=n.position);continue;case T.SCRIPT:"<"===i?n.state=T.SCRIPT_ENDING:n.script+=i;continue;case T.SCRIPT_ENDING:"/"===i?n.state=T.CLOSE_TAG:(n.script+="<"+i,n.state=T.SCRIPT);continue;case T.OPEN_WAKA:if("!"===i)n.state=T.SGML_DECL,n.sgmlDecl="";else if(g(i));else if(b(d,i))n.state=T.OPEN_TAG,n.tagName=i;else if("/"===i)n.state=T.CLOSE_TAG,n.tagName="";else if("?"===i)n.state=T.PROC_INST,n.procInstName=n.procInstBody="";else{if(O(n,"Unencoded <"),n.startTagPosition+1<n.position){var u=n.position-n.startTagPosition;i=new Array(u).join(" ")+i}n.textNode+="<"+i,n.state=T.TEXT}continue;case T.SGML_DECL:(n.sgmlDecl+i).toUpperCase()===s?(C(n,"onopencdata"),n.state=T.CDATA,n.sgmlDecl="",n.cdata=""):n.sgmlDecl+i==="--"?(n.state=T.COMMENT,n.comment="",n.sgmlDecl=""):(n.sgmlDecl+i).toUpperCase()===c?(n.state=T.DOCTYPE,(n.doctype||n.sawRoot)&&O(n,"Inappropriately located doctype declaration"),n.doctype="",n.sgmlDecl=""):">"===i?(C(n,"onsgmldeclaration",n.sgmlDecl),n.sgmlDecl="",n.state=T.TEXT):v(i)?(n.state=T.SGML_DECL_QUOTED,n.sgmlDecl+=i):n.sgmlDecl+=i;continue;case T.SGML_DECL_QUOTED:i===n.q&&(n.state=T.SGML_DECL,n.q=""),n.sgmlDecl+=i;continue;case T.DOCTYPE:">"===i?(n.state=T.TEXT,C(n,"ondoctype",n.doctype),n.doctype=!0):(n.doctype+=i,"["===i?n.state=T.DOCTYPE_DTD:v(i)&&(n.state=T.DOCTYPE_QUOTED,n.q=i));continue;case T.DOCTYPE_QUOTED:n.doctype+=i,i===n.q&&(n.q="",n.state=T.DOCTYPE);continue;case T.DOCTYPE_DTD:n.doctype+=i,"]"===i?n.state=T.DOCTYPE:v(i)&&(n.state=T.DOCTYPE_DTD_QUOTED,n.q=i);continue;case T.DOCTYPE_DTD_QUOTED:n.doctype+=i,i===n.q&&(n.state=T.DOCTYPE_DTD,n.q="");continue;case T.COMMENT:"-"===i?n.state=T.COMMENT_ENDING:n.comment+=i;continue;case T.COMMENT_ENDING:"-"===i?(n.state=T.COMMENT_ENDED,n.comment=I(n.opt,n.comment),n.comment&&C(n,"oncomment",n.comment),n.comment=""):(n.comment+="-"+i,n.state=T.COMMENT);continue;case T.COMMENT_ENDED:">"!==i?(O(n,"Malformed comment"),n.comment+="--"+i,n.state=T.COMMENT):n.state=T.TEXT;continue;case T.CDATA:"]"===i?n.state=T.CDATA_ENDING:n.cdata+=i;continue;case T.CDATA_ENDING:"]"===i?n.state=T.CDATA_ENDING_2:(n.cdata+="]"+i,n.state=T.CDATA);continue;case T.CDATA_ENDING_2:">"===i?(n.cdata&&C(n,"oncdata",n.cdata),C(n,"onclosecdata"),n.cdata="",n.state=T.TEXT):"]"===i?n.cdata+="]":(n.cdata+="]]"+i,n.state=T.CDATA);continue;case T.PROC_INST:"?"===i?n.state=T.PROC_INST_ENDING:g(i)?n.state=T.PROC_INST_BODY:n.procInstName+=i;continue;case T.PROC_INST_BODY:if(!n.procInstBody&&g(i))continue;"?"===i?n.state=T.PROC_INST_ENDING:n.procInstBody+=i;continue;case T.PROC_INST_ENDING:">"===i?(C(n,"onprocessinginstruction",{name:n.procInstName,body:n.procInstBody}),n.procInstName=n.procInstBody="",n.state=T.TEXT):(n.procInstBody+="?"+i,n.state=T.PROC_INST_BODY);continue;case T.OPEN_TAG:b(h,i)?n.tagName+=i:(j(n),">"===i?M(n):"/"===i?n.state=T.OPEN_TAG_SLASH:(g(i)||O(n,"Invalid character in tag name"),n.state=T.ATTRIB));continue;case T.OPEN_TAG_SLASH:">"===i?(M(n,!0),L(n)):(O(n,"Forward-slash in opening tag not followed by >"),n.state=T.ATTRIB);continue;case T.ATTRIB:if(g(i))continue;">"===i?M(n):"/"===i?n.state=T.OPEN_TAG_SLASH:b(d,i)?(n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):O(n,"Invalid attribute name");continue;case T.ATTRIB_NAME:"="===i?n.state=T.ATTRIB_VALUE:">"===i?(O(n,"Attribute without value"),n.attribValue=n.attribName,D(n),M(n)):g(i)?n.state=T.ATTRIB_NAME_SAW_WHITE:b(h,i)?n.attribName+=i:O(n,"Invalid attribute name");continue;case T.ATTRIB_NAME_SAW_WHITE:if("="===i)n.state=T.ATTRIB_VALUE;else{if(g(i))continue;O(n,"Attribute without value"),n.tag.attributes[n.attribName]="",n.attribValue="",C(n,"onattribute",{name:n.attribName,value:""}),n.attribName="",">"===i?M(n):b(d,i)?(n.attribName=i,n.state=T.ATTRIB_NAME):(O(n,"Invalid attribute name"),n.state=T.ATTRIB)}continue;case T.ATTRIB_VALUE:if(g(i))continue;v(i)?(n.q=i,n.state=T.ATTRIB_VALUE_QUOTED):(O(n,"Unquoted attribute value"),n.state=T.ATTRIB_VALUE_UNQUOTED,n.attribValue=i);continue;case T.ATTRIB_VALUE_QUOTED:if(i!==n.q){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_Q:n.attribValue+=i;continue}D(n),n.q="",n.state=T.ATTRIB_VALUE_CLOSED;continue;case T.ATTRIB_VALUE_CLOSED:g(i)?n.state=T.ATTRIB:">"===i?M(n):"/"===i?n.state=T.OPEN_TAG_SLASH:b(d,i)?(O(n,"No whitespace between attributes"),n.attribName=i,n.attribValue="",n.state=T.ATTRIB_NAME):O(n,"Invalid attribute name");continue;case T.ATTRIB_VALUE_UNQUOTED:if(!y(i)){"&"===i?n.state=T.ATTRIB_VALUE_ENTITY_U:n.attribValue+=i;continue}D(n),">"===i?M(n):n.state=T.ATTRIB;continue;case T.CLOSE_TAG:if(n.tagName)">"===i?L(n):b(h,i)?n.tagName+=i:n.script?(n.script+="</"+n.tagName,n.tagName="",n.state=T.SCRIPT):(g(i)||O(n,"Invalid tagname in closing tag"),n.state=T.CLOSE_TAG_SAW_WHITE);else{if(g(i))continue;_(d,i)?n.script?(n.script+="</"+i,n.state=T.SCRIPT):O(n,"Invalid tagname in closing tag."):n.tagName=i}continue;case T.CLOSE_TAG_SAW_WHITE:if(g(i))continue;">"===i?L(n):O(n,"Invalid characters in closing tag");continue;case T.TEXT_ENTITY:case T.ATTRIB_VALUE_ENTITY_Q:case T.ATTRIB_VALUE_ENTITY_U:var l,p;switch(n.state){case T.TEXT_ENTITY:l=T.TEXT,p="textNode";break;case T.ATTRIB_VALUE_ENTITY_Q:l=T.ATTRIB_VALUE_QUOTED,p="attribValue";break;case T.ATTRIB_VALUE_ENTITY_U:l=T.ATTRIB_VALUE_UNQUOTED,p="attribValue"}";"===i?(n[p]+=z(n),n.entity="",n.state=l):b(n.entity.length?f:m,i)?n.entity+=i:(O(n,"Invalid character in entity name"),n[p]+="&"+n.entity+i,n.entity="",n.state=l);continue;default:throw new Error(n,"Unknown state: "+n.state)}return n.position>=n.bufferCheckPosition&&function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),o=0,i=0,a=r.length;i<a;i++){var s=t[r[i]].length;if(s>n)switch(r[i]){case"textNode":A(t);break;case"cdata":C(t,"oncdata",t.cdata),t.cdata="";break;case"script":C(t,"onscript",t.script),t.script="";break;default:R(t,"Max buffer length exceeded: "+r[i])}o=Math.max(o,s)}var c=e.MAX_BUFFER_LENGTH-o;t.bufferCheckPosition=c+t.position}(n),n},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;A(e=this),""!==e.cdata&&(C(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(C(e,"onscript",e.script),e.script="")}};try{t=n(2781).Stream}catch(e){t=function(){}}var i=e.EVENTS.filter((function(e){return"error"!==e&&"end"!==e}));function a(e,n){if(!(this instanceof a))return new a(e,n);t.apply(this),this._parser=new o(e,n),this.writable=!0,this.readable=!0;var r=this;this._parser.onend=function(){r.emit("end")},this._parser.onerror=function(e){r.emit("error",e),r._parser.error=null},this._decoder=null,i.forEach((function(e){Object.defineProperty(r,"on"+e,{get:function(){return r._parser["on"+e]},set:function(t){if(!t)return r.removeAllListeners(e),r._parser["on"+e]=t,t;r.on(e,t)},enumerable:!0,configurable:!1})}))}a.prototype=Object.create(t.prototype,{constructor:{value:a}}),a.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=n(1576).StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},a.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},a.prototype.on=function(e,n){var r=this;return r._parser["on"+e]||-1===i.indexOf(e)||(r._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),r.emit.apply(r,t)}),t.prototype.on.call(r,e,n)};var s="[CDATA[",c="DOCTYPE",u="http://www.w3.org/XML/1998/namespace",l="http://www.w3.org/2000/xmlns/",p={xml:u,xmlns:l},d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function g(e){return" "===e||"\n"===e||"\r"===e||"\t"===e}function v(e){return'"'===e||"'"===e}function y(e){return">"===e||g(e)}function b(e,t){return e.test(t)}function _(e,t){return!b(e,t)}var E,w,k,T=0;for(var S in e.STATE={BEGIN:T++,BEGIN_WHITESPACE:T++,TEXT:T++,TEXT_ENTITY:T++,OPEN_WAKA:T++,SGML_DECL:T++,SGML_DECL_QUOTED:T++,DOCTYPE:T++,DOCTYPE_QUOTED:T++,DOCTYPE_DTD:T++,DOCTYPE_DTD_QUOTED:T++,COMMENT_STARTING:T++,COMMENT:T++,COMMENT_ENDING:T++,COMMENT_ENDED:T++,CDATA:T++,CDATA_ENDING:T++,CDATA_ENDING_2:T++,PROC_INST:T++,PROC_INST_BODY:T++,PROC_INST_ENDING:T++,OPEN_TAG:T++,OPEN_TAG_SLASH:T++,ATTRIB:T++,ATTRIB_NAME:T++,ATTRIB_NAME_SAW_WHITE:T++,ATTRIB_VALUE:T++,ATTRIB_VALUE_QUOTED:T++,ATTRIB_VALUE_CLOSED:T++,ATTRIB_VALUE_UNQUOTED:T++,ATTRIB_VALUE_ENTITY_Q:T++,ATTRIB_VALUE_ENTITY_U:T++,CLOSE_TAG:T++,CLOSE_TAG_SAW_WHITE:T++,SCRIPT:T++,SCRIPT_ENDING:T++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach((function(t){var n=e.ENTITIES[t],r="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=r})),e.STATE)e.STATE[e.STATE[S]]=S;function x(e,t,n){e[t]&&e[t](n)}function C(e,t,n){e.textNode&&A(e),x(e,t,n)}function A(e){e.textNode=I(e.opt,e.textNode),e.textNode&&x(e,"ontext",e.textNode),e.textNode=""}function I(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function R(e,t){return A(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,x(e,"onerror",t),e}function P(e){return e.sawRoot&&!e.closedRoot&&O(e,"Unclosed root tag"),e.state!==T.BEGIN&&e.state!==T.BEGIN_WHITESPACE&&e.state!==T.TEXT&&R(e,"Unexpected end"),A(e),e.c="",e.closed=!0,x(e,"onend"),o.call(e,e.strict,e.opt),e}function O(e,t){if("object"!=typeof e||!(e instanceof o))throw new Error("bad call to strictFail");e.strict&&R(e,t)}function j(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,C(e,"onopentagstart",n)}function N(e,t){var n=e.indexOf(":")<0?["",e]:e.split(":"),r=n[0],o=n[1];return t&&"xmlns"===e&&(r="xmlns",o=""),{prefix:r,local:o}}function D(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName))e.attribName=e.attribValue="";else{if(e.opt.xmlns){var t=N(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==u)O(e,"xml: prefix must be bound to "+u+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==l)O(e,"xmlns: prefix must be bound to "+l+"\nActual: "+e.attribValue);else{var o=e.tag,i=e.tags[e.tags.length-1]||e;o.ns===i.ns&&(o.ns=Object.create(i.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,C(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}}function M(e,t){if(e.opt.xmlns){var n=e.tag,r=N(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(O(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach((function(t){C(e,"onopennamespace",{prefix:t,uri:n.ns[t]})}));for(var i=0,a=e.attribList.length;i<a;i++){var s=e.attribList[i],c=s[0],u=s[1],l=N(c,!0),p=l.prefix,d=l.local,h=""===p?"":n.ns[p]||"",m={name:c,value:u,prefix:p,local:d,uri:h};p&&"xmlns"!==p&&!h&&(O(e,"Unbound namespace prefix: "+JSON.stringify(p)),m.uri=p),e.tag.attributes[c]=m,C(e,"onattribute",m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,e.sawRoot=!0,e.tags.push(e.tag),C(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=T.TEXT:e.state=T.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function L(e){if(!e.tagName)return O(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=T.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=T.SCRIPT);C(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--&&e.tags[t].name!==r;)O(e,"Unexpected close tag");if(t<0)return O(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=T.TEXT);e.tagName=n;for(var o=e.tags.length;o-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,C(e,"onclosetag",e.tagName);var a={};for(var s in i.ns)a[s]=i.ns[s];var c=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==c.ns&&Object.keys(i.ns).forEach((function(t){var n=i.ns[t];C(e,"onclosenamespace",{prefix:t,uri:n})}))}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=T.TEXT}function z(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:("#"===(n=r).charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),o=(t=parseInt(n,16)).toString(16)):(n=n.slice(1),o=(t=parseInt(n,10)).toString(10))),n=n.replace(/^0+/,""),isNaN(t)||o.toLowerCase()!==n?(O(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function F(e,t){"<"===t?(e.state=T.OPEN_WAKA,e.startTagPosition=e.position):g(t)||(O(e,"Non-whitespace before first tag."),e.textNode=t,e.state=T.TEXT)}function U(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}T=e.STATE,String.fromCodePoint||(E=String.fromCharCode,w=Math.floor,k=function(){var e,t,n=[],r=-1,o=arguments.length;if(!o)return"";for(var i="";++r<o;){var a=Number(arguments[r]);if(!isFinite(a)||a<0||a>1114111||w(a)!==a)throw RangeError("Invalid code point: "+a);a<=65535?n.push(a):(e=55296+((a-=65536)>>10),t=a%1024+56320,n.push(e,t)),(r+1===o||n.length>16384)&&(i+=E.apply(null,n),n.length=0)}return i},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:k,configurable:!0,writable:!0}):String.fromCodePoint=k)}(t)},7908:(e,t,n)=>{var r=global.process;const o=function(e){return e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on};if(o(r)){var i,a=n(9491),s=n(5397),c=/^win/i.test(r.platform),u=n(2361);"function"!=typeof u&&(u=u.EventEmitter),r.__signal_exit_emitter__?i=r.__signal_exit_emitter__:((i=r.__signal_exit_emitter__=new u).count=0,i.emitted={}),i.infinite||(i.setMaxListeners(1/0),i.infinite=!0),e.exports=function(e,t){if(!o(global.process))return function(){};a.equal(typeof e,"function","a callback must be provided for exit handler"),!1===h&&m();var n="exit";return t&&t.alwaysLast&&(n="afterexit"),i.on(n,e),function(){i.removeListener(n,e),0===i.listeners("exit").length&&0===i.listeners("afterexit").length&&l()}};var l=function(){h&&o(global.process)&&(h=!1,s.forEach((function(e){try{r.removeListener(e,d[e])}catch(e){}})),r.emit=v,r.reallyExit=f,i.count-=1)};e.exports.unload=l;var p=function(e,t,n){i.emitted[e]||(i.emitted[e]=!0,i.emit(e,t,n))},d={};s.forEach((function(e){d[e]=function(){o(global.process)&&r.listeners(e).length===i.count&&(l(),p("exit",null,e),p("afterexit",null,e),c&&"SIGHUP"===e&&(e="SIGINT"),r.kill(r.pid,e))}})),e.exports.signals=function(){return s};var h=!1,m=function(){!h&&o(global.process)&&(h=!0,i.count+=1,s=s.filter((function(e){try{return r.on(e,d[e]),!0}catch(e){return!1}})),r.emit=y,r.reallyExit=g)};e.exports.load=m;var f=r.reallyExit,g=function(e){o(global.process)&&(r.exitCode=e||0,p("exit",r.exitCode,null),p("afterexit",r.exitCode,null),f.call(r,r.exitCode))},v=r.emit,y=function(e,t){if("exit"===e&&o(global.process)){void 0!==t&&(r.exitCode=t);var n=v.apply(this,arguments);return p("exit",r.exitCode,null),p("afterexit",r.exitCode,null),n}return v.apply(this,arguments)}}else e.exports=function(){return function(){}}},5397:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")},2130:(e,t,n)=>{"use strict";const r=n(2037),o=n(6224),i=n(2146),{env:a}=process;let s;function c(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function u(e,t){if(0===s)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const n=s||0;if("dumb"===a.TERM)return n;if("win32"===process.platform){const e=r.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((e=>e in a))||"codeship"===a.CI_NAME?1:n;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("GITHUB_ACTIONS"in a)return 1;if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){const e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:n}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?s=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(s=1),"FORCE_COLOR"in a&&(s="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return c(u(e,e&&e.isTTY))},stdout:c(u(!0,o.isatty(1))),stderr:c(u(!0,o.isatty(2)))}},2146:e=>{"use strict";e.exports=(e,t=process.argv)=>{const n=e.startsWith("-")?"":1===e.length?"-":"--",r=t.indexOf(n+e),o=t.indexOf("--");return-1!==r&&(-1===o||r<o)}},7857:(e,t,n)=>{"use strict";var r,o=n(7310).parse,i=n(3837),a=n(1476)({exact:!0}),s=n(752),c=n(2224).y,u=n(5761).m,l=n(8971).U,p=n(456);try{r=n(5477)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var d=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,h=/[\x00-\x1F]/,m=["\n","\r","\0"],f=/[\x20-\x3A\x3C-\x7E]+/,g=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,v={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11},y=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],b=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],_=2147483647e3;function E(e,t,n,r){for(var o=0;o<e.length;){var i=e.charCodeAt(o);if(i<=47||i>=58)break;o++}return o<t||o>n?null:r||o==e.length?parseInt(e.substr(0,o),10):null}function w(e){var t=e.split(":"),n=[0,0,0];if(3!==t.length)return null;for(var r=0;r<3;r++){var o=2==r,i=E(t[r],1,2,o);if(null===i)return null;n[r]=i}return n}function k(e){e=String(e).substr(0,3).toLowerCase();var t=v[e];return t>=0?t:null}function T(e){if(e){var t=e.split(g);if(t){for(var n=null,r=null,o=null,i=null,a=null,s=null,c=0;c<t.length;c++){var u,l=t[c].trim();l.length&&(null===o&&(u=w(l))?(n=u[0],r=u[1],o=u[2]):null!==i||null===(u=E(l,1,2,!0))?null!==a||null===(u=k(l))?null===s&&null!==(u=E(l,2,4,!0))&&((s=u)>=70&&s<=99?s+=1900:s>=0&&s<=69&&(s+=2e3)):a=u:i=u)}if(!(null===i||null===a||null===s||null===o||i<1||i>31||s<1601||n>23||r>59||o>59))return new Date(Date.UTC(s,a,i,n,r,o))}}}function S(e){return null==e?null:(e=e.trim().replace(/^\./,""),r&&/[^\u0001-\u007f]/.test(e)&&(e=r.toASCII(e)),e.toLowerCase())}function x(e,t,n){if(null==e||null==t)return null;if(!1!==n&&(e=S(e),t=S(t)),e==t)return!0;if(a.test(e))return!1;var r=e.indexOf(t);return!(r<=0)&&e.length===t.length+r&&"."===e.substr(r-1,1)}function C(e){var t;try{t=JSON.parse(e)}catch(e){return e}return t}function A(e){if(!e)return null;var t;if("string"==typeof e){if((t=C(e))instanceof Error)return null}else t=e;for(var n=new P,r=0;r<P.serializableProperties.length;r++){var o=P.serializableProperties[r];void 0!==t[o]&&t[o]!==P.prototype[o]&&("expires"===o||"creation"===o||"lastAccessed"===o?null===t[o]?n[o]=null:n[o]="Infinity"==t[o]?"Infinity":new Date(t[o]):n[o]=t[o])}return n}function I(e,t){var n=0,r=e.path?e.path.length:0;return 0!=(n=(t.path?t.path.length:0)-r)||0!=(n=(e.creation?e.creation.getTime():_)-(t.creation?t.creation.getTime():_))?n:n=e.creationIndex-t.creationIndex}function R(e){if(e instanceof Object)return e;try{e=decodeURI(e)}catch(e){}return o(e)}function P(e){e=e||{},Object.keys(e).forEach((function(t){P.prototype.hasOwnProperty(t)&&P.prototype[t]!==e[t]&&"_"!==t.substr(0,1)&&(this[t]=e[t])}),this),this.creation=this.creation||new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++P.cookiesCreated})}function O(e,t){"boolean"==typeof t?t={rejectPublicSuffixes:t}:null==t&&(t={}),null!=t.rejectPublicSuffixes&&(this.rejectPublicSuffixes=t.rejectPublicSuffixes),null!=t.looseMode&&(this.enableLooseMode=t.looseMode),e||(e=new u),this.store=e}P.cookiesCreated=0,P.parse=function(e,t){t&&"object"==typeof t||(t={});var n=(e=e.trim()).indexOf(";"),r=function(e,t){var n,r,o=(e=function(e){for(var t=0;t<m.length;t++){var n=e.indexOf(m[t]);-1!==n&&(e=e.substr(0,n))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substr(1)).indexOf("="));else if(o<=0)return;if(o<=0?(n="",r=e.trim()):(n=e.substr(0,o).trim(),r=e.substr(o+1).trim()),!h.test(n)&&!h.test(r)){var i=new P;return i.key=n,i.value=r,i}}(-1===n?e:e.substr(0,n),!!t.loose);if(r){if(-1===n)return r;var o=e.slice(n+1).trim();if(0===o.length)return r;for(var i=o.split(";");i.length;){var a=i.shift().trim();if(0!==a.length){var s,c,u=a.indexOf("=");switch(-1===u?(s=a,c=null):(s=a.substr(0,u),c=a.substr(u+1)),s=s.trim().toLowerCase(),c&&(c=c.trim()),s){case"expires":if(c){var l=T(c);l&&(r.expires=l)}break;case"max-age":if(c&&/^-?[0-9]+$/.test(c)){var p=parseInt(c,10);r.setMaxAge(p)}break;case"domain":if(c){var d=c.trim().replace(/^\./,"");d&&(r.domain=d.toLowerCase())}break;case"path":r.path=c&&"/"===c[0]?c:null;break;case"secure":r.secure=!0;break;case"httponly":r.httpOnly=!0;break;default:r.extensions=r.extensions||[],r.extensions.push(a)}}}return r}},P.fromJSON=A,P.prototype.key="",P.prototype.value="",P.prototype.expires="Infinity",P.prototype.maxAge=null,P.prototype.domain=null,P.prototype.path=null,P.prototype.secure=!1,P.prototype.httpOnly=!1,P.prototype.extensions=null,P.prototype.hostOnly=null,P.prototype.pathIsDefault=null,P.prototype.creation=null,P.prototype.lastAccessed=null,Object.defineProperty(P.prototype,"creationIndex",{configurable:!0,enumerable:!1,writable:!0,value:0}),P.serializableProperties=Object.keys(P.prototype).filter((function(e){return!(P.prototype[e]instanceof Function||"creationIndex"===e||"_"===e.substr(0,1))})),P.prototype.inspect=function(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(null!=this.hostOnly?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'},i.inspect.custom&&(P.prototype[i.inspect.custom]=P.prototype.inspect),P.prototype.toJSON=function(){for(var e={},t=P.serializableProperties,n=0;n<t.length;n++){var r=t[n];this[r]!==P.prototype[r]&&("expires"===r||"creation"===r||"lastAccessed"===r?null===this[r]?e[r]=null:e[r]="Infinity"==this[r]?"Infinity":this[r].toISOString():"maxAge"===r?null!==this[r]&&(e[r]=this[r]==1/0||this[r]==-1/0?this[r].toString():this[r]):this[r]!==P.prototype[r]&&(e[r]=this[r]))}return e},P.prototype.clone=function(){return A(this.toJSON())},P.prototype.validate=function(){if(!d.test(this.value))return!1;if(!(this.expires==1/0||this.expires instanceof Date||T(this.expires)))return!1;if(null!=this.maxAge&&this.maxAge<=0)return!1;if(null!=this.path&&!f.test(this.path))return!1;var e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==s.getPublicSuffix(e))return!1}return!0},P.prototype.setExpires=function(e){e instanceof Date?this.expires=e:this.expires=T(e)||"Infinity"},P.prototype.setMaxAge=function(e){this.maxAge=e===1/0||e===-1/0?e.toString():e},P.prototype.cookieString=function(){var e=this.value;return null==e&&(e=""),""===this.key?e:this.key+"="+e},P.prototype.toString=function(){var e=this.cookieString();return this.expires!=1/0&&(this.expires instanceof Date?e+="; Expires="+function(e){var t=e.getUTCDate();t=t>=10?t:"0"+t;var n=e.getUTCHours();n=n>=10?n:"0"+n;var r=e.getUTCMinutes();r=r>=10?r:"0"+r;var o=e.getUTCSeconds();return o=o>=10?o:"0"+o,b[e.getUTCDay()]+", "+t+" "+y[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+n+":"+r+":"+o+" GMT"}(this.expires):e+="; Expires="+this.expires),null!=this.maxAge&&this.maxAge!=1/0&&(e+="; Max-Age="+this.maxAge),this.domain&&!this.hostOnly&&(e+="; Domain="+this.domain),this.path&&(e+="; Path="+this.path),this.secure&&(e+="; Secure"),this.httpOnly&&(e+="; HttpOnly"),this.extensions&&this.extensions.forEach((function(t){e+="; "+t})),e},P.prototype.TTL=function(e){if(null!=this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;var t=this.expires;return t!=1/0?(t instanceof Date||(t=T(t)||1/0),t==1/0?1/0:t.getTime()-(e||Date.now())):1/0},P.prototype.expiryTime=function(e){if(null!=this.maxAge){var t=e||this.creation||new Date,n=this.maxAge<=0?-1/0:1e3*this.maxAge;return t.getTime()+n}return this.expires==1/0?1/0:this.expires.getTime()},P.prototype.expiryDate=function(e){var t=this.expiryTime(e);return t==1/0?new Date(_):t==-1/0?new Date(0):new Date(t)},P.prototype.isPersistent=function(){return null!=this.maxAge||this.expires!=1/0},P.prototype.cdomain=P.prototype.canonicalizedDomain=function(){return null==this.domain?null:S(this.domain)},O.prototype.store=null,O.prototype.rejectPublicSuffixes=!0,O.prototype.enableLooseMode=!1;var j=[];function N(e){return function(){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");var t,n,r=Array.prototype.slice.call(arguments);if(r.push((function(e,r){t=e,n=r})),this[e].apply(this,r),t)throw t;return n}}j.push("setCookie"),O.prototype.setCookie=function(e,t,n,r){var o,i=R(t);n instanceof Function&&(r=n,n={});var a=S(i.hostname),c=this.enableLooseMode;if(null!=n.loose&&(c=n.loose),"string"==typeof e||e instanceof String){if(!(e=P.parse(e,{loose:c})))return o=new Error("Cookie failed to parse"),r(n.ignoreError?null:o)}else if(!(e instanceof P))return o=new Error("First argument to setCookie must be a Cookie object or string"),r(n.ignoreError?null:o);var u=n.now||new Date;if(this.rejectPublicSuffixes&&e.domain&&null==s.getPublicSuffix(e.cdomain()))return o=new Error("Cookie has domain set to a public suffix"),r(n.ignoreError?null:o);if(e.domain){if(!x(a,e.cdomain(),!1))return o=new Error("Cookie not in this host's domain. Cookie:"+e.cdomain()+" Request:"+a),r(n.ignoreError?null:o);null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=a;if(e.path&&"/"===e.path[0]||(e.path=function(e){if(!e||"/"!==e.substr(0,1))return"/";if("/"===e)return e;var t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}(i.pathname),e.pathIsDefault=!0),!1===n.http&&e.httpOnly)return o=new Error("Cookie is HttpOnly and this isn't an HTTP API"),r(n.ignoreError?null:o);var l=this.store;l.updateCookie||(l.updateCookie=function(e,t,n){this.putCookie(t,n)}),l.findCookie(e.domain,e.path,e.key,(function(t,o){if(t)return r(t);var i=function(t){if(t)return r(t);r(null,e)};if(o){if(!1===n.http&&o.httpOnly)return t=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),r(n.ignoreError?null:t);e.creation=o.creation,e.creationIndex=o.creationIndex,e.lastAccessed=u,l.updateCookie(o,e,i)}else e.creation=e.lastAccessed=u,l.putCookie(e,i)}))},j.push("getCookies"),O.prototype.getCookies=function(e,t,n){var r=R(e);t instanceof Function&&(n=t,t={});var o=S(r.hostname),i=r.pathname||"/",a=t.secure;null!=a||!r.protocol||"https:"!=r.protocol&&"wss:"!=r.protocol||(a=!0);var s=t.http;null==s&&(s=!0);var c=t.now||Date.now(),u=!1!==t.expire,p=!!t.allPaths,d=this.store;function h(e){if(e.hostOnly){if(e.domain!=o)return!1}else if(!x(o,e.domain,!1))return!1;return!(!p&&!l(i,e.path)||e.secure&&!a||e.httpOnly&&!s||u&&e.expiryTime()<=c&&(d.removeCookie(e.domain,e.path,e.key,(function(){})),1))}d.findCookies(o,p?null:i,(function(e,r){if(e)return n(e);r=r.filter(h),!1!==t.sort&&(r=r.sort(I));var o=new Date;r.forEach((function(e){e.lastAccessed=o})),n(null,r)}))},j.push("getCookieString"),O.prototype.getCookieString=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop();e.push((function(e,n){e?t(e):t(null,n.sort(I).map((function(e){return e.cookieString()})).join("; "))})),this.getCookies.apply(this,e)},j.push("getSetCookieStrings"),O.prototype.getSetCookieStrings=function(){var e=Array.prototype.slice.call(arguments,0),t=e.pop();e.push((function(e,n){e?t(e):t(null,n.map((function(e){return e.toString()})))})),this.getCookies.apply(this,e)},j.push("serialize"),O.prototype.serialize=function(e){var t=this.store.constructor.name;"Object"===t&&(t=null);var n={version:"tough-cookie@"+p,storeType:t,rejectPublicSuffixes:!!this.rejectPublicSuffixes,cookies:[]};if(!this.store.getAllCookies||"function"!=typeof this.store.getAllCookies)return e(new Error("store does not support getAllCookies and cannot be serialized"));this.store.getAllCookies((function(t,r){return t?e(t):(n.cookies=r.map((function(e){return delete(e=e instanceof P?e.toJSON():e).creationIndex,e})),e(null,n))}))},O.prototype.toJSON=function(){return this.serializeSync()},j.push("_importCookies"),O.prototype._importCookies=function(e,t){var n=this,r=e.cookies;if(!r||!Array.isArray(r))return t(new Error("serialized jar has no cookies array"));r=r.slice(),function e(o){if(o)return t(o);if(!r.length)return t(o,n);var i;try{i=A(r.shift())}catch(e){return t(e)}if(null===i)return e(null);n.store.putCookie(i,e)}()},O.deserialize=function(e,t,n){var r;if(3!==arguments.length&&(n=t,t=null),"string"==typeof e){if((r=C(e))instanceof Error)return n(r)}else r=e;var o=new O(t,r.rejectPublicSuffixes);o._importCookies(r,(function(e){if(e)return n(e);n(null,o)}))},O.deserializeSync=function(e,t){var n="string"==typeof e?JSON.parse(e):e,r=new O(t,n.rejectPublicSuffixes);if(!r.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return r._importCookiesSync(n),r},O.fromJSON=O.deserializeSync,O.prototype.clone=function(e,t){1===arguments.length&&(t=e,e=null),this.serialize((function(n,r){if(n)return t(n);O.deserialize(r,e,t)}))},j.push("removeAllCookies"),O.prototype.removeAllCookies=function(e){var t=this.store;if(t.removeAllCookies instanceof Function&&t.removeAllCookies!==c.prototype.removeAllCookies)return t.removeAllCookies(e);t.getAllCookies((function(n,r){if(n)return e(n);if(0===r.length)return e(null);var o=0,i=[];function a(t){if(t&&i.push(t),++o===r.length)return e(i.length?i[0]:null)}r.forEach((function(e){t.removeCookie(e.domain,e.path,e.key,a)}))}))},O.prototype._cloneSync=N("clone"),O.prototype.cloneSync=function(e){if(!e.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(e)},j.forEach((function(e){O.prototype[e+"Sync"]=N(e)})),t.US=O,s.getPublicSuffix,n(7324).p},5761:(e,t,n)=>{"use strict";var r=n(2224).y,o=n(7324).p,i=n(8971).U,a=n(3837);function s(){r.call(this),this.idx={}}a.inherits(s,r),t.m=s,s.prototype.idx=null,s.prototype.synchronous=!0,s.prototype.inspect=function(){return"{ idx: "+a.inspect(this.idx,!1,2)+" }"},a.inspect.custom&&(s.prototype[a.inspect.custom]=s.prototype.inspect),s.prototype.findCookie=function(e,t,n,r){return this.idx[e]&&this.idx[e][t]?r(null,this.idx[e][t][n]||null):r(null,void 0)},s.prototype.findCookies=function(e,t,n){var r,a=[];if(!e)return n(null,[]);r=t?function(e){Object.keys(e).forEach((function(n){if(i(t,n)){var r=e[n];for(var o in r)a.push(r[o])}}))}:function(e){for(var t in e){var n=e[t];for(var r in n)a.push(n[r])}};var s=o(e)||[e],c=this.idx;s.forEach((function(e){var t=c[e];t&&r(t)})),n(null,a)},s.prototype.putCookie=function(e,t){this.idx[e.domain]||(this.idx[e.domain]={}),this.idx[e.domain][e.path]||(this.idx[e.domain][e.path]={}),this.idx[e.domain][e.path][e.key]=e,t(null)},s.prototype.updateCookie=function(e,t,n){this.putCookie(t,n)},s.prototype.removeCookie=function(e,t,n,r){this.idx[e]&&this.idx[e][t]&&this.idx[e][t][n]&&delete this.idx[e][t][n],r(null)},s.prototype.removeCookies=function(e,t,n){return this.idx[e]&&(t?delete this.idx[e][t]:delete this.idx[e]),n(null)},s.prototype.removeAllCookies=function(e){return this.idx={},e(null)},s.prototype.getAllCookies=function(e){var t=[],n=this.idx;Object.keys(n).forEach((function(e){Object.keys(n[e]).forEach((function(r){Object.keys(n[e][r]).forEach((function(o){null!==o&&t.push(n[e][r][o])}))}))})),t.sort((function(e,t){return(e.creationIndex||0)-(t.creationIndex||0)})),e(null,t)}},8971:(e,t)=>{"use strict";t.U=function(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t.substr(-1))return!0;if("/"===e.substr(t.length,1))return!0}return!1}},7324:(e,t,n)=>{"use strict";var r=n(752);t.p=function(e){var t=r.getPublicSuffix(e);if(!t)return null;if(t==e)return[e];for(var n=e.slice(0,-(t.length+1)).split(".").reverse(),o=t,i=[o];n.length;)o=n.shift()+"."+o,i.push(o);return i}},752:(e,t,n)=>{"use strict";var r=n(6244);t.getPublicSuffix=function(e){return r.get(e)}},2224:(e,t)=>{"use strict";function n(){}t.y=n,n.prototype.synchronous=!1,n.prototype.findCookie=function(e,t,n,r){throw new Error("findCookie is not implemented")},n.prototype.findCookies=function(e,t,n){throw new Error("findCookies is not implemented")},n.prototype.putCookie=function(e,t){throw new Error("putCookie is not implemented")},n.prototype.updateCookie=function(e,t,n){throw new Error("updateCookie is not implemented")},n.prototype.removeCookie=function(e,t,n,r){throw new Error("removeCookie is not implemented")},n.prototype.removeCookies=function(e,t,n){throw new Error("removeCookies is not implemented")},n.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")},n.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},456:e=>{e.exports="3.0.1"},6149:(e,t,n)=>{e.exports=n(5468)},5468:(e,t,n)=>{"use strict";n(1808);var r,o=n(4404),i=n(3685),a=n(5687),s=n(2361),c=(n(9491),n(3837));function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||i.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",(function(e,n,r,o){for(var i=p(n,r,o),a=0,s=t.requests.length;a<s;++a){var c=t.requests[a];if(c.host===i.host&&c.port===i.port)return t.requests.splice(a,1),void c.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function l(e,t){var n=this;u.prototype.createSocket.call(n,e,(function(r){var i=e.request.getHeader("host"),a=d({},n.options,{socket:r,servername:i?i.replace(/:.*$/,""):e.host}),s=o.connect(0,a);n.sockets[n.sockets.indexOf(r)]=s,t(s)}))}function p(e,t,n){return"string"==typeof e?{host:e,port:t,localAddress:n}:e}function d(e){for(var t=1,n=arguments.length;t<n;++t){var r=arguments[t];if("object"==typeof r)for(var o=Object.keys(r),i=0,a=o.length;i<a;++i){var s=o[i];void 0!==r[s]&&(e[s]=r[s])}}return e}t.httpOverHttp=function(e){var t=new u(e);return t.request=i.request,t},t.httpsOverHttp=function(e){var t=new u(e);return t.request=i.request,t.createSocket=l,t.defaultPort=443,t},t.httpOverHttps=function(e){var t=new u(e);return t.request=a.request,t},t.httpsOverHttps=function(e){var t=new u(e);return t.request=a.request,t.createSocket=l,t.defaultPort=443,t},c.inherits(u,s.EventEmitter),u.prototype.addRequest=function(e,t,n,r){var o=this,i=d({request:e},o.options,p(t,n,r));o.sockets.length>=this.maxSockets?o.requests.push(i):o.createSocket(i,(function(t){function n(){o.emit("free",t,i)}function r(e){o.removeSocket(t),t.removeListener("free",n),t.removeListener("close",r),t.removeListener("agentRemove",r)}t.on("free",n),t.on("close",r),t.on("agentRemove",r),e.onSocket(t)}))},u.prototype.createSocket=function(e,t){var n=this,o={};n.sockets.push(o);var i=d({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),r("making CONNECT request");var a=n.request(i);function s(i,s,c){var u;return a.removeAllListeners(),s.removeAllListeners(),200!==i.statusCode?(r("tunneling socket could not be established, statusCode=%d",i.statusCode),s.destroy(),(u=new Error("tunneling socket could not be established, statusCode="+i.statusCode)).code="ECONNRESET",e.request.emit("error",u),void n.removeSocket(o)):c.length>0?(r("got illegal response body from proxy"),s.destroy(),(u=new Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",u),void n.removeSocket(o)):(r("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=s,t(s))}a.useChunkedEncodingByDefault=!1,a.once("response",(function(e){e.upgrade=!0})),a.once("upgrade",(function(e,t,n){process.nextTick((function(){s(e,t,n)}))})),a.once("connect",s),a.once("error",(function(t){a.removeAllListeners(),r("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, cause="+t.message);i.code="ECONNRESET",e.request.emit("error",i),n.removeSocket(o)})),a.end()},u.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createSocket(n,(function(e){n.request.onSocket(e)}))}},r=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:function(){}},3403:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i,a,s,c,u=n(1017),l=n(7147),p=Object.prototype.toString;function d(e){return void 0!==e}function h(e){return"[object String]"===p.call(e)}function m(e){return JSON.parse(l.readFileSync(e,"utf8"))}function f(e,t){return c&&(e="["+e.replace(/[aouei]/g,"$&$&")+"]"),0===t.length?e:e.replace(/\{(\d+)\}/g,(function(e,n){var r=n[0],o=t[r],i=e;return"string"==typeof o?i=o:"number"!=typeof o&&"boolean"!=typeof o&&null!=o||(i=String(o)),i}))}function g(e){return function(t,n){for(var r,o=[],i=2;i<arguments.length;i++)o[i-2]=arguments[i];return r=t,"[object Number]"===p.call(r)?t>=e.length?void console.error("Broken localize call found. Index out of bounds. Stacktrace is\n: "+new Error("").stack):f(e[t],o):h(n)?(console.warn("Message "+n+" didn't get externalized correctly."),f(n,o)):void console.error("Broken localize call found. Stacktrace is\n: "+new Error("").stack)}}function v(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return f(t,n)}function y(e,t){return a[e]=t,t}function b(e){try{return function(e){var t=m(u.join(e,"nls.metadata.json")),n=Object.create(null);for(var r in t){var o=t[r];n[r]=o.messages}return n}(e)}catch(e){return void console.log("Generating default bundle from meta data failed.",e)}}function _(e,t){var n;if(!0===s.languagePackSupport&&void 0!==s.cacheRoot&&void 0!==s.languagePackId&&void 0!==s.translationsConfigFile&&void 0!==s.translationsConfig)try{n=function(e,t){var n,r,o,i=u.join(s.cacheRoot,e.id+"-"+e.hash+".json"),a=!1,c=!1;try{return n=JSON.parse(l.readFileSync(i,{encoding:"utf8",flag:"r"})),r=i,o=new Date,l.utimes(r,o,o,(function(){})),n}catch(e){if("ENOENT"===e.code)c=!0;else{if(!(e instanceof SyntaxError))throw e;console.log("Syntax error parsing message bundle: "+e.message+"."),l.unlink(i,(function(e){e&&console.error("Deleting corrupted bundle "+i+" failed.")})),a=!0}}if(n=function(e,t){var n=s.translationsConfig[e.id];if(n){var r=m(n).contents,o=m(u.join(t,"nls.metadata.json")),i=Object.create(null);for(var a in o){var c=o[a],l=r[e.outDir+"/"+a];if(l){for(var p=[],d=0;d<c.keys.length;d++){var f=c.keys[d],g=l[h(f)?f:f.key];void 0===g&&(g=c.messages[d]),p.push(g)}i[a]=p}else i[a]=c.messages}return i}}(e,t),!n||a)return n;if(c)try{l.writeFileSync(i,JSON.stringify(n),{encoding:"utf8",flag:"wx"})}catch(e){if("EEXIST"===e.code)return n;throw e}return n}(e,t)}catch(e){console.log("Load or create bundle failed ",e)}if(!n){if(s.languagePackSupport)return b(t);var r=function(e){for(var t=s.language;t;){var n=u.join(e,"nls.bundle."+t+".json");if(l.existsSync(n))return n;var r=t.lastIndexOf("-");t=r>0?t.substring(0,r):void 0}if(void 0===t&&(n=u.join(e,"nls.bundle.json"),l.existsSync(n)))return n}(t);if(r)try{return m(r)}catch(e){console.log("Loading in the box message bundle failed.",e)}n=b(t)}return n}function E(e){if(!e)return v;var t=u.extname(e);if(t&&(e=e.substr(0,e.length-t.length)),s.messageFormat===r.both||s.messageFormat===r.bundle){var n=function(e){for(var t,n=u.dirname(e);t=u.join(n,"nls.metadata.header.json"),!l.existsSync(t);){var r=u.dirname(n);if(r===n){t=void 0;break}n=r}return t}(e);if(n){var o=u.dirname(n),i=a[o];if(void 0===i)try{var p=JSON.parse(l.readFileSync(n,"utf8"));try{var h=_(p,o);i=y(o,h?{header:p,nlsBundle:h}:null)}catch(e){console.error("Failed to load nls bundle",e),i=y(o,null)}}catch(e){console.error("Failed to read header file",e),i=y(o,null)}if(i){var f=e.substr(o.length+1).replace(/\\/g,"/"),b=i.nlsBundle[f];return void 0===b?(console.error("Messages for file "+e+" not found. See console for details."),function(){return"Messages not found."}):g(b)}}}if(s.messageFormat===r.both||s.messageFormat===r.file)try{var E=m(function(e){var t;if(s.cacheLanguageResolution&&t);else{if(c||!s.language)t=".nls.json";else for(var n=s.language;n;){var r=".nls."+n+".json";if(l.existsSync(e+r)){t=r;break}var o=n.lastIndexOf("-");o>0?n=n.substring(0,o):(t=".nls.json",n=null)}s.cacheLanguageResolution}return e+t}(e));return Array.isArray(E)?g(E):d(E.messages)&&d(E.keys)?g(E.messages):(console.error("String bundle '"+e+"' uses an unsupported format."),function(){return"File bundle has unsupported format. See console for details"})}catch(e){"ENOENT"!==e.code&&console.error("Failed to load single file bundle",e)}return console.error("Failed to load message bundle for file "+e),function(){return"Failed to load message bundle. See console for details."}}!function(e){e.file="file",e.bundle="bundle",e.both="both"}(r=t.MessageFormat||(t.MessageFormat={})),function(e){e.standalone="standalone",e.languagePack="languagePack"}(o=t.BundleFormat||(t.BundleFormat={})),function(e){e.is=function(e){var t=e;return t&&d(t.key)&&d(t.comment)}}(i||(i={})),function(){if(s={locale:void 0,language:void 0,languagePackSupport:!1,cacheLanguageResolution:!0,messageFormat:r.bundle},h(process.env.VSCODE_NLS_CONFIG))try{var e=JSON.parse(process.env.VSCODE_NLS_CONFIG),t=void 0;if(e.availableLanguages){var n=e.availableLanguages["*"];h(n)&&(t=n)}if(h(e.locale)&&(s.locale=e.locale.toLowerCase()),void 0===t?s.language=s.locale:"en"!==t&&(s.language=t),function(e){return!0===e||!1===e}(e._languagePackSupport)&&(s.languagePackSupport=e._languagePackSupport),h(e._cacheRoot)&&(s.cacheRoot=e._cacheRoot),h(e._languagePackId)&&(s.languagePackId=e._languagePackId),h(e._translationsConfigFile)){s.translationsConfigFile=e._translationsConfigFile;try{s.translationsConfig=m(s.translationsConfigFile)}catch(t){if(e._corruptedFile){var o=u.dirname(e._corruptedFile);l.exists(o,(function(t){t&&l.writeFile(e._corruptedFile,"corrupted","utf8",(function(e){console.error(e)}))}))}}}}catch(e){}c="pseudo"===s.locale,a=Object.create(null)}(),t.loadMessageBundle=E,t.config=function(e){return e&&(h(e.locale)&&(s.locale=e.locale.toLowerCase(),s.language=s.locale,a=Object.create(null)),void 0!==e.messageFormat&&(s.messageFormat=e.messageFormat),e.bundleFormat===o.standalone&&!0===s.languagePackSupport&&(s.languagePackSupport=!1)),c="pseudo"===s.locale,E}},8777:(e,t,n)=>{"use strict";const r=n(8762);r.createWebSocketStream=n(404),r.Server=n(9284),r.Receiver=n(2957),r.Sender=n(7330),e.exports=r},977:(e,t,n)=>{"use strict";const{EMPTY_BUFFER:r}=n(1872);function o(e,t){if(0===e.length)return r;if(1===e.length)return e[0];const n=Buffer.allocUnsafe(t);let o=0;for(let t=0;t<e.length;t++){const r=e[t];n.set(r,o),o+=r.length}return o<t?n.slice(0,o):n}function i(e,t,n,r,o){for(let i=0;i<o;i++)n[r+i]=e[i]^t[3&i]}function a(e,t){const n=e.length;for(let r=0;r<n;r++)e[r]^=t[3&r]}function s(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function c(e){if(c.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=Buffer.from(e):ArrayBuffer.isView(e)?t=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),c.readOnly=!1),t}try{const t=n(8447),r=t.BufferUtil||t;e.exports={concat:o,mask(e,t,n,o,a){a<48?i(e,t,n,o,a):r.mask(e,t,n,o,a)},toArrayBuffer:s,toBuffer:c,unmask(e,t){e.length<32?a(e,t):r.unmask(e,t)}}}catch(t){e.exports={concat:o,mask:i,toArrayBuffer:s,toBuffer:c,unmask:a}}},1872:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},62:e=>{"use strict";class t{constructor(e,t){this.target=t,this.type=e}}class n extends t{constructor(e,t){super("message",t),this.data=e}}class r extends t{constructor(e,t,n){super("close",n),this.wasClean=n._closeFrameReceived&&n._closeFrameSent,this.reason=t,this.code=e}}class o extends t{constructor(e){super("open",e)}}class i extends t{constructor(e,t){super("error",t),this.message=e.message,this.error=e}}const a={addEventListener(e,t,a){if("function"!=typeof t)return;function s(e){t.call(this,new n(e,this))}function c(e,n){t.call(this,new r(e,n,this))}function u(e){t.call(this,new i(e,this))}function l(){t.call(this,new o(this))}const p=a&&a.once?"once":"on";"message"===e?(s._listener=t,this[p](e,s)):"close"===e?(c._listener=t,this[p](e,c)):"error"===e?(u._listener=t,this[p](e,u)):"open"===e?(l._listener=t,this[p](e,l)):this[p](e,t)},removeEventListener(e,t){const n=this.listeners(e);for(let r=0;r<n.length;r++)n[r]!==t&&n[r]._listener!==t||this.removeListener(e,n[r])}};e.exports=a},1503:e=>{"use strict";const t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n(e,t,n){void 0===e[t]?e[t]=[n]:e[t].push(n)}e.exports={format:function(e){return Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>[t].concat(Object.keys(e).map((t=>{let n=e[t];return Array.isArray(n)||(n=[n]),n.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const r=Object.create(null);if(void 0===e||""===e)return r;let o,i,a=Object.create(null),s=!1,c=!1,u=!1,l=-1,p=-1,d=0;for(;d<e.length;d++){const h=e.charCodeAt(d);if(void 0===o)if(-1===p&&1===t[h])-1===l&&(l=d);else if(32===h||9===h)-1===p&&-1!==l&&(p=d);else{if(59!==h&&44!==h)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);const t=e.slice(l,p);44===h?(n(r,t,a),a=Object.create(null)):o=t,l=p=-1}}else if(void 0===i)if(-1===p&&1===t[h])-1===l&&(l=d);else if(32===h||9===h)-1===p&&-1!==l&&(p=d);else if(59===h||44===h){if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d),n(a,e.slice(l,p),!0),44===h&&(n(r,o,a),a=Object.create(null),o=void 0),l=p=-1}else{if(61!==h||-1===l||-1!==p)throw new SyntaxError(`Unexpected character at index ${d}`);i=e.slice(l,d),l=p=-1}else if(c){if(1!==t[h])throw new SyntaxError(`Unexpected character at index ${d}`);-1===l?l=d:s||(s=!0),c=!1}else if(u)if(1===t[h])-1===l&&(l=d);else if(34===h&&-1!==l)u=!1,p=d;else{if(92!==h)throw new SyntaxError(`Unexpected character at index ${d}`);c=!0}else if(34===h&&61===e.charCodeAt(d-1))u=!0;else if(-1===p&&1===t[h])-1===l&&(l=d);else if(-1===l||32!==h&&9!==h){if(59!==h&&44!==h)throw new SyntaxError(`Unexpected character at index ${d}`);{if(-1===l)throw new SyntaxError(`Unexpected character at index ${d}`);-1===p&&(p=d);let t=e.slice(l,p);s&&(t=t.replace(/\\/g,""),s=!1),n(a,i,t),44===h&&(n(r,o,a),a=Object.create(null),o=void 0),i=void 0,l=p=-1}}else-1===p&&(p=d)}if(-1===l||u)throw new SyntaxError("Unexpected end of input");-1===p&&(p=d);const h=e.slice(l,p);return void 0===o?n(r,h,a):(void 0===i?n(a,h,!0):n(a,i,s?h.replace(/\\/g,""):h),n(r,o,a)),r}}},305:e=>{"use strict";const t=Symbol("kDone"),n=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[n]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[n]()}[n](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},5196:(e,t,n)=>{"use strict";const r=n(9796),o=n(977),i=n(305),{kStatusCode:a,NOOP:s}=n(1872),c=Buffer.from([0,0,255,255]),u=Symbol("permessage-deflate"),l=Symbol("total-length"),p=Symbol("callback"),d=Symbol("buffers"),h=Symbol("error");let m;function f(e){this[d].push(e),this[l]+=e.length}function g(e){this[l]+=e.length,this[u]._maxPayload<1||this[l]<=this[u]._maxPayload?this[d].push(e):(this[h]=new RangeError("Max payload size exceeded"),this[h].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[h][a]=1009,this.removeListener("data",g),this.reset())}function v(e){this[u]._inflate=null,e[a]=1007,this[p](e)}e.exports=class{constructor(e,t,n){if(this._maxPayload=0|n,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!m){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;m=new i(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[p];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,n=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!n)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(n.server_no_context_takeover=!0),t.clientNoContextTakeover&&(n.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(n.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?n.client_max_window_bits=t.clientMaxWindowBits:!0!==n.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete n.client_max_window_bits,n}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let n=e[t];if(n.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(n=n[0],"client_max_window_bits"===t){if(!0!==n){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}else if("server_max_window_bits"===t){const e=+n;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${n}`);n=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==n)throw new TypeError(`Invalid value for parameter "${t}": ${n}`)}e[t]=n}))})),e}decompress(e,t,n){m.add((r=>{this._decompress(e,t,((e,t)=>{r(),n(e,t)}))}))}compress(e,t,n){m.add((r=>{this._compress(e,t,((e,t)=>{r(),n(e,t)}))}))}_decompress(e,t,n){const i=this._isServer?"client":"server";if(!this._inflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?r.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=r.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[u]=this,this._inflate[l]=0,this._inflate[d]=[],this._inflate.on("error",v),this._inflate.on("data",g)}this._inflate[p]=n,this._inflate.write(e),t&&this._inflate.write(c),this._inflate.flush((()=>{const e=this._inflate[h];if(e)return this._inflate.close(),this._inflate=null,void n(e);const r=o.concat(this._inflate[d],this._inflate[l]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[l]=0,this._inflate[d]=[],t&&this.params[`${i}_no_context_takeover`]&&this._inflate.reset()),n(null,r)}))}_compress(e,t,n){const i=this._isServer?"server":"client";if(!this._deflate){const e=`${i}_max_window_bits`,t="number"!=typeof this.params[e]?r.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=r.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[l]=0,this._deflate[d]=[],this._deflate.on("error",s),this._deflate.on("data",f)}this._deflate[p]=n,this._deflate.write(e),this._deflate.flush(r.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=o.concat(this._deflate[d],this._deflate[l]);t&&(e=e.slice(0,e.length-4)),this._deflate[p]=null,this._deflate[l]=0,this._deflate[d]=[],t&&this.params[`${i}_no_context_takeover`]&&this._deflate.reset(),n(null,e)}))}}},2957:(e,t,n)=>{"use strict";const{Writable:r}=n(2781),o=n(5196),{BINARY_TYPES:i,EMPTY_BUFFER:a,kStatusCode:s,kWebSocket:c}=n(1872),{concat:u,toArrayBuffer:l,unmask:p}=n(977),{isValidStatusCode:d,isValidUTF8:h}=n(6746);function m(e,t,n,r,o){const i=new e(n?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(i,m),i.code=o,i[s]=r,i}e.exports=class extends r{constructor(e,t,n,r){super(),this._binaryType=e||i[0],this[c]=void 0,this._extensions=t||{},this._isServer=!!n,this._maxPayload=0|r,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,n){if(8===this._opcode&&0==this._state)return n();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(n)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=t.slice(e),t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const n=this._buffers[0],r=t.length-e;e>=n.length?t.set(this._buffers.shift(),r):(t.set(new Uint8Array(n.buffer,n.byteOffset,e),r),this._buffers[0]=n.slice(e)),e-=n.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,m(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[o.extensionName])return this._loop=!1,m(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,m(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,m(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,m(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,m(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,m(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,m(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,m(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,m(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,m(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,m(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,m(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=a;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&p(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[o.extensionName].decompress(e,this._fin,((e,n)=>{if(e)return t(e);if(n.length){if(this._messageLength+=n.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(m(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(n)}const r=this.dataMessage();if(r)return t(r);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let n;n="nodebuffer"===this._binaryType?u(t,e):"arraybuffer"===this._binaryType?l(u(t,e)):t,this.emit("message",n)}else{const n=u(t,e);if(!h(n))return this._loop=!1,m(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",n.toString())}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return m(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const t=e.readUInt16BE(0);if(!d(t))return m(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const n=e.slice(2);if(!h(n))return m(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,n.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},7330:(e,t,n)=>{"use strict";n(1808),n(4404);const{randomFillSync:r}=n(6113),o=n(5196),{EMPTY_BUFFER:i}=n(1872),{isValidStatusCode:a}=n(6746),{mask:s,toBuffer:c}=n(977),u=Buffer.alloc(4);class l{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){const n=t.mask&&t.readOnly;let o=t.mask?6:2,i=e.length;e.length>=65536?(o+=8,i=127):e.length>125&&(o+=2,i=126);const a=Buffer.allocUnsafe(n?e.length+o:o);return a[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(a[0]|=64),a[1]=i,126===i?a.writeUInt16BE(e.length,2):127===i&&(a.writeUInt32BE(0,2),a.writeUInt32BE(e.length,6)),t.mask?(r(u,0,4),a[1]|=128,a[o-4]=u[0],a[o-3]=u[1],a[o-2]=u[2],a[o-1]=u[3],n?(s(e,u,a,o,e.length),[a]):(s(e,u,e,0,e.length),[a,e])):[a,e]}close(e,t,n,r){let o;if(void 0===e)o=i;else{if("number"!=typeof e||!a(e))throw new TypeError("First argument must be a valid error code number");if(void 0===t||""===t)o=Buffer.allocUnsafe(2),o.writeUInt16BE(e,0);else{const n=Buffer.byteLength(t);if(n>123)throw new RangeError("The message must not be greater than 123 bytes");o=Buffer.allocUnsafe(2+n),o.writeUInt16BE(e,0),o.write(t,2)}}this._deflating?this.enqueue([this.doClose,o,n,r]):this.doClose(o,n,r)}doClose(e,t,n){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),n)}ping(e,t,n){const r=c(e);if(r.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,r,t,c.readOnly,n]):this.doPing(r,t,c.readOnly,n)}doPing(e,t,n,r){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:n}),r)}pong(e,t,n){const r=c(e);if(r.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,r,t,c.readOnly,n]):this.doPong(r,t,c.readOnly,n)}doPong(e,t,n,r){this.sendFrame(l.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:n}),r)}send(e,t,n){const r=c(e),i=this._extensions[o.extensionName];let a=t.binary?2:1,s=t.compress;if(this._firstFragment?(this._firstFragment=!1,s&&i&&(s=r.length>=i._threshold),this._compress=s):(s=!1,a=0),t.fin&&(this._firstFragment=!0),i){const e={fin:t.fin,rsv1:s,opcode:a,mask:t.mask,readOnly:c.readOnly};this._deflating?this.enqueue([this.dispatch,r,this._compress,e,n]):this.dispatch(r,this._compress,e,n)}else this.sendFrame(l.frame(r,{fin:t.fin,rsv1:!1,opcode:a,mask:t.mask,readOnly:c.readOnly}),n)}dispatch(e,t,n,r){if(!t)return void this.sendFrame(l.frame(e,n),r);const i=this._extensions[o.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,i.compress(e,n.fin,((t,o)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof r&&r(e);for(let t=0;t<this._queue.length;t++){const n=this._queue[t][4];"function"==typeof n&&n(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,n.readOnly=!1,this.sendFrame(l.frame(o,n),r),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=l},404:(e,t,n)=>{"use strict";const{Duplex:r}=n(2781);function o(e){e.emit("close")}function i(){!this.destroyed&&this._writableState.finished&&this.destroy()}function a(e){this.removeListener("error",a),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let n=!0,s=!0;function c(){n&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",c));const u=new r({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t){u.push(t)||(n=!1,e._socket.pause())})),e.once("error",(function(e){u.destroyed||(s=!1,u.destroy(e))})),e.once("close",(function(){u.destroyed||u.push(null)})),u._destroy=function(t,n){if(e.readyState===e.CLOSED)return n(t),void process.nextTick(o,u);let r=!1;e.once("error",(function(e){r=!0,n(e)})),e.once("close",(function(){r||n(t),process.nextTick(o,u)})),s&&e.terminate()},u._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),u._readableState.endEmitted&&u.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){u._final(t)}))},u._read=function(){e.readyState!==e.OPEN&&e.readyState!==e.CLOSING||n||(n=!0,e._receiver._writableState.needDrain||e._socket.resume())},u._write=function(t,n,r){e.readyState!==e.CONNECTING?e.send(t,r):e.once("open",(function(){u._write(t,n,r)}))},u.on("end",i),u.on("error",a),u}},6746:(e,t,n)=>{"use strict";function r(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function o(e){const t=e.length;let n=0;for(;n<t;)if(0==(128&e[n]))n++;else if(192==(224&e[n])){if(n+1===t||128!=(192&e[n+1])||192==(254&e[n]))return!1;n+=2}else if(224==(240&e[n])){if(n+2>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||224===e[n]&&128==(224&e[n+1])||237===e[n]&&160==(224&e[n+1]))return!1;n+=3}else{if(240!=(248&e[n]))return!1;if(n+3>=t||128!=(192&e[n+1])||128!=(192&e[n+2])||128!=(192&e[n+3])||240===e[n]&&128==(240&e[n+1])||244===e[n]&&e[n+1]>143||e[n]>244)return!1;n+=4}return!0}try{let t=n(7838);"object"==typeof t&&(t=t.Validation.isValidUTF8),e.exports={isValidStatusCode:r,isValidUTF8:e=>e.length<150?o(e):t(e)}}catch(t){e.exports={isValidStatusCode:r,isValidUTF8:o}}},9284:(e,t,n)=>{"use strict";const r=n(2361),o=n(3685),{createHash:i}=(n(5687),n(1808),n(4404),n(6113)),a=n(5196),s=n(8762),{format:c,parse:u}=n(1503),{GUID:l,kWebSocket:p}=n(1872),d=/^[+/0-9A-Za-z]{22}==$/;function h(e){e._state=2,e.emit("close")}function m(){this.destroy()}function f(e,t,n,r){e.writable&&(n=n||o.STATUS_CODES[t],r={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(n),...r},e.write(`HTTP/1.1 ${t} ${o.STATUS_CODES[t]}\r\n`+Object.keys(r).map((e=>`${e}: ${r[e]}`)).join("\r\n")+"\r\n\r\n"+n)),e.removeListener("error",m),e.destroy()}function g(e){return e.trim()}e.exports=class extends r{constructor(e,t){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=o.createServer(((e,t)=>{const n=o.STATUS_CODES[426];t.writeHead(426,{"Content-Length":n.length,"Content-Type":"text/plain"}),t.end(n)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const n of Object.keys(t))e.on(n,t[n]);return function(){for(const n of Object.keys(t))e.removeListener(n,t[n])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,n,r)=>{this.handleUpgrade(t,n,r,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),2===this._state)return void process.nextTick(h,this);if(1===this._state)return;if(this._state=1,this.clients)for(const e of this.clients)e.terminate();const t=this._server;t&&(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)?t.close(h.bind(void 0,this)):process.nextTick(h,this)}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,n,r){t.on("error",m);const o=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),i=+e.headers["sec-websocket-version"],s={};if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!o||!d.test(o)||8!==i&&13!==i||!this.shouldHandle(e))return f(t,400);if(this.options.perMessageDeflate){const n=new a(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=u(e.headers["sec-websocket-extensions"]);t[a.extensionName]&&(n.accept(t[a.extensionName]),s[a.extensionName]=n)}catch(e){return f(t,400)}}if(this.options.verifyClient){const a={origin:e.headers[8===i?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(a,((i,a,c,u)=>{if(!i)return f(t,a||401,c,u);this.completeUpgrade(o,s,e,t,n,r)}));if(!this.options.verifyClient(a))return f(t,401)}this.completeUpgrade(o,s,e,t,n,r)}completeUpgrade(e,t,n,r,o,u){if(!r.readable||!r.writable)return r.destroy();if(r[p])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return f(r,503);const d=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${i("sha1").update(e+l).digest("base64")}`],h=new s(null);let v=n.headers["sec-websocket-protocol"];if(v&&(v=v.split(",").map(g),v=this.options.handleProtocols?this.options.handleProtocols(v,n):v[0],v&&(d.push(`Sec-WebSocket-Protocol: ${v}`),h._protocol=v)),t[a.extensionName]){const e=t[a.extensionName].params,n=c({[a.extensionName]:[e]});d.push(`Sec-WebSocket-Extensions: ${n}`),h._extensions=t}this.emit("headers",d,n),r.write(d.concat("\r\n").join("\r\n")),r.removeListener("error",m),h.setSocket(r,o,this.options.maxPayload),this.clients&&(this.clients.add(h),h.on("close",(()=>this.clients.delete(h)))),u(h,n)}}},8762:(e,t,n)=>{"use strict";const r=n(2361),o=n(5687),i=n(3685),a=n(1808),s=n(4404),{randomBytes:c,createHash:u}=n(6113),{Readable:l}=n(2781),{URL:p}=n(7310),d=n(5196),h=n(2957),m=n(7330),{BINARY_TYPES:f,EMPTY_BUFFER:g,GUID:v,kStatusCode:y,kWebSocket:b,NOOP:_}=n(1872),{addEventListener:E,removeEventListener:w}=n(62),{format:k,parse:T}=n(1503),{toBuffer:S}=n(977),x=["CONNECTING","OPEN","CLOSING","CLOSED"],C=[8,13];class A extends r{constructor(e,t,n){super(),this._binaryType=f[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=A.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(t)?t=t.join(", "):"object"==typeof t&&null!==t&&(n=t,t=void 0),I(this,e,t,n)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){f.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){}set onclose(e){}get onerror(){}set onerror(e){}get onopen(){}set onopen(e){}get onmessage(){}set onmessage(e){}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,n){const r=new h(this.binaryType,this._extensions,this._isServer,n);this._sender=new m(e,this._extensions),this._receiver=r,this._socket=e,r[b]=this,e[b]=this,r.on("conclude",D),r.on("drain",M),r.on("error",L),r.on("message",F),r.on("ping",U),r.on("pong",q),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",H),e.on("data",V),e.on("end",G),e.on("error",$),this._readyState=A.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=A.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[d.extensionName]&&this._extensions[d.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=A.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==A.CLOSED){if(this.readyState===A.CONNECTING){const e="WebSocket was closed before the connection was established";return j(this,this._req,e)}this.readyState!==A.CLOSING?(this._readyState=A.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,t,n){if(this.readyState===A.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===A.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||g,t,n)):N(this,e,n)}pong(e,t,n){if(this.readyState===A.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(n=e,e=t=void 0):"function"==typeof t&&(n=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===A.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||g,t,n)):N(this,e,n)}send(e,t,n){if(this.readyState===A.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(n=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==A.OPEN)return void N(this,e,n);const r={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[d.extensionName]||(r.compress=!1),this._sender.send(e||g,r,n)}terminate(){if(this.readyState!==A.CLOSED){if(this.readyState===A.CONNECTING){const e="WebSocket was closed before the connection was established";return j(this,this._req,e)}this._socket&&(this._readyState=A.CLOSING,this._socket.destroy())}}}function I(e,t,n,r){const a={protocolVersion:C[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...r,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!C.includes(a.protocolVersion))throw new RangeError(`Unsupported protocol version: ${a.protocolVersion} (supported versions: ${C.join(", ")})`);let s;t instanceof p?(s=t,e._url=t.href):(s=new p(t),e._url=t);const l="ws+unix:"===s.protocol;if(!(s.host||l&&s.pathname)){const t=new Error(`Invalid URL: ${e.url}`);if(0===e._redirects)throw t;return void R(e,t)}const h="wss:"===s.protocol||"https:"===s.protocol,m=h?443:80,f=c(16).toString("base64"),g=h?o.get:i.get;let y;if(a.createConnection=h?O:P,a.defaultPort=a.defaultPort||m,a.port=s.port||m,a.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,a.headers={"Sec-WebSocket-Version":a.protocolVersion,"Sec-WebSocket-Key":f,Connection:"Upgrade",Upgrade:"websocket",...a.headers},a.path=s.pathname+s.search,a.timeout=a.handshakeTimeout,a.perMessageDeflate&&(y=new d(!0!==a.perMessageDeflate?a.perMessageDeflate:{},!1,a.maxPayload),a.headers["Sec-WebSocket-Extensions"]=k({[d.extensionName]:y.offer()})),n&&(a.headers["Sec-WebSocket-Protocol"]=n),a.origin&&(a.protocolVersion<13?a.headers["Sec-WebSocket-Origin"]=a.origin:a.headers.Origin=a.origin),(s.username||s.password)&&(a.auth=`${s.username}:${s.password}`),l){const e=a.path.split(":");a.socketPath=e[0],a.path=e[1]}if(a.followRedirects){if(0===e._redirects){e._originalUnixSocket=l,e._originalSecure=h,e._originalHostOrSocketPath=l?a.socketPath:s.host;const t=r&&r.headers;if(r={...r,headers:{}},t)for(const[e,n]of Object.entries(t))r.headers[e.toLowerCase()]=n}else{const t=l?!!e._originalUnixSocket&&a.socketPath===e._originalHostOrSocketPath:!e._originalUnixSocket&&s.host===e._originalHostOrSocketPath;(!t||e._originalSecure&&!h)&&(delete a.headers.authorization,delete a.headers.cookie,t||delete a.headers.host,a.auth=void 0)}a.auth&&!r.headers.authorization&&(r.headers.authorization="Basic "+Buffer.from(a.auth).toString("base64"))}let b=e._req=g(a);a.timeout&&b.on("timeout",(()=>{j(e,b,"Opening handshake has timed out")})),b.on("error",(t=>{null===b||b.aborted||(b=e._req=null,R(e,t))})),b.on("response",(o=>{const i=o.headers.location,s=o.statusCode;if(i&&a.followRedirects&&s>=300&&s<400){if(++e._redirects>a.maxRedirects)return void j(e,b,"Maximum redirects exceeded");let o;b.abort();try{o=new p(i,t)}catch(t){return void R(e,t)}I(e,o,n,r)}else e.emit("unexpected-response",b,o)||j(e,b,`Unexpected server response: ${o.statusCode}`)})),b.on("upgrade",((t,r,o)=>{if(e.emit("upgrade",t),e.readyState!==A.CONNECTING)return;if(b=e._req=null,"websocket"!==t.headers.upgrade.toLowerCase())return void j(e,r,"Invalid Upgrade header");const i=u("sha1").update(f+v).digest("base64");if(t.headers["sec-websocket-accept"]!==i)return void j(e,r,"Invalid Sec-WebSocket-Accept header");const s=t.headers["sec-websocket-protocol"],c=(n||"").split(/, */);let l;if(!n&&s?l="Server sent a subprotocol but none was requested":n&&!s?l="Server sent no subprotocol":s&&!c.includes(s)&&(l="Server sent an invalid subprotocol"),l)return void j(e,r,l);s&&(e._protocol=s);const p=t.headers["sec-websocket-extensions"];if(void 0!==p){if(!y)return void j(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=T(p)}catch(t){return void j(e,r,"Invalid Sec-WebSocket-Extensions header")}const n=Object.keys(t);if(n.length){if(1!==n.length||n[0]!==d.extensionName)return void j(e,r,"Server indicated an extension that was not requested");try{y.accept(t[d.extensionName])}catch(t){return void j(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[d.extensionName]=y}}e.setSocket(r,o,a.maxPayload)}))}function R(e,t){e._readyState=A.CLOSING,e.emit("error",t),e.emitClose()}function P(e){return e.path=e.socketPath,a.connect(e)}function O(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=a.isIP(e.host)?"":e.host),s.connect(e)}function j(e,t,n){e._readyState=A.CLOSING;const r=new Error(n);Error.captureStackTrace(r,j),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",r)):(t.destroy(r),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function N(e,t,n){if(t){const n=S(t).length;e._socket?e._sender._bufferedBytes+=n:e._bufferedAmount+=n}n&&n(new Error(`WebSocket is not open: readyState ${e.readyState} (${x[e.readyState]})`))}function D(e,t){const n=this[b];n._closeFrameReceived=!0,n._closeMessage=t,n._closeCode=e,void 0!==n._socket[b]&&(n._socket.removeListener("data",V),process.nextTick(B,n._socket),1005===e?n.close():n.close(e,t))}function M(){this[b]._socket.resume()}function L(e){const t=this[b];void 0!==t._socket[b]&&(t._socket.removeListener("data",V),process.nextTick(B,t._socket),t.close(e[y])),t.emit("error",e)}function z(){this[b].emitClose()}function F(e){this[b].emit("message",e)}function U(e){const t=this[b];t.pong(e,!t._isServer,_),t.emit("ping",e)}function q(e){this[b].emit("pong",e)}function B(e){e.resume()}function H(){const e=this[b];let t;this.removeListener("close",H),this.removeListener("data",V),this.removeListener("end",G),e._readyState=A.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[b]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",z),e._receiver.on("finish",z))}function V(e){this[b]._receiver.write(e)||this.pause()}function G(){const e=this[b];e._readyState=A.CLOSING,e._receiver.end(),this.end()}function $(){const e=this[b];this.removeListener("error",$),this.on("error",_),e&&(e._readyState=A.CLOSING,this.destroy())}Object.defineProperty(A,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(A.prototype,"CONNECTING",{enumerable:!0,value:x.indexOf("CONNECTING")}),Object.defineProperty(A,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(A.prototype,"OPEN",{enumerable:!0,value:x.indexOf("OPEN")}),Object.defineProperty(A,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(A.prototype,"CLOSING",{enumerable:!0,value:x.indexOf("CLOSING")}),Object.defineProperty(A,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),Object.defineProperty(A.prototype,"CLOSED",{enumerable:!0,value:x.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(A.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(A.prototype,`on${e}`,{enumerable:!0,get(){const t=this.listeners(e);for(let e=0;e<t.length;e++)if(t[e]._listener)return t[e]._listener},set(t){const n=this.listeners(e);for(let t=0;t<n.length;t++)n[t]._listener&&this.removeListener(e,n[t]);this.addEventListener(e,t)}})})),A.prototype.addEventListener=E,A.prototype.removeEventListener=w,e.exports=A},306:function(e,t){(function(){"use strict";t.stripBOM=function(e){return"\ufeff"===e[0]?e.substring(1):e}}).call(this)},4096:function(e,t,n){(function(){"use strict";var e,r,o,i,a,s={}.hasOwnProperty;e=n(5532),r=n(8381).defaults,i=function(e){return"string"==typeof e&&(e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0)},a=function(e){return"<![CDATA["+o(e)+"]]>"},o=function(e){return e.replace("]]>","]]]]><![CDATA[>")},t.Builder=function(){function t(e){var t,n,o;for(t in this.options={},n=r[.2])s.call(n,t)&&(o=n[t],this.options[t]=o);for(t in e)s.call(e,t)&&(o=e[t],this.options[t]=o)}return t.prototype.buildObject=function(t){var n,o,c,u,l,p;return n=this.options.attrkey,o=this.options.charkey,1===Object.keys(t).length&&this.options.rootName===r[.2].rootName?t=t[l=Object.keys(t)[0]]:l=this.options.rootName,p=this,c=function(e,t){var r,u,l,d,h,m;if("object"!=typeof t)p.options.cdata&&i(t)?e.raw(a(t)):e.txt(t);else if(Array.isArray(t)){for(d in t)if(s.call(t,d))for(h in u=t[d])l=u[h],e=c(e.ele(h),l).up()}else for(h in t)if(s.call(t,h))if(u=t[h],h===n){if("object"==typeof u)for(r in u)m=u[r],e=e.att(r,m)}else if(h===o)e=p.options.cdata&&i(u)?e.raw(a(u)):e.txt(u);else if(Array.isArray(u))for(d in u)s.call(u,d)&&(e="string"==typeof(l=u[d])?p.options.cdata&&i(l)?e.ele(h).raw(a(l)).up():e.ele(h,l).up():c(e.ele(h),l).up());else"object"==typeof u?e=c(e.ele(h),u).up():"string"==typeof u&&p.options.cdata&&i(u)?e=e.ele(h).raw(a(u)).up():(null==u&&(u=""),e=e.ele(h,u.toString()).up());return e},u=e.create(l,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),c(u,t).end(this.options.renderOpts)},t}()}).call(this)},8381:function(e,t){(function(){t.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:"  ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(this)},9082:function(e,t,n){(function(){"use strict";var e,r,o,i,a,s,c,u,l=function(e,t){return function(){return e.apply(t,arguments)}},p={}.hasOwnProperty;c=n(6099),o=n(2361),e=n(306),s=n(7526),u=n(9512).setImmediate,r=n(8381).defaults,i=function(e){return"object"==typeof e&&null!=e&&0===Object.keys(e).length},a=function(e,t,n){var r,o;for(r=0,o=e.length;r<o;r++)t=(0,e[r])(t,n);return t},t.Parser=function(n){function o(e){var n,o,i;if(this.parseStringPromise=l(this.parseStringPromise,this),this.parseString=l(this.parseString,this),this.reset=l(this.reset,this),this.assignOrPush=l(this.assignOrPush,this),this.processAsync=l(this.processAsync,this),!(this instanceof t.Parser))return new t.Parser(e);for(n in this.options={},o=r[.2])p.call(o,n)&&(i=o[n],this.options[n]=i);for(n in e)p.call(e,n)&&(i=e[n],this.options[n]=i);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(s.normalize)),this.reset()}return function(e,t){for(var n in t)p.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(o,n),o.prototype.processAsync=function(){var e,t;try{return this.remaining.length<=this.options.chunkSize?(e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(e),this.saxParser.close()):(e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(e),u(this.processAsync))}catch(e){if(t=e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},o.prototype.assignOrPush=function(e,t,n){return t in e?(e[t]instanceof Array||(e[t]=[e[t]]),e[t].push(n)):this.options.explicitArray?e[t]=[n]:e[t]=n},o.prototype.reset=function(){var e,t,n,r,o;return this.removeAllListeners(),this.saxParser=c.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=(o=this,function(e){if(o.saxParser.resume(),!o.saxParser.errThrown)return o.saxParser.errThrown=!0,o.emit("error",e)}),this.saxParser.onend=function(e){return function(){if(!e.saxParser.ended)return e.saxParser.ended=!0,e.emit("end",e.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],e=this.options.attrkey,t=this.options.charkey,this.saxParser.onopentag=function(n){return function(o){var i,s,c,u,l;if((c=Object.create(null))[t]="",!n.options.ignoreAttrs)for(i in l=o.attributes)p.call(l,i)&&(e in c||n.options.mergeAttrs||(c[e]=Object.create(null)),s=n.options.attrValueProcessors?a(n.options.attrValueProcessors,o.attributes[i],i):o.attributes[i],u=n.options.attrNameProcessors?a(n.options.attrNameProcessors,i):i,n.options.mergeAttrs?n.assignOrPush(c,u,s):c[e][u]=s);return c["#name"]=n.options.tagNameProcessors?a(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(c[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(c)}}(this),this.saxParser.onclosetag=function(e){return function(){var n,o,s,c,u,l,d,h,m,f;if(l=r.pop(),u=l["#name"],e.options.explicitChildren&&e.options.preserveChildrenOrder||delete l["#name"],!0===l.cdata&&(n=l.cdata,delete l.cdata),m=r[r.length-1],l[t].match(/^\s*$/)&&!n?(o=l[t],delete l[t]):(e.options.trim&&(l[t]=l[t].trim()),e.options.normalize&&(l[t]=l[t].replace(/\s{2,}/g," ").trim()),l[t]=e.options.valueProcessors?a(e.options.valueProcessors,l[t],u):l[t],1===Object.keys(l).length&&t in l&&!e.EXPLICIT_CHARKEY&&(l=l[t])),i(l)&&(l="function"==typeof e.options.emptyTag?e.options.emptyTag():""!==e.options.emptyTag?e.options.emptyTag:o),null!=e.options.validator&&(f="/"+function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)c=r[e],n.push(c["#name"]);return n}().concat(u).join("/"),function(){var t;try{return l=e.options.validator(f,m&&m[u],l)}catch(n){return t=n,e.emit("error",t)}}()),e.options.explicitChildren&&!e.options.mergeAttrs&&"object"==typeof l)if(e.options.preserveChildrenOrder){if(m){for(s in m[e.options.childkey]=m[e.options.childkey]||[],d=Object.create(null),l)p.call(l,s)&&(d[s]=l[s]);m[e.options.childkey].push(d),delete l["#name"],1===Object.keys(l).length&&t in l&&!e.EXPLICIT_CHARKEY&&(l=l[t])}}else c=Object.create(null),e.options.attrkey in l&&(c[e.options.attrkey]=l[e.options.attrkey],delete l[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in l&&(c[e.options.charkey]=l[e.options.charkey],delete l[e.options.charkey]),Object.getOwnPropertyNames(l).length>0&&(c[e.options.childkey]=l),l=c;return r.length>0?e.assignOrPush(m,u,l):(e.options.explicitRoot&&(h=l,(l=Object.create(null))[u]=h),e.resultObject=l,e.saxParser.ended=!0,e.emit("end",e.resultObject))}}(this),n=function(e){return function(n){var o,i;if(i=r[r.length-1])return i[t]+=n,e.options.explicitChildren&&e.options.preserveChildrenOrder&&e.options.charsAsChildren&&(e.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(i[e.options.childkey]=i[e.options.childkey]||[],(o={"#name":"__text__"})[t]=n,e.options.normalize&&(o[t]=o[t].replace(/\s{2,}/g," ").trim()),i[e.options.childkey].push(o)),i}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(e){var t;if(t=n(e))return t.cdata=!0}},o.prototype.parseString=function(t,n){var r;null!=n&&"function"==typeof n&&(this.on("end",(function(e){return this.reset(),n(null,e)})),this.on("error",(function(e){return this.reset(),n(e)})));try{return""===(t=t.toString()).trim()?(this.emit("end",null),!0):(t=e.stripBOM(t),this.options.async?(this.remaining=t,u(this.processAsync),this.saxParser):this.saxParser.write(t).close())}catch(e){if(r=e,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},o.prototype.parseStringPromise=function(e){return new Promise((t=this,function(n,r){return t.parseString(e,(function(e,t){return e?r(e):n(t)}))}));var t},o}(o),t.parseString=function(e,n,r){var o,i;return null!=r?("function"==typeof r&&(o=r),"object"==typeof n&&(i=n)):("function"==typeof n&&(o=n),i={}),new t.Parser(i).parseString(e,o)},t.parseStringPromise=function(e,n){var r;return"object"==typeof n&&(r=n),new t.Parser(r).parseStringPromise(e)}}).call(this)},7526:function(e,t){(function(){"use strict";var e;e=new RegExp(/(?!xmlns)^.*:/),t.normalize=function(e){return e.toLowerCase()},t.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},t.stripPrefix=function(t){return t.replace(e,"")},t.parseNumbers=function(e){return isNaN(e)||(e=e%1==0?parseInt(e,10):parseFloat(e)),e},t.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e="true"===e.toLowerCase()),e}}).call(this)},5055:function(e,t,n){(function(){"use strict";var e,r,o,i,a={}.hasOwnProperty;r=n(8381),e=n(4096),o=n(9082),i=n(7526),t.defaults=r.defaults,t.processors=i,t.ValidationError=function(e){function t(e){this.message=e}return function(e,t){for(var n in t)a.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(t,Error),t}(),t.Builder=e.Builder,t.Parser=o.Parser,t.parseString=o.parseString,t.parseStringPromise=o.parseStringPromise}).call(this)},7557:function(e){(function(){e.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},9335:function(e){(function(){e.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(this)},8369:function(e){(function(){var t,n,r,o,i,a,s,c=[].slice,u={}.hasOwnProperty;t=function(){var e,t,n,r,o,a;if(a=arguments[0],o=2<=arguments.length?c.call(arguments,1):[],i(Object.assign))Object.assign.apply(null,arguments);else for(e=0,n=o.length;e<n;e++)if(null!=(r=o[e]))for(t in r)u.call(r,t)&&(a[t]=r[t]);return a},i=function(e){return!!e&&"[object Function]"===Object.prototype.toString.call(e)},a=function(e){var t;return!!e&&("function"==(t=typeof e)||"object"===t)},r=function(e){return i(Array.isArray)?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},o=function(e){var t;if(r(e))return!e.length;for(t in e)if(u.call(e,t))return!1;return!0},s=function(e){var t,n;return a(e)&&(n=Object.getPrototypeOf(e))&&(t=n.constructor)&&"function"==typeof t&&t instanceof t&&Function.prototype.toString.call(t)===Function.prototype.toString.call(Object)},n=function(e){return i(e.valueOf)?e.valueOf():e},e.exports.assign=t,e.exports.isFunction=i,e.exports.isObject=a,e.exports.isArray=r,e.exports.isEmpty=o,e.exports.isPlainObject=s,e.exports.getValue=n}).call(this)},594:function(e){(function(){e.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},2750:function(e,t,n){(function(){var t;t=n(9335),n(2026),e.exports=function(){function e(e,n,r){if(this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),null==n)throw new Error("Missing attribute name. "+this.debugInfo(n));this.name=this.stringify.name(n),this.value=this.stringify.attValue(r),this.type=t.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(e.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(e.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(e.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"specified",{get:function(){return!0}}),e.prototype.clone=function(){return Object.create(this)},e.prototype.toString=function(e){return this.options.writer.attribute(this,this.options.writer.filterOptions(e))},e.prototype.debugInfo=function(e){return null==(e=e||this.name)?"parent: <"+this.parent.name+">":"attribute: {"+e+"}, parent: <"+this.parent.name+">"},e.prototype.isEqualNode=function(e){return e.namespaceURI===this.namespaceURI&&e.prefix===this.prefix&&e.localName===this.localName&&e.value===this.value},e}()}).call(this)},6170:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;t=n(9335),r=n(6488),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=t.CData,this.value=this.stringify.cdata(r)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.cdata(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},6488:function(e,t,n){(function(){var t,r={}.hasOwnProperty;t=n(2026),e.exports=function(e){function t(e){t.__super__.constructor.call(this,e),this.value=""}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(t,e),Object.defineProperty(t.prototype,"data",{get:function(){return this.value},set:function(e){return this.value=e||""}}),Object.defineProperty(t.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(t.prototype,"textContent",{get:function(){return this.value},set:function(e){return this.value=e||""}}),t.prototype.clone=function(){return Object.create(this)},t.prototype.substringData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.appendData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.insertData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.deleteData=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.replaceData=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},t.prototype.isEqualNode=function(e){return!!t.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.data===this.data},t}(t)}).call(this)},2096:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;t=n(9335),r=n(6488),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=t.Comment,this.value=this.stringify.comment(r)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.comment(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},383:function(e,t,n){(function(){var t,r;t=n(3933),r=n(6210),e.exports=function(){function e(){this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new t,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=Object.create(this.defaultParams)}return Object.defineProperty(e.prototype,"parameterNames",{get:function(){return new r(Object.keys(this.defaultParams))}}),e.prototype.getParameter=function(e){return this.params.hasOwnProperty(e)?this.params[e]:null},e.prototype.canSetParameter=function(e,t){return!0},e.prototype.setParameter=function(e,t){return null!=t?this.params[e]=t:delete this.params[e]},e}()}).call(this)},3933:function(e){(function(){e.exports=function(){function e(){}return e.prototype.handleError=function(e){throw new Error(e)},e}()}).call(this)},1770:function(e){(function(){e.exports=function(){function e(){}return e.prototype.hasFeature=function(e,t){return!0},e.prototype.createDocumentType=function(e,t,n){throw new Error("This DOM method is not implemented.")},e.prototype.createDocument=function(e,t,n){throw new Error("This DOM method is not implemented.")},e.prototype.createHTMLDocument=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}).call(this)},6210:function(e){(function(){e.exports=function(){function e(e){this.arr=e||[]}return Object.defineProperty(e.prototype,"length",{get:function(){return this.arr.length}}),e.prototype.item=function(e){return this.arr[e]||null},e.prototype.contains=function(e){return-1!==this.arr.indexOf(e)},e}()}).call(this)},1179:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;r=n(2026),t=n(9335),e.exports=function(e){function n(e,r,o,i,a,s){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());if(null==o)throw new Error("Missing DTD attribute name. "+this.debugInfo(r));if(!i)throw new Error("Missing DTD attribute type. "+this.debugInfo(r));if(!a)throw new Error("Missing DTD attribute default. "+this.debugInfo(r));if(0!==a.indexOf("#")&&(a="#"+a),!a.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(r));if(s&&!a.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(r));this.elementName=this.stringify.name(r),this.type=t.AttributeDeclaration,this.attributeName=this.stringify.name(o),this.attributeType=this.stringify.dtdAttType(i),s&&(this.defaultValue=this.stringify.dtdAttDefault(s)),this.defaultValueType=a}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.toString=function(e){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},6347:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;r=n(2026),t=n(9335),e.exports=function(e){function n(e,r,o){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD element name. "+this.debugInfo());o||(o="(#PCDATA)"),Array.isArray(o)&&(o="("+o.join(",")+")"),this.name=this.stringify.name(r),this.type=t.ElementDeclaration,this.value=this.stringify.dtdElementValue(o)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.toString=function(e){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},9078:function(e,t,n){(function(){var t,r,o,i={}.hasOwnProperty;o=n(8369).isObject,r=n(2026),t=n(9335),e.exports=function(e){function n(e,r,i,a){if(n.__super__.constructor.call(this,e),null==i)throw new Error("Missing DTD entity name. "+this.debugInfo(i));if(null==a)throw new Error("Missing DTD entity value. "+this.debugInfo(i));if(this.pe=!!r,this.name=this.stringify.name(i),this.type=t.EntityDeclaration,o(a)){if(!a.pubID&&!a.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(i));if(a.pubID&&!a.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(i));if(this.internal=!1,null!=a.pubID&&(this.pubID=this.stringify.dtdPubID(a.pubID)),null!=a.sysID&&(this.sysID=this.stringify.dtdSysID(a.sysID)),null!=a.nData&&(this.nData=this.stringify.dtdNData(a.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(i))}else this.value=this.stringify.dtdEntityValue(a),this.internal=!0}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return null}}),n.prototype.toString=function(e){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},4777:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;r=n(2026),t=n(9335),e.exports=function(e){function n(e,r,o){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing DTD notation name. "+this.debugInfo(r));if(!o.pubID&&!o.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(r));this.name=this.stringify.name(r),this.type=t.NotationDeclaration,null!=o.pubID&&(this.pubID=this.stringify.dtdPubID(o.pubID)),null!=o.sysID&&(this.sysID=this.stringify.dtdSysID(o.sysID))}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),n.prototype.toString=function(e){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},9077:function(e,t,n){(function(){var t,r,o,i={}.hasOwnProperty;o=n(8369).isObject,r=n(2026),t=n(9335),e.exports=function(e){function n(e,r,i,a){var s;n.__super__.constructor.call(this,e),o(r)&&(r=(s=r).version,i=s.encoding,a=s.standalone),r||(r="1.0"),this.type=t.Declaration,this.version=this.stringify.xmlVersion(r),null!=i&&(this.encoding=this.stringify.xmlEncoding(i)),null!=a&&(this.standalone=this.stringify.xmlStandalone(a))}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.toString=function(e){return this.options.writer.declaration(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},6544:function(e,t,n){(function(){var t,r,o,i,a,s,c,u,l={}.hasOwnProperty;u=n(8369).isObject,c=n(2026),t=n(9335),r=n(1179),i=n(9078),o=n(6347),a=n(4777),s=n(663),e.exports=function(e){function n(e,r,o){var i,a,s,c,l,p;if(n.__super__.constructor.call(this,e),this.type=t.DocType,e.children)for(a=0,s=(c=e.children).length;a<s;a++)if((i=c[a]).type===t.Element){this.name=i.name;break}this.documentObject=e,u(r)&&(r=(l=r).pubID,o=l.sysID),null==o&&(o=(p=[r,o])[0],r=p[1]),null!=r&&(this.pubID=this.stringify.dtdPubID(r)),null!=o&&(this.sysID=this.stringify.dtdSysID(o))}return function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"entities",{get:function(){var e,n,r,o,i;for(o={},n=0,r=(i=this.children).length;n<r;n++)(e=i[n]).type!==t.EntityDeclaration||e.pe||(o[e.name]=e);return new s(o)}}),Object.defineProperty(n.prototype,"notations",{get:function(){var e,n,r,o,i;for(o={},n=0,r=(i=this.children).length;n<r;n++)(e=i[n]).type===t.NotationDeclaration&&(o[e.name]=e);return new s(o)}}),Object.defineProperty(n.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(n.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(n.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),n.prototype.element=function(e,t){var n;return n=new o(this,e,t),this.children.push(n),this},n.prototype.attList=function(e,t,n,o,i){var a;return a=new r(this,e,t,n,o,i),this.children.push(a),this},n.prototype.entity=function(e,t){var n;return n=new i(this,!1,e,t),this.children.push(n),this},n.prototype.pEntity=function(e,t){var n;return n=new i(this,!0,e,t),this.children.push(n),this},n.prototype.notation=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},n.prototype.toString=function(e){return this.options.writer.docType(this,this.options.writer.filterOptions(e))},n.prototype.ele=function(e,t){return this.element(e,t)},n.prototype.att=function(e,t,n,r,o){return this.attList(e,t,n,r,o)},n.prototype.ent=function(e,t){return this.entity(e,t)},n.prototype.pent=function(e,t){return this.pEntity(e,t)},n.prototype.not=function(e,t){return this.notation(e,t)},n.prototype.up=function(){return this.root()||this.documentObject},n.prototype.isEqualNode=function(e){return!!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.name===this.name&&e.publicId===this.publicId&&e.systemId===this.systemId},n}(c)}).call(this)},6934:function(e,t,n){(function(){var t,r,o,i,a,s,c,u={}.hasOwnProperty;c=n(8369).isPlainObject,o=n(1770),r=n(383),i=n(2026),t=n(9335),s=n(5549),a=n(6434),e.exports=function(e){function n(e){n.__super__.constructor.call(this,null),this.name="#document",this.type=t.Document,this.documentURI=null,this.domConfig=new r,e||(e={}),e.writer||(e.writer=new a),this.options=e,this.stringify=new s(e)}return function(e,t){for(var n in t)u.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"implementation",{value:new o}),Object.defineProperty(n.prototype,"doctype",{get:function(){var e,n,r,o;for(n=0,r=(o=this.children).length;n<r;n++)if((e=o[n]).type===t.DocType)return e;return null}}),Object.defineProperty(n.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(n.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(n.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(n.prototype,"xmlEncoding",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration?this.children[0].encoding:null}}),Object.defineProperty(n.prototype,"xmlStandalone",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration&&"yes"===this.children[0].standalone}}),Object.defineProperty(n.prototype,"xmlVersion",{get:function(){return 0!==this.children.length&&this.children[0].type===t.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(n.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(n.prototype,"origin",{get:function(){return null}}),Object.defineProperty(n.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(n.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(n.prototype,"contentType",{get:function(){return null}}),n.prototype.end=function(e){var t;return t={},e?c(e)&&(t=e,e=this.options.writer):e=this.options.writer,e.document(this,e.filterOptions(t))},n.prototype.toString=function(e){return this.options.writer.document(this,this.options.writer.filterOptions(e))},n.prototype.createElement=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTextNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createComment=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createCDATASection=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createProcessingInstruction=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttribute=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEntityReference=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.importNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createElementNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementById=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.adoptNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.renameNode=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createEvent=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createNodeIterator=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.createTreeWalker=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(i)}).call(this)},9227:function(e,t,n){(function(){var t,r,o,i,a,s,c,u,l,p,d,h,m,f,g,v,y,b,_,E,w,k,T,S={}.hasOwnProperty;T=n(8369),w=T.isObject,E=T.isFunction,k=T.isPlainObject,_=T.getValue,t=n(9335),h=n(6934),m=n(2161),i=n(6170),a=n(2096),g=n(9406),b=n(3595),f=n(9181),p=n(9077),d=n(6544),s=n(1179),u=n(9078),c=n(6347),l=n(4777),o=n(2750),y=n(5549),v=n(6434),r=n(594),e.exports=function(){function e(e,n,r){var o;this.name="?xml",this.type=t.Document,e||(e={}),o={},e.writer?k(e.writer)&&(o=e.writer,e.writer=new v):e.writer=new v,this.options=e,this.writer=e.writer,this.writerOptions=this.writer.filterOptions(o),this.stringify=new y(e),this.onDataCallback=n||function(){},this.onEndCallback=r||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return e.prototype.createChildNode=function(e){var n,r,o,i,a,s,c,u;switch(e.type){case t.CData:this.cdata(e.value);break;case t.Comment:this.comment(e.value);break;case t.Element:for(r in o={},c=e.attribs)S.call(c,r)&&(n=c[r],o[r]=n.value);this.node(e.name,o);break;case t.Dummy:this.dummy();break;case t.Raw:this.raw(e.value);break;case t.Text:this.text(e.value);break;case t.ProcessingInstruction:this.instruction(e.target,e.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+e.constructor.name)}for(a=0,s=(u=e.children).length;a<s;a++)i=u[a],this.createChildNode(i),i.type===t.Element&&this.up();return this},e.prototype.dummy=function(){return this},e.prototype.node=function(e,t,n){var r;if(null==e)throw new Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw new Error("Document can only have one root node. "+this.debugInfo(e));return this.openCurrent(),e=_(e),null==t&&(t={}),t=_(t),w(t)||(n=(r=[t,n])[0],t=r[1]),this.currentNode=new m(this,e,t),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,null!=n&&this.text(n),this},e.prototype.element=function(e,n,r){var o,i,a,s,c,u;if(this.currentNode&&this.currentNode.type===t.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(e)||w(e)||E(e))for(s=this.options.noValidation,this.options.noValidation=!0,(u=new h(this.options).element("TEMP_ROOT")).element(e),this.options.noValidation=s,i=0,a=(c=u.children).length;i<a;i++)o=c[i],this.createChildNode(o),o.type===t.Element&&this.up();else this.node(e,n,r);return this},e.prototype.attribute=function(e,t){var n,r;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(e));if(null!=e&&(e=_(e)),w(e))for(n in e)S.call(e,n)&&(r=e[n],this.attribute(n,r));else E(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.currentNode.attribs[e]=new o(this,e,""):null!=t&&(this.currentNode.attribs[e]=new o(this,e,t));return this},e.prototype.text=function(e){var t;return this.openCurrent(),t=new b(this,e),this.onData(this.writer.text(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.cdata=function(e){var t;return this.openCurrent(),t=new i(this,e),this.onData(this.writer.cdata(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.comment=function(e){var t;return this.openCurrent(),t=new a(this,e),this.onData(this.writer.comment(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.raw=function(e){var t;return this.openCurrent(),t=new g(this,e),this.onData(this.writer.raw(t,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.instruction=function(e,t){var n,r,o,i,a;if(this.openCurrent(),null!=e&&(e=_(e)),null!=t&&(t=_(t)),Array.isArray(e))for(n=0,i=e.length;n<i;n++)r=e[n],this.instruction(r);else if(w(e))for(r in e)S.call(e,r)&&(o=e[r],this.instruction(r,o));else E(t)&&(t=t.apply()),a=new f(this,e,t),this.onData(this.writer.processingInstruction(a,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},e.prototype.declaration=function(e,t,n){var r;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return r=new p(this,e,t,n),this.onData(this.writer.declaration(r,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.doctype=function(e,t,n){if(this.openCurrent(),null==e)throw new Error("Missing root node name.");if(this.root)throw new Error("dtd() must come before the root node.");return this.currentNode=new d(this,t,n),this.currentNode.rootNodeName=e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},e.prototype.dtdElement=function(e,t){var n;return this.openCurrent(),n=new c(this,e,t),this.onData(this.writer.dtdElement(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.attList=function(e,t,n,r,o){var i;return this.openCurrent(),i=new s(this,e,t,n,r,o),this.onData(this.writer.dtdAttList(i,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.entity=function(e,t){var n;return this.openCurrent(),n=new u(this,!1,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.pEntity=function(e,t){var n;return this.openCurrent(),n=new u(this,!0,e,t),this.onData(this.writer.dtdEntity(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.notation=function(e,t){var n;return this.openCurrent(),n=new l(this,e,t),this.onData(this.writer.dtdNotation(n,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},e.prototype.up=function(){if(this.currentLevel<0)throw new Error("The document node has no parent.");return this.currentNode?(this.currentNode.children?this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]),delete this.openTags[this.currentLevel],this.currentLevel--,this},e.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},e.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},e.prototype.openNode=function(e){var n,o,i,a;if(!e.isOpen){if(this.root||0!==this.currentLevel||e.type!==t.Element||(this.root=e),o="",e.type===t.Element){for(i in this.writerOptions.state=r.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<"+e.name,a=e.attribs)S.call(a,i)&&(n=a[i],o+=this.writer.attribute(n,this.writerOptions,this.currentLevel));o+=(e.children?">":"/>")+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=r.InsideTag}else this.writerOptions.state=r.OpenTag,o=this.writer.indent(e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+e.rootNodeName,e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),e.children?(o+=" [",this.writerOptions.state=r.InsideTag):(this.writerOptions.state=r.CloseTag,o+=">"),o+=this.writer.endline(e,this.writerOptions,this.currentLevel);return this.onData(o,this.currentLevel),e.isOpen=!0}},e.prototype.closeNode=function(e){var n;if(!e.isClosed)return"",this.writerOptions.state=r.CloseTag,n=e.type===t.Element?this.writer.indent(e,this.writerOptions,this.currentLevel)+"</"+e.name+">"+this.writer.endline(e,this.writerOptions,this.currentLevel):this.writer.indent(e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(e,this.writerOptions,this.currentLevel),this.writerOptions.state=r.None,this.onData(n,this.currentLevel),e.isClosed=!0},e.prototype.onData=function(e,t){return this.documentStarted=!0,this.onDataCallback(e,t+1)},e.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},e.prototype.debugInfo=function(e){return null==e?"":"node: <"+e+">"},e.prototype.ele=function(){return this.element.apply(this,arguments)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.dtd=function(e,t,n){return this.doctype(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.att=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.a=function(){return this.currentNode&&this.currentNode.type===t.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e}()}).call(this)},8833:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;r=n(2026),t=n(9335),e.exports=function(e){function n(e){n.__super__.constructor.call(this,e),this.type=t.Dummy}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return""},n}(r)}).call(this)},2161:function(e,t,n){(function(){var t,r,o,i,a,s,c,u,l={}.hasOwnProperty;u=n(8369),c=u.isObject,s=u.isFunction,a=u.getValue,i=n(2026),t=n(9335),r=n(2750),o=n(663),e.exports=function(e){function n(e,r,o){var i,a,s,c;if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(r),this.type=t.Element,this.attribs={},this.schemaTypeInfo=null,null!=o&&this.attribute(o),e.type===t.Document&&(this.isRoot=!0,this.documentObject=e,e.rootObject=this,e.children))for(a=0,s=(c=e.children).length;a<s;a++)if((i=c[a]).type===t.DocType){i.name=this.name;break}}return function(e,t){for(var n in t)l.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(n.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(n.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(n.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(n.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"attributes",{get:function(){return this.attributeMap&&this.attributeMap.nodes||(this.attributeMap=new o(this.attribs)),this.attributeMap}}),n.prototype.clone=function(){var e,t,n,r;for(t in(n=Object.create(this)).isRoot&&(n.documentObject=null),n.attribs={},r=this.attribs)l.call(r,t)&&(e=r[t],n.attribs[t]=e.clone());return n.children=[],this.children.forEach((function(e){var t;return(t=e.clone()).parent=n,n.children.push(t)})),n},n.prototype.attribute=function(e,t){var n,o;if(null!=e&&(e=a(e)),c(e))for(n in e)l.call(e,n)&&(o=e[n],this.attribute(n,o));else s(t)&&(t=t.apply()),this.options.keepNullAttributes&&null==t?this.attribs[e]=new r(this,e,""):null!=t&&(this.attribs[e]=new r(this,e,t));return this},n.prototype.removeAttribute=function(e){var t,n,r;if(null==e)throw new Error("Missing attribute name. "+this.debugInfo());if(e=a(e),Array.isArray(e))for(n=0,r=e.length;n<r;n++)t=e[n],delete this.attribs[t];else delete this.attribs[e];return this},n.prototype.toString=function(e){return this.options.writer.element(this,this.options.writer.filterOptions(e))},n.prototype.att=function(e,t){return this.attribute(e,t)},n.prototype.a=function(e,t){return this.attribute(e,t)},n.prototype.getAttribute=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e].value:null},n.prototype.setAttribute=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNode=function(e){return this.attribs.hasOwnProperty(e)?this.attribs[e]:null},n.prototype.setAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.removeAttributeNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setAttributeNS=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.removeAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getAttributeNodeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setAttributeNodeNS=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.hasAttribute=function(e){return this.attribs.hasOwnProperty(e)},n.prototype.hasAttributeNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setIdAttribute=function(e,t){return this.attribs.hasOwnProperty(e)?this.attribs[e].isId:t},n.prototype.setIdAttributeNS=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.setIdAttributeNode=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByTagNameNS=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.getElementsByClassName=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.isEqualNode=function(e){var t,r,o;if(!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(e))return!1;if(e.namespaceURI!==this.namespaceURI)return!1;if(e.prefix!==this.prefix)return!1;if(e.localName!==this.localName)return!1;if(e.attribs.length!==this.attribs.length)return!1;for(t=r=0,o=this.attribs.length-1;0<=o?r<=o:r>=o;t=0<=o?++r:--r)if(!this.attribs[t].isEqualNode(e.attribs[t]))return!1;return!0},n}(i)}).call(this)},663:function(e){(function(){e.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.getNamedItem=function(e){return this.nodes[e]},e.prototype.setNamedItem=function(e){var t;return t=this.nodes[e.nodeName],this.nodes[e.nodeName]=e,t||null},e.prototype.removeNamedItem=function(e){var t;return t=this.nodes[e],delete this.nodes[e],t||null},e.prototype.item=function(e){return this.nodes[Object.keys(this.nodes)[e]]||null},e.prototype.getNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e.prototype.setNamedItemNS=function(e){throw new Error("This DOM method is not implemented.")},e.prototype.removeNamedItemNS=function(e,t){throw new Error("This DOM method is not implemented.")},e}()}).call(this)},2026:function(e,t,n){(function(){var t,r,o,i,a,s,c,u,l,p,d,h,m,f,g,v,y,b={}.hasOwnProperty;y=n(8369),v=y.isObject,g=y.isFunction,f=y.isEmpty,m=y.getValue,u=null,o=null,i=null,a=null,s=null,d=null,h=null,p=null,c=null,r=null,l=null,t=null,e.exports=function(){function e(e){this.parent=e,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,u||(u=n(2161),o=n(6170),i=n(2096),a=n(9077),s=n(6544),d=n(9406),h=n(3595),p=n(9181),c=n(8833),r=n(9335),l=n(2390),n(663),t=n(7557))}return Object.defineProperty(e.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(e.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.childNodeList&&this.childNodeList.nodes||(this.childNodeList=new l(this.children)),this.childNodeList}}),Object.defineProperty(e.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e-1]||null}}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){var e;return e=this.parent.children.indexOf(this),this.parent.children[e+1]||null}}),Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(e.prototype,"textContent",{get:function(){var e,t,n,o,i;if(this.nodeType===r.Element||this.nodeType===r.DocumentFragment){for(i="",t=0,n=(o=this.children).length;t<n;t++)(e=o[t]).textContent&&(i+=e.textContent);return i}return null},set:function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),e.prototype.setParent=function(e){var t,n,r,o,i;for(this.parent=e,e&&(this.options=e.options,this.stringify=e.stringify),i=[],n=0,r=(o=this.children).length;n<r;n++)t=o[n],i.push(t.setParent(this));return i},e.prototype.element=function(e,t,n){var r,o,i,a,s,c,u,l,p,d,h;if(c=null,null===t&&null==n&&(t=(p=[{},null])[0],n=p[1]),null==t&&(t={}),t=m(t),v(t)||(n=(d=[t,n])[0],t=d[1]),null!=e&&(e=m(e)),Array.isArray(e))for(i=0,u=e.length;i<u;i++)o=e[i],c=this.element(o);else if(g(e))c=this.element(e.apply());else if(v(e)){for(s in e)if(b.call(e,s))if(h=e[s],g(h)&&(h=h.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))c=this.attribute(s.substr(this.stringify.convertAttKey.length),h);else if(!this.options.separateArrayItems&&Array.isArray(h)&&f(h))c=this.dummy();else if(v(h)&&f(h))c=this.element(s);else if(this.options.keepNullNodes||null!=h)if(!this.options.separateArrayItems&&Array.isArray(h))for(a=0,l=h.length;a<l;a++)o=h[a],(r={})[s]=o,c=this.element(r);else v(h)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===s.indexOf(this.stringify.convertTextKey)?c=this.element(h):(c=this.element(s)).element(h):c=this.element(s,h);else c=this.dummy()}else c=this.options.keepNullNodes||null!==n?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(n):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===e.indexOf(this.stringify.convertPIKey)?this.instruction(e.substr(this.stringify.convertPIKey.length),n):this.node(e,t,n):this.dummy();if(null==c)throw new Error("Could not create any elements with: "+e+". "+this.debugInfo());return c},e.prototype.insertBefore=function(e,t,n){var r,o,i,a,s;if(null!=e?e.type:void 0)return a=t,(i=e).setParent(this),a?(o=children.indexOf(a),s=children.splice(o),children.push(i),Array.prototype.push.apply(children,s)):children.push(i),i;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),s=this.parent.children.splice(o),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,s),r},e.prototype.insertAfter=function(e,t,n){var r,o,i;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(e));return o=this.parent.children.indexOf(this),i=this.parent.children.splice(o+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,i),r},e.prototype.remove=function(){var e;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat([])),this.parent},e.prototype.node=function(e,t,n){var r,o;return null!=e&&(e=m(e)),t||(t={}),t=m(t),v(t)||(n=(o=[t,n])[0],t=o[1]),r=new u(this,e,t),null!=n&&r.text(n),this.children.push(r),r},e.prototype.text=function(e){var t;return v(e)&&this.element(e),t=new h(this,e),this.children.push(t),this},e.prototype.cdata=function(e){var t;return t=new o(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new i(this,e),this.children.push(t),this},e.prototype.commentBefore=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.commentAfter=function(e){var t,n;return t=this.parent.children.indexOf(this),n=this.parent.children.splice(t+1),this.parent.comment(e),Array.prototype.push.apply(this.parent.children,n),this},e.prototype.raw=function(e){var t;return t=new d(this,e),this.children.push(t),this},e.prototype.dummy=function(){return new c(this)},e.prototype.instruction=function(e,t){var n,r,o,i,a;if(null!=e&&(e=m(e)),null!=t&&(t=m(t)),Array.isArray(e))for(i=0,a=e.length;i<a;i++)n=e[i],this.instruction(n);else if(v(e))for(n in e)b.call(e,n)&&(r=e[n],this.instruction(n,r));else g(t)&&(t=t.apply()),o=new p(this,e,t),this.children.push(o);return this},e.prototype.instructionBefore=function(e,t){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.instructionAfter=function(e,t){var n,r;return n=this.parent.children.indexOf(this),r=this.parent.children.splice(n+1),this.parent.instruction(e,t),Array.prototype.push.apply(this.parent.children,r),this},e.prototype.declaration=function(e,t,n){var o,i;return o=this.document(),i=new a(o,e,t,n),0===o.children.length?o.children.unshift(i):o.children[0].type===r.Declaration?o.children[0]=i:o.children.unshift(i),o.root()||o},e.prototype.dtd=function(e,t){var n,o,i,a,c,u,l,p,d;for(n=this.document(),o=new s(n,e,t),i=a=0,u=(p=n.children).length;a<u;i=++a)if(p[i].type===r.DocType)return n.children[i]=o,o;for(i=c=0,l=(d=n.children).length;c<l;i=++c)if(d[i].isRoot)return n.children.splice(i,0,o),o;return n.children.push(o),o},e.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},e.prototype.root=function(){var e;for(e=this;e;){if(e.type===r.Document)return e.rootObject;if(e.isRoot)return e;e=e.parent}},e.prototype.document=function(){var e;for(e=this;e;){if(e.type===r.Document)return e;e=e.parent}},e.prototype.end=function(e){return this.document().end(e)},e.prototype.prev=function(){var e;if((e=this.parent.children.indexOf(this))<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[e-1]},e.prototype.next=function(){var e;if(-1===(e=this.parent.children.indexOf(this))||e===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[e+1]},e.prototype.importDocument=function(e){var t;return(t=e.root().clone()).parent=this,t.isRoot=!1,this.children.push(t),this},e.prototype.debugInfo=function(e){var t,n;return null!=(e=e||this.name)||(null!=(t=this.parent)?t.name:void 0)?null==e?"parent: <"+this.parent.name+">":(null!=(n=this.parent)?n.name:void 0)?"node: <"+e+">, parent: <"+this.parent.name+">":"node: <"+e+">":""},e.prototype.ele=function(e,t,n){return this.element(e,t,n)},e.prototype.nod=function(e,t,n){return this.node(e,t,n)},e.prototype.txt=function(e){return this.text(e)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.doc=function(){return this.document()},e.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},e.prototype.e=function(e,t,n){return this.element(e,t,n)},e.prototype.n=function(e,t,n){return this.node(e,t,n)},e.prototype.t=function(e){return this.text(e)},e.prototype.d=function(e){return this.cdata(e)},e.prototype.c=function(e){return this.comment(e)},e.prototype.r=function(e){return this.raw(e)},e.prototype.i=function(e,t){return this.instruction(e,t)},e.prototype.u=function(){return this.up()},e.prototype.importXMLBuilder=function(e){return this.importDocument(e)},e.prototype.replaceChild=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.removeChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.appendChild=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.hasChildNodes=function(){return 0!==this.children.length},e.prototype.cloneNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isSupported=function(e,t){return!0},e.prototype.hasAttributes=function(){return 0!==this.attribs.length},e.prototype.compareDocumentPosition=function(e){var n,r;return(n=this)===e?0:this.document()!==e.document()?(r=t.Disconnected|t.ImplementationSpecific,Math.random()<.5?r|=t.Preceding:r|=t.Following,r):n.isAncestor(e)?t.Contains|t.Preceding:n.isDescendant(e)?t.Contains|t.Following:n.isPreceding(e)?t.Preceding:t.Following},e.prototype.isSameNode=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupPrefix=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isDefaultNamespace=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.lookupNamespaceURI=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.isEqualNode=function(e){var t,n,r;if(e.nodeType!==this.nodeType)return!1;if(e.children.length!==this.children.length)return!1;for(t=n=0,r=this.children.length-1;0<=r?n<=r:n>=r;t=0<=r?++n:--n)if(!this.children[t].isEqualNode(e.children[t]))return!1;return!0},e.prototype.getFeature=function(e,t){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.setUserData=function(e,t,n){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.getUserData=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},e.prototype.contains=function(e){return!!e&&(e===this||this.isDescendant(e))},e.prototype.isDescendant=function(e){var t,n,r,o;for(n=0,r=(o=this.children).length;n<r;n++){if(e===(t=o[n]))return!0;if(t.isDescendant(e))return!0}return!1},e.prototype.isAncestor=function(e){return e.isDescendant(this)},e.prototype.isPreceding=function(e){var t,n;return t=this.treePosition(e),n=this.treePosition(this),-1!==t&&-1!==n&&t<n},e.prototype.isFollowing=function(e){var t,n;return t=this.treePosition(e),n=this.treePosition(this),-1!==t&&-1!==n&&t>n},e.prototype.treePosition=function(e){var t,n;return n=0,t=!1,this.foreachTreeNode(this.document(),(function(r){if(n++,!t&&r===e)return t=!0})),t?n:-1},e.prototype.foreachTreeNode=function(e,t){var n,r,o,i,a;for(e||(e=this.document()),r=0,o=(i=e.children).length;r<o;r++){if(a=t(n=i[r]))return a;if(a=this.foreachTreeNode(n,t))return a}},e}()}).call(this)},2390:function(e){(function(){e.exports=function(){function e(e){this.nodes=e}return Object.defineProperty(e.prototype,"length",{get:function(){return this.nodes.length||0}}),e.prototype.clone=function(){return this.nodes=null},e.prototype.item=function(e){return this.nodes[e]||null},e}()}).call(this)},9181:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;t=n(9335),r=n(6488),e.exports=function(e){function n(e,r,o){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing instruction target. "+this.debugInfo());this.type=t.ProcessingInstruction,this.target=this.stringify.insTarget(r),this.name=this.target,o&&(this.value=this.stringify.insValue(o))}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(e))},n.prototype.isEqualNode=function(e){return!!n.__super__.isEqualNode.apply(this,arguments).isEqualNode(e)&&e.target===this.target},n}(r)}).call(this)},9406:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;t=n(9335),r=n(2026),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing raw text. "+this.debugInfo());this.type=t.Raw,this.value=this.stringify.raw(r)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.raw(this,this.options.writer.filterOptions(e))},n}(r)}).call(this)},1996:function(e,t,n){(function(){var t,r,o,i={}.hasOwnProperty;t=n(9335),o=n(751),r=n(594),e.exports=function(e){function n(e,t){this.stream=e,n.__super__.constructor.call(this,t)}return function(e,t){for(var n in t)i.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),n.prototype.endline=function(e,t,o){return e.isLastRootNode&&t.state===r.CloseTag?"":n.__super__.endline.call(this,e,t,o)},n.prototype.document=function(e,t){var n,r,o,i,a,s,c,u,l;for(r=o=0,a=(c=e.children).length;o<a;r=++o)(n=c[r]).isLastRootNode=r===e.children.length-1;for(t=this.filterOptions(t),l=[],i=0,s=(u=e.children).length;i<s;i++)n=u[i],l.push(this.writeChildNode(n,t,0));return l},n.prototype.attribute=function(e,t,r){return this.stream.write(n.__super__.attribute.call(this,e,t,r))},n.prototype.cdata=function(e,t,r){return this.stream.write(n.__super__.cdata.call(this,e,t,r))},n.prototype.comment=function(e,t,r){return this.stream.write(n.__super__.comment.call(this,e,t,r))},n.prototype.declaration=function(e,t,r){return this.stream.write(n.__super__.declaration.call(this,e,t,r))},n.prototype.docType=function(e,t,n){var o,i,a,s;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,this.stream.write(this.indent(e,t,n)),this.stream.write("<!DOCTYPE "+e.root().name),e.pubID&&e.sysID?this.stream.write(' PUBLIC "'+e.pubID+'" "'+e.sysID+'"'):e.sysID&&this.stream.write(' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(e,t,n)),t.state=r.InsideTag,i=0,a=(s=e.children).length;i<a;i++)o=s[i],this.writeChildNode(o,t,n+1);t.state=r.CloseTag,this.stream.write("]")}return t.state=r.CloseTag,this.stream.write(t.spaceBeforeSlash+">"),this.stream.write(this.endline(e,t,n)),t.state=r.None,this.closeNode(e,t,n)},n.prototype.element=function(e,n,o){var a,s,c,u,l,p,d,h,m;for(d in o||(o=0),this.openNode(e,n,o),n.state=r.OpenTag,this.stream.write(this.indent(e,n,o)+"<"+e.name),h=e.attribs)i.call(h,d)&&(a=h[d],this.attribute(a,n,o));if(u=0===(c=e.children.length)?null:e.children[0],0===c||e.children.every((function(e){return(e.type===t.Text||e.type===t.Raw)&&""===e.value})))n.allowEmpty?(this.stream.write(">"),n.state=r.CloseTag,this.stream.write("</"+e.name+">")):(n.state=r.CloseTag,this.stream.write(n.spaceBeforeSlash+"/>"));else if(!n.pretty||1!==c||u.type!==t.Text&&u.type!==t.Raw||null==u.value){for(this.stream.write(">"+this.endline(e,n,o)),n.state=r.InsideTag,l=0,p=(m=e.children).length;l<p;l++)s=m[l],this.writeChildNode(s,n,o+1);n.state=r.CloseTag,this.stream.write(this.indent(e,n,o)+"</"+e.name+">")}else this.stream.write(">"),n.state=r.InsideTag,n.suppressPrettyCount++,this.writeChildNode(u,n,o+1),n.suppressPrettyCount--,n.state=r.CloseTag,this.stream.write("</"+e.name+">");return this.stream.write(this.endline(e,n,o)),n.state=r.None,this.closeNode(e,n,o)},n.prototype.processingInstruction=function(e,t,r){return this.stream.write(n.__super__.processingInstruction.call(this,e,t,r))},n.prototype.raw=function(e,t,r){return this.stream.write(n.__super__.raw.call(this,e,t,r))},n.prototype.text=function(e,t,r){return this.stream.write(n.__super__.text.call(this,e,t,r))},n.prototype.dtdAttList=function(e,t,r){return this.stream.write(n.__super__.dtdAttList.call(this,e,t,r))},n.prototype.dtdElement=function(e,t,r){return this.stream.write(n.__super__.dtdElement.call(this,e,t,r))},n.prototype.dtdEntity=function(e,t,r){return this.stream.write(n.__super__.dtdEntity.call(this,e,t,r))},n.prototype.dtdNotation=function(e,t,r){return this.stream.write(n.__super__.dtdNotation.call(this,e,t,r))},n}(o)}).call(this)},6434:function(e,t,n){(function(){var t,r={}.hasOwnProperty;t=n(751),e.exports=function(e){function t(e){t.__super__.constructor.call(this,e)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(t,e),t.prototype.document=function(e,t){var n,r,o,i,a;for(t=this.filterOptions(t),i="",r=0,o=(a=e.children).length;r<o;r++)n=a[r],i+=this.writeChildNode(n,t,0);return t.pretty&&i.slice(-t.newline.length)===t.newline&&(i=i.slice(0,-t.newline.length)),i},t}(t)}).call(this)},5549:function(e){(function(){var t=function(e,t){return function(){return e.apply(t,arguments)}},n={}.hasOwnProperty;e.exports=function(){function e(e){var r,o,i;for(r in this.assertLegalName=t(this.assertLegalName,this),this.assertLegalChar=t(this.assertLegalChar,this),e||(e={}),this.options=e,this.options.version||(this.options.version="1.0"),o=e.stringify||{})n.call(o,r)&&(i=o[r],this[r]=i)}return e.prototype.name=function(e){return this.options.noValidation?e:this.assertLegalName(""+e||"")},e.prototype.text=function(e){return this.options.noValidation?e:this.assertLegalChar(this.textEscape(""+e||""))},e.prototype.cdata=function(e){return this.options.noValidation?e:(e=(e=""+e||"").replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(e))},e.prototype.comment=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return this.options.noValidation?e:""+e||""},e.prototype.attValue=function(e){return this.options.noValidation?e:this.assertLegalChar(this.attEscape(e=""+e||""))},e.prototype.insTarget=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.insValue=function(e){if(this.options.noValidation)return e;if((e=""+e||"").match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return this.assertLegalChar(e)},e.prototype.xmlVersion=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(this.options.noValidation)return e;if(!(e=""+e||"").match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+e);return this.assertLegalChar(e)},e.prototype.xmlStandalone=function(e){return this.options.noValidation?e:e?"yes":"no"},e.prototype.dtdPubID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdSysID=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdElementValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttType=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdAttDefault=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdEntityValue=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.dtdNData=function(e){return this.options.noValidation?e:this.assertLegalChar(""+e||"")},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t,n;if(this.options.noValidation)return e;if(t="","1.0"===this.options.version){if(t=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t))throw new Error("Invalid character in string: "+e+" at index "+n.index)}else if("1.1"===this.options.version&&(t=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n=e.match(t)))throw new Error("Invalid character in string: "+e+" at index "+n.index);return e},e.prototype.assertLegalName=function(e){var t;if(this.options.noValidation)return e;if(this.assertLegalChar(e),t=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!e.match(t))throw new Error("Invalid character in name");return e},e.prototype.textEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;"))},e.prototype.attEscape=function(e){var t;return this.options.noValidation?e:(t=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;"))},e}()}).call(this)},3595:function(e,t,n){(function(){var t,r,o={}.hasOwnProperty;t=n(9335),r=n(6488),e.exports=function(e){function n(e,r){if(n.__super__.constructor.call(this,e),null==r)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=t.Text,this.value=this.stringify.text(r)}return function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype}(n,e),Object.defineProperty(n.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(n.prototype,"wholeText",{get:function(){var e,t,n;for(n="",t=this.previousSibling;t;)n=t.data+n,t=t.previousSibling;for(n+=this.data,e=this.nextSibling;e;)n+=e.data,e=e.nextSibling;return n}}),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return this.options.writer.text(this,this.options.writer.filterOptions(e))},n.prototype.splitText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n.prototype.replaceWholeText=function(e){throw new Error("This DOM method is not implemented."+this.debugInfo())},n}(r)}).call(this)},751:function(e,t,n){(function(){var t,r,o,i={}.hasOwnProperty;o=n(8369).assign,t=n(9335),n(9077),n(6544),n(6170),n(2096),n(2161),n(9406),n(3595),n(9181),n(8833),n(1179),n(6347),n(9078),n(4777),r=n(594),e.exports=function(){function e(e){var t,n,r;for(t in e||(e={}),this.options=e,n=e.writer||{})i.call(n,t)&&(r=n[t],this["_"+t]=this[t],this[t]=r)}return e.prototype.filterOptions=function(e){var t,n,i,a,s,c,u,l;return e||(e={}),e=o({},this.options,e),(t={writer:this}).pretty=e.pretty||!1,t.allowEmpty=e.allowEmpty||!1,t.indent=null!=(n=e.indent)?n:"  ",t.newline=null!=(i=e.newline)?i:"\n",t.offset=null!=(a=e.offset)?a:0,t.dontPrettyTextNodes=null!=(s=null!=(c=e.dontPrettyTextNodes)?c:e.dontprettytextnodes)?s:0,t.spaceBeforeSlash=null!=(u=null!=(l=e.spaceBeforeSlash)?l:e.spacebeforeslash)?u:"",!0===t.spaceBeforeSlash&&(t.spaceBeforeSlash=" "),t.suppressPrettyCount=0,t.user={},t.state=r.None,t},e.prototype.indent=function(e,t,n){var r;return!t.pretty||t.suppressPrettyCount?"":t.pretty&&(r=(n||0)+t.offset+1)>0?new Array(r).join(t.indent):""},e.prototype.endline=function(e,t,n){return!t.pretty||t.suppressPrettyCount?"":t.newline},e.prototype.attribute=function(e,t,n){var r;return this.openAttribute(e,t,n),r=" "+e.name+'="'+e.value+'"',this.closeAttribute(e,t,n),r},e.prototype.cdata=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<![CDATA[",t.state=r.InsideTag,o+=e.value,t.state=r.CloseTag,o+="]]>"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.comment=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"\x3c!-- ",t.state=r.InsideTag,o+=e.value,t.state=r.CloseTag,o+=" --\x3e"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.declaration=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<?xml",t.state=r.InsideTag,o+=' version="'+e.version+'"',null!=e.encoding&&(o+=' encoding="'+e.encoding+'"'),null!=e.standalone&&(o+=' standalone="'+e.standalone+'"'),t.state=r.CloseTag,o+=t.spaceBeforeSlash+"?>",o+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.docType=function(e,t,n){var o,i,a,s,c;if(n||(n=0),this.openNode(e,t,n),t.state=r.OpenTag,s=this.indent(e,t,n),s+="<!DOCTYPE "+e.root().name,e.pubID&&e.sysID?s+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(s+=' SYSTEM "'+e.sysID+'"'),e.children.length>0){for(s+=" [",s+=this.endline(e,t,n),t.state=r.InsideTag,i=0,a=(c=e.children).length;i<a;i++)o=c[i],s+=this.writeChildNode(o,t,n+1);t.state=r.CloseTag,s+="]"}return t.state=r.CloseTag,s+=t.spaceBeforeSlash+">",s+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),s},e.prototype.element=function(e,n,o){var a,s,c,u,l,p,d,h,m,f,g,v,y,b;for(m in o||(o=0),f=!1,g="",this.openNode(e,n,o),n.state=r.OpenTag,g+=this.indent(e,n,o)+"<"+e.name,v=e.attribs)i.call(v,m)&&(a=v[m],g+=this.attribute(a,n,o));if(u=0===(c=e.children.length)?null:e.children[0],0===c||e.children.every((function(e){return(e.type===t.Text||e.type===t.Raw)&&""===e.value})))n.allowEmpty?(g+=">",n.state=r.CloseTag,g+="</"+e.name+">"+this.endline(e,n,o)):(n.state=r.CloseTag,g+=n.spaceBeforeSlash+"/>"+this.endline(e,n,o));else if(!n.pretty||1!==c||u.type!==t.Text&&u.type!==t.Raw||null==u.value){if(n.dontPrettyTextNodes)for(l=0,d=(y=e.children).length;l<d;l++)if(((s=y[l]).type===t.Text||s.type===t.Raw)&&null!=s.value){n.suppressPrettyCount++,f=!0;break}for(g+=">"+this.endline(e,n,o),n.state=r.InsideTag,p=0,h=(b=e.children).length;p<h;p++)s=b[p],g+=this.writeChildNode(s,n,o+1);n.state=r.CloseTag,g+=this.indent(e,n,o)+"</"+e.name+">",f&&n.suppressPrettyCount--,g+=this.endline(e,n,o),n.state=r.None}else g+=">",n.state=r.InsideTag,n.suppressPrettyCount++,f=!0,g+=this.writeChildNode(u,n,o+1),n.suppressPrettyCount--,f=!1,n.state=r.CloseTag,g+="</"+e.name+">"+this.endline(e,n,o);return this.closeNode(e,n,o),g},e.prototype.writeChildNode=function(e,n,r){switch(e.type){case t.CData:return this.cdata(e,n,r);case t.Comment:return this.comment(e,n,r);case t.Element:return this.element(e,n,r);case t.Raw:return this.raw(e,n,r);case t.Text:return this.text(e,n,r);case t.ProcessingInstruction:return this.processingInstruction(e,n,r);case t.Dummy:return"";case t.Declaration:return this.declaration(e,n,r);case t.DocType:return this.docType(e,n,r);case t.AttributeDeclaration:return this.dtdAttList(e,n,r);case t.ElementDeclaration:return this.dtdElement(e,n,r);case t.EntityDeclaration:return this.dtdEntity(e,n,r);case t.NotationDeclaration:return this.dtdNotation(e,n,r);default:throw new Error("Unknown XML node type: "+e.constructor.name)}},e.prototype.processingInstruction=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<?",t.state=r.InsideTag,o+=e.target,e.value&&(o+=" "+e.value),t.state=r.CloseTag,o+=t.spaceBeforeSlash+"?>",o+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.raw=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n),t.state=r.InsideTag,o+=e.value,t.state=r.CloseTag,o+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.text=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n),t.state=r.InsideTag,o+=e.value,t.state=r.CloseTag,o+=this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.dtdAttList=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<!ATTLIST",t.state=r.InsideTag,o+=" "+e.elementName+" "+e.attributeName+" "+e.attributeType,"#DEFAULT"!==e.defaultValueType&&(o+=" "+e.defaultValueType),e.defaultValue&&(o+=' "'+e.defaultValue+'"'),t.state=r.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.dtdElement=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<!ELEMENT",t.state=r.InsideTag,o+=" "+e.name+" "+e.value,t.state=r.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.dtdEntity=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<!ENTITY",t.state=r.InsideTag,e.pe&&(o+=" %"),o+=" "+e.name,e.value?o+=' "'+e.value+'"':(e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),e.nData&&(o+=" NDATA "+e.nData)),t.state=r.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.dtdNotation=function(e,t,n){var o;return this.openNode(e,t,n),t.state=r.OpenTag,o=this.indent(e,t,n)+"<!NOTATION",t.state=r.InsideTag,o+=" "+e.name,e.pubID&&e.sysID?o+=' PUBLIC "'+e.pubID+'" "'+e.sysID+'"':e.pubID?o+=' PUBLIC "'+e.pubID+'"':e.sysID&&(o+=' SYSTEM "'+e.sysID+'"'),t.state=r.CloseTag,o+=t.spaceBeforeSlash+">"+this.endline(e,t,n),t.state=r.None,this.closeNode(e,t,n),o},e.prototype.openNode=function(e,t,n){},e.prototype.closeNode=function(e,t,n){},e.prototype.openAttribute=function(e,t,n){},e.prototype.closeAttribute=function(e,t,n){},e}()}).call(this)},5532:function(e,t,n){(function(){var t,r,o,i,a,s,c,u,l,p;p=n(8369),u=p.assign,l=p.isFunction,o=n(1770),i=n(6934),a=n(9227),c=n(6434),s=n(1996),t=n(9335),r=n(594),e.exports.create=function(e,t,n,r){var o,a;if(null==e)throw new Error("Root element needs a name.");return r=u({},t,n,r),a=(o=new i(r)).element(e),r.headless||(o.declaration(r),null==r.pubID&&null==r.sysID||o.dtd(r)),a},e.exports.begin=function(e,t,n){var r;return l(e)&&(t=(r=[e,t])[0],n=r[1],e={}),t?new a(e,t,n):new i(e)},e.exports.stringWriter=function(e){return new c(e)},e.exports.streamWriter=function(e,t){return new s(e,t)},e.exports.implementation=new o,e.exports.nodeType=t,e.exports.writerState=r}).call(this)},9644:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AppInsightsCore:()=>se,BaseCore:()=>le,BaseTelemetryPlugin:()=>ke.i,CoreUtils:()=>re,DiagnosticLogger:()=>f.AQ,ESPromise:()=>me,ESPromiseScheduler:()=>_e,EventHelper:()=>T.zB,EventLatency:()=>u,EventPersistence:()=>p,EventPropertyType:()=>l,EventsDiscardedReason:()=>xe.h,FullVersionString:()=>R,InternalAppInsightsCore:()=>y.F,InternalBaseCore:()=>ce.A,LoggingSeverity:()=>s.X,MinChannelPriorty:()=>Se.p,NotificationManager:()=>we.f,PerfEvent:()=>g.zn,PerfManager:()=>g.Jk,ProcessTelemetryContext:()=>Te.Vi,TraceLevel:()=>d,Undefined:()=>S.jA,Utils:()=>ne,ValueKind:()=>c,ValueSanitizer:()=>Ee,Version:()=>I,_ExtendedInternalMessageId:()=>h,_InternalLogMessage:()=>f.lQ,_InternalMessageId:()=>s.v,__getRegisteredEvents:()=>x.um,_logInternalMessage:()=>f.L4,_throwInternal:()=>f.kP,_warnToConsole:()=>f.jV,addEventHandler:()=>x.Ib,addEventListeners:()=>x.yw,addPageHideEventListener:()=>x.TJ,addPageShowEventListener:()=>x.nD,addPageUnloadEventListener:()=>x.c9,areCookiesSupported:()=>k.p7,arrForEach:()=>a.tO,arrIndexOf:()=>a.UA,arrMap:()=>a.Mr,arrReduce:()=>a.Xz,attachEvent:()=>x.pZ,cookieAvailable:()=>k.p7,createCookieMgr:()=>k.Nz,createEnumStyle:()=>i.By,createGuid:()=>Q,createProcessTelemetryContext:()=>Te.CD,createTraceParent:()=>Ie.SU,createUniqueNamespace:()=>Ce.J,createUnloadHandlerContainer:()=>Ae.Y,dateNow:()=>a.m6,deleteCookie:()=>$,detachEvent:()=>x.pD,disableCookies:()=>V,disallowsSameSiteNone:()=>k.UY,doPerf:()=>g.Lm,dumpObj:()=>v.eU,eventOff:()=>x.QY,eventOn:()=>x.XO,extend:()=>Y,findW3cTraceParent:()=>Ie.lq,formatTraceParent:()=>Ie.aR,generateW3CId:()=>T.DO,getCommonSchemaMetaData:()=>H,getConsole:()=>v.dr,getCookie:()=>K,getCookieValue:()=>W,getCrypto:()=>v.MX,getDocument:()=>v.Me,getExceptionName:()=>a.jj,getFieldValueType:()=>te,getGlobal:()=>A.Rd,getGlobalInst:()=>v.a8,getHistory:()=>v.s1,getIEVersion:()=>v.sA,getISOString:()=>a.Y6,getJSON:()=>v.xA,getLocation:()=>v.k$,getMsCrypto:()=>v.gz,getNavigator:()=>v.jW,getPerformance:()=>v.r,getSetValue:()=>a.qK,getTenantId:()=>F,getTime:()=>X,getWindow:()=>v.Jj,hasDocument:()=>v.Nv,hasHistory:()=>v.fE,hasJSON:()=>v.nS,hasNavigator:()=>v.d6,hasOwnProperty:()=>a.nr,hasWindow:()=>v.Ym,isArray:()=>a.kJ,isArrayValid:()=>Z,isBeaconsSupported:()=>v.MF,isBoolean:()=>a.jn,isChromium:()=>oe,isDate:()=>a.J_,isDocumentObjectAvailable:()=>M,isError:()=>a.VZ,isFetchSupported:()=>v.JO,isFunction:()=>a.mf,isIE:()=>v.w1,isLatency:()=>q,isNotTruthy:()=>a.F,isNullOrUndefined:()=>a.le,isNumber:()=>a.hj,isObject:()=>a.Kn,isReactNative:()=>v.b$,isSampledFlag:()=>Ie.Pn,isString:()=>a.HD,isTruthy:()=>a.fQ,isTypeof:()=>a.Ym,isUint8ArrayAvailable:()=>U,isUndefined:()=>a.o8,isValidSpanId:()=>Ie.Lc,isValidTraceId:()=>Ie.jN,isValidTraceParent:()=>Ie.J6,isValueAssigned:()=>z,isValueKind:()=>J,isWindowObjectAvailable:()=>L,isXhrSupported:()=>v.Z3,mergeEvtNamespace:()=>x.jU,newGuid:()=>T.GW,newId:()=>C.pZ,normalizeJsName:()=>a.Gf,objCreate:()=>A.pu,objDefineAccessors:()=>a.l_,objForEachKey:()=>a.rW,objFreeze:()=>a.FL,objKeys:()=>a.FY,objSeal:()=>a.Xi,openXhr:()=>ie,optimizeObject:()=>a.Ax,parseTraceParent:()=>Ie.j_,perfNow:()=>T.Jj,proxyAssign:()=>a.cf,proxyFunctionAs:()=>a.Oi,proxyFunctions:()=>a.Vb,random32:()=>C._l,randomValue:()=>C.az,removeEventHandler:()=>x.C1,removeEventListeners:()=>x.nJ,removePageHideEventListener:()=>x.C9,removePageShowEventListener:()=>x.Yl,removePageUnloadEventListener:()=>x.JA,safeGetCookieMgr:()=>k.JP,safeGetLogger:()=>f.vH,sanitizeProperty:()=>B,setCookie:()=>G,setEnableEnvMocks:()=>v.dI,setProcessTelemetryTimings:()=>ee,setValue:()=>a.sO,strContains:()=>a._Q,strEndsWith:()=>a.Id,strFunction:()=>S.cb,strObject:()=>S.fK,strPrototype:()=>S.hB,strStartsWith:()=>a.xe,strTrim:()=>a.nd,strUndefined:()=>S.jA,throwError:()=>a._y,toISOString:()=>a.Y6,useXDomainRequest:()=>v.cp});var r,o=n(3298),i=n(1785),a=n(3161),s=n(8712),c=(0,i.By)({NotSet:0,Pii_DistinguishedName:1,Pii_GenericData:2,Pii_IPV4Address:3,Pii_IPv6Address:4,Pii_MailSubject:5,Pii_PhoneNumber:6,Pii_QueryString:7,Pii_SipAddress:8,Pii_SmtpAddress:9,Pii_Identity:10,Pii_Uri:11,Pii_Fqdn:12,Pii_IPV4AddressLegacy:13,CustomerContent_GenericContent:32}),u=(0,i.By)({Normal:1,CostDeferred:2,RealTime:3,Immediate:4}),l=(0,i.By)({Unspecified:0,String:1,Int32:2,UInt32:3,Int64:4,UInt64:5,Double:6,Bool:7,Guid:8,DateTime:9}),p=(0,i.By)({Normal:1,Critical:2}),d=(0,i.By)({NONE:0,ERROR:1,WARNING:2,INFORMATION:3}),h=(0,a.FL)((0,o.uc)((0,o.uc)({},s.v),(0,i.By)({AuthHandShakeError:501,AuthRedirectFail:502,BrowserCannotReadLocalStorage:503,BrowserCannotWriteLocalStorage:504,BrowserDoesNotSupportLocalStorage:505,CannotParseBiBlobValue:506,CannotParseDataAttribute:507,CVPluginNotAvailable:508,DroppedEvent:509,ErrorParsingAISessionCookie:510,ErrorProvidedChannels:511,FailedToGetCookies:512,FailedToInitializeCorrelationVector:513,FailedToInitializeSDK:514,InvalidContentBlob:515,InvalidCorrelationValue:516,SessionRenewalDateIsZero:517,SendPostOnCompleteFailure:518,PostResponseHandler:519,SDKNotInitialized:520}))),m=n(2314),f=n(4300),g=n(2753),v=n(1167),y=n(8176),b="",_="https://browser.events.data.microsoft.com/OneCollector/1.0/",E="version",w="properties",k=n(8589),T=n(821),S=n(2589),x=n(1318),C=n(395),A=n(8785),I="3.2.13",R="1DS-Web-JS-"+I,P="Microsoft_ApplicationInsights_BypassAjaxInstrumentation",O="withCredentials",j="timeout",N=((r={})[0]=0,r[2]=6,r[1]=1,r[3]=7,r[4098]=6,r[4097]=1,r[4099]=7,r),D=null,M=Boolean((0,v.Me)()),L=Boolean((0,v.Jj)());function z(e){return!(e===b||(0,a.le)(e))}function F(e){if(e){var t=e.indexOf("-");if(t>-1)return e.substring(0,t)}return b}function U(){return null===D&&(D=!(0,a.o8)(Uint8Array)&&!function(){var e=(0,v.jW)();if(!(0,a.o8)(e)&&e.userAgent){var t=e.userAgent.toLowerCase();if((t.indexOf("safari")>=0||t.indexOf("firefox")>=0)&&t.indexOf("chrome")<0)return!0}return!1}()&&!(0,v.b$)()),D}function q(e){return!!(e&&(0,a.hj)(e)&&e>=1&&e<=4)}function B(e,t,n){if(!t&&!z(t)||"string"!=typeof e)return null;var r=typeof t;if("string"===r||"number"===r||"boolean"===r||(0,a.kJ)(t))t={value:t};else if("object"!==r||S.CY.call(t,"value")){if((0,a.le)(t.value)||t.value===b||!(0,a.HD)(t.value)&&!(0,a.hj)(t.value)&&!(0,a.jn)(t.value)&&!(0,a.kJ)(t.value))return null}else t={value:n?JSON.stringify(t):t};if((0,a.kJ)(t.value)&&!Z(t.value))return null;if(!(0,a.le)(t.kind)){if((0,a.kJ)(t.value)||!J(t.kind))return null;t.value=t.value.toString()}return t}function H(e,t,n){var r=-1;if(!(0,a.o8)(e))if(t>0&&(32===t?r=8192:t<=13&&(r=t<<5)),function(e){return e>=0&&e<=9}(n))-1===r&&(r=0),r|=n;else{var o=N[te(e)]||-1;-1!==r&&-1!==o?r|=o:6===o&&(r=o)}return r}function V(){(0,k.JP)(null).setEnabled(!1)}function G(e,t,n){(0,k.p7)(null)&&(0,k.JP)(null).set(e,t,86400*n,null,"/")}function $(e){(0,k.p7)(null)&&(0,k.JP)(null).del(e)}function K(e){return(0,k.p7)(null)?W((0,k.JP)(null),e):b}function W(e,t,n){var r;return void 0===n&&(n=!0),e&&(r=e.get(t),n&&r&&decodeURIComponent&&(r=decodeURIComponent(r))),r||b}function Q(e){void 0===e&&(e="D");var t=(0,T.GW)();return"B"===e?t="{"+t+"}":"P"===e?t="("+t+")":"N"===e&&(t=t.replace(/-/g,b)),t}function Y(e,t,n,r,o){var i={},s=!1,c=0,u=arguments.length,l=arguments;for("[object Boolean]"===Object[S.hB].toString.call(l[0])&&(s=l[0],c++);c<u;c++)e=l[c],(0,a.rW)(e,(function(e,t){s&&t&&(0,a.Kn)(t)?(0,a.kJ)(t)?(i[e]=i[e]||[],(0,a.tO)(t,(function(t,n){t&&(0,a.Kn)(t)?i[e][n]=Y(!0,i[e][n],t):i[e][n]=t}))):i[e]=Y(!0,i[e],t):i[e]=t}));return i}var X=T.Jj;function J(e){return 0===e||e>0&&e<=13||32===e}function Z(e){return e.length>0}function ee(e,t){var n=e;n.timings=n.timings||{},n.timings.processTelemetryStart=n.timings.processTelemetryStart||{},n.timings.processTelemetryStart[t]=X()}function te(e){var t=0;if(null!=e){var n=typeof e;"string"===n?t=1:"number"===n?t=2:"boolean"===n?t=3:n===S.fK&&(t=4,(0,a.kJ)(e)?(t=4096,e.length>0&&(t|=te(e[0]))):S.CY.call(e,"value")&&(t=8192|te(e.value)))}return t}var ne={Version:I,FullVersionString:R,strUndefined:S.jA,strObject:S.fK,Undefined:S.jA,arrForEach:a.tO,arrIndexOf:a.UA,arrMap:a.Mr,arrReduce:a.Xz,objKeys:a.FY,toISOString:a.Y6,isReactNative:v.b$,isString:a.HD,isNumber:a.hj,isBoolean:a.jn,isFunction:a.mf,isArray:a.kJ,isObject:a.Kn,strTrim:a.nd,isDocumentObjectAvailable:M,isWindowObjectAvailable:L,isValueAssigned:z,getTenantId:F,isBeaconsSupported:v.MF,isUint8ArrayAvailable:U,isLatency:q,sanitizeProperty:B,getISOString:a.Y6,useXDomainRequest:v.cp,getCommonSchemaMetaData:H,cookieAvailable:k.p7,disallowsSameSiteNone:k.UY,setCookie:G,deleteCookie:$,getCookie:K,createGuid:Q,extend:Y,getTime:X,isValueKind:J,isArrayValid:Z,objDefineAccessors:a.l_,addPageUnloadEventListener:x.c9,setProcessTelemetryTimings:ee,addEventHandler:x.Ib,getFieldValueType:te,strEndsWith:a.Id,objForEachKey:a.rW},re={_canUseCookies:void 0,isTypeof:a.Ym,isUndefined:a.o8,isNullOrUndefined:a.le,hasOwnProperty:a.nr,isFunction:a.mf,isObject:a.Kn,isDate:a.J_,isArray:a.kJ,isError:a.VZ,isString:a.HD,isNumber:a.hj,isBoolean:a.jn,toISOString:a.Y6,arrForEach:a.tO,arrIndexOf:a.UA,arrMap:a.Mr,arrReduce:a.Xz,strTrim:a.nd,objCreate:A.pu,objKeys:a.FY,objDefineAccessors:a.l_,addEventHandler:x.Ib,dateNow:a.m6,isIE:v.w1,disableCookies:V,newGuid:T.GW,perfNow:T.Jj,newId:C.pZ,randomValue:C.az,random32:C._l,mwcRandomSeed:C.CN,mwcRandom32:C.F6,generateW3CId:T.DO};function oe(){return!!(0,v.a8)("chrome")}function ie(e,t,n,r,o,i){function a(e,t,n){try{e[t]=n}catch(e){}}void 0===r&&(r=!1),void 0===o&&(o=!1);var s=new XMLHttpRequest;return r&&a(s,P,r),n&&a(s,O,n),s.open(e,t,!o),n&&a(s,O,n),!o&&i&&a(s,j,i),s}var ae=function(e){function t(){var n=e.call(this)||this;return n.pluginVersionStringArr=[],(0,m.default)(t,n,(function(e,t){e.logger&&e.logger.queue||(e.logger=new f.AQ({loggingLevelConsole:1})),e.initialize=function(n,r,o,i){(0,g.Lm)(e,(function(){return"AppInsightsCore.initialize"}),(function(){var s=e.pluginVersionStringArr;if(n){n.endpointUrl||(n.endpointUrl=_);var c=n.propertyStorageOverride;!c||c.getProperty&&c.setProperty||(0,a._y)("Invalid property storage override passed."),n.channels&&(0,a.tO)(n.channels,(function(e){e&&(0,a.tO)(e,(function(e){if(e.identifier&&e.version){var t=e.identifier+"="+e.version;s.push(t)}}))}))}e.getWParam=function(){return"undefined"!=typeof document||n.enableWParam?0:-1},r&&(0,a.tO)(r,(function(e){if(e&&e.identifier&&e.version){var t=e.identifier+"="+e.version;s.push(t)}})),e.pluginVersionString=s.join(";"),e.pluginVersionStringArr=s;try{t.initialize(n,r,o,i),e.pollInternalLogs("InternalLog")}catch(t){var u=e.logger,l=(0,v.eU)(t);-1!==l.indexOf("channels")&&(l+="\n - Channels must be provided through config.channels only!"),(0,f.kP)(u,1,514,"SDK Initialization Failed - no telemetry will be sent: "+l)}}),(function(){return{config:n,extensions:r,logger:o,notificationManager:i}}))},e.track=function(n){(0,g.Lm)(e,(function(){return"AppInsightsCore.track"}),(function(){var r=n;if(r){r.timings=r.timings||{},r.timings.trackStart=X(),q(r.latency)||(r.latency=1);var o=r.ext=r.ext||{};o.sdk=o.sdk||{},o.sdk.ver=R;var i=r.baseData=r.baseData||{};i[w]=i[w]||{};var a=i[w];a[E]=a[E]||e.pluginVersionString||b}t.track(r)}),(function(){return{item:n}}),!n.sync)}})),n}return(0,o.ne)(t,e),t.__ieDyn=1,t}(y.F);const se=ae;var ce=n(4770),ue=function(e){function t(){var n=e.call(this)||this;return(0,m.default)(t,n,(function(e,t){e.initialize=function(n,r,o,i){n&&!n.endpointUrl&&(n.endpointUrl=_),e.getWParam=function(){return M||n.enableWParam?0:-1};try{t.initialize(n,r,o,i)}catch(t){(0,f.kP)(e.logger,1,514,"Initialization Failed: "+(0,v.eU)(t)+"\n - Note: Channels must be provided through config.channels only")}},e.track=function(e){var n=e;if(n){var r=n.ext=n.ext||{};r.sdk=r.sdk||{},r.sdk.ver=R}t.track(n)}})),n}return(0,o.ne)(t,e),t.__ieDyn=1,t}(ce.A);const le=ue;var pe=a.mf;function de(e,t,n){return function(r){e[t]=r,n()}}var he=function(){function e(t){var n=0,r=null,o=[];function i(){if(o.length>0){var e=o.slice();o=[],setTimeout((function(){for(var t=0,n=e.length;t<n;++t)try{e[t]()}catch(e){}}),0)}}function a(e){0===n&&(r=e,n=1,i())}function s(e){0===n&&(r=e,n=2,i())}(0,m.default)(e,this,(function(t){t.then=function(t,a){return new e((function(s,c){!function(t,a,s,c){o.push((function(){var o;try{(o=1===n?pe(t)?t(r):r:pe(a)?a(r):r)instanceof e?o.then(s,c):2!==n||pe(a)?s(o):c(o)}catch(e){return void c(e)}})),0!==n&&i()}(t,a,s,c)}))},t.catch=function(e){return t.then(null,e)}})),function(){if(!pe(t))throw new TypeError("ESPromise: resolvedFunc argument is not a Function");try{t(a,s)}catch(e){s(e)}}()}return e.resolve=function(t){return t instanceof e?t:t&&pe(t.then)?new e((function(e,n){try{t.then(e,n)}catch(e){n(e)}})):new e((function(e){e(t)}))},e.reject=function(t){return new e((function(e,n){n(t)}))},e.all=function(t){if(t&&t.length)return new e((function(e,n){try{for(var r=[],o=0,i=0;i<t.length;i++){var a=t[i];a&&pe(a.then)?(o++,a.then(de(r,i,(function(){0==--o&&e(r)})),n)):r[i]=a}0===o&&setTimeout((function(){e(r)}),0)}catch(e){n(e)}}))},e.race=function(t){return new e((function(e,n){if(t&&t.length)try{for(var r=function(r){var o=t[r];o&&pe(o.then)?o.then(e,n):setTimeout((function(){e(o)}),0)},o=0;o<t.length;o++)r(o)}catch(e){n(e)}}))},e}();const me=he;var fe=0,ge=[],ve=[],ye=[];function be(){return(new Date).getTime()}const _e=function(){function e(t,n){var r=0,o=(t||"<unnamed>")+"."+fe;function i(e){var t=(0,A.Rd)();t&&t.QUnit&&console&&console.log("ESPromiseScheduler["+o+"] "+e)}function a(e){(0,f.jV)(n,"ESPromiseScheduler["+o+"] "+e)}fe++,(0,m.default)(e,this,(function(e){var t=null,n=0;function s(e,t){for(var n=0;n<e.length;n++)if(e[n].id===t)return e.splice(n,1)[0];return null}e.scheduleEvent=function(e,c,u){var l=o+"."+n;n++,c&&(l+="-("+c+")");var p=l+"{"+r+"}";r++;var d,h,m,f={evt:null,tm:be(),id:p,isRunning:!1,isAborted:!1};return f.evt=t?(d=f,h=t,m=new me((function(e,t){var n=be()-h.tm,r=h.id;i("["+l+"] is waiting for ["+r+":"+n+" ms] to complete before starting -- ["+ve.length+"] waiting and ["+ge.length+"] running"),d.abort=function(e){d.abort=null,s(ve,l),d.isAborted=!0,t(new Error(e))},h.evt.then((function(n){s(ve,l),E(d).then(e,t)}),(function(n){s(ve,l),E(d).then(e,t)}))})),ve.push(d),m):E(f),(t=f).evt._schId=p,f.evt;function g(e){for(var t=be(),n=t-6e5,r=e.length,o=0;o<r;){var i=e[o];if(i&&i.tm<n){var s=null;i.abort?(s="Aborting ["+i.id+"] due to Excessive runtime ("+(t-i.tm)+" ms)",i.abort(s)):s="Removing ["+i.id+"] due to Excessive runtime ("+(t-i.tm)+" ms)",a(s),e.splice(o,1),r--}else o++}}function v(e,n){var r=!1,o=s(ge,e);if(o||(o=s(ye,e),r=!0),o){o.to&&(clearTimeout(o.to),o.to=null);var c=be()-o.tm;n?r?a("Timed out event ["+e+"] finally complete -- "+c+" ms"):i("Promise ["+e+"] Complete -- "+c+" ms"):(ye.push(o),a("Event ["+e+"] Timed out and removed -- "+c+" ms"))}else i("Failed to remove ["+e+"] from running queue");t&&t.id===e&&(t=null),g(ge),g(ve),g(ye)}function y(e,t){return function(n){return v(e,!0),t&&t(n),n}}function b(e,t,n,r){t.then((function(t){return t instanceof me?(i("Event ["+e+"] returned a promise -- waiting"),b(e,t,n,r),t):y(e,n)(t)}),y(e,r))}function _(e,t){var n=e.id;return new me((function(r,o){i("Event ["+n+"] Starting -- waited for "+(e.wTm||"--")+" ms"),e.isRunning=!0,e.abort=function(t){e.abort=null,e.isAborted=!0,v(n,!1),o(new Error(t))};var a=t(n);a instanceof me?(u&&(e.to=setTimeout((function(){v(n,!1),o(new Error("Timed out after ["+u+"] ms"))}),u)),b(n,a,(function(t){i("Event ["+n+"] Resolving after "+(be()-e.tm)+" ms"),r(t)}),o)):(i("Promise ["+n+"] Auto completed as the start action did not return a promise"),r())}))}function E(t){var n=be();return t.wTm=n-t.tm,t.tm=n,t.isAborted?me.reject(new Error("["+l+"] was aborted")):(ge.push(t),_(t,e))}}}))}return e.incomplete=function(){return ge},e.waitingToStart=function(){return ve},e}();var Ee=function(){function e(e){var t=this,n={},r=[],o=[];function i(e,t){var i,s=n[e];if(s&&(i=s[t]),!i&&null!==i){if((0,a.HD)(e)&&(0,a.HD)(t))if(o.length>0){for(var c=0;c<o.length;c++)if(o[c].handleField(e,t)){i={canHandle:!0,fieldHandler:o[c]};break}}else 0===r.length&&(i={canHandle:!0});if(!i&&null!==i)for(i=null,c=0;c<r.length;c++)if(r[c].handleField(e,t)){i={canHandle:!0,handler:r[c],fieldHandler:null};break}s||(s=n[e]={}),s[t]=i}return i}function s(e,t,n,r,o,i){if(e.handler)return e.handler.property(t,n,o,i);if(!(0,a.le)(o.kind)){if(4096==(4096&r)||!J(o.kind))return null;o.value=o.value.toString()}return u(e.fieldHandler,t,n,r,o)}function c(e,t,n){return z(n)?{value:n}:null}function u(e,n,r,o,i){if(i&&e){var s=e.getSanitizer(n,r,o,i.kind,i.propertyType);if(s)if(4===o){var l={},p=i.value;(0,a.rW)(p,(function(t,o){var i=n+"."+r;if(z(o)){var a=c(0,0,o);(a=u(e,i,t,te(o),a))&&(l[t]=a.value)}})),i.value=l}else{var d={path:n,name:r,type:o,prop:i,sanitizer:t};i=s.call(t,d)}}return i}e&&o.push(e),t.addSanitizer=function(e){e&&(r.push(e),n={})},t.addFieldSanitizer=function(e){e&&(o.push(e),n={})},t.handleField=function(e,t){var n=i(e,t);return!!n&&n.canHandle},t.value=function(e,t,n,r){var o=i(e,t);if(o&&o.canHandle){if(!o||!o.canHandle)return null;if(o.handler)return o.handler.value(e,t,n,r);if(!(0,a.HD)(t)||(0,a.le)(n)||n===b)return null;var u=null,l=te(n);if(8192==(8192&l)){var p=-8193&l;if(!z((u=n).value)||1!==p&&2!==p&&3!==p&&4096!=(4096&p))return null}else 1===l||2===l||3===l||4096==(4096&l)?u=c(0,0,n):4===l&&(u=c(0,0,r?JSON.stringify(n):n));if(u)return s(o,e,t,l,u,r)}return null},t.property=function(e,t,n,r){var o=i(e,t);if(!o||!o.canHandle)return null;if(!(0,a.HD)(t)||(0,a.le)(n)||!z(n.value))return null;var c=te(n.value);return 0===c?null:s(o,e,t,c,n,r)}}return e.getFieldType=te,e}(),we=n(6329),ke=n(1549),Te=n(877),Se=n(978),xe=n(4641),Ce=n(8530),Ae=n(6930),Ie=n(1579)},1785:(e,t,n)=>{"use strict";n.d(t,{By:()=>o,cc:()=>a,uj:()=>i});var r=n(3161);function o(e){var t={};return(0,r.rW)(e,(function(e,n){t[e]=n,t[n]=e})),(0,r._A)(t)}function i(e){var t={};return(0,r.rW)(e,(function(e,n){t[e]=e,t[n]=e})),(0,r._A)(t)}function a(e){var t={};return(0,r.rW)(e,(function(e,n){t[e]=n[1],t[n[0]]=n[1]})),(0,r._A)(t)}},4641:(e,t,n)=>{"use strict";n.d(t,{h:()=>r});var r=(0,n(1785).By)({Unknown:0,NonRetryableStatus:1,InvalidEvent:2,SizeLimitExceeded:3,KillSwitch:4,QueueFull:5})},8712:(e,t,n)=>{"use strict";n.d(t,{X:()=>_,v:()=>E});var r,o=n(1785),i="Failed",a=i+"MonitorAjax",s="Track",c="Start",u="Stop",l="Event",p="AuthContext",d="Exception",h="Local",m="Session",f="Storage",g="Browser",v="Cannot",y="Buffer",b="InstrumentationKey",_=(0,o.By)({CRITICAL:1,WARNING:2}),E=(0,o.By)(((r={})[g+"DoesNotSupport"+h+f]=0,r[g+v+"Read"+h+f]=1,r[g+v+"Read"+m+f]=2,r[g+v+"Write"+h+f]=3,r[g+v+"Write"+m+f]=4,r[g+i+"RemovalFrom"+h+f]=5,r[g+i+"RemovalFrom"+m+f]=6,r[v+"SendEmptyTelemetry"]=7,r.ClientPerformanceMathError=8,r["ErrorParsingAI"+m+"Cookie"]=9,r.ErrorPVCalc=10,r[d+"WhileLoggingError"]=11,r[i+"AddingTelemetryTo"+y]=12,r[a+"Abort"]=13,r[a+"Dur"]=14,r[a+"Open"]=15,r[a+"RSC"]=16,r[a+"Send"]=17,r[a+"GetCorrelationHeader"]=18,r[i+"ToAddHandlerForOnBeforeUnload"]=19,r[i+"ToSendQueuedTelemetry"]=20,r[i+"ToReportDataLoss"]=21,r["Flush"+i]=22,r.MessageLimitPerPVExceeded=23,r.MissingRequiredFieldSpecification=24,r.NavigationTimingNotSupported=25,r.OnError=26,r[m+"RenewalDateIsZero"]=27,r.SenderNotInitialized=28,r[c+s+l+i]=29,r[u+s+l+i]=30,r[c+s+i]=31,r[u+s+i]=32,r.TelemetrySampledAndNotSent=33,r[s+l+i]=34,r[s+d+i]=35,r[s+"Metric"+i]=36,r[s+"PV"+i]=37,r[s+"PV"+i+"Calc"]=38,r[s+"Trace"+i]=39,r["Transmission"+i]=40,r[i+"ToSet"+f+y]=41,r[i+"ToRestore"+f+y]=42,r.InvalidBackendResponse=43,r[i+"ToFixDepricatedValues"]=44,r.InvalidDurationValue=45,r.TelemetryEnvelopeInvalid=46,r.CreateEnvelopeError=47,r[v+"SerializeObject"]=48,r[v+"SerializeObjectNonSerializable"]=49,r.CircularReferenceDetected=50,r["Clear"+p+i]=51,r[d+"Truncated"]=52,r.IllegalCharsInName=53,r.ItemNotInArray=54,r.MaxAjaxPerPVExceeded=55,r.MessageTruncated=56,r.NameTooLong=57,r.SampleRateOutOfRange=58,r["Set"+p+i]=59,r["Set"+p+i+"AccountName"]=60,r.StringValueTooLong=61,r.StartCalledMoreThanOnce=62,r.StopCalledWithoutStart=63,r["TelemetryInitializer"+i]=64,r.TrackArgumentsNotSpecified=65,r.UrlTooLong=66,r[m+f+y+"Full"]=67,r[v+"AccessCookie"]=68,r.IdTooLong=69,r.InvalidEvent=70,r[a+"SetRequestHeader"]=71,r["Send"+g+"InfoOnUserInit"]=72,r["Plugin"+d]=73,r["Notification"+d]=74,r.SnippetScriptLoadFailure=99,r["Invalid"+b]=100,r[v+"ParseAiBlobValue"]=101,r.InvalidContentBlob=102,r[s+"PageAction"+l+i]=103,r[i+"AddingCustomDefinedRequestContext"]=104,r["InMemory"+f+y+"Full"]=105,r[b+"Deprecation"]=106,r))},978:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var r=100},8176:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var r=n(3298),o=n(9798),i=n(6474),a=n(4770),s=n(4300),c=n(3161),u=n(9556),l=n(6329),p=n(2753),d=function(e){function t(){var n=e.call(this)||this;return(0,o.Z)(t,n,(function(e,t){function n(t){var n=e[i.tb]();n&&n[u.$F]([t],2)}e[i.VL]=function(e,n,r,o){t[i.VL](e,n,r||new s.AQ(e),o||new l.f(e))},e.track=function(r){(0,p.Lm)(e[u.kl](),(function(){return"AppInsightsCore:track"}),(function(){null===r&&(n(r),(0,c._y)("Invalid telemetry item")),function(e){(0,c.le)(e[i.I])&&(n(e),(0,c._y)("telemetry name required"))}(r),t.track(r)}),(function(){return{item:r}}),!r.sync)}})),n}return(0,r.ne)(t,e),t.__ieDyn=1,t}(a.A)},4770:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(3298),o=n(9798),i=n(8785),a=n(6474),s=n(3161),c=n(9556),u=n(877),l=n(3656),p=500;function d(e,t,n){t&&(0,s.kJ)(t)&&t[a.R5]>0&&(t=t.sort((function(e,t){return e[c.yi]-t[c.yi]})),(0,s.tO)(t,(function(e){e[c.yi]<p&&(0,s._y)("Channel has invalid priority - "+e[a.pZ])})),e[a.MW]({queue:(0,s.FL)(t),chain:(0,u.jV)(t,n[a.TC],n)}))}var h=n(8589),m=n(8530),f=n(7485),g=n(4300),v=n(2753),y=n(1549),b=n(1167),_=function(e){function t(){var n,r,i=e.call(this)||this;function u(){n=0,r=[]}return i.identifier="TelemetryInitializerPlugin",i.priority=199,u(),(0,o.Z)(t,i,(function(e,t){e.addTelemetryInitializer=function(e){var t={id:n++,fn:e};return r[a.MW](t),{remove:function(){(0,s.tO)(r,(function(e,n){if(e.id===t.id)return r[a.cb](n,1),-1}))}}},e[c.hL]=function(t,n){for(var o=!1,i=r[a.R5],c=0;c<i;++c){var u=r[c];if(u)try{if(!1===u.fn[a.ZV](null,[t])){o=!0;break}}catch(e){(0,g.kP)(n[a.mc](),1,64,"One of telemetry initializers failed, telemetry item will not be sent: "+(0,s.jj)(e),{exception:(0,b.eU)(e)},!0)}}o||e[a.uL](t,n)},e[a.F3]=function(){u()}})),i}return(0,r.ne)(t,e),t.__ieDyn=1,t}(y.i),E=n(6930),w="Plugins must provide initialize method",k="_notificationManager",T="SDK is still unloading...",S={loggingLevelConsole:1};function x(e,t){return new v.Jk(t)}function C(e,t){var n=!1;return(0,s.tO)(t,(function(t){if(t===e)return n=!0,-1})),n}var A=function(){function e(){var t,n,y,b,A,I,R,P,O,j,N,D,M,L,z,F,U,q,B,H,V=0,G=!1;(0,o.Z)(e,this,(function(e){function o(n){if(!V&&!G&&(n||e[a.eZ]&&e[a.eZ].queue[a.R5]>0)){var r=(0,s.v4)(t.diagnosticLogInterval);r&&r>0||(r=1e4),V=setInterval((function(){clearInterval(V),V=0,J()}),r)}return V}function $(){n=!1,t=(0,s.mm)(!0,{},S),e[a.TC]=t,e[a.eZ]=new g.AQ(t),e[a.iC]=[],z=new _,y=[],b=null,A=null,I=null,R=null,P=null,j=null,O=[],N=null,D=null,M=null,L=!1,F=null,U=(0,m.J)("AIBaseCore",!0),q=(0,E.Y)(),H=null}function K(){var n=(0,u.CD)(Y(),t,e);return n[a.Fc](o),n}function W(n){var r=function(e,t,n){var r,o=[],i={};return(0,s.tO)(n,(function(t){((0,s.le)(t)||(0,s.le)(t[a.VL]))&&(0,s._y)(w);var n=t[c.yi],r=t[a.pZ];t&&n&&((0,s.le)(i[n])?i[n]=r:(0,g.jV)(e,"Two extensions have same priority #"+n+" - "+i[n]+", "+r)),(!n||n<500)&&o[a.MW](t)})),(r={all:n})[c.oV]=o,r}(e[a.eZ],0,O);j=r[c.oV],P=null;var i=r.all;if(M=(0,s.FL)(function(e,t,n){var r=[];if(e&&(0,s.tO)(e,(function(e){return d(r,e,n)})),t){var o=[];(0,s.tO)(t,(function(e){e[c.yi]>p&&o[a.MW](e)})),d(r,o,n)}return r}(D,i,e)),N){var h=(0,s.UA)(i,N);-1!==h&&i[a.cb](h,1),-1!==(h=(0,s.UA)(j,N))&&j[a.cb](h,1),N._setQueue(M)}else N=function(e,t){function n(){return(0,u.CD)(null,t[a.TC],t,null)}function r(e,t,n,r){var o=e?e[a.R5]+1:1;function i(){0==--o&&(r&&r(),r=null)}o>0&&(0,s.tO)(e,(function(e){if(e&&e.queue[a.R5]>0){var r=e.chain,s=t[a.zV](r);s[a.Fc](i),n(s)}else o--})),i()}var o=!1,i={identifier:"ChannelControllerPlugin",priority:p,initialize:function(t,n,r,i){o=!0,(0,s.tO)(e,(function(e){e&&e.queue[a.R5]>0&&(0,l.bP)((0,u.CD)(e.chain,t,n),r)}))},isInitialized:function(){return o},processTelemetry:function(t,o){r(e,o||n(),(function(e){e[a.uL](t)}),(function(){o[a.uL](t)}))},update:function(t,n){var o=n||{reason:0};return r(e,t,(function(e){e[a.uL](o)}),(function(){t[a.uL](o)})),!0},pause:function(){r(e,n(),(function(e){e.iterate((function(e){e.pause&&e.pause()}))}),null)},resume:function(){r(e,n(),(function(e){e.iterate((function(e){e.resume&&e.resume()}))}),null)},teardown:function(t,n){var i=n||{reason:0,isAsync:!1};return r(e,t,(function(e){e[a.uL](i)}),(function(){t[a.uL](i),o=!1})),!0},getChannel:function(t){var n=null;return e&&e[a.R5]>0&&(0,s.tO)(e,(function(e){if(e&&e.queue[a.R5]>0&&((0,s.tO)(e.queue,(function(e){if(e[a.pZ]===t)return n=e,-1})),n))return-1})),n},flush:function(t,o,i,s){var c=1,u=!1,l=null;function p(){c--,u&&0===c&&(l&&(clearTimeout(l),l=null),o&&o(u),o=null)}return s=s||5e3,r(e,n(),(function(e){e.iterate((function(e){if(e[a.kL]){c++;var n=!1;e[a.kL](t,(function(){n=!0,p()}),i)||n||(t&&null==l?l=setTimeout((function(){l=null,p()}),s):p())}}))}),(function(){u=!0,p()})),!0},_setQueue:function(t){e=t}};return i}(M,e);i[a.MW](N),j[a.MW](N),e[a.iC]=(0,l.AA)(i),N[a.VL](t,e,i);var m=K();(0,l.bP)(m,i),e[a.iC]=(0,s.FL)((0,l.AA)(j||[])).slice(),n&&function(t){var n=(0,u.xy)(Y(),e);n[a.Fc](o),e._updateHook&&!0===e._updateHook(n,t)||n[a.uL](t)}(n)}function Q(t){var n,r=null,o=null;return(0,s.tO)(e[a.iC],(function(e){if(e[a.pZ]===t&&e!==N&&e!==z)return o=e,-1})),!o&&N&&(o=N.getChannel(t)),o&&((n={plugin:o})[a.$h]=function(e){(0,l.OY)(o)[c.mE]=!e},n.isEnabled=function(){var e=(0,l.OY)(o);return!e[a.fi]&&!e[c.mE]},n.remove=function(e,t){var n;void 0===e&&(e=!0);var r=[o],i=((n={reason:1})[a.d]=e,n);X(r,i,(function(e){e&&W({reason:32,removed:r}),t&&t(e)}))},r=n),r}function Y(){if(!P){var n=(j||[]).slice();-1===(0,s.UA)(n,z)&&n[a.MW](z),P=(0,u.jV)((0,l.AA)(n),t,e)}return P}function X(n,r,i){if(n&&n[a.R5]>0){var c=(0,u.jV)(n,t,e),l=(0,u.Bt)(c,e);l[a.Fc]((function(){var e=!1,t=[];(0,s.tO)(O,(function(r,o){C(r,n)?e=!0:t[a.MW](r)})),O=t;var r=[];D&&((0,s.tO)(D,(function(t,o){var i=[];(0,s.tO)(t,(function(t){C(t,n)?e=!0:i[a.MW](t)})),r[a.MW](i)})),D=r),i&&i(e),o()})),l[a.uL](r)}else i(!1)}function J(){if(e[a.eZ]&&e[a.eZ].queue){var n=e[a.eZ].queue.slice(0);e[a.eZ].queue[a.R5]=0,(0,s.tO)(n,(function(n){var r,o=((r={})[a.I]=F||"InternalMessageId: "+n[a.Gc],r.iKey=(0,s.v4)(t[a.p$]),r.time=(0,s.Y6)(new Date),r.baseType=g.lQ.dataType,r.baseData={message:n[a.gU]},r);e.track(o)}))}}function Z(e,t,n,r){return N?N[a.kL](e,t,n||6,r):(t&&t(!1),!0)}function ee(t){var n=e[a.eZ];n?((0,g.kP)(n,2,73,t),o()):(0,s._y)(t)}$(),e[a.yl]=function(){return n},e[a.VL]=function(o,i,u,l){var p,d;L&&(0,s._y)(T),e[a.yl]()&&(0,s._y)("Core should not be initialized more than once"),t=o||{},e[a.TC]=t,(0,s.le)(o[a.p$])&&(0,s._y)("Please provide instrumentation key"),b=l,e[k]=l,!0===(d=(0,s.v4)(t.disableDbgExt))&&B&&(b[a.n7](B),B=null),b&&!B&&!0!==d&&(B=(0,f.p)(t),b[a.g](B)),!(p=(0,s.v4)(t.enablePerfMgr))&&I&&(I=null),p&&(0,s.qK)(t,c.DN,x),(0,s.qK)(t,c.Zh,{}).NotificationManager=b,u&&(e[a.eZ]=u);var h=(0,s.qK)(t,c.js,[]);(O=[])[a.MW].apply(O,(0,r.$h)((0,r.$h)([],i,!1),h,!1)),D=(0,s.qK)(t,c.Z,[]),W(null),M&&0!==M[a.R5]||(0,s._y)("No "+c.Z+" available"),n=!0,e.releaseQueue()},e.getTransmissionControls=function(){var e=[];return M&&(0,s.tO)(M,(function(t){e[a.MW](t.queue)})),(0,s.FL)(e)},e.track=function(n){n.iKey=n.iKey||t[a.p$],n[a.Z_]=n[a.Z_]||(0,s.Y6)(new Date),n.ver=n.ver||"4.0",!L&&e[a.yl]()?K()[a.uL](n):y[a.MW](n)},e[a.SD]=K,e[a.tb]=function(){var t;return b||(b=(0,i.pu)(((t={})[a.g]=function(e){},t[a.n7]=function(e){},t[c.uC]=function(e){},t[c.$F]=function(e,t){},t[c.f_]=function(e,t){},t)),e[k]=b),b},e[a.g]=function(e){b&&b[a.g](e)},e[a.n7]=function(e){b&&b[a.n7](e)},e.getCookieMgr=function(){return R||(R=(0,h.Nz)(t,e[a.eZ])),R},e.setCookieMgr=function(e){R=e},e[c.kl]=function(){if(!A&&!I&&(0,s.v4)(t.enablePerfMgr)){var n=(0,s.v4)(t[c.DN]);(0,s.mf)(n)&&(I=n(e,e[a.tb]()))}return A||I||(0,v.j5)()},e.setPerfMgr=function(e){A=e},e.eventCnt=function(){return y[a.R5]},e.releaseQueue=function(){if(n&&y[a.R5]>0){var e=y;y=[],(0,s.tO)(e,(function(e){K()[a.uL](e)}))}},e.pollInternalLogs=function(e){return F=e||null,G=!1,V&&(clearInterval(V),V=null),o(!0)},e[a.LS]=function(){G=!0,V&&(clearInterval(V),V=0,J())},(0,s.Vb)(e,(function(){return z}),["addTelemetryInitializer"]),e.unload=function(t,r,o){var i;void 0===t&&(t=!0),n||(0,s._y)("SDK is not initialized"),L&&(0,s._y)(T);var c=((i={reason:50})[a.d]=t,i.flushComplete=!1,i),l=(0,u.Bt)(Y(),e);function p(t){c.flushComplete=t,L=!0,q.run(l,c),e[a.LS](),l[a.uL](c)}l[a.Fc]((function(){$(),r&&r(c)}),e),J(),Z(t,p,6,o)||p(!1)},e[a.TO]=Q,e.addPlugin=function(e,t,n,r){if(!e)return r&&r(!1),void ee(w);var o=Q(e[a.pZ]);if(o&&!t)return r&&r(!1),void ee("Plugin ["+e[a.pZ]+"] is already loaded!");var i={reason:16};function s(t){O[a.MW](e),i.added=[e],W(i),r&&r(!0)}if(o){var c=[o.plugin];X(c,{reason:2,isAsync:!!n},(function(e){e?(i.removed=c,i.reason|=32,s()):r&&r(!1)}))}else s()},e.evtNamespace=function(){return U},e[a.kL]=Z,e.getTraceCtx=function(e){return H||(H=(0,l.Yn)()),H},e.setTraceCtx=function(e){H=e||null},(0,s.Oi)(e,"addUnloadCb",(function(){return q}),"add")}))}return e.__ieDyn=1,e}()},1549:(e,t,n)=>{"use strict";n.d(t,{i:()=>l});var r=n(9798),o=n(6474),i=n(3161),a=n(9556),s=n(877),c=n(6930),u="getPlugin",l=function(){function e(){var t,n,l,p,d,h=this;function m(e){void 0===e&&(e=null);var t=e;if(!t){var r=n||(0,s.CD)(null,{},h[a.oV]);t=l&&l[u]?r[o.zV](null,l[u]):r[o.zV](null,l)}return t}function f(e,t,r){e&&(0,i.sO)(e,a.Zh,[],null,i.le),!r&&t&&(r=t[o.SD]()[o.W2]());var c=l;l&&l[u]&&(c=l[u]()),h[a.oV]=t,n=(0,s.CD)(r,e,t,c)}function g(){t=!1,h[a.oV]=null,n=null,l=null,d=[],p=(0,c.Y)()}g(),(0,r.Z)(e,h,(function(e){e[o.VL]=function(e,n,r,o){f(e,n,o),t=!0},e[o.fi]=function(t,n){var r,c=e[a.oV];if(c&&(!t||c===t[a.oV]())){var h,m=!1,f=t||(0,s.Bt)(null,c,l&&l[u]?l[u]():l),v=n||((r={reason:0})[o.d]=!1,r);return e[o.F3]&&!0===e[o.F3](f,v,y)?h=!0:y(),h}function y(){if(!m){m=!0,p.run(f,n);var e=d;d=[],(0,i.tO)(e,(function(e){e.rm()})),!0===h&&f[o.uL](v),g()}}},e[o.Tu]=function(t,n){var r=e[a.oV];if(r&&(!t||r===t[a.oV]())){var i,c=!1,p=t||(0,s.xy)(null,r,l&&l[u]?l[u]():l),d=n||{reason:0};return e._doUpdate&&!0===e._doUpdate(p,d,h)?i=!0:h(),i}function h(){c||(c=!0,f(p.getCfg(),p.core(),p[o.W2]()))}},e._addHook=function(e){e&&((0,i.kJ)(e)?d=d.concat(e):d[o.MW](e))},(0,i.Oi)(e,"_addUnloadCb",(function(){return p}),"add")})),h[o.mc]=function(e){return m(e)[o.mc]()},h[o.yl]=function(){return t},h.setInitialized=function(e){t=e},h[o.Jd]=function(e){l=e},h[o.uL]=function(e,t){t?t[o.uL](e):l&&(0,i.mf)(l[a.hL])&&l[a.hL](e,null)},h._getTelCtx=m}return e.__ieDyn=1,e}()},8589:(e,t,n)=>{"use strict";n.d(t,{JP:()=>S,Nz:()=>x,UY:()=>j,kj:()=>w,p7:()=>C});var r=n(6474),o=n(4300),i=n(1167),a=n(3161),s=n(9556),c="toGMTString",u="toUTCString",l="cookie",p="expires",d="enabled",h="isCookieUseDisabled",m="disableCookiesUsage",f="_ckMgr",g=null,v=null,y=null,b=(0,i.Me)(),_={},E={};function w(e,t){var n=x[f]||E[f];return n||(n=x[f]=x(e,t),E[f]=n),n}function k(e){return!e||e.isEnabled()}function T(e,t){return!!(t&&e&&(0,a.kJ)(e.ignoreCookies))&&-1!==e.ignoreCookies[r.ou](t)}function S(e,t){var n;if(e)n=e.getCookieMgr();else if(t){var o=t[r.Lk];n=o[f]?o[f]:x(t)}return n||(n=w(t,(e||{})[r.eZ])),n}function x(e,t){var n,o=function(e){var t=e[r.Lk]=e[r.Lk]||{};if((0,a.sO)(t,"domain",e.cookieDomain,a.BX,a.le),(0,a.sO)(t,"path",e.cookiePath||"/",null,a.le),(0,a.le)(t[d])){var n=void 0;(0,a.o8)(e[h])||(n=!e[h]),(0,a.o8)(e[m])||(n=!e[m]),t[d]=n}return t}(e||E),l=o.path||"/",g=o.domain,y=!1!==o[d],b=((n={isEnabled:function(){var e=y&&C(t),n=E[f];return e&&n&&b!==n&&(e=k(n)),e}})[r.$h]=function(e){y=!1!==e},n.set=function(e,t,n,d,h){var m=!1;if(k(b)&&!function(e,t){return!!(t&&e&&(0,a.kJ)(e.blockedCookies)&&-1!==e.blockedCookies[r.ou](t))||T(e,t)}(o,e)){var f={},y=(0,a.nd)(t||s.qS),_=y[r.ou](";");if(-1!==_&&(y=(0,a.nd)(t[r.zc](0,_)),f=A(t[r.zc](_+1))),(0,a.sO)(f,"domain",d||g,a.fQ,a.o8),!(0,a.le)(n)){var E=(0,i.w1)();if((0,a.o8)(f[p])){var w=(0,a.m6)()+1e3*n;if(w>0){var S=new Date;S.setTime(w),(0,a.sO)(f,p,I(S,E?c:u)||I(S,E?c:u)||s.qS,a.fQ)}}E||(0,a.sO)(f,"max-age",s.qS+n,null,a.o8)}var x=(0,i.k$)();x&&"https:"===x.protocol&&((0,a.sO)(f,"secure",null,null,a.o8),null===v&&(v=!j(((0,i.jW)()||{})[r.qV])),v&&(0,a.sO)(f,"SameSite","None",null,a.o8)),(0,a.sO)(f,"path",h||l,null,a.o8),(o.setCookie||O)(e,R(y,f)),m=!0}return m},n.get=function(e){var t=s.qS;return k(b)&&!T(o,e)&&(t=(o.getCookie||P)(e)),t},n.del=function(e,t){var n=!1;return k(b)&&(n=b.purge(e,t)),n},n.purge=function(e,n){var r,a=!1;if(C(t)){var c=((r={}).path=n||"/",r[p]="Thu, 01 Jan 1970 00:00:01 GMT",r);(0,i.w1)()||(c["max-age"]="0"),(o.delCookie||O)(e,R(s.qS,c)),a=!0}return a},n);return b[f]=b,b}function C(e){if(null===g){g=!1;try{g=void 0!==(b||{})[l]}catch(t){(0,o.kP)(e,2,68,"Cannot access document.cookie - "+(0,a.jj)(t),{exception:(0,i.eU)(t)})}}return g}function A(e){var t={};if(e&&e[r.R5]){var n=(0,a.nd)(e)[r.w6](";");(0,a.tO)(n,(function(e){if(e=(0,a.nd)(e||s.qS)){var n=e[r.ou]("=");-1===n?t[e]=null:t[(0,a.nd)(e[r.zc](0,n))]=(0,a.nd)(e[r.zc](n+1))}}))}return t}function I(e,t){return(0,a.mf)(e[t])?e[t]():null}function R(e,t){var n=e||s.qS;return(0,a.rW)(t,(function(e,t){n+="; "+e+((0,a.le)(t)?s.qS:"="+t)})),n}function P(e){var t=s.qS;if(b){var n=b[l]||s.qS;y!==n&&(_=A(n),y=n),t=(0,a.nd)(_[e]||s.qS)}return t}function O(e,t){b&&(b[l]=e+"="+t)}function j(e){return!(!(0,a.HD)(e)||!(0,a._Q)(e,"CPU iPhone OS 12")&&!(0,a._Q)(e,"iPad; CPU OS 12")&&!((0,a._Q)(e,"Macintosh; Intel Mac OS X 10_14")&&(0,a._Q)(e,"Version/")&&(0,a._Q)(e,"Safari"))&&(!(0,a._Q)(e,"Macintosh; Intel Mac OS X 10_14")||!(0,a.Id)(e,"AppleWebKit/605.1.15 (KHTML, like Gecko)"))&&!(0,a._Q)(e,"Chrome/5")&&!(0,a._Q)(e,"Chrome/6")&&(!(0,a._Q)(e,"UnrealEngine")||(0,a._Q)(e,"Chrome"))&&!(0,a._Q)(e,"UCBrowser/12")&&!(0,a._Q)(e,"UCBrowser/11"))}},821:(e,t,n)=>{"use strict";n.d(t,{DO:()=>v,GW:()=>f,Jj:()=>g,Px:()=>m,Tr:()=>y,d8:()=>T,ej:()=>k,kT:()=>S,oF:()=>E,pP:()=>_,vn:()=>w,zB:()=>b});var r,o=n(2589),i=n(8785),a=n(6474),s=n(8589),c=n(1167),u=n(1318),l=n(3161),p=n(9556),d=n(395),h=null,m=o.jA;function f(){var e=v();return e[a.zc](0,8)+"-"+e[a.zc](8,12)+"-"+e[a.zc](12,16)+"-"+e[a.zc](16,20)+"-"+e[a.zc](20)}function g(){var e=(0,c.r)();return e&&e.now?e.now():(0,l.m6)()}function v(){for(var e,t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"],n=p.qS,r=0;r<4;r++)n+=t[15&(e=(0,d._l)())]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];var o=t[8+(3&(0,d._l)())|0];return n[a.Jn](0,8)+n[a.Jn](9,4)+"4"+n[a.Jn](13,3)+o+n[a.Jn](16,3)+n[a.Jn](19,12)}var y={_canUseCookies:void 0,isTypeof:l.Ym,isUndefined:l.o8,isNullOrUndefined:l.le,hasOwnProperty:l.nr,isFunction:l.mf,isObject:l.Kn,isDate:l.J_,isArray:l.kJ,isError:l.VZ,isString:l.HD,isNumber:l.hj,isBoolean:l.jn,toISOString:l.Y6,arrForEach:l.tO,arrIndexOf:l.UA,arrMap:l.Mr,arrReduce:l.Xz,strTrim:l.nd,objCreate:i.pu,objKeys:l.FY,objDefineAccessors:l.l_,addEventHandler:u.Ib,dateNow:l.m6,isIE:c.w1,disableCookies:E,newGuid:f,perfNow:g,newId:d.pZ,randomValue:d.az,random32:d._l,mwcRandomSeed:d.CN,mwcRandom32:d.F6,generateW3CId:v},b={Attach:u.pZ,AttachEvent:u.pZ,Detach:u.pD,DetachEvent:u.pD};function _(e,t){var n=(0,s.kj)(e,t),o=y._canUseCookies;return null===h&&(h=[],r=o,(0,l.l_)(y,"_canUseCookies",(function(){return r}),(function(e){r=e,(0,l.tO)(h,(function(t){t[a.$h](e)}))}))),-1===(0,l.UA)(h,n)&&h[a.MW](n),(0,l.jn)(o)&&n[a.$h](o),(0,l.jn)(r)&&n[a.$h](r),n}function E(){_()[a.$h](!1)}function w(e){return _(null,e).isEnabled()}function k(e,t){return _(null,e).get(t)}function T(e,t,n,r){_(null,e).set(t,n,null,r)}function S(e,t){return _(null,e).del(t)}},8530:(e,t,n)=>{"use strict";n.d(t,{J:()=>h,K:()=>m});var r=n(2589),o=n(6474),i=n(3161),a=n(9556),s=n(395),c=r.RJ,u="2.8.15",l="."+(0,s.pZ)(6),p=0;function d(e){return 1===e[o.xv]||9===e[o.xv]||!+e[o.xv]}function h(e,t){return void 0===t&&(t=!1),(0,i.Gf)(e+p+++(t?"."+u:a.qS)+l)}function m(e){var t={id:h("_aiData-"+(e||a.qS)+"."+u),accept:function(e){return d(e)},get:function(e,n,r,o){var a=e[t.id];return a?a[(0,i.Gf)(n)]:(o&&((a=function(e,t){var n=t[e.id];if(!n){n={};try{d(t)&&(function(e,t,n){if(c)try{return c(e,t,{value:n,enumerable:!1,configurable:!0}),!0}catch(e){}return!1}(t,e.id,n)||(t[e.id]=n))}catch(e){}}return n}(t,e))[(0,i.Gf)(n)]=r),r)},kill:function(e,t){if(e&&e[t])try{delete e[t]}catch(e){}}};return t}},7485:(e,t,n)=>{"use strict";n.d(t,{j:()=>u,p:()=>l});var r,o=n(6474),i=n(1167),a=["eventsSent","eventsDiscarded","eventsSendRequest","perfEvent"],s=null;function c(e,t){return function(){var n=arguments,r=u(t);if(r){var i=r.listener;i&&i[e]&&i[e][o.ZV](i,n)}}}function u(e){var t,n=s;return n||!0===e.disableDbgExt||(n=s||((t=(0,i.a8)("Microsoft"))&&(s=t.ApplicationInsights),s)),n?n.ChromeDbgExt:null}function l(e){if(!r){r={};for(var t=0;t<a[o.R5];t++)r[a[t]]=c(a[t],e)}return r}},4300:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>h,L4:()=>v,jV:()=>g,kP:()=>f,lQ:()=>p,vH:()=>d});var r=n(9798),o=n(6474),i=n(7485),a=n(1167),s=n(3161),c=n(9556);function u(e){return e?'"'+e[o.i7](/\"/g,c.qS)+'"':c.qS}function l(e,t){var n=(0,a.dr)();if(n){var r="log";n[e]&&(r=e),(0,s.mf)(n[r])&&n[r](t)}}var p=function(){function e(e,t,n,r){void 0===n&&(n=!1);var i=this;i[o.Gc]=e,i[o.gU]=(n?"AI: ":"AI (Internal): ")+e;var s=c.qS;(0,a.nS)()&&(s=(0,a.xA)().stringify(r));var l=(t?" message:"+u(t):c.qS)+(r?" props:"+u(s):c.qS);i[o.gU]+=l}return e.dataType="MessageData",e}();function d(e,t){return(e||{})[o.eZ]||new h(t)}var h=function(){function e(t){this.identifier="DiagnosticLogger",this.queue=[];var n,u,d,h,m=0,f={};(0,r.Z)(e,this,(function(e){function r(t,n){if(!(m>=d)){var r=!0,i="AITR_"+n[o.Gc];if(f[i]?r=!1:f[i]=!0,r&&(t<=u&&(e.queue[o.MW](n),m++,g(1===t?"error":"warn",n)),m===d)){var a="Internal events throttle limit per PageView reached for this app.",s=new p(23,a,!1);e.queue[o.MW](s),1===t?e[c.ys](a):e[c.cL](a)}}}function g(e,n){var r=(0,i.j)(t||{});r&&r[o.mc]&&r[o.mc](e,n)}!function(e){n=(0,s.v4)(e.loggingLevelConsole,0),u=(0,s.v4)(e.loggingLevelTelemetry,1),d=(0,s.v4)(e.maxMessageLimit,25),h=(0,s.v4)(e.enableDebug,(0,s.v4)(e[o.Fr],!1))}(t||{}),e.consoleLoggingLevel=function(){return n},e.telemetryLoggingLevel=function(){return u},e.maxInternalMessageLimit=function(){return d},e[o.Fr]=function(){return h},e.throwInternal=function(t,i,u,l,d){void 0===d&&(d=!1);var m=new p(i,u,d,l);if(h)throw(0,a.eU)(m);var v=1===t?c.ys:c.cL;if((0,s.o8)(m[o.gU]))g("throw"+(1===t?"Critical":"Warning"),m);else{if(d){var y=+m[o.Gc];!f[y]&&n>=t&&(e[v](m[o.gU]),f[y]=!0)}else n>=t&&e[v](m[o.gU]);r(t,m)}},e[c.cL]=function(e){l("warn",e),g("warning",e)},e[c.ys]=function(e){l("error",e),g("error",e)},e.resetInternalMessageCount=function(){m=0,f={}},e[o.jk]=r}))}return e.__ieDyn=1,e}();function m(e){return e||new h}function f(e,t,n,r,o,i){void 0===i&&(i=!1),m(e).throwInternal(t,n,r,o,i)}function g(e,t){m(e)[c.cL](t)}function v(e,t,n){m(e)[o.jk](t,n)}},1167:(e,t,n)=>{"use strict";n.d(t,{G6:()=>Y,JO:()=>J,Jj:()=>O,Kf:()=>ae,MF:()=>X,MX:()=>V,Me:()=>N,Nd:()=>ie,Nu:()=>oe,Nv:()=>j,Ym:()=>P,Z3:()=>ee,a8:()=>R,b$:()=>$,cp:()=>Z,d6:()=>D,dI:()=>I,dr:()=>U,eU:()=>Q,ed:()=>ne,fE:()=>L,gz:()=>G,jW:()=>M,k$:()=>F,nS:()=>B,pI:()=>re,r:()=>q,s1:()=>z,sA:()=>W,w1:()=>K,xA:()=>H});var r=n(2589),o=n(8785),i=n(6474),a=n(3161),s=n(9556),c="window",u="document",l="documentMode",p="navigator",d="history",h="location",m="console",f="performance",g="JSON",v="crypto",y="msCrypto",b="ReactNative",_="msie",E="trident/",w="XMLHttpRequest",k=null,T=null,S=!1,x=null,C=null;function A(e,t){var n=!1;if(e){try{if(!(n=t in e)){var o=e[r.hB];o&&(n=t in o)}}catch(e){}if(!n)try{var i=new e;n=!(0,a.o8)(i[t])}catch(e){}}return n}function I(e){S=e}function R(e){var t=(0,o.Rd)();return t&&t[e]?t[e]:e===c&&P()?window:null}function P(){return Boolean(typeof window===r.fK&&window)}function O(){return P()?window:R(c)}function j(){return Boolean(typeof document===r.fK&&document)}function N(){return j()?document:R(u)}function D(){return Boolean(typeof navigator===r.fK&&navigator)}function M(){return D()?navigator:R(p)}function L(){return Boolean(typeof history===r.fK&&history)}function z(){return L()?history:R(d)}function F(e){if(e&&S){var t=R("__mockLocation");if(t)return t}return typeof location===r.fK&&location?location:R(h)}function U(){return typeof console!==r.jA?console:R(m)}function q(){return R(f)}function B(){return Boolean(typeof JSON===r.fK&&JSON||null!==R(g))}function H(){return B()?JSON||R(g):null}function V(){return R(v)}function G(){return R(y)}function $(){var e=M();return!(!e||!e.product)&&e.product===b}function K(){var e=M();if(e&&(e[i.qV]!==T||null===k)){var t=((T=e[i.qV])||s.qS)[i.T1]();k=(0,a._Q)(t,_)||(0,a._Q)(t,E)}return k}function W(e){if(void 0===e&&(e=null),!e){var t=M()||{};e=t?(t[i.qV]||s.qS)[i.T1]():s.qS}var n=(e||s.qS)[i.T1]();if((0,a._Q)(n,_)){var r=N()||{};return Math.max(parseInt(n[i.w6](_)[1]),r[l]||0)}if((0,a._Q)(n,E)){var o=parseInt(n[i.w6](E)[1]);if(o)return o+4}return null}function Q(e){var t=Object[r.hB].toString[i._S](e),n=s.qS;return"[object Error]"===t?n="{ stack: '"+e.stack+"', message: '"+e.message+"', name: '"+e[i.I]+"'":B()&&(n=H().stringify(e)),t+n}function Y(e){if(!e||!(0,a.HD)(e)){var t=M()||{};e=t?(t[i.qV]||s.qS)[i.T1]():s.qS}return(e||s.qS)[i.T1]()[i.ou]("safari")>=0}function X(){return null===C&&(C=D()&&Boolean(M().sendBeacon)),C}function J(e){var t=!1;try{t=!!R("fetch");var n=R("Request");t&&e&&n&&(t=A(n,"keepalive"))}catch(e){}return t}function Z(){return null===x&&(x=typeof XDomainRequest!==r.jA)&&ee()&&(x=x&&!A(R(w),"withCredentials")),x}function ee(){var e=!1;try{e=!!R(w)}catch(e){}return e}function te(e,t){if(e)for(var n=0;n<e[i.R5];n++){var r=e[n];if(r[i.I]&&r[i.I]===t)return r}return{}}function ne(e){var t=N();return t&&e?te(t.querySelectorAll("meta"),e).content:null}function re(e){var t,n=q();if(n){var r=n.getEntriesByType("navigation")||[];t=te((r[i.R5]>0?r[0]:{}).serverTiming,e).description}return t}function oe(e,t){return!!(e&&e.dispatchEvent&&t)&&(e.dispatchEvent(t),!0)}function ie(e,t){var n=null,r={detail:t||null};if((0,a.mf)(CustomEvent))n=new CustomEvent(e,r);else{var o=N();o&&o.createEvent&&(n=o.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,r)}return n}function ae(e,t,n){var r=(0,o.Rd)();if(r&&r.CustomEvent)try{return oe(r,ie(e,{cfg:t||null,customDetails:n||null}))}catch(e){}return!1}},1318:(e,t,n)=>{"use strict";n.d(t,{C1:()=>z,C9:()=>G,Ib:()=>L,JA:()=>H,QY:()=>N,TJ:()=>V,XO:()=>j,Yl:()=>K,c9:()=>B,jU:()=>O,nD:()=>$,nJ:()=>q,pD:()=>M,pZ:()=>D,um:()=>A,yw:()=>U});var r=n(6474),o=n(8530),i=n(1167),a=n(3161),s=n(9556),c="on",u="attachEvent",l="addEventListener",p="detachEvent",d="removeEventListener",h="events",m="visibilitychange",f="pagehide",g="pageshow",v="unload",y="beforeunload",b=(0,o.J)("aiEvtPageHide"),_=(0,o.J)("aiEvtPageShow"),E=/\.[\.]+/g,w=/[\.]+$/,k=1,T=(0,o.K)("events"),S=/^([^.]*)(?:\.(.+)|)/;function x(e){return e&&e[r.i7]?e[r.i7](/^[\s\.]+|(?=[\s\.])[\.\s]+$/g,s.qS):e}function C(e,t){var n;if(t){var o=s.qS;(0,a.kJ)(t)?(o=s.qS,(0,a.tO)(t,(function(e){(e=x(e))&&("."!==e[0]&&(e="."+e),o+=e)}))):o=x(t),o&&("."!==o[0]&&(o="."+o),e=(e||s.qS)+o)}var i=S.exec(e||s.qS)||[];return(n={})[r.P6]=i[1],n.ns=(i[2]||s.qS).replace(E,".").replace(w,s.qS)[r.w6](".").sort().join("."),n}function A(e,t,n){var o=[],i=T.get(e,h,{},!1),c=C(t,n);return(0,a.rW)(i,(function(e,t){(0,a.tO)(t,(function(e){var t;c[r.P6]&&c[r.P6]!==e.evtName[r.P6]||c.ns&&c.ns!=c.ns||o[r.MW](((t={})[r.I]=e.evtName[r.P6]+(e.evtName.ns?"."+e.evtName.ns:s.qS),t.handler=e[r.Kn],t))}))})),o}function I(e,t,n){void 0===n&&(n=!0);var r=T.get(e,h,{},n),o=r[t];return o||(o=r[t]=[]),o}function R(e,t,n,o){e&&t&&t[r.P6]&&(e[d]?e[d](t[r.P6],n,o):e[p]&&e[p](c+t[r.P6],n))}function P(e,t,n,o){for(var i=t[r.R5];i--;){var a=t[i];a&&(n.ns&&n.ns!==a.evtName.ns||o&&!o(a)||(R(e,a.evtName,a[r.Kn],a.capture),t[r.cb](i,1)))}}function O(e,t){return t?C("xx",(0,a.kJ)(t)?[e].concat(t):[e,t]).ns[r.w6]("."):e}function j(e,t,n,o,i){var a;void 0===i&&(i=!1);var s=!1;if(e)try{var p=C(t,o);if(s=function(e,t,n,o){var i=!1;return e&&t&&t[r.P6]&&n&&(e[l]?(e[l](t[r.P6],n,o),i=!0):e[u]&&(e[u](c+t[r.P6],n),i=!0)),i}(e,p,n,i),s&&T.accept(e)){var d=((a={guid:k++,evtName:p})[r.Kn]=n,a.capture=i,a);I(e,p.type)[r.MW](d)}}catch(e){}return s}function N(e,t,n,o,i){if(void 0===i&&(i=!1),e)try{var s=C(t,o),c=!1;!function(e,t,n){if(t[r.P6])P(e,I(e,t[r.P6]),t,n);else{var o=T.get(e,h,{});(0,a.rW)(o,(function(r,o){P(e,o,t,n)})),0===(0,a.FY)(o)[r.R5]&&T.kill(e,h)}}(e,s,(function(e){return!((!s.ns||n)&&e[r.Kn]!==n||(c=!0,0))})),c||R(e,s,n,i)}catch(e){}}function D(e,t,n,r){return void 0===r&&(r=!1),j(e,t,n,null,r)}function M(e,t,n,r){void 0===r&&(r=!1),N(e,t,n,null,r)}function L(e,t,n){var r=!1,o=(0,i.Jj)();o&&(r=j(o,e,t,n),r=j(o.body,e,t,n)||r);var a=(0,i.Me)();return a&&(r=j(a,e,t,n)||r),r}function z(e,t,n){var r=(0,i.Jj)();r&&(N(r,e,t,n),N(r.body,e,t,n));var o=(0,i.Me)();o&&N(o,e,t,n)}function F(e,t,n,o){var i=!1;return t&&e&&e[r.R5]>0&&(0,a.tO)(e,(function(e){e&&(n&&-1!==(0,a.UA)(n,e)||(i=L(e,t,o)||i))})),i}function U(e,t,n,o){var i=!1;return t&&e&&(0,a.kJ)(e)&&!(i=F(e,t,n,o))&&n&&n[r.R5]>0&&(i=F(e,t,null,o)),i}function q(e,t,n){e&&(0,a.kJ)(e)&&(0,a.tO)(e,(function(e){e&&z(e,t,n)}))}function B(e,t,n){return U([y,v,f],e,t,n)}function H(e,t){q([y,v,f],e,t)}function V(e,t,n){var r=O(b,n),o=F([f],e,t,r);return t&&-1!==(0,a.UA)(t,m)||(o=F([m],(function(t){var n=(0,i.Me)();e&&n&&"hidden"===n.visibilityState&&e(t)}),t,r)||o),!o&&t&&(o=V(e,null,n)),o}function G(e,t){var n=O(b,t);q([f],e,n),q([m],null,n)}function $(e,t,n){var r=O(_,n),o=F([g],e,t,r);return!(o=F([m],(function(t){var n=(0,i.Me)();e&&n&&"visible"===n.visibilityState&&e(t)}),t,r)||o)&&t&&(o=$(e,null,n)),o}function K(e,t){var n=O(_,t);q([g],e,n),q([m],null,n)}},3161:(e,t,n)=>{"use strict";n.d(t,{Ax:()=>Re,BX:()=>U,F:()=>we,FL:()=>fe,FY:()=>pe,Gf:()=>V,HD:()=>J,Hb:()=>N,Id:()=>$,J_:()=>Q,Kn:()=>B,Mr:()=>ae,Mu:()=>D,Oi:()=>Ce,PO:()=>ne,UA:()=>ie,VZ:()=>X,Vb:()=>Ae,Xi:()=>ge,Xz:()=>se,Y6:()=>re,Ym:()=>M,_A:()=>me,_Q:()=>W,_y:()=>Te,cf:()=>xe,fQ:()=>ke,hj:()=>Z,hl:()=>Ie,jj:()=>ye,jn:()=>ee,kJ:()=>Y,l_:()=>de,le:()=>F,m6:()=>ve,mf:()=>H,mm:()=>Pe,nd:()=>ce,nr:()=>q,o8:()=>L,pT:()=>z,qK:()=>_e,rW:()=>G,sO:()=>be,tO:()=>oe,v4:()=>Ee,xe:()=>K,yk:()=>te});var r=n(2589),o=n(8785),i=n(6474),a=n(9556),s="toISOString",c="endsWith",u="startsWith",l="indexOf",p="map",d="reduce",h="trim",m="toString",f="__proto__",g="constructor",v=r.RJ,y=r.Pw.freeze,b=r.Pw.seal,_=r.Pw.keys,E=String[r.hB],w=E[h],k=E[c],T=E[u],S=Date[r.hB][s],x=Array.isArray,C=r.V4[m],A=r.CY[m],I=A[i._S](r.Pw),R=/-([a-z])/g,P=/([^\w\d_$])/g,O=/^(\d+[\w\d_$])/,j=Object.getPrototypeOf;function N(e){if(e){if(j)return j(e);var t=e[f]||e[r.hB]||e[g];if(t)return t}return null}function D(e){return C[i._S](e)}function M(e,t){return typeof e===t}function L(e){return void 0===e||typeof e===r.jA}function z(e){return!L(e)}function F(e){return null===e||L(e)}function U(e){return!F(e)}function q(e,t){return!(!e||!r.CY[i._S](e,t))}function B(e){return!(!e||typeof e!==r.fK)}function H(e){return!(!e||typeof e!==r.cb)}function V(e){var t=e;return t&&J(t)&&(t=(t=(t=t[i.i7](R,(function(e,t){return t.toUpperCase()})))[i.i7](P,"_"))[i.i7](O,(function(e,t){return"_"+t}))),t}function G(e,t){if(e)for(var n in e)r.CY[i._S](e,n)&&t[i._S](e,n,e[n])}function $(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=k?e[c](t):function(e,t){var n=!1,r=t?t[i.R5]:0,o=e?e[i.R5]:0;if(r&&o&&o>=r&&!(n=e===t)){for(var a=o-1,s=r-1;s>=0;s--){if(e[a]!=t[s])return!1;a--}n=!0}return n}(e,t)),n}function K(e,t){var n=!1;return e&&t&&!(n=e===t)&&(n=T?e[u](t):function(e,t){var n=!1,r=t?t[i.R5]:0;if(e&&r&&e[i.R5]>=r&&!(n=e===t)){for(var o=0;o<r;o++)if(e[o]!==t[o])return!1;n=!0}return n}(e,t)),n}function W(e,t){return!(!e||!t)&&-1!==e[i.ou](t)}function Q(e){return!(!e||"[object Date]"!==C[i._S](e))}var Y=x||function(e){return!(!e||"[object Array]"!==C[i._S](e))};function X(e){return!(!e||"[object Error]"!==C[i._S](e))}function J(e){return"string"==typeof e}function Z(e){return"number"==typeof e}function ee(e){return"boolean"==typeof e}function te(e){return"symbol"==typeof e}function ne(e){var t=!1;if(e&&"object"==typeof e){var n=j?j(e):N(e);n?(n[g]&&r.CY[i._S](n,g)&&(n=n[g]),t=typeof n===r.cb&&A[i._S](n)===I):t=!0}return t}function re(e){if(e)return S?e[s]():function(e){if(e&&e.getUTCFullYear){var t=function(e){var t=String(e);return 1===t[i.R5]&&(t="0"+t),t};return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+String((e.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}(e)}function oe(e,t,n){var r=e[i.R5];try{for(var o=0;o<r&&(!(o in e)||-1!==t[i._S](n||e,e[o],o,e));o++);}catch(e){}}function ie(e,t,n){if(e){if(e[l])return e[l](t,n);var r=e[i.R5],o=n||0;try{for(var a=Math.max(o>=0?o:r-Math.abs(o),0);a<r;a++)if(a in e&&e[a]===t)return a}catch(e){}}return-1}function ae(e,t,n){var r;if(e){if(e[p])return e[p](t,n);var o=e[i.R5],a=n||e;r=new Array(o);try{for(var s=0;s<o;s++)s in e&&(r[s]=t[i._S](a,e[s],e))}catch(e){}}return r}function se(e,t,n){var r;if(e){if(e[d])return e[d](t,n);var o=e[i.R5],a=0;if(arguments[i.R5]>=3)r=arguments[2];else{for(;a<o&&!(a in e);)a++;r=e[a++]}for(;a<o;)a in e&&(r=t(r,e[a],a,e)),a++}return r}function ce(e){return e&&(e=w&&e[h]?e[h]():e[i.i7]?e[i.i7](/^\s+|(?=\s)\s+$/g,a.qS):e),e}var ue=!{toString:null}.propertyIsEnumerable("toString"),le=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"];function pe(e){var t=typeof e;if(t===r.cb||t===r.fK&&null!==e||(0,o.ZU)("objKeys called on non-object"),!ue&&_)return _(e);var n=[];for(var a in e)e&&r.CY[i._S](e,a)&&n[i.MW](a);if(ue)for(var s=le[i.R5],c=0;c<s;c++)e&&r.CY[i._S](e,le[c])&&n[i.MW](le[c]);return n}function de(e,t,n,r){if(v)try{var o={enumerable:!0,configurable:!0};return n&&(o.get=n),r&&(o.set=r),v(e,t,o),!0}catch(e){}return!1}function he(e){return e}function me(e){return y&&G(e,(function(e,t){(Y(t)||B(t))&&y(t)})),fe(e)}var fe=y||he,ge=b||he;function ve(){var e=Date;return e.now?e.now():(new e).getTime()}function ye(e){return X(e)?e[i.I]:a.qS}function be(e,t,n,r,o){var i=n;return e&&((i=e[t])===n||o&&!o(i)||r&&!r(n)||(i=n,e[t]=i)),i}function _e(e,t,n){var r;return e?!(r=e[t])&&F(r)&&(r=L(n)?{}:n,e[t]=r):r=L(n)?{}:n,r}function Ee(e,t){return F(e)?t:e}function we(e){return!e}function ke(e){return!!e}function Te(e){throw new Error(e)}function Se(e,t){var n=null,r=null;return H(e)?n=e:r=e,function(){var e=arguments;if(n&&(r=n()),r)return r[t][i.ZV](r,e)}}function xe(e,t,n){if(e&&t&&B(e)&&B(t)){var r=function(r){if(J(r)){var o=t[r];H(o)?n&&!n(r,!0,t,e)||(e[r]=Se(t,r)):n&&!n(r,!1,t,e)||(q(e,r)&&delete e[r],de(e,r,(function(){return t[r]}),(function(e){t[r]=e}))||(e[r]=o))}};for(var o in t)r(o)}return e}function Ce(e,t,n,r,o){e&&t&&n&&(!1!==o||L(e[t]))&&(e[t]=Se(n,r))}function Ae(e,t,n,r){return e&&t&&B(e)&&Y(n)&&oe(n,(function(n){J(n)&&Ce(e,n,t,n,r)})),e}function Ie(e){return function(){var t=this;e&&G(e,(function(e,n){t[e]=n}))}}function Re(e){return e&&r.rl&&(e=(0,r.Pw)((0,r.rl)({},e))),e}function Pe(e,t,n,o,a,s){var c=arguments,u=c[0]||{},l=c[i.R5],p=!1,d=1;for(l>0&&ee(u)&&(p=u,u=c[d]||{},d++),B(u)||(u={});d<l;d++){var h=c[d],m=Y(h),f=B(h);for(var g in h)if(m&&g in h||f&&r.CY[i._S](h,g)){var v=h[g],y=void 0;if(p&&v&&((y=Y(v))||ne(v))){var b=u[g];y?Y(b)||(b=[]):ne(b)||(b={}),v=Pe(p,b,v)}void 0!==v&&(u[g]=v)}}return u}},9556:(e,t,n)=>{"use strict";n.d(t,{$F:()=>h,C$:()=>f,DN:()=>a,Z:()=>o,Zh:()=>c,cL:()=>v,f_:()=>m,hL:()=>l,js:()=>u,kl:()=>y,mE:()=>s,oV:()=>i,qS:()=>r,uC:()=>d,yi:()=>p,ys:()=>g});var r="",o="channels",i="core",a="createPerfMgr",s="disabled",c="extensionConfig",u="extensions",l="processTelemetry",p="priority",d="eventsSent",h="eventsDiscarded",m="eventsSendRequest",f="perfEvent",g="errorToConsole",v="warnToConsole",y="getPerfMgr"},6329:(e,t,n)=>{"use strict";n.d(t,{f:()=>c});var r=n(9798),o=n(6474),i=n(3161),a=n(9556);function s(e,t,n,r){(0,i.tO)(e,(function(e){if(e&&e[t])if(n)setTimeout((function(){return r(e)}),0);else try{r(e)}catch(e){}}))}var c=function(){function e(t){this.listeners=[];var n=!!(t||{}).perfEvtsSendAll;(0,r.Z)(e,this,(function(e){e[o.g]=function(t){e.listeners[o.MW](t)},e[o.n7]=function(t){for(var n=(0,i.UA)(e[o.dE],t);n>-1;)e.listeners[o.cb](n,1),n=(0,i.UA)(e[o.dE],t)},e[a.uC]=function(t){s(e[o.dE],a.uC,!0,(function(e){e[a.uC](t)}))},e[a.$F]=function(t,n){s(e[o.dE],a.$F,!0,(function(e){e[a.$F](t,n)}))},e[a.f_]=function(t,n){s(e[o.dE],a.f_,n,(function(e){e[a.f_](t,n)}))},e[a.C$]=function(t){t&&(!n&&t[o.PL]()||s(e[o.dE],a.C$,!1,(function(e){t[o.d]?setTimeout((function(){return e[a.C$](t)}),0):e[a.C$](t)})))}}))}return e.__ieDyn=1,e}()},2753:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>d,Lm:()=>m,j5:()=>g,tQ:()=>f,zn:()=>p});var r=n(9798),o=n(6474),i=n(3161),a=n(9556),s="ctx",c="ParentContextKey",u="ChildrenContextKey",l=null,p=function(){function e(t,n,r){var a,l=this,p=!1;l.start=(0,i.m6)(),l[o.I]=t,l[o.d]=r,l[o.PL]=function(){return!1},(0,i.mf)(n)&&(p=(0,i.l_)(l,"payload",(function(){return!a&&(0,i.mf)(n)&&(a=n(),n=null),a}))),l[o.T]=function(t){return t?t===e[c]||t===e[u]?l[t]:(l[s]||{})[t]:null},l[o.wu]=function(t,n){t&&(t===e[c]?(l[t]||(l[o.PL]=function(){return!0}),l[t]=n):t===e[u]?l[t]=n:(l[s]=l[s]||{})[t]=n)},l[o.Km]=function(){var t=0,r=l[o.T](e[u]);if((0,i.kJ)(r))for(var a=0;a<r[o.R5];a++){var s=r[a];s&&(t+=s[o.Z_])}l[o.Z_]=(0,i.m6)()-l.start,l.exTime=l[o.Z_]-t,l[o.Km]=function(){},!p&&(0,i.mf)(n)&&(l.payload=n())}}return e.ParentContextKey="parent",e.ChildrenContextKey="childEvts",e}(),d=function(){function e(t){this.ctx={},(0,r.Z)(e,this,(function(e){e.create=function(e,t,n){return new p(e,t,n)},e.fire=function(e){e&&(e[o.Km](),t&&(0,i.mf)(t[a.C$])&&t[a.C$](e))},e[o.wu]=function(t,n){t&&((e[s]=e[s]||{})[t]=n)},e[o.T]=function(t){return(e[s]||{})[t]}}))}return e.__ieDyn=1,e}(),h="CoreUtils.doPerf";function m(e,t,n,r,i){if(e){var s=e;if(s[a.kl]&&(s=s[a.kl]()),s){var l=void 0,d=s[o.T](h);try{if(l=s.create(t(),r,i)){if(d&&l[o.wu]&&(l[o.wu](p[c],d),d[o.T]&&d[o.wu])){var m=d[o.T](p[u]);m||(m=[],d[o.wu](p[u],m)),m[o.MW](l)}return s[o.wu](h,l),n(l)}}catch(e){l&&l[o.wu]&&l[o.wu]("exception",e)}finally{l&&s.fire(l),s[o.wu](h,d)}}}return n()}function f(e){l=e}function g(){return l}},877:(e,t,n)=>{"use strict";n.d(t,{Bt:()=>g,CD:()=>f,Vi:()=>b,jV:()=>y,xy:()=>v});var r=n(6474),o=n(4300),i=n(1167),a=n(3161),s=n(9556),c=n(2753),u=n(3656),l="TelemetryPluginChain",p="_hasRun",d="_getTelCtx",h=0;function m(e,t,n,c){var u=null,l=[];null!==c&&(u=c?function(e,t,n){for(;e;){if(e[r.TO]()===n)return e;e=e[r.W2]()}return y([n],t[r.TC]||{},t)}(e,n,c):e);var p={_next:function(){var e=u;if(u=e?e[r.W2]():null,!e){var t=l;t&&t[r.R5]>0&&((0,a.tO)(t,(function(e){try{e.func[r._S](e.self,e.args)}catch(e){(0,o.kP)(n[r.eZ],2,73,"Unexpected Exception during onComplete - "+(0,i.eU)(e))}})),l=[])}return e},ctx:{core:function(){return n},diagLog:function(){return(0,o.vH)(n,t)},getCfg:function(){return t},getExtCfg:d,getConfig:function(e,n,r){void 0===r&&(r=!1);var o,i=d(e,null);return i&&!(0,a.le)(i[n])?o=i[n]:t&&!(0,a.le)(t[n])&&(o=t[n]),(0,a.le)(o)?r:o},hasNext:function(){return!!u},getNext:function(){return u},setNext:function(e){u=e},iterate:function(e){for(var t;t=p._next();){var n=t[r.TO]();n&&e(n)}},onComplete:function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];e&&l[r.MW]({func:e,self:(0,a.o8)(t)?p.ctx:t,args:n})}}};function d(e,n,r){var o;if(void 0===n&&(n={}),void 0===r&&(r=0),t){var i=t[s.Zh];i&&e&&(o=i[e])}if(o){if((0,a.Kn)(n)&&0!==r){var c=(0,a.mm)(!0,n,o);t&&2===r&&(0,a.rW)(n,(function(e){if((0,a.le)(c[e])){var n=t[e];(0,a.le)(n)||(c[e]=n)}})),o=c}}else o=n;return o}return p}function f(e,t,n,o){var i=m(e,t,n,o),c=i.ctx;return c[r.uL]=function(e){var t=i._next();return t&&t[s.hL](e,c),!t},c[r.zV]=function(e,o){return void 0===e&&(e=null),(0,a.kJ)(e)&&(e=y(e,t,n,o)),f(e||c[r.W2](),t,n,o)},c}function g(e,t,n){var o=t[r.TC]||{},i=m(e,o,t,n),s=i.ctx;return s[r.uL]=function(e){var t=i._next();return t&&t.unload(s,e),!t},s[r.zV]=function(e,n){return void 0===e&&(e=null),(0,a.kJ)(e)&&(e=y(e,o,t,n)),g(e||s[r.W2](),t,n)},s}function v(e,t,n){var o=t[r.TC]||{},i=m(e,o,t,n).ctx;return i[r.uL]=function(e){return i.iterate((function(t){(0,a.mf)(t[r.Tu])&&t[r.Tu](i,e)}))},i[r.zV]=function(e,n){return void 0===e&&(e=null),(0,a.kJ)(e)&&(e=y(e,o,t,n)),v(e||i[r.W2](),t,n)},i}function y(e,t,n,m){var g=null,v=!m;if((0,a.kJ)(e)&&e[r.R5]>0){var b=null;(0,a.tO)(e,(function(e){if(v||m!==e||(v=!0),v&&e&&(0,a.mf)(e[s.hL])){var y=function(e,t,n){var m,g=null,v=(0,a.mf)(e[s.hL]),y=(0,a.mf)(e[r.Jd]),b={getPlugin:function(){return e},getNext:function(){return g},processTelemetry:function(o,i){_(i=i||function(){var r;return e&&(0,a.mf)(e[d])&&(r=e[d]()),r||(r=f(b,t,n)),r}(),(function(t){if(!e||!v)return!1;var n=(0,u.OY)(e);return!n[r.fi]&&!n[s.mE]&&(y&&e[r.Jd](g),e[s.hL](o,t),!0)}),"processTelemetry",(function(){return{item:o}}),!o.sync)||i[r.uL](o)},unload:function(t,n){_(t,(function(){var o=!1;if(e){var i=(0,u.OY)(e),a=e[s.oV]||i[s.oV];!e||a&&a!==t.core()||i[r.fi]||(i[s.oV]=null,i[r.fi]=!0,i[r.yl]=!1,e[r.fi]&&!0===e[r.fi](t,n)&&(o=!0))}return o}),"unload",(function(){}),n[r.d])||t[r.uL](n)},update:function(t,n){_(t,(function(){var o=!1;if(e){var i=(0,u.OY)(e),a=e[s.oV]||i[s.oV];!e||a&&a!==t.core()||i[r.fi]||e[r.Tu]&&!0===e[r.Tu](t,n)&&(o=!0)}return o}),"update",(function(){}),!1)||t[r.uL](n)},_id:m=e?e[r.pZ]+"-"+e[s.yi]+"-"+h++:"Unknown-0-"+h++,_setNext:function(e){g=e}};function _(t,n,a,u,d){var h=!1,f=e?e[r.pZ]:l,v=t[p];return v||(v=t[p]={}),t.setNext(g),e&&(0,c.Lm)(t[s.oV](),(function(){return f+":"+a}),(function(){v[m]=!0;try{var e=g?g._id:s.qS;e&&(v[e]=!1),h=n(t)}catch(e){var c=!g||v[g._id];c&&(h=!0),g&&c||(0,o.kP)(t[r.mc](),1,73,"Plugin ["+f+"] failed during "+a+" - "+(0,i.eU)(e)+", run flags: "+(0,i.eU)(v))}}),u,d),h}return(0,a.FL)(b)}(e,t,n);g||(g=y),b&&b._setNext(y),b=y}}))}return m&&!g?y([m],t,n):g}var b=function(e,t,n,r){var o=f(e,t,n,r);(0,a.Vb)(this,o,(0,a.FY)(o))}},395:(e,t,n)=>{"use strict";n.d(t,{CN:()=>g,F6:()=>v,_l:()=>f,az:()=>m,pZ:()=>y});var r=n(6474),o=n(1167),i=n(3161),a=n(9556),s=4294967296,c=4294967295,u=!1,l=123456789,p=987654321;function d(e){e<0&&(e>>>=0),l=123456789+e&c,p=987654321-e&c,u=!0}function h(){try{var e=2147483647&(0,i.m6)();d((Math.random()*s^e)+e)}catch(e){}}function m(e){return e>0?Math.floor(f()/c*(e+1))>>>0:0}function f(e){var t=0,n=(0,o.MX)()||(0,o.gz)();return n&&n.getRandomValues&&(t=n.getRandomValues(new Uint32Array(1))[0]&c),0===t&&(0,o.w1)()&&(u||h(),t=v()&c),0===t&&(t=Math.floor(s*Math.random()|0)),e||(t>>>=0),t}function g(e){e?d(e):h()}function v(e){var t=((p=36969*(65535&p)+(p>>16)&c)<<16)+(65535&(l=18e3*(65535&l)+(l>>16)&c))>>>0&c|0;return e||(t>>>=0),t}function y(e){void 0===e&&(e=22);for(var t=f()>>>0,n=0,o=a.qS;o[r.R5]<e;)n++,o+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(63&t),t>>>=6,5===n&&(t=(f()<<2&4294967295|3&t)>>>0,n=0);return o}},3656:(e,t,n)=>{"use strict";n.d(t,{AA:()=>p,HD:()=>d,OY:()=>u,Yn:()=>h,bP:()=>l});var r=n(6474),o=n(8530),i=n(3161),a=n(9556),s=n(1579),c=(0,o.K)("plugin");function u(e){return c.get(e,"state",{},!0)}function l(e,t){for(var n,o=[],s=null,c=e[r.W2]();c;){var l=c[r.TO]();l&&(s&&(0,i.mf)(s[r.Jd])&&(0,i.mf)(l[a.hL])&&s[r.Jd](l),((0,i.mf)(l[r.yl])?l[r.yl]():(n=u(l))[r.yl])||o[r.MW](l),s=l,c=c[r.W2]())}(0,i.tO)(o,(function(o){var i=e[a.oV]();o[r.VL](e.getCfg(),i,t,e[r.W2]()),n=u(o),o[a.oV]||n[a.oV]||(n[a.oV]=i),n[r.yl]=!0,delete n[r.fi]}))}function p(e){return e.sort((function(e,t){var n=0;if(t){var r=(0,i.mf)(t[a.hL]);(0,i.mf)(e[a.hL])?n=r?e[a.yi]-t[a.yi]:1:r&&(n=-1)}else n=e?1:-1;return n}))}function d(e,t,n,o){var a=0;return function o(){for(;a<e[r.R5];){var s=e[a++];if(s){var c=s._doUnload||s[r.F3];if((0,i.mf)(c)&&!0===c[r._S](s,t,n,o))return!0}}}()}function h(e){var t={};return{getName:function(){return t[r.I]},setName:function(n){e&&e.setName(n),t[r.I]=n},getTraceId:function(){return t[r.nY]},setTraceId:function(n){e&&e.setTraceId(n),(0,s.jN)(n)&&(t[r.nY]=n)},getSpanId:function(){return t[r._d]},setSpanId:function(n){e&&e.setSpanId(n),(0,s.Lc)(n)&&(t[r._d]=n)},getTraceFlags:function(){return t[r.T0]},setTraceFlags:function(n){e&&e.setTraceFlags(n),t[r.T0]=n}}}},6930:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var r=n(6474),o=n(4300),i=n(1167),a=n(3161);function s(){var e=[];return{add:function(t){t&&e[r.MW](t)},run:function(t,n){(0,a.tO)(e,(function(e){try{e(t,n)}catch(e){(0,o.kP)(t[r.mc](),2,73,"Unexpected error calling unload handler - "+(0,i.eU)(e))}})),e=[]}}}},1579:(e,t,n)=>{"use strict";n.d(t,{J6:()=>_,Lc:()=>b,Pn:()=>E,SU:()=>g,aR:()=>w,jN:()=>y,j_:()=>v,lq:()=>k});var r=n(6474),o=n(821),i=n(1167),a=n(3161),s=/^([\da-f]{2})-([\da-f]{32})-([\da-f]{16})-([\da-f]{2})(-[^\s]*)?$/,c="00",u="ff",l="00000000000000000000000000000000",p="0000000000000000",d=1;function h(e,t,n){return!(!e||e[r.R5]!==t||e===n||!e.match(/^[\da-f]*$/))}function m(e,t,n){return h(e,t)?e:n}function f(e){(isNaN(e)||e<0||e>255)&&(e=1);for(var t=e.toString(16);t[r.R5]<2;)t="0"+t;return t}function g(e,t,n,i){var a;return(a={})[r.PA]=h(i,2,u)?i:c,a[r.nY]=y(e)?e:(0,o.DO)(),a.spanId=b(t)?t:(0,o.DO)()[r.Jn](0,16),a.traceFlags=n>=0&&n<=255?n:1,a}function v(e){var t;if(!e)return null;if((0,a.kJ)(e)&&(e=e[0]||""),!e||!(0,a.HD)(e)||e[r.R5]>8192)return null;var n=s.exec((0,a.nd)(e));return n&&n[1]!==u&&n[2]!==l&&n[3]!==p?((t={})[r.PA]=n[1],t[r.nY]=n[2],t[r._d]=n[3],t[r.T0]=parseInt(n[4],16),t):null}function y(e){return h(e,32,l)}function b(e){return h(e,16,p)}function _(e){return!!(e&&h(e[r.PA],2,u)&&h(e[r.nY],32,l)&&h(e[r._d],16,p)&&h(f(e[r.T0]),2))}function E(e){return!!_(e)&&(e[r.T0]&d)===d}function w(e){if(e){var t=f(e[r.T0]);h(t,2)||(t="01");var n=e[r.PA]||c;return"00"!==n&&"ff"!==n&&(n=c),"".concat(n,"-").concat(m(e.traceId,32,l),"-").concat(m(e.spanId,16,p),"-").concat(t)}return""}function k(){var e="traceparent",t=v((0,i.ed)(e));return t||(t=v((0,i.pI)(e))),t}},6474:(e,t,n)=>{"use strict";n.d(t,{$h:()=>F,F3:()=>A,Fc:()=>b,Fr:()=>V,Gc:()=>S,I:()=>o,Jd:()=>O,Jn:()=>U,Km:()=>ee,Kn:()=>Q,LS:()=>y,Lk:()=>N,MW:()=>s,P6:()=>W,PA:()=>oe,PL:()=>X,R5:()=>d,SD:()=>f,T:()=>J,T0:()=>re,T1:()=>$,TC:()=>u,TO:()=>_,Tu:()=>I,VL:()=>r,W2:()=>R,ZV:()=>B,Z_:()=>h,_S:()=>K,_d:()=>ne,cb:()=>k,d:()=>C,dE:()=>Y,eZ:()=>p,fi:()=>T,g:()=>g,gU:()=>x,i7:()=>H,iC:()=>w,jk:()=>G,kL:()=>E,mc:()=>P,n7:()=>v,nY:()=>te,ou:()=>D,p$:()=>l,pZ:()=>a,qV:()=>L,tb:()=>i,uL:()=>m,w6:()=>z,wu:()=>Z,xv:()=>q,yl:()=>c,zV:()=>j,zc:()=>M});var r="initialize",o="name",i="getNotifyMgr",a="identifier",s="push",c="isInitialized",u="config",l="instrumentationKey",p="logger",d="length",h="time",m="processNext",f="getProcessTelContext",g="addNotificationListener",v="removeNotificationListener",y="stopPollingInternalLogs",b="onComplete",_="getPlugin",E="flush",w="_extensions",k="splice",T="teardown",S="messageId",x="message",C="isAsync",A="_doTeardown",I="update",R="getNext",P="diagLog",O="setNextPlugin",j="createNew",N="cookieCfg",D="indexOf",M="substring",L="userAgent",z="split",F="setEnabled",U="substr",q="nodeType",B="apply",H="replace",V="enableDebugExceptions",G="logInternalMessage",$="toLowerCase",K="call",W="type",Q="handler",Y="listeners",X="isChildEvt",J="getCtx",Z="setCtx",ee="complete",te="traceId",ne="spanId",re="traceFlags",oe="version"},4719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AppInsightsCore:()=>i.F,BaseCore:()=>a.A,BaseTelemetryPlugin:()=>s.i,CoreUtils:()=>u.Tr,DiagnosticLogger:()=>y.AQ,EventHelper:()=>u.zB,EventsDiscardedReason:()=>o.h,InstrumentEvent:()=>j,InstrumentFunc:()=>P,InstrumentFuncs:()=>O,InstrumentProto:()=>A,InstrumentProtos:()=>I,LoggingSeverity:()=>E.X,MinChannelPriorty:()=>r.p,NotificationManager:()=>g.f,PerfEvent:()=>v.zn,PerfManager:()=>v.Jk,ProcessTelemetryContext:()=>b.Vi,Undefined:()=>u.Px,_InternalLogMessage:()=>y.lQ,_InternalMessageId:()=>E.v,__getRegisteredEvents:()=>d.um,_legacyCookieMgr:()=>u.pP,_logInternalMessage:()=>y.L4,_throwInternal:()=>y.kP,_warnToConsole:()=>y.jV,addEventHandler:()=>d.Ib,addEventListeners:()=>d.yw,addPageHideEventListener:()=>d.TJ,addPageShowEventListener:()=>d.nD,addPageUnloadEventListener:()=>d.c9,areCookiesSupported:()=>N.p7,arrForEach:()=>l.tO,arrIndexOf:()=>l.UA,arrMap:()=>l.Mr,arrReduce:()=>l.Xz,attachEvent:()=>d.pZ,canUseCookies:()=>u.vn,createClassFromInterface:()=>l.hl,createCookieMgr:()=>N.Nz,createCustomDomEvent:()=>h.Nd,createEnumMap:()=>p.uj,createEnumStyle:()=>p.By,createProcessTelemetryContext:()=>b.CD,createTraceParent:()=>z.SU,createUniqueNamespace:()=>M.J,createUnloadHandlerContainer:()=>L.Y,createValueMap:()=>p.cc,dateNow:()=>l.m6,deepFreeze:()=>l._A,deleteCookie:()=>u.kT,detachEvent:()=>d.pD,disableCookies:()=>u.oF,dispatchEvent:()=>h.Nu,doPerf:()=>v.Lm,dumpObj:()=>h.eU,eventOff:()=>d.QY,eventOn:()=>d.XO,findMetaTag:()=>h.ed,findNamedServerTiming:()=>h.pI,findW3cTraceParent:()=>z.lq,formatTraceParent:()=>z.aR,generateW3CId:()=>u.DO,getConsole:()=>h.dr,getCookie:()=>u.ej,getCrypto:()=>h.MX,getDebugExt:()=>D.j,getDebugListener:()=>D.p,getDocument:()=>h.Me,getExceptionName:()=>l.jj,getGblPerfMgr:()=>v.j5,getGlobal:()=>m.Rd,getGlobalInst:()=>h.a8,getHistory:()=>h.s1,getIEVersion:()=>h.sA,getJSON:()=>h.xA,getLocation:()=>h.k$,getMsCrypto:()=>h.gz,getNavigator:()=>h.jW,getPerformance:()=>h.r,getSetValue:()=>l.qK,getWindow:()=>h.Jj,hasDocument:()=>h.Nv,hasHistory:()=>h.fE,hasJSON:()=>h.nS,hasNavigator:()=>h.d6,hasOwnProperty:()=>l.nr,hasWindow:()=>h.Ym,initializePlugins:()=>_.bP,isArray:()=>l.kJ,isBeaconsSupported:()=>h.MF,isBoolean:()=>l.jn,isDate:()=>l.J_,isError:()=>l.VZ,isFetchSupported:()=>h.JO,isFunction:()=>l.mf,isIE:()=>h.w1,isNotNullOrUndefined:()=>l.BX,isNotTruthy:()=>l.F,isNotUndefined:()=>l.pT,isNullOrUndefined:()=>l.le,isNumber:()=>l.hj,isObject:()=>l.Kn,isPlainObject:()=>l.PO,isReactNative:()=>h.b$,isSafari:()=>h.G6,isSampledFlag:()=>z.Pn,isString:()=>l.HD,isSymbol:()=>l.yk,isTruthy:()=>l.fQ,isTypeof:()=>l.Ym,isUndefined:()=>l.o8,isValidSpanId:()=>z.Lc,isValidTraceId:()=>z.jN,isValidTraceParent:()=>z.J6,isXhrSupported:()=>h.Z3,mergeEvtNamespace:()=>d.jU,mwcRandom32:()=>c.F6,mwcRandomSeed:()=>c.CN,newGuid:()=>u.GW,newId:()=>c.pZ,normalizeJsName:()=>l.Gf,objCreate:()=>m.pu,objDefineAccessors:()=>l.l_,objExtend:()=>l.mm,objForEachKey:()=>l.rW,objFreeze:()=>l.FL,objKeys:()=>l.FY,objSeal:()=>l.Xi,objToString:()=>l.Mu,optimizeObject:()=>l.Ax,parseTraceParent:()=>z.j_,perfNow:()=>u.Jj,proxyAssign:()=>l.cf,proxyFunctionAs:()=>l.Oi,proxyFunctions:()=>l.Vb,random32:()=>c._l,randomValue:()=>c.az,removeEventHandler:()=>d.C1,removeEventListeners:()=>d.nJ,removePageHideEventListener:()=>d.C9,removePageShowEventListener:()=>d.Yl,removePageUnloadEventListener:()=>d.JA,safeGetCookieMgr:()=>N.JP,safeGetLogger:()=>y.vH,sendCustomEvent:()=>h.Kf,setCookie:()=>u.d8,setEnableEnvMocks:()=>h.dI,setGblPerfMgr:()=>v.tQ,setValue:()=>l.sO,sortPlugins:()=>_.AA,strContains:()=>l._Q,strEndsWith:()=>l.Id,strFunction:()=>f.cb,strObject:()=>f.fK,strPrototype:()=>f.hB,strStartsWith:()=>l.xe,strTrim:()=>l.nd,strUndefined:()=>f.jA,throwError:()=>l._y,toISOString:()=>l.Y6,uaDisallowsSameSiteNone:()=>N.UY,unloadComponents:()=>_.HD,useXDomainRequest:()=>h.cp});var r=n(978),o=n(4641),i=n(8176),a=n(4770),s=n(1549),c=n(395),u=n(821),l=n(3161),p=n(1785),d=n(1318),h=n(1167),m=n(8785),f=n(2589),g=n(6329),v=n(2753),y=n(4300),b=n(877),_=n(3656),E=n(8712),w=n(6474),k="_aiHooks",T=["req","rsp","hkErr","fnErr"];function S(e,t){if(e)for(var n=0;n<e[w.R5]&&!t(e[n],n);n++);}function x(e,t,n,r,o){o>=0&&o<=2&&S(e,(function(e,i){var a=e.cbks,s=a[T[o]];if(s){t.ctx=function(){return r[i]=r[i]||{}};try{s[w.ZV](t.inst,n)}catch(e){var c=t.err;try{var u=a[T[2]];u&&(t.err=e,u[w.ZV](t.inst,n))}catch(e){}finally{t.err=c}}}}))}function C(e,t,n,r){var o=null;return e&&((0,l.nr)(e,t)?o=e:n&&(o=C((0,l.Hb)(e),t,r,!1))),o}function A(e,t,n){return e?P(e[f.hB],t,n,!1):null}function I(e,t,n){return e?O(e[f.hB],t,n,!1):null}function R(e,t,n,r){var o=n&&n[k];if(!o){var i=function(e){return function(){var t,n=arguments,r=e.h,o=((t={})[w.I]=e.n,t.inst=this,t.ctx=null,t.set=function(e,t){(n=s([],n))[e]=t,a=s([o],n)},t),i=[],a=s([o],n);function s(e,t){return S(t,(function(t){e[w.MW](t)})),e}o.evt=(0,h.a8)("event"),x(r,o,a,i,0);var c=e.f;if(c)try{o.rslt=c[w.ZV](this,n)}catch(e){throw o.err=e,x(r,o,a,i,3),e}return x(r,o,a,i,1),o.rslt}}(o={i:0,n:t,f:n,h:[]});i[k]=o,e[t]=i}var a={id:o.i,cbks:r,rm:function(){var e=this.id;S(o.h,(function(t,n){if(t.id===e)return o.h[w.cb](n,1),1}))}};return o.i++,o.h[w.MW](a),a}function P(e,t,n,r,o){if(void 0===r&&(r=!0),e&&t&&n){var i=C(e,t,r,o);if(i){var a=i[t];if(typeof a===f.cb)return R(i,t,a,n)}}return null}function O(e,t,n,r,o){void 0===r&&(r=!0);var i=null;return S(t,(function(t){var a=P(e,t,n,r,o);a&&(i||(i=[]),i[w.MW](a))})),i}function j(e,t,n,r,o){if(e&&t&&n){var i=C(e,t,r,o)||e;if(i)return R(i,t,i[t],n)}return null}var N=n(8589),D=n(7485),M=n(8530),L=n(6930),z=n(1579)},9798:(e,t,n)=>{"use strict";var r;n.d(t,{Z:()=>z});var o,i="undefined",a="constructor",s="prototype",c="function",u="_dynInstFuncs",l="_isDynProxy",p="_dynClass",d="_dynCls$",h="_dynInstChk",m=h,f="_dfOpts",g="_unknown_",v="__proto__",y="_dyn"+v,b="__dynProto$Gbl",_="_dynInstProto",E="useBaseInst",w="setInstFuncs",k=Object,T=k.getPrototypeOf,S=k.getOwnPropertyNames,x=(typeof globalThis!==i&&(o=globalThis),o||typeof self===i||(o=self),o||typeof window===i||(o=window),o||typeof global===i||(o=global),o||{}),C=x[b]||(x[b]={o:(r={},r[w]=!0,r[E]=!0,r),n:1e3});function A(e,t){return e&&k[s].hasOwnProperty.call(e,t)}function I(e){return e&&(e===k[s]||e===Array[s])}function R(e){return I(e)||e===Function[s]}function P(e){var t;if(e){if(T)return T(e);var n=e[v]||e[s]||(e[a]?e[a][s]:null);t=e[y]||n,A(e,y)||(delete e[_],t=e[y]=e[_]||e[y],e[_]=n)}return t}function O(e,t){var n=[];if(S)n=S(e);else for(var r in e)"string"==typeof r&&A(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function j(e,t,n){return t!==a&&typeof e[t]===c&&(n||A(e,t))}function N(e){throw new TypeError("DynamicProto: "+e)}function D(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function M(e,t,n,r,o){if(!I(e)){var i=n[u]=n[u]||{},a=i[t]=i[t]||{};!1!==i[m]&&(i[m]=!!o),O(n,(function(t){j(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!A(e,t)||e[t]&&!e[t][l])&&(e[t]=function(e,t){var n=function(){var r=function(e,t,n,r){var o=null;if(e&&A(n,p)){var i=e[u]||{};if((o=(i[n[p]]||{})[t])||N("Missing ["+t+"] "+c),!o[h]&&!1!==i[m]){for(var a=!A(e,t),s=P(e),l=[];a&&s&&!R(s)&&!D(l,s);){var d=s[t];if(d){a=d===r;break}l.push(s),s=P(s)}try{a&&(e[t]=o),o[h]=1}catch(e){i[m]=!1}}}return o}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=P(t)[e]),typeof r!==c&&N("["+e+"] is not a "+c),r}(t,e,n);return r.apply(this,arguments)};return n[l]=1,n}(e,t)))}))}}function L(e,t){return A(e,s)?e.name||t||g:((e||{})[a]||{}).name||t||g}function z(e,t,n,r){A(e,s)||N("theClass is an invalid class definition.");var o=e[s];(function(e,t){if(T){for(var n=[],r=P(t);r&&!R(r)&&!D(n,r);){if(r===e)return!0;n.push(r),r=P(r)}return!1}return!0})(o,t)||N("["+L(e)+"] not in hierarchy of ["+L(t)+"]");var i=null;A(o,p)?i=o[p]:(i=d+L(e,"_")+"$"+C.n,C.n++,o[p]=i);var a=z[f],c=!!a[E];c&&r&&void 0!==r[E]&&(c=!!r[E]);var h=function(e){var t={};return O(e,(function(n){!t[n]&&j(e,n,!1)&&(t[n]=e[n])})),t}(t),g=function(e,t,n,r){function o(e,t,n){var o=t[n];if(o[l]&&r){var i=e[u]||{};!1!==i[m]&&(o=(i[t[p]]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};O(n,(function(e){i[e]=o(t,n,e)}));for(var a=P(e),s=[];a&&!R(a)&&!D(s,a);)O(a,(function(e){!i[e]&&j(a,e,!T)&&(i[e]=o(t,a,e))})),s.push(a),a=P(a);return i}(o,t,h,c);n(t,g);var v=!!T&&!!a[w];v&&r&&(v=!!r[w]),M(o,i,t,h,!1!==v)}z[f]=C.o},2589:(e,t,n)=>{"use strict";n.d(t,{CY:()=>m,Pw:()=>u,RJ:()=>h,V4:()=>l,ak:()=>c,bO:()=>s,cb:()=>r,fK:()=>o,hB:()=>a,jA:()=>i,rl:()=>p,yu:()=>d});var r="function",o="object",i="undefined",a="prototype",s="hasOwnProperty",c="default",u=Object,l=u[a],p=u.assign,d=u.create,h=u.defineProperty,m=l[s]},8785:(e,t,n)=>{"use strict";n.d(t,{Rd:()=>i,ZU:()=>a,pu:()=>s});var r=n(2589),o=null;function i(e){void 0===e&&(e=!0);var t=!1===e?null:o;return t||(typeof globalThis!==r.jA&&(t=globalThis),t||typeof self===r.jA||(t=self),t||typeof window===r.jA||(t=window),t||typeof global===r.jA||(t=global),o=t),t}function a(e){throw new TypeError(e)}function s(e){var t=r.yu;if(t)return t(e);if(null==e)return{};var n=typeof e;function o(){}return n!==r.fK&&n!==r.cb&&a("Object prototype may only be an Object:"+e),o[r.hB]=e,new o}},3298:(e,t,n)=>{"use strict";n.d(t,{$h:()=>T,Cj:()=>E,DJ:()=>b,EU:()=>y,KG:()=>x,Lv:()=>f,V0:()=>v,an:()=>_,hw:()=>S,i9:()=>w,l9:()=>g,m:()=>C,ne:()=>m,uc:()=>d,zg:()=>k});var r=n(2589),o=n(8785),i=((0,o.Rd)()||{}).Symbol,a=((0,o.Rd)()||{}).Reflect,s=!!a,c="decorate",u="metadata",l="getOwnPropertySymbols",p="iterator",d=r.rl||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])r.V4[r.bO].call(t,i)&&(e[i]=t[i]);return e},h=function(e,t){return h=r.Pw.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t[r.bO](n)&&(e[n]=t[n])},h(e,t)};function m(e,t){function n(){this.constructor=e}typeof t!==r.cb&&null!==t&&(0,o.ZU)("Class extends value "+String(t)+" is not a constructor or null"),h(e,t),e[r.hB]=null===t?(0,o.pu)(t):(n[r.hB]=t[r.hB],new n)}function f(e,t){var n={};for(var o in e)r.CY.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&typeof r.Pw[l]===r.cb)for(var i=0,a=r.Pw[l](e);i<a.length;i++)t.indexOf(a[i])<0&&r.V4.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]]);return n}function g(e,t,n,o){var i,u=arguments.length,l=u<3?t:null===o?o=r.Pw.getOwnPropertyDescriptor(t,n):o;if(s&&typeof a[c]===r.cb)l=a[c](e,t,n,o);else for(var p=e.length-1;p>=0;p--)(i=e[p])&&(l=(u<3?i(l):u>3?i(t,n,l):i(t,n))||l);return u>3&&l&&(0,r.RJ)(t,n,l),l}function v(e,t){return function(n,r){t(n,r,e)}}function y(e,t){if(s&&a[u]===r.cb)return a[u](e,t)}function b(e,t){for(var n in e)n===r.ak||r.CY.call(t,n)||_(t,e,n)}function _(e,t,n,o){void 0===o&&(o=n),r.yu?(0,r.RJ)(e,o,{enumerable:!0,get:function(){return t[n]}}):e[o]=t[n]}function E(e){var t=typeof i===r.cb&&i[p],n=t&&e[t],a=0;return n?n.call(e):e&&"number"==typeof e.length?{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}}:void(0,o.ZU)(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function w(e,t){var n=typeof i===r.cb&&e[i[p]];if(!n)return e;var o,a,s=n.call(e),c=[];try{for(;(void 0===t||t-- >0)&&!(o=s.next()).done;)c.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.error}}return c}function k(){for(var e=arguments,t=0,n=0,r=e.length;n<r;n++)t+=e[n].length;var o=Array(t),i=0;for(n=0;n<r;n++)for(var a=e[n],s=0,c=a.length;s<c;s++,i++)o[i]=a[s];return o}function T(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}function S(e,t){return r.RJ?(0,r.RJ)(e,"raw",{value:t}):e.raw=t,e}function x(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)n!==r.ak&&Object.prototype.hasOwnProperty.call(e,n)&&_(t,e,n);return r.yu?(0,r.RJ)(t,r.ak,{enumerable:!0,value:e}):t[r.ak]=e,t}function C(e){return e&&e.__esModule?e:{strDefault:e}}},623:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ObjAssign:()=>r.rl,ObjClass:()=>r.Pw,ObjCreate:()=>r.yu,ObjDefineProperty:()=>r.RJ,ObjHasOwnProperty:()=>r.CY,ObjProto:()=>r.V4,__assignFn:()=>i.uc,__createBindingFn:()=>i.an,__decorateFn:()=>i.l9,__exportStarFn:()=>i.DJ,__exposeGlobalTsLib:()=>a,__extendsFn:()=>i.ne,__importDefaultFn:()=>i.m,__importStarFn:()=>i.KG,__makeTemplateObjectFn:()=>i.hw,__metadataFn:()=>i.EU,__paramFn:()=>i.V0,__readFn:()=>i.i9,__restFn:()=>i.Lv,__spreadArrayFn:()=>i.$h,__spreadArraysFn:()=>i.zg,__valuesFn:()=>i.Cj,getGlobal:()=>o.Rd,objCreateFn:()=>o.pu,strDefault:()=>r.ak,strShimFunction:()=>r.cb,strShimHasOwnProperty:()=>r.bO,strShimObject:()=>r.fK,strShimPrototype:()=>r.hB,strShimUndefined:()=>r.jA,throwTypeError:()=>o.ZU});var r=n(2589),o=n(8785),i=n(3298);function a(){var e,t,n,a,s=(0,o.Rd)()||{};e=s,t=i.uc,n=i.ne,a=i.an,e.__assign||(e.__assign=r.rl||t),e.__extends||(e.__extends=n),e.__createBinding||(e.__createBinding=a),__assign||(__assign=s.__assign),__extends||(__extends=s.__extends),__createBinding||(__createBinding=s.__createBinding)}},2314:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{default:()=>z});var o,i="undefined",a="constructor",s="prototype",c="function",u="_dynInstFuncs",l="_isDynProxy",p="_dynClass",d="_dynCls$",h="_dynInstChk",m=h,f="_dfOpts",g="_unknown_",v="__proto__",y="_dyn"+v,b="__dynProto$Gbl",_="_dynInstProto",E="useBaseInst",w="setInstFuncs",k=Object,T=k.getPrototypeOf,S=k.getOwnPropertyNames,x=(typeof globalThis!==i&&(o=globalThis),o||typeof self===i||(o=self),o||typeof window===i||(o=window),o||typeof global===i||(o=global),o||{}),C=x[b]||(x[b]={o:(r={},r[w]=!0,r[E]=!0,r),n:1e3});function A(e,t){return e&&k[s].hasOwnProperty.call(e,t)}function I(e){return e&&(e===k[s]||e===Array[s])}function R(e){return I(e)||e===Function[s]}function P(e){var t;if(e){if(T)return T(e);var n=e[v]||e[s]||(e[a]?e[a][s]:null);t=e[y]||n,A(e,y)||(delete e[_],t=e[y]=e[_]||e[y],e[_]=n)}return t}function O(e,t){var n=[];if(S)n=S(e);else for(var r in e)"string"==typeof r&&A(e,r)&&n.push(r);if(n&&n.length>0)for(var o=0;o<n.length;o++)t(n[o])}function j(e,t,n){return t!==a&&typeof e[t]===c&&(n||A(e,t))}function N(e){throw new TypeError("DynamicProto: "+e)}function D(e,t){for(var n=e.length-1;n>=0;n--)if(e[n]===t)return!0;return!1}function M(e,t,n,r,o){if(!I(e)){var i=n[u]=n[u]||{},a=i[t]=i[t]||{};!1!==i[m]&&(i[m]=!!o),O(n,(function(t){j(n,t,!1)&&n[t]!==r[t]&&(a[t]=n[t],delete n[t],(!A(e,t)||e[t]&&!e[t][l])&&(e[t]=function(e,t){var n=function(){var r=function(e,t,n,r){var o=null;if(e&&A(n,p)){var i=e[u]||{};if((o=(i[n[p]]||{})[t])||N("Missing ["+t+"] "+c),!o[h]&&!1!==i[m]){for(var a=!A(e,t),s=P(e),l=[];a&&s&&!R(s)&&!D(l,s);){var d=s[t];if(d){a=d===r;break}l.push(s),s=P(s)}try{a&&(e[t]=o),o[h]=1}catch(e){i[m]=!1}}}return o}(this,t,e,n)||function(e,t,n){var r=t[e];return r===n&&(r=P(t)[e]),typeof r!==c&&N("["+e+"] is not a "+c),r}(t,e,n);return r.apply(this,arguments)};return n[l]=1,n}(e,t)))}))}}function L(e,t){return A(e,s)?e.name||t||g:((e||{})[a]||{}).name||t||g}function z(e,t,n,r){A(e,s)||N("theClass is an invalid class definition.");var o=e[s];(function(e,t){if(T){for(var n=[],r=P(t);r&&!R(r)&&!D(n,r);){if(r===e)return!0;n.push(r),r=P(r)}return!1}return!0})(o,t)||N("["+L(e)+"] not in hierarchy of ["+L(t)+"]");var i=null;A(o,p)?i=o[p]:(i=d+L(e,"_")+"$"+C.n,C.n++,o[p]=i);var a=z[f],c=!!a[E];c&&r&&void 0!==r[E]&&(c=!!r[E]);var h=function(e){var t={};return O(e,(function(n){!t[n]&&j(e,n,!1)&&(t[n]=e[n])})),t}(t),g=function(e,t,n,r){function o(e,t,n){var o=t[n];if(o[l]&&r){var i=e[u]||{};!1!==i[m]&&(o=(i[t[p]]||{})[n]||o)}return function(){return o.apply(e,arguments)}}var i={};O(n,(function(e){i[e]=o(t,n,e)}));for(var a=P(e),s=[];a&&!R(a)&&!D(s,a);)O(a,(function(e){!i[e]&&j(a,e,!T)&&(i[e]=o(t,a,e))})),s.push(a),a=P(a);return i}(o,t,h,c);n(t,g);var v=!!T&&!!a[w];v&&r&&(v=!!r[w]),M(o,i,t,h,!1!==v)}z[f]=C.o},6146:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureAuth=void 0;const r=n(9496),o=n(9072),i=n(3403),a=n(7310),s=n(8129),c=n(2113),u=n(3682),l=n(6542),p=n(4705),d=n(1605),h=n(8693),m=n(3306),f=i.loadMessageBundle(n(1017).join(__dirname,"account-provider/auths/azureAuth.ts"));t.AzureAuth=class{constructor(e,t,n,r,o,i,a){this.metadata=e,this.msalCacheProvider=t,this.context=n,this.clientApplication=r,this.uriEventEmitter=o,this.authType=i,this.userFriendlyName=a,this.memdb=new c.MemoryDatabase,this._disposableStore=[],this.loginEndpointUrl=this.metadata.settings.host,this.commonTenant={id:"common",displayName:"common"},this.organizationTenant={id:"organizations",displayName:"organizations"},this.redirectUri=this.metadata.settings.redirectUri,this.clientId=this.metadata.settings.clientId,this.resources=[this.metadata.settings.armResource],this.metadata.settings.sqlResource&&this.resources.push(this.metadata.settings.sqlResource),this.metadata.settings.ossRdbmsResource&&this.resources.push(this.metadata.settings.ossRdbmsResource),this.metadata.settings.microsoftResource&&this.resources.push(this.metadata.settings.microsoftResource),this.metadata.settings.azureDevOpsResource&&this.resources.push(this.metadata.settings.azureDevOpsResource),this.metadata.settings.azureLogAnalyticsResource&&this.resources.push(this.metadata.settings.azureLogAnalyticsResource),this.metadata.settings.azureKeyVaultResource&&this.resources.push(this.metadata.settings.azureKeyVaultResource),this.metadata.settings.azureKustoResource&&this.resources.push(this.metadata.settings.azureKustoResource),this.metadata.settings.powerBiResource&&this.resources.push(this.metadata.settings.powerBiResource),this.scopes=[...this.metadata.settings.scopes],this.scopesString=this.scopes.join(" "),this._disposableStore.push(this.uriEventEmitter)}async startLogin(){let e;try{if(u.Logger.verbose("Starting login"),!this.metadata.settings.microsoftResource)throw new Error(f(0,null,this.metadata.displayName));const t=await this.login(this.organizationTenant,this.metadata.settings.microsoftResource);if(e=t.authComplete,!t?.response||!t.response?.account)return u.Logger.error(`Authentication failed: ${e}`),{canceled:!1};const n={key:t.response.account.homeAccountId,token:t.response.accessToken,tokenType:t.response.tokenType,expiresOn:t.response.expiresOn.getTime()/1e3,tenantId:t.response.tenantId,resource:0},r=t.response.idTokenClaims,o=await this.hydrateAccount(n,r);try{await this.msalCacheProvider.writeTokenToLocalCache(n)}catch(e){u.Logger.error(`Error writing token to local cache: ${e}`)}return e?.resolve(),o}catch(t){if(u.Logger.error(`Login failed: ${t}`),t instanceof l.AzureAuthError)e&&e.reject(t),u.Logger.error(t.originalMessageAndException);else{const n=(0,d.errorToPromptFailedResult)(t);if(n.errorMessage)return e?.reject(new l.AzureAuthError(n.errorMessage,n.errorMessage,void 0)),n;u.Logger.error(t)}return(0,d.errorToPromptFailedResult)(t)}}async hydrateAccount(e,t){let n;const r=await this.getTenants(e.token,t);return n=this.createAccount(t,e.key,r),n}async getToken(e,t,n){const r=this.resources.find((e=>e.azureResourceId===t));if(!r)throw u.Logger.error(`Unable to find Azure resource ${t}`),new Error(f(1,null,t));const i=r.endpoint.endsWith("/")?r.endpoint:r.endpoint+"/";let a,s;try{if(a=await this.getAccountFromMsalCache(e),!a)throw u.Logger.error("Error: Could not fetch account when acquiring token"),new Error(f(2,null));s=r.azureResourceId===o.AzureResource.ResourceManagement?[`${i}user_impersonation`]:[`${i}.default`];const t={account:a,authority:`${this.loginEndpointUrl}${n}`,scopes:s,forceRefresh:!0};try{return await this.clientApplication.acquireTokenSilent(t)}catch(e){if(u.Logger.error("Failed to acquireTokenSilent",e),e instanceof p.AuthError&&this.accountNeedsRefresh(e)){const e={id:n,displayName:""};return this.handleInteractionRequired(e,r)}return"ClientAuthError"===e.name&&u.Logger.verbose("[ClientAuthError] Failed to silently acquire token"),(0,d.errorToPromptFailedResult)(e)}}catch(e){return u.Logger.error(`[ClientAuthError] Failed to find account: ${e}`),(0,d.errorToPromptFailedResult)(e)}}async getAccountFromMsalCache(e){const t=this.clientApplication.getTokenCache();if(!t)return u.Logger.error("Error: Could not fetch token cache."),null;let n=null;return n=e.includes(".")?await t.getAccountByHomeId(e):await t.getAccountByLocalId(e),n}async getTenants(e,t){const n=a.resolve(this.metadata.settings.armResource.endpoint,"tenants?api-version=2019-11-01");try{u.Logger.verbose(`Fetching tenants with uri: ${n}`);let r=[];const o=(await this.makeGetRequest(n,e)).data;if((0,h.isErrorResponseBodyWithError)(o))throw u.Logger.error(`Error fetching tenants :${o.error?.code} - ${o.error?.message}`),new Error(`${o.error?.code} - ${o.error?.message}`);const i=o.value.map((e=>(e.displayName?r.push(e.displayName):(r.push(e.tenantId),u.Logger.info("Tenant display name found empty: {0}",e.tenantId)),{id:e.tenantId,displayName:e.displayName?e.displayName:e.tenantId,userId:t.oid,tenantCategory:e.tenantCategory})));u.Logger.verbose(`Tenants: ${r}`);const a=i.findIndex((e=>e.tenantCategory===s.HomeCategory));if(a>=0){const e=i.splice(a,1);i.unshift(e[0])}return u.Logger.verbose(`Filtered Tenants: ${r}`),i}catch(e){throw u.Logger.error(`Error fetching tenants :${e}`),e}}async handleInteractionRequired(e,t){if(await this.askUserForInteraction(e,t)){const n=await this.login(e,t);return n?.authComplete?.resolve(),n?.response}return null}accountNeedsRefresh(e){return e instanceof p.InteractionRequiredAuthError||e.errorMessage.includes(s.AADSTS70043)||e.errorMessage.includes(s.AADSTS50173)||e.errorMessage.includes(s.AADSTS50078)||e.errorMessage.includes(s.AADSTS50085)||e.errorMessage.includes(s.AADSTS50089)||e.errorMessage.includes(s.AADSTS700082)||e.errorMessage.includes(s.AADSTS700084)}async askUserForInteraction(e,t){if(!e.displayName&&!e.id)throw new Error("Tenant did not have display name or id");const n={title:f(3,null),booleanResult:!0},o={title:f(4,null),isCloseAffordance:!0,booleanResult:!1},i=f(5,null,e.displayName,e.id,t.endpoint),a=await r.window.showInformationMessage(i,{modal:!0},n,o);let s=!1;return a?.action&&(s=await a.action(e.id)),a?.booleanResult||s}createAccount(e,t,n){u.Logger.verbose(`Token Claims acccount: ${e.preferred_username}, TID: ${e.tid}`),n.forEach((e=>{u.Logger.verbose(`Tenant ID: ${e.id}, Tenant Name: ${e.displayName}`)}));let r="unknown";"https://sts.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47/"!==e.iss&&e.iss!==`${this.loginEndpointUrl}72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0`||(r=s.AccountIssuer.Corp),"live.com"===e?.idp&&(r=s.AccountIssuer.Msft);const o=e.name??e.preferred_username??e.email??e.unique_name,i=e.preferred_username??e.email??e.unique_name;let a=this.commonTenant;e.tid?a=n.find((t=>t.id===e.tid))??{id:e.tid,displayName:"Microsoft Account"}:u.Logger.info("Could not find tenant information from tokenClaims, falling back to common Tenant.");let c,l=o;switch(i&&(l=`${l} - ${i}`),r){case s.AccountIssuer.Corp:c=f(6,null);break;case s.AccountIssuer.Msft:c=f(7,null);break;default:c=l}let p=r===s.AccountIssuer.Msft?s.AccountType.Microsoft:s.AccountType.WorkSchool;return{key:{providerId:this.metadata.id,accountId:t,accountVersion:s.AccountVersion},name:l,displayInfo:{accountType:p,userId:t,contextualDisplayName:c,displayName:l,email:i,name:o},properties:{providerSettings:this.metadata,isMsAccount:r===s.AccountIssuer.Msft,owningTenant:a,tenants:n,azureAuthType:this.authType},isStale:!1}}async makeGetRequest(e,t){const n={headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`},validateStatus:()=>!0},r=await m.default.get(e,n);return u.Logger.piiSanitized("GET request ",[{name:"response",objOrArray:r.data?.value??r.data}],[],e),r}getTokenClaims(e){try{const t=e.split(".");return JSON.parse(Buffer.from(t[1],"base64").toString("UTF8"))}catch(e){throw new Error("Unable to read token claims: "+JSON.stringify(e))}}toBase64UrlEncoding(e){return e.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}async deleteAllCache(){this.clientApplication.clearCache(),await this.msalCacheProvider.unlinkCacheFiles(),await this.msalCacheProvider.refreshCacheEncryptionKeys()}async clearCredentials(e){try{return await this.deleteAccountCache(e)}catch(e){u.Logger.error("Error when removing token from cache: ",e)}}async deleteAccountCache(e){const t=this.clientApplication.getTokenCache();try{let n=await this.getAccountFromMsalCache(e.accountId);if(!n)throw u.Logger.error(`MSAL: Unable to find account ${e.accountId} for removal`),Error(`Unable to find account ${e.accountId}`);await t.removeAccount(n)}catch(e){u.Logger.error(`[ClientAuthError] Failed to find account: ${e}`)}await this.msalCacheProvider.clearAccountFromLocalCache(e.accountId)}async dispose(){this._disposableStore.forEach((e=>e.dispose()))}async autoOAuthCancelled(){}}},394:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureAuthCodeGrant=void 0;const r=n(6146),o=n(9496),i=n(5262),a=n(6542),s=n(3682),c=n(8129),u=n(3403),l=n(1017),p=n(7147),d=n(4705),h=u.loadMessageBundle(n(1017).join(__dirname,"account-provider/auths/azureAuthCodeGrant.ts"));class m extends r.AzureAuth{constructor(e,t,n,r,o){super(e,t,n,o,r,0,m.USER_FRIENDLY_NAME),this.cryptoProvider=new d.CryptoProvider,this.pkceCodes={nonce:"",challengeMethod:c.S256_CODE_CHALLENGE_METHOD,codeVerifier:"",codeChallenge:""}}async login(e,t){let n,r,i=new Promise(((e,t)=>n={resolve:e,reject:t}));r=o.env.uiKind===o.UIKind.Web?await this.loginWeb(e,t):await this.loginDesktopMsal(e,t,i);let a=await this.clientApplication.acquireTokenByCode(r);if(a)return{response:a,authComplete:n};throw s.Logger.error("Failed to acquireTokenByCode"),s.Logger.error(`Auth Code Request: ${JSON.stringify(r)}`),Error("Failed to fetch token using auth code")}async loginWeb(e,t){const n=await o.env.asExternalUri(o.Uri.parse(`${o.env.uriScheme}://microsoft.azurecore`));await this.createCryptoValuesMsal();const r=`${(n.authority.match(/:([0-9]*)$/)||[])[1]||("https"===n.scheme?443:80)},${encodeURIComponent(this.pkceCodes.nonce)},${encodeURIComponent(n.query)}`;try{let e,t;e={scopes:this.scopes,redirectUri:this.redirectUri,codeChallenge:this.pkceCodes.codeChallenge,codeChallengeMethod:this.pkceCodes.challengeMethod,prompt:c.SELECT_ACCOUNT,state:r},t={scopes:this.scopes,redirectUri:this.redirectUri,codeVerifier:this.pkceCodes.codeVerifier,code:""};let n=await this.clientApplication.getAuthCodeUrl(e);await o.env.openExternal(o.Uri.parse(n));const i=await this.handleWebResponse(r);return t.code=i,t}catch(e){let t=h(0,null);throw s.Logger.error(t),new a.AzureAuthError(t+e.message,e.message,e)}}async handleWebResponse(e){let t;return new Promise(((n,r)=>{t=this.uriEventEmitter.event((async t=>{try{const o=this.parseQuery(t),i=o.code;if(o.state!==e&&decodeURIComponent(o.state)!==e)return void r(new Error("State mismatch"));n(i)}catch(e){r(e)}}))})).finally((()=>{t.dispose()}))}parseQuery(e){return e.query.split("&").reduce(((e,t)=>{const n=t.split("=");return e[n[0]]=n[1],e}),{})}async loginDesktopMsal(e,t,n){const r=new i.SimpleWebServer;let u;try{u=await r.startup()}catch(e){const t=h(1,null);throw new a.AzureAuthError(t,"Server could not start",e)}await this.createCryptoValuesMsal();const l=`${u},${this.pkceCodes.nonce}`;try{let t,i;t={scopes:this.scopes,redirectUri:`${this.redirectUri}:${u}/redirect`,codeChallenge:this.pkceCodes.codeChallenge,codeChallengeMethod:this.pkceCodes.challengeMethod,prompt:c.SELECT_ACCOUNT,authority:`${this.loginEndpointUrl}${e.id}`,state:l},i={scopes:this.scopes,redirectUri:`${this.redirectUri}:${u}/redirect`,codeVerifier:this.pkceCodes.codeVerifier,authority:`${this.loginEndpointUrl}${e.id}`,code:""};let a=await this.clientApplication.getAuthCodeUrl(t);await o.env.openExternal(o.Uri.parse(`http://localhost:${u}/signin?nonce=${encodeURIComponent(this.pkceCodes.nonce)}`));const s=await this.addServerListeners(r,this.pkceCodes.nonce,a,n);return i.code=s,i}catch(e){let t=h(2,null);throw s.Logger.error(t),new a.AzureAuthError(t+e.message,e.message,e)}}async addServerListeners(e,t,n,r){const o=l.join(this.context.extensionPath,"media"),i=async(e,t,n)=>{let r;try{r=await p.promises.readFile(t)}catch(t){return s.Logger.error(t),e.writeHead(400),void e.end()}e.writeHead(200,{"Content-Length":r.length,"Content-Type":n}),e.end(r)};return e.on("/landing.css",((e,t,n)=>{i(n,l.join(o,"landing.css"),"text/css; charset=utf-8").catch(s.Logger.error)})),e.on("/SignIn.svg",((e,t,n)=>{i(n,l.join(o,"SignIn.svg"),"image/svg+xml").catch(s.Logger.error)})),e.on("/signin",((e,r,o)=>{let i=r.query.nonce;if(i=i.replace(/ /g,"+"),i!==t)return o.writeHead(400,{"content-type":"text/html"}),o.write(h(3,null)),o.end(),void s.Logger.error("nonce no match",i,t);o.writeHead(302,{Location:n}),o.end()})),new Promise(((n,a)=>{e.on("/redirect",((e,t,n)=>{const r=(t.query.state??"").split(",");if(2!==r.length)return n.writeHead(400,{"content-type":"text/html"}),n.write(h(4,null)),n.end(),void a(new Error("State mismatch"));const o=r[0];n.writeHead(302,{Location:`http://127.0.0.1:${o}/callback${t.search}`}),n.end()})),e.on("/callback",((e,s,c)=>{const u=s.query.state??"",p=s.query.code??"",d=u.split(",");return 2!==d.length?(c.writeHead(400,{"content-type":"text/html"}),c.write(h(5,null)),c.end(),void a(new Error("State mismatch"))):d[1]!==encodeURIComponent(t)?(c.writeHead(400,{"content-type":"text/html"}),c.write(h(6,null)),c.end(),void a(new Error("Nonce mismatch"))):(n(p),void r.then((()=>{i(c,l.join(o,"landing.html"),"text/html; charset=utf-8").catch(console.error)}),(e=>{c.writeHead(400,{"content-type":"text/html"}),c.write(e.message),c.end()})))}))}))}async createCryptoValuesMsal(){this.pkceCodes.nonce=this.cryptoProvider.createNewGuid();const{verifier:e,challenge:t}=await this.cryptoProvider.generatePkceCodes();this.pkceCodes.codeVerifier=e,this.pkceCodes.codeChallenge=t}}t.AzureAuthCodeGrant=m,m.USER_FRIENDLY_NAME=h(7,null)},6542:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureAuthError=void 0;class n extends Error{constructor(e,t,n){super(e),this.originalMessage=t,this.originalException=n}get originalMessageAndException(){return JSON.stringify({originalMessage:this.originalMessage,originalException:this.originalException},void 0,2)}}t.AzureAuthError=n},5419:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureDeviceCode=void 0;const r=n(9072),o=n(3403),i=n(6146),a=n(3682),s=o.loadMessageBundle(n(1017).join(__dirname,"account-provider/auths/azureDeviceCode.ts"));class c extends i.AzureAuth{constructor(e,t,n,r,o){super(e,t,n,o,r,1,c.USER_FRIENDLY_NAME),this.pageTitle=s(0,null,this.metadata.displayName)}async login(e,t){let n,o=new Promise(((e,t)=>n={resolve:e,reject:t}));const i={scopes:this.scopes,authority:`${this.loginEndpointUrl}${e.id}`,deviceCodeCallback:async e=>{await r.accounts.beginAutoOAuthDeviceCode(this.metadata.id,this.pageTitle,e.message,e.userCode,e.verificationUri)}},s=await this.clientApplication.acquireTokenByDeviceCode(i);return this.closeOnceComplete(o).catch(a.Logger.error),{response:s,authComplete:n}}async closeOnceComplete(e){await e,r.accounts.endAutoOAuthDeviceCode()}async autoOAuthCancelled(){return r.accounts.endAutoOAuthDeviceCode()}}t.AzureDeviceCode=c,c.USER_FRIENDLY_NAME=s(1,null)},1605:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorToPromptFailedResult=t.urlToHttpOptions=void 0,t.urlToHttpOptions=function(e){const t={protocol:e.protocol,hostname:e.hostname&&e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:`${e.pathname||""}${e.search||""}`,href:e.href};return""!==e.port&&(t.port=Number(e.port)),(e.username||e.password)&&(t.auth=`${decodeURIComponent(e.username)}:${decodeURIComponent(e.password)}`),t},t.errorToPromptFailedResult=function(e){return{canceled:!1,name:e.name,errorCode:e.errorCode,errorMessage:e.errorMessage||e.message}}},8262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureAccountProvider=void 0;const r=n(9496),o=n(3403),i=n(3682),a=n(394),s=n(5419),c=n(8129),u=n(6168),l=n(8129),p=o.loadMessageBundle(n(1017).join(__dirname,"account-provider/azureAccountProvider.ts"));t.AzureAccountProvider=class{constructor(e,t,n,o,i,a=!1){this.msalCacheProvider=o,this.forceDeviceCode=a,this.authMappings=new Map,this.initCompletePromise=new Promise(((e,t)=>this.initComplete={resolve:e,reject:t})),this.clientApplication=n,r.workspace.onDidChangeConfiguration((n=>{!0===n.affectsConfiguration(c.AccountsAzureAuthSection)&&this.handleAuthMapping(e,t,i)})),this.handleAuthMapping(e,t,i)}dispose(){this.authMappings.forEach((e=>e.dispose()))}clearTokenCache(){return this.getAuthMethod().deleteAllCache()}handleAuthMapping(e,t,n){this.authMappings.forEach((e=>e.dispose())),this.authMappings.clear();const o=r.workspace.getConfiguration(c.AccountsAzureAuthSection),i=o.get(c.AuthType.CodeGrant,!1),u=o.get(c.AuthType.DeviceCode,!1);!0!==i||this.forceDeviceCode||this.authMappings.set(0,new a.AzureAuthCodeGrant(e,this.msalCacheProvider,t,n,this.clientApplication)),(!0===u||this.forceDeviceCode)&&this.authMappings.set(1,new s.AzureDeviceCode(e,this.msalCacheProvider,t,n,this.clientApplication)),!1!==i||!1!==u||this.forceDeviceCode||console.error("No authentication methods selected")}getAuthMethod(e){if(1===this.authMappings.size)return this.authMappings.values().next().value;const t=e?.properties?.azureAuthType;if(t){const e=this.authMappings.get(t);if(e)return e}if(0===this.authMappings.size)throw new Error("No authentication mappings selected");return this.authMappings.values().next().value}initialize(e){return this._initialize(e)}async _initialize(e){const t=[];i.Logger.verbose(`Initializing stored accounts ${JSON.stringify(t)}`);for(let n of e){const e=this.getAuthMethod(n);e?(n.isStale=!1,await e.getAccountFromMsalCache(n.key.accountId)||(n.isStale=!0),t.push(n)):(n.isStale=!0,t.push(n))}return this.initComplete.resolve(),t}getSecurityToken(e,t){return this._getSecurityToken(e,t)}getAccountSecurityToken(e,t,n){return this._getAccountSecurityToken(e,t,n)}async _getAccountSecurityToken(e,t,n){await this.initCompletePromise;const r=this.getAuthMethod(e);if(r){i.Logger.piiSanitized(`Getting account security token for ${JSON.stringify(e.key)} (tenant ${t}). Auth Method = ${r.userFriendlyName}`,[],[]);try{let r=await this.msalCacheProvider.getTokenFromLocalCache(e.key.accountId,t,n);if(this.isValidToken(r)&&(await this.clientApplication.getAllAccounts()).find((t=>t.homeAccountId===e.key.accountId)))return r}catch(e){i.Logger.info(`Could not fetch access token from cache: ${e}, fetching new access token instead.`)}t=t||e.properties.owningTenant.id;let o=await r.getToken(e.key.accountId,n,t);if(this.isAuthenticationResult(o)&&o.account&&o.account.idTokenClaims){const e={key:o.account.homeAccountId,token:o.accessToken,tokenType:o.tokenType,expiresOn:o.account.idTokenClaims.exp,tenantId:t,resource:n};try{await this.msalCacheProvider.writeTokenToLocalCache(e)}catch(e){i.Logger.error(`Could not save access token to local cache: ${e}, this might cause throttling of AAD requests.`)}return e}throw i.Logger.error(`MSAL: getToken call failed: ${o}`),this.isProviderError(o)?(o.errorCode?.includes(l.multiple_matching_tokens_error)&&(o.errorMessage=o.errorMessage?.concat(" To resolve this error, please clear token cache, and refresh account credentials.")),new Error(p(0,null,o.errorCode,o.errorMessage))):new Error(p(1,null))}throw e.isStale=!0,i.Logger.error(`_getAccountSecurityToken: Authentication method not found for account ${e.displayInfo.displayName}`),Error("Failed to get authentication method, please remove and re-add the account")}isAuthenticationResult(e){return!!e&&"string"==typeof e.accessToken}isProviderError(e){return!!e&&"string"==typeof e.errorMessage}isValidToken(e){const t=(new Date).getTime()/1e3;return void 0!==e&&void 0!==e.expiresOn&&Number(e.expiresOn)-t>300}async _getSecurityToken(e,t){r.window.showInformationMessage(p(2,null));const n=e,o={};for(const r of n.properties.tenants)try{o[r.id]=await this._getAccountSecurityToken(e,r.id,t)}catch(e){if(!(e instanceof u.TenantIgnoredError))throw e}return o}prompt(){return this._prompt()}async _prompt(){const e=p(3,null),t=p(4,null);await this.initCompletePromise;class n{constructor(e){this.azureAuth=e,this.label=e.userFriendlyName}}if(0===this.authMappings.size)return i.Logger.error("No auth method was enabled."),r.window.showErrorMessage(t),{canceled:!0};if(1===this.authMappings.size)return this.getAuthMethod(void 0).startLogin();const o=[];this.authMappings.forEach((e=>{o.push(new n(e))}));const a=await r.window.showQuickPick(o,{canPickMany:!1});return a?a.azureAuth.startLogin():(i.Logger.error("No auth method was selected."),r.window.showErrorMessage(e),{canceled:!0})}refresh(e){return this._refresh(e)}async _refresh(e){return await this._clear(e.key),this.prompt()}async clear(e){return this._clear(e)}async _clear(e){await this.initCompletePromise,await(this.getAuthMethod(void 0)?.clearCredentials(e))}autoOAuthCancelled(){return this.authMappings.forEach((e=>e.autoOAuthCancelled())),Promise.resolve()}}},1274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureAccountProviderService=void 0;const r=n(1017),o=n(9072),i=n(2361),a=n(3403),s=n(9496),c=n(7147),u=n(7240),l=n(8262),p=n(6758),d=n(5760),h=n(4705),m=n(8129),f=n(3682),g=n(7045),v=n(8682),y=n(5760);let b=a.loadMessageBundle(n(1017).join(__dirname,"account-provider/azureAccountProviderService.ts"));class _ extends s.EventEmitter{handleUri(e){this.fire(e)}}t.AzureAccountProviderService=class{constructor(e,t){this._context=e,this._userStoragePath=t,this._disposables=[],this._accountDisposals={},this._accountProviders={},this._credentialProvider=void 0,this._cachePluginProvider=void 0,this._configChangePromiseChain=Promise.resolve(),this._currentConfig=void 0,this._event=new i.EventEmitter,this._uriEventHandler=new _,this.activeProviderCount=0,this._onEncryptionKeysUpdated=new s.EventEmitter,this._disposables.push(s.window.registerUriHandler(this._uriEventHandler))}activate(){let e=this;return this._context.subscriptions.push(s.commands.registerCommand(m.AccountsClearTokenCacheCommand,(()=>{e._event.emit(m.AccountsClearTokenCacheCommand)}))),this._event.on(m.AccountsClearTokenCacheCommand,(()=>{e.onClearTokenCache()})),o.credentials.getProvider(m.AzureAccountProviderCredentials).then((e=>(this._credentialProvider=e,this._context.subscriptions.push(s.workspace.onDidChangeConfiguration((()=>{this._configChangePromiseChain=this.onDidChangeConfiguration()}),this)),this._configChangePromiseChain=this.onDidChangeConfiguration(),!0)))}getEncryptionKeysEmitter(){return this._onEncryptionKeysUpdated}async getEncryptionKeys(){return this._cachePluginProvider||await this.onDidChangeConfiguration(),this._cachePluginProvider.getCacheEncryptionKeys()}dispose(){for(;this._disposables.length;){const e=this._disposables.pop();e&&e.dispose()}}onClearTokenCache(){let e=u.default.map((e=>this._accountProviders[e.metadata.id]?.clearTokenCache()));return Promise.all(e).then((()=>{(0,v.displayReloadAds)(y.reloadPromptCacheClear)}),(e=>{let t=b(0,null);s.window.showErrorMessage(`${d.extensionName}: ${t}: ${e}`)}))}async onDidChangeConfiguration(){await this._configChangePromiseChain;let e=s.workspace.getConfiguration(m.AccountsAzureCloudSection),t=this._currentConfig;this._currentConfig=e;let n=[];for(let r of u.default){let o=!!t&&t.get(r.configKey),i=e.get(r.configKey);o!==i&&(o&&!i&&(n.push(this.unregisterAccountProvider(r)),this.activeProviderCount--),!o&&i&&(n.push(this.registerAccountProvider(r)),this.activeProviderCount++),r.configKey!==m.enablePublicCloud&&r.configKey!==m.enableUsGovCloud&&r.configKey!==m.enableChinaCloud&&(n.push(this.registerAccountProvider(r)),this.activeProviderCount++))}0===this.activeProviderCount&&s.window.showWarningMessage(d.noCloudsEnabled,d.enablePublicCloud,d.dismiss).then((async e=>{e===d.enablePublicCloud&&await s.workspace.getConfiguration(m.AccountsAzureCloudSection).update(d.enablePublicCloudCamel,!0,s.ConfigurationTarget.Global)})),await Promise.all(n)}async registerAccountProvider(e){const t=s.env.appName.toLowerCase().indexOf(m.Saw)>0,n=m.MSALCacheName;await this.clearOldCacheIfExists();try{if(!this._credentialProvider)throw new Error("Credential provider not registered");this._cachePluginProvider=new p.MsalCachePluginProvider(n,this._userStoragePath,this._credentialProvider,this._onEncryptionKeysUpdated),await this._cachePluginProvider.init();const r={auth:{clientId:e.metadata.settings.clientId,authority:"https://login.windows.net/common"},system:{loggerOptions:{loggerCallback:this.getLoggerCallback(),logLevel:g.LogLevel.Trace,piiLoggingEnabled:!0}},cache:{cachePlugin:this._cachePluginProvider?.getCachePlugin()}};this.clientApplication=new h.PublicClientApplication(r);let i=new l.AzureAccountProvider(e.metadata,this._context,this.clientApplication,this._cachePluginProvider,this._uriEventHandler,t);this._accountProviders[e.metadata.id]=i,this._accountDisposals[e.metadata.id]=o.accounts.registerAccountProvider(e.metadata,i)}catch(e){console.error(`Failed to register account provider, isSaw: ${t}: ${e}`)}}async clearOldCacheIfExists(){let e=r.join(this._userStoragePath,m.oldMsalCacheFileName);try{await c.promises.access(e),await c.promises.unlink("file:"+e),f.Logger.verbose("Old cache file removed successfully.")}catch(e){"ENOENT"!==e.code&&f.Logger.verbose(`Error occurred while removing old cache file: ${e}`)}}getLoggerCallback(){return(e,t,n)=>{if(n)f.Logger.pii(t);else switch(e){case g.LogLevel.Error:f.Logger.error(t);break;case g.LogLevel.Info:f.Logger.info(t);break;case g.LogLevel.Verbose:default:f.Logger.verbose(t)}}}async unregisterAccountProvider(e){try{this._accountDisposals[e.metadata.id].dispose(),delete this._accountProviders[e.metadata.id],delete this._accountDisposals[e.metadata.id]}catch(e){console.error(`Failed to unregister account provider: ${e}`)}}}},7240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3403),o=n(9072),i=n(8682),a=r.loadMessageBundle(n(1017).join(__dirname,"account-provider/providerSettings.ts"));let s=[{configKey:"enablePublicCloud",metadata:{displayName:a(0,null),id:"azure_publicCloud",settings:{host:"https://login.microsoftonline.com/",clientId:"a69788c6-1d43-44ed-9ca3-b83e194da255",microsoftResource:{id:"marm",endpoint:"https://management.core.windows.net/",azureResourceId:o.AzureResource.MicrosoftResourceManagement},msGraphResource:{id:"msgraph",endpoint:"https://graph.microsoft.com/",azureResourceId:o.AzureResource.MsGraph},armResource:{id:"arm",endpoint:"https://management.azure.com/",azureResourceId:o.AzureResource.ResourceManagement},sqlResource:{id:"sql",endpoint:"https://database.windows.net/",azureResourceId:o.AzureResource.Sql},ossRdbmsResource:{id:"ossrdbms",endpoint:"https://ossrdbms-aad.database.windows.net/",azureResourceId:o.AzureResource.OssRdbms},azureKeyVaultResource:{id:"vault",endpoint:"https://vault.azure.net/",azureResourceId:o.AzureResource.AzureKeyVault},azureDevOpsResource:{id:"ado",endpoint:"499b84ac-1321-427f-aa17-267ca6975798/",azureResourceId:o.AzureResource.AzureDevOps},azureLogAnalyticsResource:{id:"ala",endpoint:"https://api.loganalytics.io/",azureResourceId:o.AzureResource.AzureLogAnalytics},azureStorageResource:{id:"storage",endpoint:"",endpointSuffix:".core.windows.net/",azureResourceId:o.AzureResource.AzureStorage},azureKustoResource:{id:"kusto",endpoint:"https://kusto.kusto.windows.net/",azureResourceId:o.AzureResource.AzureKusto},powerBiResource:{id:"powerbi",endpoint:"https://analysis.windows.net/powerbi/api/",azureResourceId:o.AzureResource.PowerBi},redirectUri:"http://localhost",scopes:["openid","email","profile","offline_access","https://management.azure.com/user_impersonation"],portalEndpoint:"https://portal.azure.com"}}},{configKey:"enableUsGovCloud",metadata:{displayName:a(1,null),id:"azure_usGovtCloud",settings:{host:"https://login.microsoftonline.us/",clientId:"a69788c6-1d43-44ed-9ca3-b83e194da255",microsoftResource:{id:"marm",endpoint:"https://management.core.usgovcloudapi.net/",azureResourceId:o.AzureResource.MicrosoftResourceManagement},msGraphResource:{id:"msgraph",endpoint:"https://graph.microsoft.us/",azureResourceId:o.AzureResource.MsGraph},armResource:{id:"arm",endpoint:"https://management.usgovcloudapi.net/",azureResourceId:o.AzureResource.ResourceManagement},sqlResource:{id:"sql",endpoint:"https://database.usgovcloudapi.net/",azureResourceId:o.AzureResource.Sql},ossRdbmsResource:{id:"ossrdbms",endpoint:"https://ossrdbms-aad.database.usgovcloudapi.net/",azureResourceId:o.AzureResource.OssRdbms},azureKeyVaultResource:{id:"vault",endpoint:"https://vault.usgovcloudapi.net/",azureResourceId:o.AzureResource.AzureKeyVault},azureLogAnalyticsResource:{id:"ala",endpoint:"https://api.loganalytics.us/",azureResourceId:o.AzureResource.AzureLogAnalytics},azureStorageResource:{id:"storage",endpoint:"",endpointSuffix:".core.usgovcloudapi.net/",azureResourceId:o.AzureResource.AzureStorage},azureKustoResource:{id:"kusto",endpoint:"https://kusto.kusto.usgovcloudapi.net",azureResourceId:o.AzureResource.AzureKusto},powerBiResource:{id:"powerbi",endpoint:"https://analysis.windows.net/powerbi/api/",azureResourceId:o.AzureResource.PowerBi},redirectUri:"http://localhost",scopes:["openid","email","profile","offline_access","https://management.usgovcloudapi.net/user_impersonation"],portalEndpoint:"https://portal.azure.us"}}},{configKey:"enableChinaCloud",metadata:{displayName:a(2,null),id:"azure_chinaCloud",settings:{host:"https://login.partner.microsoftonline.cn/",clientId:"a69788c6-1d43-44ed-9ca3-b83e194da255",microsoftResource:{id:"marm",endpoint:"https://management.core.chinacloudapi.cn/",azureResourceId:o.AzureResource.MicrosoftResourceManagement},msGraphResource:{id:"msgraph",endpoint:"https://microsoftgraph.chinacloudapi.cn",azureResourceId:o.AzureResource.MsGraph},armResource:{id:"arm",endpoint:"https://management.chinacloudapi.cn",azureResourceId:o.AzureResource.ResourceManagement},sqlResource:{id:"sql",endpoint:"https://database.chinacloudapi.cn/",azureResourceId:o.AzureResource.Sql},azureKeyVaultResource:{id:"vault",endpoint:"https://vault.azure.cn",azureResourceId:o.AzureResource.AzureKeyVault},azureLogAnalyticsResource:{id:"ala",endpoint:"https://api.loganalytics.azure.cn",azureResourceId:o.AzureResource.AzureLogAnalytics},azureStorageResource:{id:"storage",endpoint:"",endpointSuffix:".core.chinacloudapi.cn",azureResourceId:o.AzureResource.AzureStorage},azureKustoResource:{id:"kusto",endpoint:"https://kusto.kusto.chinacloudapi.cn",azureResourceId:o.AzureResource.AzureKusto},powerBiResource:{id:"powerbi",endpoint:"https://analysis.windows.net/powerbi/api",azureResourceId:o.AzureResource.PowerBi},redirectUri:"http://localhost",scopes:["openid","email","profile","offline_access","https://management.chinacloudapi.cn/user_impersonation"],portalEndpoint:"https://portal.azure.cn/"}}}];s=(0,i.updateCustomCloudProviderSettings)(s),t.default=s},1408:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileEncryptionHelper=void 0;const r=n(2037),o=n(6113),i=n(9496),a=n(5760),s=n(3682);t.FileEncryptionHelper=class{constructor(e,t,n){this._credentialService=e,this._fileName=t,this._onEncryptionKeysUpdated=n,this._ivCredId=`${this._fileName}-iv`,this._keyCredId=`${this._fileName}-key`,this.fileSaver=async e=>{this._keyBuffer&&this._ivBuffer||await this.init();const t=o.createCipheriv(this._algorithm,this._keyBuffer,this._ivBuffer);return`${t.update(e,"utf8",this._binaryEncoding)}${t.final(this._binaryEncoding)}`},this.fileOpener=async(e,t)=>{try{this._keyBuffer&&this._ivBuffer||await this.init();let t=e;const n=o.createDecipheriv(this._algorithm,this._keyBuffer,this._ivBuffer);return`${n.update(t,this._binaryEncoding,"utf8")}${n.final("utf8")}`}catch(e){throw s.Logger.error(`FileEncryptionHelper: Error occurred when decrypting data, IV/KEY will be reset: ${e}`),t&&await this.refreshEncryptionKeys(),new Error(`Decryption failed with error: ${e}`)}},this._algorithm="aes-256-cbc",this._bufferEncoding="utf16le",this._binaryEncoding="base64"}async init(){const e=await this.readEncryptionKey(this._ivCredId),t=await this.readEncryptionKey(this._keyCredId);e&&t?(this._ivBuffer=Buffer.from(e,this._bufferEncoding),this._keyBuffer=Buffer.from(t,this._bufferEncoding)):(this._ivBuffer=o.randomBytes(16),this._keyBuffer=o.randomBytes(32),await this.saveEncryptionKey(this._ivCredId,this._ivBuffer.toString(this._bufferEncoding))&&await this.saveEncryptionKey(this._keyCredId,this._keyBuffer.toString(this._bufferEncoding))||(s.Logger.error("Encryption keys could not be saved in credential store, this will cause access token persistence issues."),await this.showCredSaveErrorOnWindows())),this._onEncryptionKeysUpdated&&(this._onEncryptionKeysUpdated.fire(this.getEncryptionKeys()),s.Logger.verbose("FileEncryptionHelper: Fired encryption keys updated event."))}getEncryptionKeys(){return{iv:this._ivBuffer.toString(this._bufferEncoding),key:this._keyBuffer.toString(this._bufferEncoding)}}async refreshEncryptionKeys(){await this.deleteEncryptionKey(this._ivCredId),await this.deleteEncryptionKey(this._keyCredId),this._ivBuffer=void 0,this._keyBuffer=void 0,await this.init()}async readEncryptionKey(e){return(await this._credentialService.readCredential(e))?.password}async deleteEncryptionKey(e){return await this._credentialService.deleteCredential(e)}async saveEncryptionKey(e,t){let n=!1;try{await this._credentialService.saveCredential(e,t).then((t=>{n=t,t&&s.Logger.info(`FileEncryptionHelper: Successfully saved encryption key ${e} persistent cache encryption in system credential store.`)}),(t=>{throw Error(`FileEncryptionHelper: Could not save encryption key: ${e}: ${t}`)}))}catch(e){throw"win32"===r.platform()&&s.Logger.error("FileEncryptionHelper: Please try cleaning saved credentials from Windows Credential Manager created by Azure Data Studio to allow creating new credentials."),s.Logger.error(e),e}return n}async showCredSaveErrorOnWindows(){"win32"===r.platform()&&await i.window.showWarningMessage(a.azureCredStoreSaveFailedError,a.reloadChoice,a.cancel).then((async e=>{e===a.reloadChoice&&await i.commands.executeCommand("workbench.action.reloadWindow")}),(e=>{s.Logger.error(e)}))}}},2113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryDatabase=void 0,t.MemoryDatabase=class{constructor(){this.db={}}set(e,t){this.db[e]=t}delete(e){delete this.db[e]}get(e){return this.db[e]}}},6758:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MsalCachePluginProvider=void 0;const r=n(7147),o=n(578),i=n(1017),a=n(8129),s=n(3682),c=n(1408);t.MsalCachePluginProvider=class{constructor(e,t,n,r){this._serviceName=e,this._credentialService=n,this._onEncryptionKeysUpdated=r,this._emptyLocalCache={tokens:[]},this._fileEncryptionHelper=new c.FileEncryptionHelper(this._credentialService,this._serviceName,this._onEncryptionKeysUpdated),this._msalCacheConfiguration={name:"MSAL",cacheFilePath:i.join(t,this._serviceName),lockFilePath:i.join(t,this._serviceName)+a.LockFileSuffix,lockTaken:!1},this._localCacheConfiguration={name:"Local",cacheFilePath:i.join(t,this._serviceName)+a.LocalCacheSuffix,lockFilePath:i.join(t,this._serviceName)+a.LocalCacheSuffix+a.LockFileSuffix,lockTaken:!1}}async init(){await this._fileEncryptionHelper.init()}getCacheEncryptionKeys(){return this._fileEncryptionHelper.getEncryptionKeys()}async refreshCacheEncryptionKeys(){await this._fileEncryptionHelper.refreshEncryptionKeys()}getCachePlugin(){return{beforeCacheAccess:async e=>{try{const t=await this.readCache(this._msalCacheConfiguration,this._localCacheConfiguration);e.tokenCache.deserialize(t)}catch(e){s.Logger.verbose(`MsalCachePlugin: Error occurred when trying to read cache file, file will be deleted: ${e.message}`),await this.unlinkCache(this._msalCacheConfiguration)}},afterCacheAccess:async e=>{if(e.cacheHasChanged){const t=e.tokenCache.serialize();await this.writeCache(t,this._msalCacheConfiguration)}}}}async getTokenFromLocalCache(e,t,n){let r=JSON.parse(await this.readCache(this._localCacheConfiguration,this._msalCacheConfiguration)),o=r?.tokens?.find((r=>r.key===e&&r.tenantId===t&&r.resource===n));return o}async writeTokenToLocalCache(e){let t,n=0,r=-1;t=JSON.parse(await this.readCache(this._localCacheConfiguration,this._msalCacheConfiguration)),t?.tokens?t.tokens.forEach(((t,o)=>{t.key===e.key&&t.tenantId===e.tenantId&&t.resource===e.resource&&(r=o,n++)})):t=this._emptyLocalCache,0===n&&(t.tokens.push(e),n=1),1===n?(-1!==r&&(t.tokens[r]=e),await this.writeCache(JSON.stringify(t),this._localCacheConfiguration)):(s.Logger.info("Found multiple tokens in local cache, cache will be reset."),await this.writeCache(JSON.stringify(this._emptyLocalCache),this._localCacheConfiguration))}async clearAccountFromLocalCache(e){let t=JSON.parse(await this.readCache(this._localCacheConfiguration,this._msalCacheConfiguration)),n=[];t?.tokens&&t.tokens.forEach(((t,r)=>{t.key===e&&n.push(r)})),n.forEach((e=>{t.tokens.splice(e)})),s.Logger.info(`Local Cache cleared for account, ${n.length} tokens were cleared.`)}async unlinkCacheFiles(){await this.unlinkCache(this._msalCacheConfiguration),await this.unlinkCache(this._localCacheConfiguration)}async writeCache(e,t){t.lockTaken=await this.waitAndLock(t.lockFilePath,t.lockTaken);try{const n=await this._fileEncryptionHelper.fileSaver(e);await r.promises.writeFile(t.cacheFilePath,n,{encoding:"utf8"})}catch(e){throw s.Logger.error(`MsalCachePlugin: Failed to write to '${t.name}' cache file: ${e}`),e}finally{o.unlockSync(t.lockFilePath),t.lockTaken=!1}}async readCache(e,t){e.lockTaken=await this.waitAndLock(e.lockFilePath,e.lockTaken);try{const t=await r.promises.readFile(e.cacheFilePath,{encoding:"utf8"});return await this._fileEncryptionHelper.fileOpener(t,!0)}catch(n){return"ENOENT"===n.code?s.Logger.verbose(`MsalCachePlugin: Cache file for '${e.name}' cache not found on disk: ${n.code}`):(s.Logger.error(`MsalCachePlugin: Failed to read from cache file: ${n}`),s.Logger.verbose(`MsalCachePlugin: Error occurred when trying to read cache file ${e.name}, file will be deleted: ${n.message}`),await this.unlinkCache(e),e.name!==t.name&&(t.lockTaken=await this.waitAndLock(t.lockFilePath,t.lockTaken),await this.unlinkCache(t),o.unlockSync(t.lockFilePath),t.lockTaken=!1,s.Logger.verbose(`MsalCachePlugin: Cache file for ${t.name} cache also deleted.`))),"{}"}finally{o.unlockSync(e.lockFilePath),e.lockTaken=!1}}async waitAndLock(e,t){o.checkSync(e)&&!t&&(o.unlockSync(e),s.Logger.verbose("MsalCachePlugin: Stale lockfile found and has been removed."));let n=0;for(;n<=500;)try{o.lockSync(e),t=!0;break}catch(e){if(500===n)throw s.Logger.error("MsalCachePlugin: Failed to acquire lock on cache file after 500 attempts."),new Error(`Failed to acquire lock on cache file after 500 attempts. Please attempt command: '${a.AccountsClearTokenCacheCommand}' to clear access token cache.`);n++,s.Logger.verbose("MsalCachePlugin: Failed to acquire lock on cache file. Retrying in 100 ms."),await new Promise((e=>setTimeout(e,100)))}return t}async unlinkCache(e){try{await r.promises.unlink(e.cacheFilePath)}catch(t){s.Logger.info(`An error occurred when clearing ${e.name} Cache, safely ignored: ${t}`)}}}},5262:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleWebServer=t.AlreadyRunningError=void 0;const r=n(3685),o=n(7310),i=n(3682);class a extends Error{}t.AlreadyRunningError=a,t.SimpleWebServer=class{constructor(e=3e5){this.autoShutoffTimer=e,this.hasStarted=!1,this.pathMappings=new Map,this.lastUsed=(new Date).getTime(),this.bumpLastUsed(),this.shutoffInterval=setInterval((()=>{(new Date).getTime()-this.lastUsed>this.autoShutoffTimer&&(i.Logger.verbose("Shutting off webserver..."),this.shutdown().catch(console.error))}),1e3),this.server=r.createServer(((e,t)=>{this.bumpLastUsed();const n=o.parse(e.url,!0),r=n.pathname?this.pathMappings.get(n.pathname):void 0;if(r)return r(e,n,t);t.writeHead(404),t.end()}))}bumpLastUsed(){this.lastUsed=(new Date).getTime()}async shutdown(){return clearInterval(this.shutoffInterval),new Promise(((e,t)=>{this.server.close((n=>{n?t(n):e()}))}))}async startup(){if(this.hasStarted)throw new a;let e;this.hasStarted=!0;const t=new Promise(((t,n)=>{e=setTimeout((()=>{n(new Error("Timed out waiting for the server to start"))}),5e3),this.server.on("listening",(()=>{const e=this.server.address();void 0===e.port&&n(new Error("Port was not defined")),t(e.port.toString())})),this.server.on("error",(()=>{n(new Error("Server error"))})),this.server.on("close",(()=>{n(new Error("Server closed"))})),this.server.listen(0,"127.0.0.1")}));return t.finally((()=>{clearTimeout(e)})),t}on(e,t){this.pathMappings.set(e,t)}}},2236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AppContext=void 0,t.AppContext=class{constructor(e){this.extensionContext=e,this.serviceMap=new Map}getService(e){return this.serviceMap.get(e)}registerService(e,t){this.serviceMap.set(e,t)}}},4837:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureDataGridProvider=void 0;const r=n(9072),o=n(1202),i=n(8693),a=n(8129),s=n(5760),c=n(8682),u=n(3682),l=["microsoft.sql/servers/databases","microsoft.sql/servers","microsoft.synapse/workspaces","microsoft.synapse/workspaces/sqlpools","microsoft.sql/managedinstances","microsoft.dbforpostgresql/servers","microsoft.dbforpostgresql/flexibleservers","microsoft.azuredata/datacontrollers","microsoft.azuredata/sqlmanagedinstances","microsoft.azuredata/postgresinstances"].map((e=>`type == "${e}"`)).join(" or ");t.AzureDataGridProvider=class{constructor(e){this._appContext=e,this.providerId=a.dataGridProviderId,this.title=s.azureResourcesGridTitle}async getDataGridItems(){let e;e=await r.accounts.getAllAccounts();const t=[];return await Promise.all(e.map((async e=>{await Promise.all(e.properties.tenants.map((async n=>{try{const r=this._appContext.getService(o.AzureResourceServiceNames.subscriptionService),a=await r.getSubscriptions(e,[n.id]);try{const n=(await i.runResourceQuery(e,a,!0,`where ${l}`)).resources.map((t=>({id:t.id,name:t.name,resourceGroup:t.resourceGroup,subscriptionId:t.subscriptionId,subscriptionName:a.find((e=>e.id===t.subscriptionId))?.name??t.subscriptionId,locationDisplayName:c.getRegionDisplayName(t.location),type:t.type,typeDisplayName:c.getResourceTypeDisplayName(t.type),iconPath:c.getResourceTypeIcon(this._appContext,t.type),portalEndpoint:e.properties.providerSettings.settings.portalEndpoint})));t.push(...n)}catch(e){u.Logger.error(e)}}catch(e){u.Logger.error(e)}})))}))),t}async getDataGridColumns(){return[{id:"icon",type:"image",field:"iconPath",name:"",width:25,sortable:!1,filterable:!1,resizable:!1,tooltip:s.typeIcon},{id:"name",type:"text",field:"name",name:s.name,width:150},{id:"type",type:"text",field:"typeDisplayName",name:s.resourceType,width:150},{id:"resourceGroup",type:"text",field:"resourceGroup",name:s.resourceGroup,width:150},{id:"location",type:"text",field:"locationDisplayName",name:s.location,width:150},{id:"subscriptionId",type:"text",field:"subscriptionName",name:s.subscription,width:150}]}}},8719:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerAzureResourceCommands=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/commands.ts")),a=n(6599),s=n(6275),c=n(1202),u=n(5845),l=n(8693),p=n(4051),d=n(6709);t.registerAzureResourceCommands=function(e,t,n){const h=[t,n];o.commands.registerCommand("azure.resource.startterminal",(async t=>{try{if(!o.workspace.getConfiguration("workbench").get("enablePreviewFeatures")){const e=i(0,null);return void o.window.showInformationMessage(e)}let n;if(t instanceof s.AzureResourceAccountTreeNode)n=t.account;else{let e=await r.accounts.getAllAccounts();if(e=e.filter((e=>e.key.providerId.startsWith("azure"))),0===e.length){const e=i(1,null);return void(await o.window.showErrorMessage(i(2,null),e)===e&&o.commands.executeCommand("azure.resource.signin"))}if(1===e.length)n=e[0];else{const t=await o.window.showQuickPick(e.map((e=>e.displayInfo.displayName)),{canPickMany:!1,placeHolder:i(3,null)});if(!t)return void o.window.showErrorMessage(i(4,null));n=e.find((e=>e.displayInfo.displayName===t))}}if(!n)throw new Error("No Azure Account chosen");const a=e.getService(c.AzureResourceServiceNames.terminalService),u=n.properties.tenants.map((e=>e.displayName));if(0===u.length)return void o.window.showErrorMessage(i(5,null));let l;if(o.window.setStatusBarMessage(i(6,null),5e3),1===u.length)l=n.properties.tenants[0];else{const e=await o.window.showQuickPick(u,{canPickMany:!1});if(!e)return void o.window.showErrorMessage(i(7,null));l=n.properties.tenants[u.indexOf(e)]}await a.getOrCreateCloudConsole(n,l)}catch(e){console.error(e),o.window.showErrorMessage(e)}})),o.commands.registerCommand("azure.resource.selectsubscriptions",(async t=>{if(!(t instanceof s.AzureResourceAccountTreeNode||t instanceof d.FlatAccountTreeNode||t instanceof p.AzureResourceTenantTreeNode||t instanceof u.FlatTenantTreeNode))return;const n=t.account;let r=t.account.properties.tenants[0];if((t instanceof p.AzureResourceTenantTreeNode||t instanceof u.FlatTenantTreeNode)&&(r=t.tenant),!n||!r)return;const i=e.getService(c.AzureResourceServiceNames.subscriptionService),a=e.getService(c.AzureResourceServiceNames.subscriptionFilterService);let m=[];if(0===m.length)try{let e=r?[r.id]:n.properties.tenants.flatMap((e=>e.id));m=await i.getSubscriptions(n,e)}catch(e){return n.isStale=!0,void o.window.showErrorMessage(l.AzureResourceErrorMessageUtil.getErrorMessage(e))}let f=await a.getSelectedSubscriptions(n,r);f||(f=[]);const g=[];f.length>0?g.push(...f.map((e=>e.id))):g.push(...m.map((e=>e.id)));const v=m.map((e=>({label:e.name,picked:-1!==g.indexOf(e.id),subscription:e}))).sort(((e,t)=>e.label.localeCompare(t.label))),y=await o.window.showQuickPick(v,{canPickMany:!0});if(y&&y.length>0){for(const e of h)await e.refresh(void 0,!1);f=y.map((e=>e.subscription)),await a.saveSelectedSubscriptions(n,r,f)}})),o.commands.registerCommand("azure.resource.selecttenants",(async t=>{if(!(t instanceof s.AzureResourceAccountTreeNode||t instanceof d.FlatAccountTreeNode))return;const n=t.account;if(!n)return;const r=e.getService(c.AzureResourceServiceNames.tenantFilterService);let i=n.properties.tenants,a=await r.getSelectedTenants(n);a||(a=[]);const u=[];a.length>0?u.push(...a.map((e=>e.id))):u.push(...i.map((e=>e.id)));const l=i.map((e=>({label:e.displayName,picked:-1!==u.indexOf(e.id),tenant:e}))).sort(((e,t)=>e.label.localeCompare(t.label))),p=await o.window.showQuickPick(l,{canPickMany:!0});if(p&&p.length>0){for(const e of h)await e.refresh(void 0,!1);a=p.map((e=>e.tenant)),await r.saveSelectedTenants(n,a)}})),o.commands.registerCommand("azure.resource.refreshall",(()=>{for(const e of h)e.notifyNodeChanged(void 0)})),o.commands.registerCommand("azure.resource.azureview.refresh",(async e=>t.refresh(e,!0))),o.commands.registerCommand("azure.resource.connectiondialog.refresh",(async e=>(await n.refresh(e,!0),n.refresh(e,!1)))),o.commands.registerCommand("azure.resource.signin",(async e=>o.commands.executeCommand("workbench.actions.modal.linkedAccount"))),o.commands.registerCommand("azure.resource.connectsqlserver",(async e=>{if(!e)return;let t;if(e instanceof a.TreeNode){const n=await e.getTreeItem();if(!n.payload)return;t=Object.assign({},n.payload,{saveProfile:!0})}else e.isConnectionNode&&(t=Object.assign({},e.connectionProfile,{saveProfile:!0}));await r.connection.openConnectionDialog(void 0,t,{saveConnection:!0,showDashboard:!0})&&o.commands.executeCommand("workbench.view.connections")})),o.commands.registerCommand("azure.resource.openInAzurePortal",(async e=>{if(!e.azureResourceId||!e.azurePortalEndpoint||!e.azureTenantId)return;const t=`${e.azurePortalEndpoint}//${e.azureTenantId}/#resource/${e.azureResourceId}`;await o.env.openExternal(o.Uri.parse(t))}))}},1202:(e,t)=>{"use strict";var n,r,o,i;Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceCategory=t.mongoDbKind=t.analyticsKind=t.pgsqlProvider=t.mySqlProvider=t.kustoProvider=t.cosmosDBProvider=t.logAnalyticsProvider=t.mssqlProvider=t.AzureResourcePrefixes=t.AzureResourceServiceNames=t.AzureResourceItemType=void 0,function(e){e.account="azure.resource.itemType.account",e.singleTenantAccount="azure.resource.itemType.singleTenantAccount",e.multipleTenantAccount="azure.resource.itemType.multipleTenantAccount",e.subscription="azure.resource.itemType.subscription",e.tenant="azure.resource.itemType.tenant",e.databaseContainer="azure.resource.itemType.databaseContainer",e.database="azure.resource.itemType.database",e.databaseServerContainer="azure.resource.itemType.databaseServerContainer",e.databaseServer="azure.resource.itemType.databaseServer",e.synapseSqlPoolContainer="azure.resource.itemType.synapseSqlPoolContainer",e.synapseSqlPool="azure.resource.itemType.synapseSqlPool",e.synapseWorkspaceContainer="azure.resource.itemType.synapseWorkspaceContainer",e.synapseWorkspace="azure.resource.itemType.synapseWorkspace",e.azureDataExplorerContainer="azure.resource.itemType.azureDataExplorerContainer",e.azureDataExplorer="azure.resource.itemType.azureDataExplorer",e.sqlInstance="azure.resource.itemType.sqlInstance",e.message="azure.resource.itemType.message",e.azureMonitor="azure.resource.itemType.azureMonitor",e.azureMonitorContainer="azure.resource.itemType.azureMonitorContainer",e.cosmosDBMongoAccount="azure.resource.itemType.cosmosDBMongoAccount",e.cosmosDBMongoCluster="azure.resource.itemType.cosmosDBMongoCluster",e.cosmosDBPostgresAccount="azure.resource.itemType.cosmosDBPostgresAccount",e.cosmosDBPostgresCluster="azure.resource.itemType.cosmosDBPostgresCluster"}(n||(t.AzureResourceItemType=n={})),function(e){e.resourceService="AzureResourceService",e.resourceGroupService="AzureResourceGroupService",e.cacheService="AzureResourceCacheService",e.accountService="AzureResourceAccountService",e.subscriptionService="AzureResourceSubscriptionService",e.subscriptionFilterService="AzureResourceSubscriptionFilterService",e.tenantService="AzureResourceTenantService",e.tenantFilterService="AzureResourceTenantFilterService",e.terminalService="AzureTerminalService"}(r||(t.AzureResourceServiceNames=r={})),function(e){e.logAnalytics="LogAnalytics_",e.cosmosdb="Cosmosdb_",e.database="database_",e.databaseServer="databaseServer_",e.kusto="Kusto_",e.mySqlFlexibleServer="mySqlFlexibleServer_",e.postgresServerArc="postgresServerArc_",e.postgresFlexibleServer="postgresFlexibleServer_",e.postgresServer="postgresServer_",e.sqlInstance="sqlInstance_",e.sqlInstanceArc="sqlInstanceArc_",e.synapseSqlPool="synapseSqlPool_",e.synapseWorkspace="synapseWorkspace_"}(o||(t.AzureResourcePrefixes=o={})),t.mssqlProvider="MSSQL",t.logAnalyticsProvider="LOGANALYTICS",t.cosmosDBProvider="COSMOSDB_MONGO",t.kustoProvider="KUSTO",t.mySqlProvider="MySQL",t.pgsqlProvider="PGSQL",t.analyticsKind="v12.0,analytics",t.mongoDbKind="MongoDB",function(e){e[e.Server=0]="Server",e[e.Database=1]="Database"}(i||(t.ResourceCategory=i={}))},5841:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureSubscriptionError=void 0;const r=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/errors.ts"));class o extends Error{constructor(e,t){super(r(0,null,e)),this.errors=t}}t.AzureSubscriptionError=o},9948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceMessageTreeNode=void 0;const r=n(9496),o=n(6599),i=n(1202);class a extends o.TreeNode{constructor(e,t){super(),this.message=e,this.parent=t,this._id="message_"+a._messageNum++}static create(e,t){return new a(e,t)}getChildren(){return[]}getTreeItem(){let e=new r.TreeItem(this.message,r.TreeItemCollapsibleState.None);return e.contextValue=i.AzureResourceItemType.message,e}getNodeInfo(){return{label:this.message,isLeaf:!0,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:i.AzureResourceItemType.message,nodeSubType:void 0,iconType:i.AzureResourceItemType.message}}get nodePathValue(){return this._id}}t.AzureResourceMessageTreeNode=a,a._messageNum=0},2202:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureMonitorResourceService=void 0;const r=n(7338),o=n(6887),i=n(8129);class a extends o.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=r.logAnalyticsQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.AZURE_MONITOR_PROVIDER_ID,fullName:e.properties.customerId,loginName:"",defaultDatabaseName:"",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.AzureMonitorResourceService=a},7954:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureMonitorTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/azuremonitor/azuremonitorTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.logAnalytics}${t.key.accountId}${e.tenant}${e.id?e.id:e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/logAnalyticsWorkspaces.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.azureMonitor,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:r.connection.AuthenticationType.AzureMFA,savePassword:!0,groupFullName:"",groupId:"",providerName:a.logAnalyticsProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.logAnalyticsProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/logAnalyticsWorkspaces.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.AzureMonitorTreeDataProvider=u,u.containerId="azure.resource.providers.AzureMonitorContainer",u.containerLabel=i(0,null)},1139:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosDbMongoService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.cosmosMongoDbQuery}convertServerResource(e){let t=e.name;const n="microsoft.documentdb/mongoclusters"===e.type;return n&&(t=new URL(e.properties.connectionString).hostname),{id:e.id,name:e.name,provider:i.COSMOSDB_MONGO_PROVIDER_ID,isServer:n,fullName:t,loginName:e.properties.administratorLogin,defaultDatabaseName:"",tenant:e.tenantId,subscription:{id:e.subscriptionId,name:e.subscriptionName||""}}}}t.CosmosDbMongoService=a},4265:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosDbMongoTreeDataProvider=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/cosmosdb/mongo/cosmosDbMongoTreeDataProvider.ts")),i=n(1202),a=n(8693),s=n(6887),c=n(9072);class u extends s.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${i.AzureResourcePrefixes.cosmosdb}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.CONTAINER_LABEL}, ${e.subscription.name})`:`${e.name}`,iconPath:this._extensionContext.asAbsolutePath("resources/cosmosDb.svg"),collapsibleState:r.TreeItemCollapsibleState.None,contextValue:i.AzureResourceItemType.cosmosDBMongoAccount,payload:{id:(0,a.generateGuid)(),connectionName:e.name,serverName:e.fullName,userName:e.loginName,password:"",authenticationType:e.isServer?c.connection.AuthenticationType.SqlLogin:c.connection.AuthenticationType.AzureMFA,savePassword:!0,groupFullName:"",groupId:"",providerName:i.cosmosDBProvider,saveProfile:!1,options:{isServer:e.isServer},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:i.cosmosDBProvider,type:c.ExtensionNodeType.Server}}async getRootChild(){return{id:u.CONTAINER_ID,label:u.CONTAINER_LABEL,iconPath:this._extensionContext.asAbsolutePath("resources/cosmosDb.svg"),collapsibleState:r.TreeItemCollapsibleState.Collapsed,contextValue:i.AzureResourceItemType.databaseServerContainer}}}t.CosmosDbMongoTreeDataProvider=u,u.CONTAINER_ID="azure.resource.providers.databaseServer.treeDataProvider.cosmosDbMongoContainer",u.CONTAINER_LABEL=o(0,null)},2292:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosDbPostgresService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.cosmosPostgresDbQuery}convertServerResource(e){let t=e.name;const n="microsoft.documentdb/postgresclusters"===e.type;return n&&(t=new URL(e.properties.connectionString).hostname),{id:e.id,name:e.name,provider:i.COSMOSDB_POSTGRES_PROVIDER_ID,isServer:n,fullName:t,loginName:e.properties.administratorLogin,defaultDatabaseName:"",tenant:e.tenantId,subscription:{id:e.subscriptionId,name:e.subscriptionName||""}}}}t.CosmosDbPostgresService=a},409:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CosmosDbPostgresTreeDataProvider=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/cosmosdb/postgres/cosmosDbPostgresTreeDataProvider.ts")),i=n(1202),a=n(8693),s=n(6887),c=n(9072);class u extends s.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${i.AzureResourcePrefixes.cosmosdb}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} ${u.CONTAINER_LABEL}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/cosmosDb.svg"),collapsibleState:r.TreeItemCollapsibleState.None,contextValue:i.AzureResourceItemType.cosmosDBPostgresAccount,payload:{id:(0,a.generateGuid)(),connectionName:e.name,serverName:e.fullName,userName:e.loginName,password:"",authenticationType:e.isServer?c.connection.AuthenticationType.SqlLogin:c.connection.AuthenticationType.AzureMFA,savePassword:!0,groupFullName:"",groupId:"",providerName:i.pgsqlProvider,saveProfile:!1,options:{isServer:e.isServer},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:i.pgsqlProvider,type:c.ExtensionNodeType.Server}}async getRootChild(){return{id:u.CONTAINER_ID,label:u.CONTAINER_LABEL,iconPath:this._extensionContext.asAbsolutePath("resources/cosmosDb.svg"),collapsibleState:r.TreeItemCollapsibleState.Collapsed,contextValue:i.AzureResourceItemType.databaseServerContainer}}}t.CosmosDbPostgresTreeDataProvider=u,u.CONTAINER_ID="azure.resource.providers.databaseServer.treeDataProvider.cosmosDbPostgresContainer",u.CONTAINER_LABEL=o(0,null)},4205:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceDatabaseService=void 0;const r=n(7338),o=n(5766),i=n(6887),a=n(8129);t.AzureResourceDatabaseService=class{constructor(){this.queryFilter=r.sqlDatabaseQuery}async getResources(e,t,n){const a=[],s=new o.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint});let c=(0,i.queryGraphResources)(s,e,r.where+r.sqlServerQuery),u=(0,i.queryGraphResources)(s,e,r.where+this.queryFilter),l=await c,p=await u,d=new Map;l.forEach((e=>{let t=d.get(e.resourceGroup)||[];t.push(e),d.set(e.resourceGroup,t)}));const h=new RegExp("/subscriptions/.+/resourceGroups/(.+)/providers/Microsoft.Sql/servers/(.+)/databases/.+"),m=new RegExp("/subscriptions/.+/resourceGroups/(.+)/providers/Microsoft.Synapse/workspaces/(.+)/databases/.+");return p.forEach((e=>{if(d.get(e.resourceGroup)&&!e.kind.endsWith("system")&&(h.test(e.id)||m.test(e.id))){const t=h.exec(e.id)??m.exec(e.id);if(!t)return void console.warn(`Could not parse server name from ID ${e.id}`);const n=t[2];let r=l.find((e=>e.name===n));r&&a.push(this.convertDatabaseResource(e,r))}})),a}convertDatabaseResource(e,t){return t?{name:e.name,id:e.id,provider:a.DATABASE_PROVIDER_ID,serverName:t.name,serverFullName:t.properties.fullyQualifiedDomainName,loginName:t.properties.administratorLogin,subscription:{id:e.subscriptionId,name:e.subscriptionName},tenant:e.tenantId,resourceGroup:e.resourceGroup}:void 0}}},5980:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceDatabaseTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/database/databaseTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.database}${t.key.accountId}${e.tenant}${e.serverFullName}.${a.AzureResourcePrefixes.database}${e.id??e.name}`,label:this.browseConnectionMode?`${e.serverName}/${e.name} (${u.containerLabel}, ${e.subscription.name})`:`${e.name} (${e.serverName})`,iconPath:this._extensionContext.asAbsolutePath("resources/sqlDatabase.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.database,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.serverFullName,databaseName:e.name,userName:e.loginName,password:"",authenticationType:"",savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureResourceId:e.id,azureTenantId:e.tenant,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Database}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/sqlDatabase.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseContainer}}}t.AzureResourceDatabaseTreeDataProvider=u,u.containerId="azure.resource.providers.database.treeDataProvider.databaseContainer",u.containerLabel=i(0,null)},4822:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceDatabaseServerService=void 0;const r=n(5766),o=n(6887),i=n(7338),a=n(8129);t.AzureResourceDatabaseServerService=class{constructor(){this.queryFilter=i.sqlServerQuery}async getResources(e,t,n){const a=[],s=new r.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint});let c=await(0,o.queryGraphResources)(s,e,i.where+this.queryFilter);const u=new Set;return c.forEach((t=>{if(!u.has(t.id)){u.add(t.id),t.subscriptionName=e.find((e=>e.id===t.subscriptionId))?.name;const n=this.convertServerResource(t);a.push(n)}})),a}convertServerResource(e){return{id:e.id,name:e.name,provider:a.DATABASE_SERVER_PROVIDER_ID,fullName:e.properties.fullyQualifiedDomainName,loginName:e.properties.administratorLogin,defaultDatabaseName:"master",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}},7313:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceDatabaseServerTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/databaseServer/databaseServerTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.databaseServer}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/sqlServer.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:"",savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/sqlServer.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.AzureResourceDatabaseServerTreeDataProvider=u,u.containerId="azure.resource.providers.databaseServer.treeDataProvider.databaseServerContainer",u.containerLabel=i(0,null)},4124:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KustoResourceService=void 0;const r=n(7338),o=n(6887),i=n(8129);class a extends o.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=r.kustoClusterQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.KUSTO_PROVIDER_ID,fullName:e.properties.uri.replace("https://",""),loginName:"",defaultDatabaseName:"",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.KustoResourceService=a},378:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KustoTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/kusto/kustoTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.kusto}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/dataExplorerClusterDb.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.azureDataExplorer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:r.connection.AuthenticationType.AzureMFA,savePassword:!0,groupFullName:"",groupId:"",providerName:a.kustoProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.kustoProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/dataExplorerClusterDb.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.KustoTreeDataProvider=u,u.containerId="azure.resource.providers.KustoContainer",u.containerLabel=i(0,null)},5725:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MysqlFlexibleServerService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.mysqlFlexibleServerQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID,fullName:e.properties.fullyQualifiedDomainName,loginName:e.properties.administratorLogin,defaultDatabaseName:"",tenant:e.tenantId,subscription:{id:e.subscriptionId,name:e.subscriptionName||""},resourceGroup:e.resourceGroup}}}t.MysqlFlexibleServerService=a},995:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MysqlFlexibleServerTreeDataProvider=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/mysqlFlexibleServer/mysqlFlexibleServerTreeDataProvider.ts")),i=n(1202),a=n(8693),s=n(6887),c=n(9072);class u extends s.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${i.AzureResourcePrefixes.mySqlFlexibleServer}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.CONTAINER_LABEL}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/mysqlDatabase.svg"),collapsibleState:this.browseConnectionMode?r.TreeItemCollapsibleState.None:r.TreeItemCollapsibleState.Collapsed,contextValue:i.AzureResourceItemType.databaseServer,payload:{id:(0,a.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:c.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:i.mySqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:i.mySqlProvider,type:c.ExtensionNodeType.Server}}async getRootChild(){return{id:u.CONTAINER_ID,label:u.CONTAINER_LABEL,iconPath:this._extensionContext.asAbsolutePath("resources/mysqlDatabase.svg"),collapsibleState:r.TreeItemCollapsibleState.Collapsed,contextValue:i.AzureResourceItemType.databaseServerContainer}}}t.MysqlFlexibleServerTreeDataProvider=u,u.CONTAINER_ID="azure.resource.providers.databaseServer.treeDataProvider.mysqlFlexibleServerContainer",u.CONTAINER_LABEL=o(0,null)},325:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresServerArcService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.postgresArcServerQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.POSTGRES_ARC_SERVER_PROVIDER_ID,fullName:e.name,loginName:e.properties.admin,defaultDatabaseName:"postgres",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.PostgresServerArcService=a},8429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresServerArcTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/postgresArcServer/postgresArcServerTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.postgresServerArc}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/azureArcPostgresServer.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:`${e.loginName}@${e.fullName}`,password:"",authenticationType:r.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:a.pgsqlProvider,saveProfile:!1,options:{sslmode:"require"},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.pgsqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/azureArcPostgresServer.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.PostgresServerArcTreeDataProvider=u,u.containerId="azure.resource.providers.postgresArcServer.treeDataProvider.postgresServerContainer",u.containerLabel=i(0,null)},5126:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresFlexibleServerService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.postgresFlexibleServerQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID,fullName:e.properties.fullyQualifiedDomainName,loginName:e.properties.administratorLogin,defaultDatabaseName:"postgres",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.PostgresFlexibleServerService=a},8760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresFlexibleServerTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/postgresFlexibleServer/postgresFlexibleServerTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.postgresFlexibleServer}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/postgresServer.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:`${e.loginName}@${e.fullName}`,password:"",authenticationType:r.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:a.pgsqlProvider,saveProfile:!1,options:{sslmode:"require"},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.pgsqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/postgresServer.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.PostgresFlexibleServerTreeDataProvider=u,u.containerId="azure.resource.providers.databaseServer.treeDataProvider.postgresFlexibleServerContainer",u.containerLabel=i(0,null)},2799:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresServerService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.postgresServerQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.POSTGRES_SERVER_PROVIDER_ID,fullName:e.properties.fullyQualifiedDomainName,loginName:e.properties.administratorLogin,defaultDatabaseName:"postgres",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.PostgresServerService=a},4451:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PostgresServerTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/postgresServer/postgresServerTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.postgresServer}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/postgresServer.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:`${e.loginName}@${e.fullName}`,password:"",authenticationType:r.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:a.pgsqlProvider,saveProfile:!1,options:{sslmode:"require"},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.pgsqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/postgresServer.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.PostgresServerTreeDataProvider=u,u.containerId="azure.resource.providers.databaseServer.treeDataProvider.postgresServerContainer",u.containerLabel=i(0,null)},7338:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.logAnalyticsQuery=t.cosmosPostgresDbQuery=t.cosmosMongoDbQuery=t.kustoClusterQuery=t.mysqlFlexibleServerQuery=t.postgresArcServerQuery=t.postgresFlexibleServerQuery=t.postgresServerQuery=t.resourceGroupQuery=t.sqlInstanceQuery=t.sqlInstanceArcQuery=t.sqlServerQuery=t.synapseSqlPoolsQuery=t.synapseWorkspacesQuery=t.sqlDatabaseQuery=t.where=void 0;const r=n(1202);t.where="where ",t.sqlDatabaseQuery='type == "microsoft.sql/servers/databases" or type == "microsoft.synapse/workspaces/sqldatabases"',t.synapseWorkspacesQuery='type == "microsoft.synapse/workspaces"',t.synapseSqlPoolsQuery='type == "microsoft.synapse/workspaces/sqlpools"',t.sqlServerQuery=`type == "microsoft.sql/servers" and kind != "${r.analyticsKind}"`,t.sqlInstanceArcQuery='type == "microsoft.azuredata/sqlmanagedinstances"',t.sqlInstanceQuery='type == "microsoft.sql/managedinstances"',t.resourceGroupQuery='ResourceContainers | where type=="microsoft.resources/subscriptions/resourcegroups"',t.postgresServerQuery='type == "microsoft.dbforpostgresql/servers" or type == "microsoft.dbforpostgresql/serversv2" or type == "microsoft.dbforpostgresql/singleservers"',t.postgresFlexibleServerQuery='type == "microsoft.dbforpostgresql/flexibleservers"',t.postgresArcServerQuery='type == "microsoft.azuredata/postgresinstances"',t.mysqlFlexibleServerQuery='type == "microsoft.dbformysql/flexibleservers"',t.kustoClusterQuery='type == "microsoft.kusto/clusters"',t.cosmosMongoDbQuery=`(type == "microsoft.documentdb/databaseaccounts" and kind == "${r.mongoDbKind}") or type == "microsoft.documentdb/mongoclusters"`,t.cosmosPostgresDbQuery='type == "microsoft.dbforpostgresql/servergroups" or type == "microsoft.dbforpostgresql/servergroupsv2"',t.logAnalyticsQuery='type == "microsoft.operationalinsights/workspaces"'},1856:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceGroupService=void 0;const r=n(6887),o=n(7338);class i extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.resourceGroupQuery}convertServerResource(e){return{id:e.id,name:e.name,subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId}}}t.AzureResourceGroupService=i},4274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceProvider=void 0,t.ResourceProvider=class{constructor(e,t){this._providerId=e,this._treeProvider=t}getTreeDataProvider(){return this._treeProvider}get providerId(){return this._providerId}}},6887:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResourceServiceBase=t.queryGraphResources=t.ResourceTreeDataProviderBase=void 0;const r=n(9072),o=n(5641),i=n(8693),a=n(5766),s=n(3682),c=n(7338);async function u(e,t,n){const r=[];let o=0,i=async a=>{const s=await e.resources({subscriptions:t.map((e=>e.id)),query:n,options:{resultFormat:"objectArray",skipToken:a}}),c=s.data;o+=c.length,r.push(...c),s.skipToken&&o<s.totalRecords&&await i(s.skipToken)};try{await i()}catch(e){try{if(e.response?.body){const t=JSON.parse(e.response.body);t.error?.details&&Array.isArray(t.error.details)&&t.error.details.length>0&&(t.error.details[0].message&&(e.message=`${t.error.details[0].message}\n${e.message}`),t.error.details[0].code&&(e.message=`${e.message} (${t.error.details[0].code})`))}}catch(e){s.Logger.error(`Unexpected error while parsing error from querying resources : ${e}`)}throw e}return r}t.ResourceTreeDataProviderBase=class{constructor(e){this._resourceService=e,this.browseConnectionMode=!1}getService(){return this._resourceService}async getChildren(e){try{return(await this.getResources(e)).map((t=>this.convertDataToResource(t,e))).sort(((e,t)=>e.treeItem.label.localeCompare(t.treeItem.label)))}catch(e){throw s.Logger.error(i.AzureResourceErrorMessageUtil.getErrorMessage(e)),e}}convertDataToResource(e,t){return{account:t.account,subscription:t.subscription,tenantId:t.subscription.tenant,treeItem:this.getTreeItemForResource(e,t.account)}}async getResources(e){const t=await r.accounts.getAccountSecurityToken(e.account,e.subscription.tenant,r.AzureResource.ResourceManagement);if(!t)throw new Error(`Did not receive security token when getting resources for account ${e.account.displayInfo.displayName}`);const n=new o.TokenCredentials(t.token,t.tokenType);return await this._resourceService.getResources([e.subscription],n,e.account)||[]}},t.queryGraphResources=u,t.ResourceServiceBase=class{async getResources(e,t,n){const r=[],o=new a.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint}),i=this.queryFilter===c.resourceGroupQuery?this.queryFilter:c.where+this.queryFilter,s=await u(o,e,i),l=new Set;return s.forEach((t=>{if(!l.has(t.id)){l.add(t.id),t.subscriptionName=e.find((e=>e.id===t.subscriptionId))?.name;const n=this.convertServerResource(t);r.push(n)}})),r}}},5245:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SqlInstanceResourceService=void 0;const r=n(7338),o=n(6887),i=n(8129);class a extends o.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=r.sqlInstanceQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.SQLINSTANCE_PROVIDER_ID,fullName:e.properties.fullyQualifiedDomainName,loginName:e.properties.administratorLogin,defaultDatabaseName:"master",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.SqlInstanceResourceService=a},5572:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SqlInstanceTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/sqlinstance/sqlInstanceTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.sqlInstance}${t.key.accountId}${e.tenant}${t.key.accountId}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/sqlManagedInstance.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:r.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/sqlManagedInstance.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.SqlInstanceTreeDataProvider=u,u.containerId="azure.resource.providers.sqlInstanceContainer",u.containerLabel=i(0,null)},1166:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SqlInstanceArcResourceService=void 0;const r=n(6887),o=n(7338),i=n(8129);class a extends r.ResourceServiceBase{constructor(){super(...arguments),this.queryFilter=o.sqlInstanceArcQuery}convertServerResource(e){return{id:e.id,name:e.name,provider:i.SQLINSTANCE_ARC_PROVIDER_ID,fullName:e.name,loginName:e.properties.admin,defaultDatabaseName:"master",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}t.SqlInstanceArcResourceService=a},7452:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SqlInstanceArcTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/sqlinstanceArc/sqlInstanceArcTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.sqlInstanceArc}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/azureArcSqlManagedInstance.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServer,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:r.connection.AuthenticationType.SqlLogin,savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/azureArcSqlManagedInstance.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.databaseServerContainer}}}t.SqlInstanceArcTreeDataProvider=u,u.containerId="azure.resource.providers.sqlInstanceArcContainer",u.containerLabel=i(0,null)},130:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSynapseService=void 0;const r=n(7338),o=n(5766),i=n(6887),a=n(8129);t.AzureResourceSynapseService=class{constructor(){this.queryFilter=r.synapseSqlPoolsQuery}convertDatabaseResource(e,t){return t?{name:e.name,id:e.id,provider:a.SYNAPSE_SQL_POOL_PROVIDER_ID,serverName:t.name,serverFullName:t.properties.connectivityEndpoints?.sql,loginName:t.properties.sqlAdministratorLogin,subscription:{id:e.subscriptionId,name:e.subscriptionName},tenant:e.tenantId,resourceGroup:e.resourceGroup}:void 0}async getResources(e,t,n){const a=[],s=new o.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint});let c=(0,i.queryGraphResources)(s,e,r.where+this.queryFilter),u=(0,i.queryGraphResources)(s,e,r.where+r.synapseWorkspacesQuery),l=await c,p=await u,d=new Map;p.forEach((e=>{let t=d.get(e.properties.managedResourceGroupName)||[];t.push(e),d.set(e.properties.managedResourceGroupName,t)}));const h=new RegExp("/subscriptions/.+/resourceGroups/(.+)/providers/Microsoft.Synapse/workspaces/(.+)/sqlPools/.+");return l.forEach((e=>{if(!e.kind.endsWith("system")&&h.test(e.id)){const t=h.exec(e.id);if(!t)return void console.warn(`Could not parse server name from ID ${e.id}`);const n=t[2];let r=p.find((e=>e.name===n));if(r){let t=this.convertDatabaseResource(e,r);a.push(t)}}})),a}}},9700:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSynapseSqlPoolTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/synapseSqlPool/synapseSqlPoolTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.synapseWorkspace}${t.key.accountId}${e.tenant}${e.serverFullName}.${a.AzureResourcePrefixes.synapseSqlPool}${e.id??e.name}`,label:this.browseConnectionMode?`${e.serverName}/${e.name} (${u.containerLabel}, ${e.subscription.name})`:`${e.name} (${e.serverName})`,iconPath:this._extensionContext.asAbsolutePath("resources/sqlPools.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.synapseSqlPool,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.serverFullName,databaseName:e.name,userName:e.loginName,password:"",authenticationType:"",savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureResourceId:e.id,azureTenantId:e.tenant,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Database}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/sqlPools.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.synapseSqlPoolContainer}}}t.AzureResourceSynapseSqlPoolTreeDataProvider=u,u.containerId="azure.resource.providers.synapseSqlPool.treeDataProvider.synapseSqlPoolContainer",u.containerLabel=i(0,null)},2675:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSynapseWorkspaceService=void 0;const r=n(5766),o=n(6887),i=n(7338),a=n(8129);t.AzureResourceSynapseWorkspaceService=class{constructor(){this.queryFilter=i.synapseWorkspacesQuery}async getResources(e,t,n){const a=[],s=new r.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint});let c=await(0,o.queryGraphResources)(s,e,i.where+this.queryFilter);const u=new Set;return c.forEach((t=>{if(!u.has(t.id)){u.add(t.id),t.subscriptionName=e.find((e=>e.id===t.subscriptionId))?.name;const n=this.convertServerResource(t);a.push(n)}})),a}convertServerResource(e){return{id:e.id,name:e.name,provider:a.SYNAPSE_WORKSPACE_PROVIDER_ID,fullName:e.properties.connectivityEndpoints?.sql,loginName:e.properties.sqlAdministratorLogin,defaultDatabaseName:"master",subscription:{id:e.subscriptionId,name:e.subscriptionName||""},tenant:e.tenantId,resourceGroup:e.resourceGroup}}}},5194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSynapseWorkspaceTreeDataProvider=void 0;const r=n(9072),o=n(9496),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/synapseWorkspace/synapseWorkspaceTreeDataProvider.ts")),a=n(1202),s=n(8693),c=n(6887);class u extends c.ResourceTreeDataProviderBase{constructor(e,t){super(e),this._extensionContext=t}getTreeItemForResource(e,t){return{id:`${a.AzureResourcePrefixes.synapseWorkspace}${t.key.accountId}${e.tenant}${e.id??e.name}`,label:this.browseConnectionMode?`${e.name} (${u.containerLabel}, ${e.subscription.name})`:e.name,iconPath:this._extensionContext.asAbsolutePath("resources/azureSynapseAnalytics.svg"),collapsibleState:this.browseConnectionMode?o.TreeItemCollapsibleState.None:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.synapseWorkspace,payload:{id:(0,s.generateGuid)(),connectionName:void 0,serverName:e.fullName,databaseName:e.defaultDatabaseName,userName:e.loginName,password:"",authenticationType:"",savePassword:!0,groupFullName:"",groupId:"",providerName:a.mssqlProvider,saveProfile:!1,options:{},azureAccount:t.key.accountId,azureTenantId:e.tenant,azureResourceId:e.id,azurePortalEndpoint:t.properties.providerSettings.settings.portalEndpoint},childProvider:a.mssqlProvider,type:r.ExtensionNodeType.Server}}async getRootChild(){return{id:u.containerId,label:u.containerLabel,iconPath:this._extensionContext.asAbsolutePath("resources/azureSynapseAnalytics.svg"),collapsibleState:o.TreeItemCollapsibleState.Collapsed,contextValue:a.AzureResourceItemType.synapseWorkspaceContainer}}}t.AzureResourceSynapseWorkspaceTreeDataProvider=u,u.containerId="azure.resource.providers.synapseWorkspace.treeDataProvider.synapseWorkspaceContainer",u.containerLabel=i(0,null)},165:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceUniversalResourceProvider=void 0,t.AzureResourceUniversalResourceProvider=class{constructor(e,t){this._providerId=e,this._treeProvider=t}getTreeDataProvider(){return this._treeProvider}get providerId(){return this._providerId}}},1737:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceUniversalService=void 0;const r=n(5766),o=n(6887),i=n(7338),a=n(3403),s=n(1202),c=n(8129),u=n(3682),l=a.loadMessageBundle(n(1017).join(__dirname,"azureResource/providers/universal/universalService.ts"));t.AzureResourceUniversalService=class{constructor(e){this.registeredTreeDataProviders=e,this.queryFilter=this.generateUniversalQueryFilter()}generateUniversalQueryFilter(){let e=i.where;return this.registeredTreeDataProviders.forEach(((t,n)=>{e+=" ("+t.getService().queryFilter+") or"})),e.substring(0,e.length-3)}getRegisteredTreeDataProviderInstance(e){if(this.registeredTreeDataProviders.has(e))return this.registeredTreeDataProviders.get(e);throw new Error(l(0,null,e))}async getResources(e,t,n){const i=[],a=new r.ResourceGraphClient(t,{baseUri:n.properties.providerSettings.settings.armResource.endpoint});let c=await(0,o.queryGraphResources)(a,e,this.queryFilter);const u=new Set;return c.forEach((t=>{if(!u.has(t.id)){let n;u.add(t.id),t.subscriptionName=e.find((e=>e.id===t.subscriptionId))?.name;let r=this.getProviderFromResourceType(t.type,t.kind);if(r[1]===s.ResourceCategory.Server)n=r[0].getService().convertServerResource(t);else if(!t.kind?.endsWith("system")){let e=r[0].getService(),o=this.getServerResource(t,c);n=e.convertDatabaseResource(t,o)}n&&i.push(n)}})),i}getProviderFromResourceType(e,t){if("microsoft.documentdb/databaseaccounts"===e&&t===s.mongoDbKind||"microsoft.documentdb/mongoclusters"===e)return[this.getRegisteredTreeDataProviderInstance(c.COSMOSDB_MONGO_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.dbforpostgresql/servergroups"===e||"microsoft.dbforpostgresql/servergroupsv2"===e)return[this.getRegisteredTreeDataProviderInstance(c.COSMOSDB_POSTGRES_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.sql/servers/databases"===e||"microsoft.synapse/workspaces/sqldatabases"===e)return[this.getRegisteredTreeDataProviderInstance(c.DATABASE_PROVIDER_ID),s.ResourceCategory.Database];if("microsoft.sql/servers"===e&&t!==s.analyticsKind)return[this.getRegisteredTreeDataProviderInstance(c.DATABASE_SERVER_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.kusto/clusters"===e)return[this.getRegisteredTreeDataProviderInstance(c.KUSTO_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.operationalinsights/workspaces"===e)return[this.getRegisteredTreeDataProviderInstance(c.AZURE_MONITOR_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.dbformysql/flexibleservers"===e)return[this.getRegisteredTreeDataProviderInstance(c.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.dbforpostgresql/servers"===e||"microsoft.dbforpostgresql/serversv2"===e||"microsoft.dbforpostgresql/singleservers"===e)return[this.getRegisteredTreeDataProviderInstance(c.POSTGRES_SERVER_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.dbforpostgresql/flexibleservers"===e)return[this.getRegisteredTreeDataProviderInstance(c.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.azuredata/postgresinstances"===e)return[this.getRegisteredTreeDataProviderInstance(c.POSTGRES_ARC_SERVER_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.sql/managedinstances"===e)return[this.getRegisteredTreeDataProviderInstance(c.SQLINSTANCE_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.azuredata/sqlmanagedinstances"===e)return[this.getRegisteredTreeDataProviderInstance(c.SQLINSTANCE_ARC_PROVIDER_ID),s.ResourceCategory.Server];if("microsoft.synapse/workspaces/sqlpools"===e)return[this.getRegisteredTreeDataProviderInstance(c.SYNAPSE_SQL_POOL_PROVIDER_ID),s.ResourceCategory.Database];if("microsoft.synapse/workspaces"===e)return[this.getRegisteredTreeDataProviderInstance(c.SYNAPSE_WORKSPACE_PROVIDER_ID),s.ResourceCategory.Server];throw u.Logger.error(`Type provider not registered: ${e}`),new Error(l(1,null,e))}getProviderFromResourceId(e){if(e.startsWith(s.AzureResourcePrefixes.cosmosdb))return this.getRegisteredTreeDataProviderInstance(c.COSMOSDB_MONGO_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.database))return this.getRegisteredTreeDataProviderInstance(c.DATABASE_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.databaseServer))return this.getRegisteredTreeDataProviderInstance(c.DATABASE_SERVER_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.kusto))return this.getRegisteredTreeDataProviderInstance(c.KUSTO_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.logAnalytics))return this.getRegisteredTreeDataProviderInstance(c.AZURE_MONITOR_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.mySqlFlexibleServer))return this.getRegisteredTreeDataProviderInstance(c.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.postgresServer))return this.getRegisteredTreeDataProviderInstance(c.POSTGRES_SERVER_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.postgresFlexibleServer))return this.getRegisteredTreeDataProviderInstance(c.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.postgresServerArc))return this.getRegisteredTreeDataProviderInstance(c.POSTGRES_ARC_SERVER_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.sqlInstance))return this.getRegisteredTreeDataProviderInstance(c.SQLINSTANCE_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.sqlInstanceArc))return this.getRegisteredTreeDataProviderInstance(c.SQLINSTANCE_ARC_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.synapseSqlPool))return this.getRegisteredTreeDataProviderInstance(c.SYNAPSE_SQL_POOL_PROVIDER_ID);if(e.startsWith(s.AzureResourcePrefixes.synapseWorkspace))return this.getRegisteredTreeDataProviderInstance(c.SYNAPSE_WORKSPACE_PROVIDER_ID);throw u.Logger.error(`Unrecognized provider prefix for id: ${e}`),new Error(l(2,null,e))}getServerResource(e,t){const n=e.id.split("/"),r=n.length-3,o=n[2];return t.find((e=>e.name===n[r]&&e.subscriptionId===o))??void 0}}},1623:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceUniversalTreeDataProvider=void 0;const r=n(9072),o=n(5641),i=n(8693),a=n(6887),s=n(3682);class c extends a.ResourceTreeDataProviderBase{constructor(e){super(e),this.universalService=e}getService(){return this.universalService}getChildren(e){throw new Error("Method not supported for universal provider.")}getTreeItemForResource(e,t){let n=this.universalService.getRegisteredTreeDataProviderInstance(e.provider);return n.browseConnectionMode=this.browseConnectionMode,n.getTreeItemForResource(e,t)}async getRootChild(){throw new Error("Method not supported")}async getAllChildren(e,t){try{return(await this.getAllResources(e,t)).map((t=>({account:e,subscription:t.subscription,tenantId:t.tenant,resourceProviderId:t.provider,treeItem:this.getTreeItemForResource(t,e)}))).sort(((e,t)=>e.treeItem.label.localeCompare(t.treeItem.label)))}catch(e){throw s.Logger.error(i.AzureResourceErrorMessageUtil.getErrorMessage(e)),e}}async getAllResources(e,t){let n=[];for(const i of e.properties.tenants){const a=t.filter((e=>e.tenant===i.id));if(a&&a.length>0){const t=await r.accounts.getAccountSecurityToken(e,i.id,r.AzureResource.ResourceManagement);if(!t)throw new Error(`Did not receive security token when getting resources for account ${e.displayInfo.displayName}`);const s=new o.TokenCredentials(t.token,t.tokenType);n=n.concat(await this.universalService.getResources(a,s,e))}}return n}}t.AzureResourceUniversalTreeDataProvider=c},157:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceService=void 0;const r=n(9496),o=n(8129);t.AzureResourceService=class{constructor(){this._areResourceProvidersLoaded=!1,this._resourceProviders={},this._treeDataProviders={},this._universalProvider=void 0}async listResourceProviderIds(){return await this.ensureResourceProvidersRegistered(),Object.keys(this._resourceProviders)}async getResourceProviders(){return await this.ensureResourceProvidersRegistered(),this._resourceProviders}registerResourceProvider(e){this.doRegisterResourceProvider(e)}registerUniversalResourceProvider(e){this._universalProvider=e}clearResourceProviders(){this._resourceProviders={},this._treeDataProviders={},this._areResourceProvidersLoaded=!1}async getRootChild(e,t,n){if(await this.ensureResourceProvidersRegistered(),!(e in this._resourceProviders)&&e!==o.UNIVERSAL_PROVIDER_ID)throw new Error(`Azure resource provider doesn't exist. Id: ${e}`);const r=await(this._treeDataProviders[e]?.getRootChild());return{account:t,subscription:n,tenantId:n.tenant,resourceProviderId:e,treeItem:r}}async getChildren(e,t,n=!1){if(await this.ensureResourceProvidersRegistered(),!(e in this._resourceProviders)&&e!==o.UNIVERSAL_PROVIDER_ID)throw new Error(`Azure resource provider doesn't exist. Id: ${e}`);const r=this._treeDataProviders[e];return r.browseConnectionMode=n,await r.getChildren(t)}async getAllChildren(e,t,n=!1){await this.ensureResourceProvidersRegistered();const r=this._universalProvider?.getTreeDataProvider();return r.browseConnectionMode=n,await r.getAllChildren(e,t)}get areResourceProvidersLoaded(){return this._areResourceProvidersLoaded}set areResourceProvidersLoaded(e){this._areResourceProvidersLoaded=e}async ensureResourceProvidersRegistered(){if(!this._areResourceProvidersLoaded){for(const e of r.extensions.all){const t=e.packageJSON.contributes;if(t&&t.hasAzureResourceProviders){if(await e.activate(),e.exports&&e.exports.provideResources)for(const t of e.exports.provideResources())t&&t.providerId!==o.UNIVERSAL_PROVIDER_ID&&this.doRegisterResourceProvider(t);e.exports&&e.exports.getUniversalProvider&&(this._universalProvider=e.exports.getUniversalProvider())}}this._areResourceProvidersLoaded=!0}}doRegisterResourceProvider(e){this._resourceProviders[e.providerId]=e,this._treeDataProviders[e.providerId]=e.getTreeDataProvider()}}},5074:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceResourceTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/resourceTreeNode.ts")),i=n(6599),a=n(9948),s=n(8693),c=n(1202);class u extends i.TreeNode{constructor(e,t,n){super(),this.resourceNode=e,this.appContext=n,this._resourceService=n.getService(c.AzureResourceServiceNames.resourceService),this.parent=t}async getChildren(){if(this.resourceNode.treeItem.collapsibleState===r.TreeItemCollapsibleState.None)return[];try{const e=await this._resourceService.getChildren(this.resourceNode.resourceProviderId,this.resourceNode);return 0===e.length?[a.AzureResourceMessageTreeNode.create(o(0,null),this)]:e.map((e=>(e.treeItem.id=`${this.resourceNode.treeItem.id}.${e.treeItem.id}`,new u(e,this,this.appContext))))}catch(e){return[a.AzureResourceMessageTreeNode.create(s.AzureResourceErrorMessageUtil.getErrorMessage(e),this)]}}getTreeItem(){return this.resourceNode.treeItem}getNodeInfo(){const e=this.resourceNode.treeItem;return{label:"object"==typeof e.label?e.label.label:e.label||"",isLeaf:e.collapsibleState===r.TreeItemCollapsibleState.None,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:e.contextValue||"",nodeSubType:void 0,iconType:e.contextValue}}get nodePathValue(){return this.resourceNode.treeItem.id||""}}t.AzureResourceResourceTreeNode=u},5054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceCacheService=void 0;class n{constructor(e){this._context=e}generateKey(e){return`${n.cacheKeyPrefix}.${e}`}get(e){return this._context.workspaceState.get(e)}async update(e,t){await this._context.workspaceState.update(e,t)}}t.AzureResourceCacheService=n,n.cacheKeyPrefix="azure.resource.cache"},5501:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSubscriptionFilterService=void 0,t.AzureResourceSubscriptionFilterService=class{constructor(e){this._cacheService=e,this._cacheKey=this._cacheService.generateKey("selectedSubscriptions")}async getSelectedSubscriptions(e,t){let n=[];const r=this._cacheService.get(this._cacheKey);if(r&&(n=r.selectedSubscriptions[e.key.accountId+"/"+t.id],!n)){let n=r.selectedSubscriptions[e.key.accountId]?.filter((e=>e.tenant===t.id));n&&await this.saveSelectedSubscriptions(e,t,n)}return n}async saveSelectedSubscriptions(e,t,n){let r={};const o=this._cacheService.get(this._cacheKey);o&&(r=o.selectedSubscriptions),r||(r={});let i=e.key.accountId;t&&(i+="/"+t.id),r[i]=n,await this._cacheService.update(this._cacheKey,{selectedSubscriptions:r}),[].push(...r[i].map((e=>`${i}/${e.id}`)))}}},6678:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSubscriptionService=void 0;const r=n(9072),o=n(9496),i=n(8722),a=n(5841),s=n(8693),c=n(3682),u=n(3403),l=n(6168),p=n(8129),d=n(5641),h=u.loadMessageBundle(n(1017).join(__dirname,"azureResource/services/subscriptionService.ts"));t.AzureResourceSubscriptionService=class{async getSubscriptions(e,t){const n=[];let u=!1;const m=[];for(const a of t??e.properties.tenants.map((e=>e.id)))try{const t=await r.accounts.getAccountSecurityToken(e,a,r.AzureResource.ResourceManagement);if(void 0!==t){const r=new i.SubscriptionClient(new d.TokenCredentials(t.token,t.tokenType),{baseUri:e.properties.providerSettings.settings.armResource.endpoint}),o=await r.subscriptions.list();n.push(...o.map((e=>({id:e.subscriptionId||"",name:e.displayName||"",tenant:a})))),c.Logger.verbose(`AzureResourceSubscriptionService.getSubscriptions: Retrieved ${o.length} subscriptions for tenant ${a} / account ${e.displayInfo.displayName}`),u=!0}else if(!e.isStale){const t=h(0,null,e.displayInfo.displayName,a);c.Logger.error(`Failed to acquire Access Token for account '${e.displayInfo.displayName}' (tenant '${a}').`),o.window.showWarningMessage(t)}}catch(t){if(!(e.isStale||t instanceof l.TenantIgnoredError)){const n=s.AzureResourceErrorMessageUtil.getErrorMessage(t);let r=h(1,null,e.displayInfo.displayName,a,n);n.includes(p.multiple_matching_tokens_error)&&(r=r.concat(" To resolve this error, please clear token cache, and refresh account credentials.")),c.Logger.error(`Failed to get subscriptions for account ${e.displayInfo.displayName} (tenant '${a}'). ${n}`),m.push(t),o.window.showWarningMessage(r)}}if(!u)throw new a.AzureSubscriptionError(e.key.accountId,m);return n}}},8662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceTenantFilterService=void 0,t.AzureResourceTenantFilterService=class{constructor(e){this._cacheService=e,this._cacheKey=this._cacheService.generateKey("selectedTenants")}async getSelectedTenants(e){let t=[];const n=this._cacheService.get(this._cacheKey);return n&&(t=n.selectedTenants[e.key.accountId]),t}async saveSelectedTenants(e,t){let n={};const r=this._cacheService.get(this._cacheKey);r&&(n=r.selectedTenants),n||(n={}),n[e.key.accountId]=t,await this._cacheService.update(this._cacheKey,{selectedTenants:n});const o=[];for(const e in n)o.push(...n[e].map((t=>`${e}/${t.id}/${t.displayName}`)))}}},3514:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureTerminalService=void 0;const r=n(9072),o=n(9496),i=n(3403),a=n(3306),s=n(8777),c=n(3682),u=i.loadMessageBundle(n(1017).join(__dirname,"azureResource/services/terminalService.ts")),l=async()=>{const e=u(0,null);let t;!function(e){e[e.OPEN_SITE=0]="OPEN_SITE",e[e.OK=1]="OK"}(t||(t={}));const n={action:t.OPEN_SITE,title:u(1,null)},r={action:t.OK,title:u(2,null)},i=await o.window.showInformationMessage(e,n,r);i?.action===t.OPEN_SITE&&o.env.openExternal(o.Uri.parse("https://aka.ms/AA83f8f"))};t.AzureTerminalService=class{constructor(e){this.apiVersion="?api-version=2018-10-01"}async getOrCreateCloudConsole(e,t){const n=await r.accounts.getAccountSecurityToken(e,t.id,r.AzureResource.MicrosoftResourceManagement);if(!n)throw new Error("Did not receive security token when creating cloud console");const o={headers:{Accept:"application/json","Content-Type":"application/json",Authorization:`Bearer ${n.token}`},validateStatus:()=>!0},i=e.properties.providerSettings,s=this.getConsoleUserSettingsUri(i.settings.armResource.endpoint);let u;try{u=await a.default.get(s,o)}catch(e){return c.Logger.info(e,e.response),void await l()}const p=u.data?.properties?.preferredShellType??"bash",d=u.data?.properties?.preferredLocation,h=this.getConsoleRequestUri(i.settings.armResource.endpoint);let m;d&&(o.headers["x-ms-console-preferred-location"]=d);try{m=await a.default.put(h,{},o)}catch(e){return c.Logger.info(e,e.response),void await l()}if("Succeeded"!==m.data?.properties?.provisioningState)throw new Error(JSON.stringify(m.data));const f=m.data.properties.uri;return this.createTerminal(f,n.token,e.displayInfo.displayName,p)}async createTerminal(e,t,n,r){class i{constructor(e,t){this.label=e,this.value=t}}const a=[new i("PowerShell","pwsh"),new i("Bash","bash")],s=a.findIndex((e=>e.value===r)),c=a.splice(s,1);a.unshift(c[0]);let l=await o.window.showQuickPick(a,{canPickMany:!1,placeHolder:u(3,null)});if(!l)return void o.window.showErrorMessage(u(4,null));const d=u(5,null,l.label,n),h=new p(e,t,l.value);o.window.createTerminal({name:d,pty:h}).show()}getConsoleRequestUri(e){return`${e}/providers/Microsoft.Portal/consoles/default${this.apiVersion}`}getConsoleUserSettingsUri(e){return`${e}/providers/Microsoft.Portal/userSettings/cloudconsole${this.apiVersion}`}};class p{constructor(e,t,n){this.consoleUri=e,this.token=t,this.shell=n,this.socket=void 0,this.intervalTimer=void 0,this.writeEmitter=new o.EventEmitter,this.onDidWrite=this.writeEmitter.event}handleInput(e){this.socket?.send(e)}async open(e){await this.setDimensions(e)}close(){this.socket&&(this.socket.removeAllListeners("open"),this.socket.removeAllListeners("message"),this.socket.removeAllListeners("close"),this.socket.close(),this.intervalTimer&&clearInterval(this.intervalTimer))}areSameDimensions(e,t){return e?.columns===t.columns&&e?.rows===t.rows}async setDimensions(e){if(e&&!this.areSameDimensions(this.terminalDimensions,e))return this.terminalDimensions=e,this.resetTerminalSize()}async resetTerminalSize(){try{this.close();const e=await this.establishTerminal(this.terminalDimensions);if(!e)return;this.socket=new s(e),this.socket.on("message",(e=>{this.writeEmitter.fire(e.toString())})),this.socket.on("close",(()=>{this.writeEmitter.fire(u(6,null)),this.close()})),this.intervalTimer=setInterval((()=>{this.socket?.ping()}),5e3)}catch(e){c.Logger.error(e)}}async establishTerminal(e){let t;try{const n=e?`${this.consoleUri}/terminals?rows=${e.rows}&cols=${e.columns}&shell=${this.shell}`:`${this.consoleUri}/terminals?shell=${this.shell}`;t=await a.default.post(n,void 0,{headers:{Accept:"application/json","Content-Type":"application/json",Authorization:`Bearer ${this.token}`}})}catch(e){return c.Logger.info(`Error establishing terminal. ${e}, ${e.response}`),void await l()}const n=t.data?.socketUri;if(t.data.error&&o.window.showErrorMessage(t.data.error.message),!n)throw Error(JSON.stringify(t.data));return n}}},1626:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceAccountNotSignedInTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/accountNotSignedInTreeNode.ts")),i=n(6599),a=n(1202);class s extends i.TreeNode{getChildren(){return[]}getTreeItem(){let e=new r.TreeItem(s.signInLabel,r.TreeItemCollapsibleState.None);return e.contextValue=a.AzureResourceItemType.message,e.command={title:s.signInLabel,command:"azure.resource.signin",arguments:[this]},e}getNodeInfo(){return{label:s.signInLabel,isLeaf:!0,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:a.AzureResourceItemType.message,nodeSubType:void 0,iconType:a.AzureResourceItemType.message}}get nodePathValue(){return"message_accountNotSignedIn"}}t.AzureResourceAccountNotSignedInTreeNode=s,s.signInLabel=o(0,null)},6275:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceAccountTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/accountTreeNode.ts")),i=n(3211),a=n(1202),s=n(4051),c=n(9948);class u extends i.AzureResourceContainerTreeNodeBase{constructor(e,t,n){super(t,n,void 0),this.account=e,this._totalTenantsCount=0,this._selectedTenantsCount=0,this._tenantFilterService=this.appContext.getService(a.AzureResourceServiceNames.tenantFilterService),1===this.account.properties.tenants.length&&(this._singleTenantTreeNode=new s.AzureResourceTenantTreeNode(this.account,this.account.properties.tenants[0],this,this.appContext,this.treeChangeHandler)),this._id=`account_${this.account.key.accountId}`,this.setCacheKey(`${this._id}.tenants`),this._label=this.generateLabel()}async getChildren(){let e=this.account.properties.tenants;this._totalTenantsCount=e.length;const t=(await this._tenantFilterService.getSelectedTenants(this.account)||[]).map((e=>e.id));return t.length>0?(e=e.filter((e=>-1!==t.indexOf(e.id))),this._selectedTenantsCount=t.length):this._selectedTenantsCount=this._totalTenantsCount,this.refreshLabel(),1===this.totalTenantsCount?await(this._singleTenantTreeNode?.getChildren())??[]:0===e.length?[c.AzureResourceMessageTreeNode.create(u.noTenantsLabel,this)]:(await Promise.all(e.map((async e=>new s.AzureResourceTenantTreeNode(this.account,e,this,this.appContext,this.treeChangeHandler))))).sort(((e,t)=>e.tenant.displayName.localeCompare(t.tenant.displayName)))}getTreeItem(){const e=new r.TreeItem(this._label,r.TreeItemCollapsibleState.Collapsed);return e.id=this._id,e.contextValue=this.account.properties.tenants.length>1?a.AzureResourceItemType.multipleTenantAccount:a.AzureResourceItemType.singleTenantAccount,e.iconPath=this.appContext.extensionContext.asAbsolutePath("resources/users.svg"),e}getNodeInfo(){return{label:this._label,isLeaf:!1,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:a.AzureResourceItemType.account,nodeSubType:void 0,iconType:a.AzureResourceItemType.account}}get nodePathValue(){return this._id}get totalTenantsCount(){return this._totalTenantsCount}get selectedTenantCount(){return this._selectedTenantsCount}refreshLabel(){const e=this.generateLabel();this._label!==e&&(this._label=e,this.treeChangeHandler.notifyNodeChanged(this))}generateLabel(){let e=this.account.displayInfo.displayName;return 1===this._totalTenantsCount&&this._singleTenantTreeNode?e+=` (${this._singleTenantTreeNode.selectedSubscriptionCount} / ${this._singleTenantTreeNode.totalSubscriptionCount} subscriptions)`:this._totalTenantsCount>0&&(e+=` (${this._selectedTenantsCount} / ${this._totalTenantsCount} tenants)`),e}}t.AzureResourceAccountTreeNode=u,u.noTenantsLabel=o(0,null)},3211:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceContainerTreeNodeBase=void 0;const r=n(6599),o=n(1202);class i extends r.TreeNode{constructor(e,t,n){super(),this.appContext=e,this.treeChangeHandler=t,this.parent=n}}t.AzureResourceContainerTreeNodeBase=class extends i{constructor(e,t,n){super(e,t,n),this._isClearingCache=!0,this._cacheKey=void 0,this._cacheService=this.appContext.getService(o.AzureResourceServiceNames.cacheService)}clearCache(){this._isClearingCache=!0}get isClearingCache(){return this._isClearingCache}setCacheKey(e){this._cacheKey=this._cacheService.generateKey(e)}updateCache(e){return this._cacheService.update(this._cacheKey,e)}getCache(){return this.ensureCacheKey(),this._cacheService.get(this._cacheKey)}ensureCacheKey(){if(!this._cacheKey)throw new Error("A cache key must be generated first")}}},9620:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionDialogTreeProvider=void 0;const r=n(9496),o=n(9072),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/connectionDialogTreeProvider.ts")),a=n(1626),s=n(9948),c=n(3211),u=n(8693),l=n(3682),p=n(6709);t.ConnectionDialogTreeProvider=class{constructor(e){this.appContext=e,this.isSystemInitialized=!1,this.accounts=[],this._onDidChangeTreeData=new r.EventEmitter,o.accounts.onDidChangeAccounts((async e=>{let t=await o.accounts.getAllAccounts();t=t.filter((e=>e.key.providerId.startsWith("azure"))),this.setSystemInitialized(),(0,u.equals)(t,this.accounts)||(this.accounts=t,this.notifyNodeChanged(void 0))}))}async getChildren(e){if(e)return e.getChildren();if(!this.isSystemInitialized)return this.loadingAccountsPromise||(this.loadingAccountsPromise=this.loadAccounts()),[s.AzureResourceMessageTreeNode.create(i(0,null),void 0)];if(this.accounts&&this.accounts.length>0){const e=[],t=[];for(const n of this.accounts)try{const t=new p.FlatAccountTreeNode(n,this.appContext,this);t.refreshLabel(),e.push(t)}catch(e){t.push(u.AzureResourceErrorMessageUtil.getErrorMessage(e))}if(t.length>0){const e=i(1,null);r.window.showErrorMessage(i(2,null,t.join(",")),e).then((t=>{t===e&&r.commands.executeCommand("azure.resource.signin")}))}return e}return[new a.AzureResourceAccountNotSignedInTreeNode]}async loadAccounts(){try{this.accounts=await o.accounts.getAllAccounts(),this.setSystemInitialized(),this._onDidChangeTreeData.fire(void 0)}catch(e){l.Logger.error("loadAccounts failed with the following error: {0}",e.message??e),this.isSystemInitialized=!1}}setSystemInitialized(){this.isSystemInitialized=!0,this.loadingAccountsPromise=void 0}get onDidChangeTreeData(){return this._onDidChangeTreeData.event}notifyNodeChanged(e){this._onDidChangeTreeData.fire(e)}async refresh(e,t){t&&e instanceof c.AzureResourceContainerTreeNodeBase&&e.clearCache(),this._onDidChangeTreeData.fire(e)}getTreeItem(e){return e.getTreeItem()}}},6709:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FlatAccountTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/flatAccountTreeNode.ts")),i=n(3211),a=n(1202),s=n(9948),c=n(5845);class u extends i.AzureResourceContainerTreeNodeBase{constructor(e,t,n){super(t,n,void 0),this.account=e,this._totalTenantsCount=0,this._selectedTenantsCount=0,this._tenantFilterService=this.appContext.getService(a.AzureResourceServiceNames.tenantFilterService),this._id=`account_${this.account.key.accountId}`,this.setCacheKey(`${this._id}.tenants`),1===this.account.properties.tenants.length&&(this._singleTenantTreeNode=new c.FlatTenantTreeNode(this.account,this.account.properties.tenants[0],this,this.appContext,this.treeChangeHandler)),this._label=this.generateLabel()}async getChildren(){let e=[],t=this.account.properties.tenants;this._totalTenantsCount=t.length;const n=(await this._tenantFilterService.getSelectedTenants(this.account)||[]).map((e=>e.id));return n.length>0?(t=t.filter((e=>-1!==n.indexOf(e.id))),this._selectedTenantsCount=n.length):this._selectedTenantsCount=this._totalTenantsCount,this.refreshLabel(),1===this._totalTenantsCount?this._isClearingCache?await(this._singleTenantTreeNode?.getChildren()):e=await(this._singleTenantTreeNode?.getChildren())??[]:0===t.length?e=[s.AzureResourceMessageTreeNode.create(u.noTenantsLabel,this)]:(this._multiTenantTreeNodes||(this._multiTenantTreeNodes=await Promise.all(t.map((async e=>new c.FlatTenantTreeNode(this.account,e,void 0,this.appContext,this.treeChangeHandler))))),e=this._multiTenantTreeNodes.sort(((e,t)=>e.tenant.displayName.localeCompare(t.tenant.displayName)))),this._isClearingCache?(this._multiTenantTreeNodes?.forEach((e=>{e.clearCache()})),this._isClearingCache=!1,[]):e}getTreeItem(){const e=new r.TreeItem(this._label,r.TreeItemCollapsibleState.Collapsed);return e.id=this._id,e.contextValue=this.account.properties.tenants.length>1?a.AzureResourceItemType.multipleTenantAccount:a.AzureResourceItemType.singleTenantAccount,e.iconPath=this.appContext.extensionContext.asAbsolutePath("resources/users.svg"),e}getNodeInfo(){return{label:this._label,isLeaf:!1,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:a.AzureResourceItemType.account,nodeSubType:void 0,iconType:a.AzureResourceItemType.account}}get nodePathValue(){return this._id}refreshLabel(){const e=this.generateLabel();this._label!==e&&(this._label=e,this.treeChangeHandler.notifyNodeChanged(this))}generateLabel(){let e=this.account.displayInfo.displayName;return 1===this._totalTenantsCount&&this._singleTenantTreeNode?e+=` (${this._singleTenantTreeNode._selectedSubscriptionCount} / ${this._singleTenantTreeNode._totalSubscriptionCount} subscriptions)`:this._totalTenantsCount>0&&(e+=` (${this._selectedTenantsCount} / ${this._totalTenantsCount} tenants)`),e}}t.FlatAccountTreeNode=u,u.noTenantsLabel=o(0,null)},5845:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSubscriptionInfo=t.FlatTenantTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/flatTenantTreeNode.ts")),i=n(5841),a=n(3211),s=n(1202),c=n(5074),u=n(8693),l=n(9948);class p extends a.AzureResourceContainerTreeNodeBase{constructor(e,t,n,r,o){super(r,o,n),this.account=e,this.tenant=t,this.parentNode=n,this._totalSubscriptionCount=0,this._selectedSubscriptionCount=0,this._subscriptionService=this.appContext.getService(s.AzureResourceServiceNames.subscriptionService),this._subscriptionFilterService=this.appContext.getService(s.AzureResourceServiceNames.subscriptionFilterService),this._resourceService=this.appContext.getService(s.AzureResourceServiceNames.resourceService),this._id=`account_${this.account.key.accountId}.tenant_${t.id}`,this.setCacheKey(`${this._id}.dataresources`),this._label=this.generateLabel()}async getChildren(){try{let e=[],t=[];this._isClearingCache?(t=await this._subscriptionService.getSubscriptions(this.account,[this.tenant.id]),await this.updateCache(t)):t=await this.getCachedSubscriptions(),this._totalSubscriptionCount=t.length;const n=await this._subscriptionFilterService.getSelectedSubscriptions(this.account,this.tenant),r=n?.filter((e=>e.tenant===this.tenant.id)),o=(r||[]).map((e=>e.id));if(o.length>0?(t=t.filter((e=>-1!==o.indexOf(e.id))),this._selectedSubscriptionCount=o.length):this._selectedSubscriptionCount=this._totalSubscriptionCount,this.refreshLabel(),this._isClearingCache)return this._isClearingCache=!1,[];if(0===t.length)e=[l.AzureResourceMessageTreeNode.create(p.noSubscriptionsLabel,this)];else{let n=[];const r=await this._resourceService.getAllChildren(this.account,t,!0);r?.length>0&&(n.push(...r.map((e=>new c.AzureResourceResourceTreeNode(e,this.parentNode??this,this.appContext)))),n=n.sort(((e,t)=>e.getNodeInfo().label.localeCompare(t.getNodeInfo().label)))),e=n}return e}catch(e){return e instanceof i.AzureSubscriptionError&&r.commands.executeCommand("azure.resource.signin"),[l.AzureResourceMessageTreeNode.create(u.AzureResourceErrorMessageUtil.getErrorMessage(e),this)]}}async getCachedSubscriptions(){return this.getCache()??[]}getTreeItem(){const e=new r.TreeItem(this._label,r.TreeItemCollapsibleState.Collapsed);return e.id=this._id,e.contextValue=s.AzureResourceItemType.tenant,e.iconPath=this.appContext.extensionContext.asAbsolutePath("resources/tenant.svg"),e}refreshLabel(){const e=this.generateLabel();this._label!==e&&(this._label=e,this.treeChangeHandler.notifyNodeChanged(this))}generateLabel(){let e=this.tenant.displayName;return 0!==this._totalSubscriptionCount&&(e+=` (${this._selectedSubscriptionCount} / ${this._totalSubscriptionCount} subscriptions)`),e}getNodeInfo(){return{label:this._label,isLeaf:!1,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:s.AzureResourceItemType.tenant,nodeSubType:void 0,iconType:s.AzureResourceItemType.tenant}}get nodePathValue(){return this._id}}t.FlatTenantTreeNode=p,p.noSubscriptionsLabel=o(0,null),t.getSubscriptionInfo=async function(e,t,n,r){let o=await n.getSubscriptions(e,[t.id]);const i=o.length;let a=i;const s=(await r.getSelectedSubscriptions(e,t)||[]).map((e=>e.id));return s.length>0&&(o=o.filter((e=>-1!==s.indexOf(e.id))),a=s.length),{subscriptions:o,total:i,selected:a}}},1564:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceSubscriptionTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/subscriptionTreeNode.ts")),i=n(3211),a=n(1202),s=n(9948),c=n(8693),u=n(5074);class l extends i.AzureResourceContainerTreeNodeBase{constructor(e,t,n,r,o,i){super(r,o,i),this.account=e,this.subscription=t,this.tenant=n,this._id=`account_${this.account.key.accountId}.tenant_${this.tenant.id}.subscription_${this.subscription.id}`,this.setCacheKey(`${this._id}.resources`)}async getChildren(){try{const e=this.appContext.getService(a.AzureResourceServiceNames.resourceService),t=await e.getAllChildren(this.account,[this.subscription],!0);let n=[];if(0===t.length)return[s.AzureResourceMessageTreeNode.create(l.noResourcesLabel,this)];for(let r of t)-1===n.findIndex((e=>e.resourceProviderId===r.resourceProviderId))&&n.push(await e.getRootChild(r.resourceProviderId,this.account,this.subscription));return n.map((e=>(e.treeItem.id=`${this._id}.${e.treeItem.id}`,new u.AzureResourceResourceTreeNode(e,this,this.appContext)))).sort(((e,t)=>e.nodePathValue.localeCompare(t.nodePathValue)))}catch(e){return[s.AzureResourceMessageTreeNode.create(c.AzureResourceErrorMessageUtil.getErrorMessage(e),this)]}}getTreeItem(){const e=new r.TreeItem(this.subscription.name,r.TreeItemCollapsibleState.Collapsed);return e.contextValue=a.AzureResourceItemType.subscription,e.iconPath=this.appContext.extensionContext.asAbsolutePath("resources/subscriptions.svg"),e}getNodeInfo(){return{label:this.subscription.name,isLeaf:!1,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:a.AzureResourceItemType.subscription,nodeSubType:void 0,iconType:a.AzureResourceItemType.subscription}}get nodePathValue(){return this._id}}t.AzureResourceSubscriptionTreeNode=l,l.noResourcesLabel=o(0,null)},4051:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceTenantTreeNode=void 0;const r=n(9496),o=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/tenantTreeNode.ts")),i=n(5841),a=n(3211),s=n(1202),c=n(1564),u=n(9948),l=n(8693);class p extends a.AzureResourceContainerTreeNodeBase{constructor(e,t,n,r,o){super(r,o,n),this.account=e,this.tenant=t,this._totalSubscriptionCount=0,this._selectedSubscriptionCount=0,this._subscriptionService=this.appContext.getService(s.AzureResourceServiceNames.subscriptionService),this._subscriptionFilterService=this.appContext.getService(s.AzureResourceServiceNames.subscriptionFilterService),this._id=`account_${this.account.key.accountId}.tenant_${t.id}`,this.setCacheKey(`${this._id}.subscriptions`),this._label=this.generateLabel()}async getChildren(){try{let e=[];this._isClearingCache?(e=await this._subscriptionService.getSubscriptions(this.account,[this.tenant.id]),await this.updateCache(e),this._isClearingCache=!1):e=await this.getCachedSubscriptions(),this._totalSubscriptionCount=e.length;const t=await this._subscriptionFilterService.getSelectedSubscriptions(this.account,this.tenant),n=t?.filter((e=>e.tenant===this.tenant.id)),r=(n||[]).map((e=>e.id));return r.length>0?(e=e.filter((e=>-1!==r.indexOf(e.id))),this._selectedSubscriptionCount=r.length):this._selectedSubscriptionCount=this._totalSubscriptionCount,this.refreshLabel(),0===e.length?[u.AzureResourceMessageTreeNode.create(p.noSubscriptionsLabel,this)]:(await Promise.all(e.map((async e=>new c.AzureResourceSubscriptionTreeNode(this.account,e,this.tenant,this.appContext,this.treeChangeHandler,this))))).sort(((e,t)=>e.subscription.name.localeCompare(t.subscription.name)))}catch(e){return e instanceof i.AzureSubscriptionError&&r.commands.executeCommand("azure.resource.signin"),[u.AzureResourceMessageTreeNode.create(l.AzureResourceErrorMessageUtil.getErrorMessage(e),this)]}}async getCachedSubscriptions(){return this.getCache()??[]}getTreeItem(){const e=new r.TreeItem(this._label,r.TreeItemCollapsibleState.Collapsed);return e.id=this._id,e.contextValue=s.AzureResourceItemType.tenant,e.iconPath=this.appContext.extensionContext.asAbsolutePath("resources/tenant.svg"),e}getNodeInfo(){return{label:this._label,isLeaf:!1,errorMessage:void 0,metadata:void 0,nodePath:this.generateNodePath(),parentNodePath:this.parent?.generateNodePath()??"",nodeStatus:void 0,nodeType:s.AzureResourceItemType.tenant,nodeSubType:void 0,iconType:s.AzureResourceItemType.tenant}}get nodePathValue(){return this._id}get totalSubscriptionCount(){return this._totalSubscriptionCount}get selectedSubscriptionCount(){return this._selectedSubscriptionCount}refreshLabel(){const e=this.generateLabel();this._label!==e&&(this._label=e,this.treeChangeHandler.notifyNodeChanged(this))}generateLabel(){let e=this.tenant.displayName;return 0!==this._totalSubscriptionCount&&(e+=` (${this._selectedSubscriptionCount} / ${this._totalSubscriptionCount} subscriptions)`),e}sleep(e){return new Promise((t=>setTimeout(t,e)))}}t.AzureResourceTenantTreeNode=p,p.noSubscriptionsLabel=o(0,null)},6258:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AzureResourceTreeProvider=void 0;const r=n(9496),o=n(9072),i=n(3403).loadMessageBundle(n(1017).join(__dirname,"azureResource/tree/treeProvider.ts")),a=n(6275),s=n(1626),c=n(9948),u=n(3211),l=n(8693);t.AzureResourceTreeProvider=class{constructor(e){this.appContext=e,this.isSystemInitialized=!1,this.accounts=[],this._onDidChangeTreeData=new r.EventEmitter,o.accounts.onDidChangeAccounts((async e=>{let t=await o.accounts.getAllAccounts();t=t.filter((e=>e.key.providerId.startsWith("azure"))),this.setSystemInitialized(),(0,l.equals)(t,this.accounts)||(this.accounts=t,this.notifyNodeChanged(void 0))}))}async getChildren(e){if(e)return e.getChildren();if(!this.isSystemInitialized)return this.loadingAccountsPromise||(this.loadingAccountsPromise=this.loadAccounts()),[c.AzureResourceMessageTreeNode.create(i(0,null),void 0)];try{return this.accounts?0===this.accounts.length?[new s.AzureResourceAccountNotSignedInTreeNode]:this.accounts.map((e=>new a.AzureResourceAccountTreeNode(e,this.appContext,this))):[c.AzureResourceMessageTreeNode.create(i(1,null),void 0)]}catch(e){return[c.AzureResourceMessageTreeNode.create(l.AzureResourceErrorMessageUtil.getErrorMessage(e),void 0)]}}async loadAccounts(){try{this.accounts=await o.accounts.getAllAccounts(),this.setSystemInitialized(),this._onDidChangeTreeData.fire(void 0)}catch(e){this.isSystemInitialized=!1}}setSystemInitialized(){this.isSystemInitialized=!0,this.loadingAccountsPromise=void 0}get onDidChangeTreeData(){return this._onDidChangeTreeData.event}notifyNodeChanged(e){this._onDidChangeTreeData.fire(e)}async refresh(e,t){t&&e instanceof u.AzureResourceContainerTreeNodeBase&&e.clearCache(),this._onDidChangeTreeData.fire(e)}getTreeItem(e){return e.getTreeItem()}}},6599:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TreeNode=void 0;class n{constructor(){this.parent=void 0}generateNodePath(){let e;return this.parent&&(e=this.parent.generateNodePath()),e=e?`${e}/${this.nodePathValue}`:this.nodePathValue,e}findNodeByPath(e,t=!1){return n.findNode(this,(t=>t.getNodeInfo().nodePath===e),(t=>e.startsWith(t.getNodeInfo().nodePath)),!0)}static async findNode(e,t,n,r){if(!e)return;if(t(e))return e;if(e.getNodeInfo().isLeaf)return;let o=await e.getChildren();if(o)for(let e of o)if(n&&n(e)){let o=await this.findNode(e,t,n,r);if(o)return o}}}t.TreeNode=n},8693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProviderMetadataForAccount=t.getBlobs=t.getStorageAccountAccessKey=t.createResourceGroup=t.getFileShares=t.getBlobContainers=t.getManagedDatabases=t.makeHttpRequest=t.getSelectedSubscriptions=t.getSubscriptions=t.runResourceQuery=t.getAllResourceProviders=t.getLocations=t.getResourceGroups=t.equals=t.generateGuid=t.AzureResourceErrorMessageUtil=t.isErrorResponseBodyWithError=void 0;const r=n(9072),o=n(9496),i=n(3403),a=n(8129),s=n(5766),c=n(5641),u=n(2037),l=n(5760),p=n(1202),d=n(5107),h=n(7240),m=n(6168),f=n(2202),g=n(7954),v=n(1139),y=n(4265),b=n(4205),_=n(5980),E=n(4822),w=n(7313),k=n(4124),T=n(378),S=n(5725),x=n(995),C=n(325),A=n(8429),I=n(2799),R=n(4451),P=n(4274),O=n(5245),j=n(5572),N=n(1166),D=n(7452),M=n(130),L=n(9700),z=n(2675),F=n(5194),U=n(8760),q=n(5126),B=n(409),H=n(2292),V=n(3306),G=i.loadMessageBundle(n(1017).join(__dirname,"azureResource/utils.ts"));function $(e){return"error"in e&&e.error}async function K(e,t,n,o,i,a=!1,s="https://management.azure.com",c={}){const p={response:void 0,errors:[]};if(!e?.properties?.tenants||!Array.isArray(e.properties.tenants)){const e=new Error(l.invalidAzureAccount);if(!a)throw e;p.errors.push(e)}if(!t.tenant){const e=new Error(l.invalidTenant);if(!a)throw e;p.errors.push(e)}if(p.errors.length>0)return p;let d;try{d=await r.accounts.getAccountSecurityToken(e,t.tenant,r.AzureResource.ResourceManagement)}catch(e){console.error(e);const n=new Error((0,l.unableToFetchTokenError)(t?.tenant||"<unknown>"));if(!a)throw n;p.errors.push(n)}if(p.errors.length>0||!d)return p;const h={headers:{"Content-Type":"application/json",Authorization:`Bearer ${d.token}`,...c},validateStatus:()=>!0};let m,f;switch(0!==n.indexOf("/")&&(n=`/${n}`),m=s?`${s}${n}`:`${e.properties.providerSettings.settings.armResource.endpoint}${n}`,o){case 0:f=await V.default.get(m,h);break;case 2:f=await V.default.post(m,i,h);break;case 1:f=await V.default.put(m,i,h);break;case 3:f=await V.default.delete(m,h);break;case 4:f=await V.default.patch(m,h);break;default:const e=new Error(`Unknown RequestType "${o}"`);if(!a)throw e;p.errors.push(e)}if(f)if(f.status<200||f.status>299){let e=[];e.push(f.status.toString());const t=f.data;$(t)&&e.push(`${t.error.code} : ${t.error.message}`);const n=new Error(e.join(u.EOL));if(!a)throw n;p.errors.push(n)}else p.response=f;else{const e=new Error(`No response to HTTP request ${m}`);if(!a)throw e;p.errors.push(e)}return p}async function W(e,t,n,r){const o=`/subscriptions/${t.id}/resourceGroups/${n.resourceGroup}/providers/Microsoft.Storage/storageAccounts/${n.name}/listKeys?api-version=2019-06-01`,i=Q(e).settings.armResource.endpoint,a=await K(e,t,o,2,void 0,r,i);return{keyName1:a?.response?.data?.keys[0].value??"",keyName2:a?.response?.data?.keys[0].value??"",errors:a.errors?a.errors:[]}}function Q(e){const t=h.default.find((t=>e.properties.providerSettings.id===t.metadata.id));if(!t)throw new Error(`Could not find provider ${e.properties.providerSettings.id} for account ${e.displayInfo.displayName} (${e.displayInfo.userId})`);return t.metadata}t.isErrorResponseBodyWithError=$,t.AzureResourceErrorMessageUtil=class{static getErrorMessage(e){return G(0,null,function(e){return e instanceof Error?e.message:e}(e))}},t.generateGuid=function(){let e,t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],n="";for(let r=0;r<4;r++)e=4294967296*Math.random()|0,n+=t[15&e]+t[e>>4&15]+t[e>>8&15]+t[e>>12&15]+t[e>>16&15]+t[e>>20&15]+t[e>>24&15]+t[e>>28&15];let r=t[8+4*Math.random()|0];return n.substr(0,8)+"-"+n.substr(9,4)+"-4"+n.substr(13,3)+"-"+r+n.substr(16,3)+"-"+n.substr(19,12)},t.equals=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(typeof t!=typeof n)return!1;if("object"!=typeof t)return!1;if(Array.isArray(t)!==Array.isArray(n))return!1;let r,o;if(Array.isArray(t)){if(t.length!==n.length)return!1;for(r=0;r<t.length;r++)if(!e(t[r],n[r]))return!1}else{const i=[];for(o in t)i.push(o);i.sort();const a=[];for(o in n)a.push(o);if(a.sort(),!e(i,a))return!1;for(r=0;r<i.length;r++)if(!e(t[i[r]],n[i[r]]))return!1}return!0},t.getResourceGroups=async function(e,t,n,o=!1){const i={resourceGroups:[],errors:[]};if(!t?.properties?.tenants||!Array.isArray(t.properties.tenants)||!n){const e=new Error(l.invalidAzureAccount);if(!o)throw e;return i.errors.push(e),i}const a=e.getService(p.AzureResourceServiceNames.resourceGroupService);return await Promise.all(t.properties.tenants.map((async e=>{try{const o=await r.accounts.getAccountSecurityToken(t,e.id,r.AzureResource.ResourceManagement);if(!o)throw new Error(`Could not fetch security token fetching resource groups for tenant "${e.id}"`);const s=o.token,u=o.tokenType;i.resourceGroups.push(...await a.getResources([n],new c.TokenCredentials(s,u),t))}catch(r){if(!(r instanceof m.TenantIgnoredError)){const a=new Error(G(1,null,t.displayInfo.displayName,t.displayInfo.userId,n.id,n.name,e.id,r instanceof Error?r.message:r));if(console.warn(a),!o)throw a;i.errors.push(a)}}}))),i},t.getLocations=async function(e,t,n,r=!1){const o={locations:[],errors:[]};if(!t?.properties?.tenants||!Array.isArray(t.properties.tenants)||!n){const e=new Error(l.invalidAzureAccount);if(!r)throw e;return o.errors.push(e),o}try{const e=`/subscriptions/${n.id}/locations?api-version=2020-01-01`,i=Q(t).settings.armResource.endpoint,a=await K(t,n,e,0,void 0,r,i);o.locations.push(...a.response?.data.value||[]),o.errors.push(...a.errors)}catch(e){const i=new Error(G(2,null,t.displayInfo.displayName,t.displayInfo.userId,n.id,n.name,t.properties.tenants[0].id,e instanceof Error?e.message:e));if(console.warn(i),!r)throw i;o.errors.push(i)}return o},t.getAllResourceProviders=function(e){const t=o.workspace.getConfiguration(a.AzureSection).get(a.EnableArcFeaturesSection),n=[new P.ResourceProvider(a.AZURE_MONITOR_PROVIDER_ID,new g.AzureMonitorTreeDataProvider(new f.AzureMonitorResourceService,e)),new P.ResourceProvider(a.COSMOSDB_MONGO_PROVIDER_ID,new y.CosmosDbMongoTreeDataProvider(new v.CosmosDbMongoService,e)),new P.ResourceProvider(a.COSMOSDB_POSTGRES_PROVIDER_ID,new B.CosmosDbPostgresTreeDataProvider(new H.CosmosDbPostgresService,e)),new P.ResourceProvider(a.DATABASE_PROVIDER_ID,new _.AzureResourceDatabaseTreeDataProvider(new b.AzureResourceDatabaseService,e)),new P.ResourceProvider(a.DATABASE_SERVER_PROVIDER_ID,new w.AzureResourceDatabaseServerTreeDataProvider(new E.AzureResourceDatabaseServerService,e)),new P.ResourceProvider(a.KUSTO_PROVIDER_ID,new T.KustoTreeDataProvider(new k.KustoResourceService,e)),new P.ResourceProvider(a.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID,new x.MysqlFlexibleServerTreeDataProvider(new S.MysqlFlexibleServerService,e)),new P.ResourceProvider(a.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID,new U.PostgresFlexibleServerTreeDataProvider(new q.PostgresFlexibleServerService,e)),new P.ResourceProvider(a.POSTGRES_SERVER_PROVIDER_ID,new R.PostgresServerTreeDataProvider(new I.PostgresServerService,e)),new P.ResourceProvider(a.SQLINSTANCE_PROVIDER_ID,new j.SqlInstanceTreeDataProvider(new O.SqlInstanceResourceService,e)),new P.ResourceProvider(a.SYNAPSE_SQL_POOL_PROVIDER_ID,new L.AzureResourceSynapseSqlPoolTreeDataProvider(new M.AzureResourceSynapseService,e)),new P.ResourceProvider(a.SYNAPSE_WORKSPACE_PROVIDER_ID,new F.AzureResourceSynapseWorkspaceTreeDataProvider(new z.AzureResourceSynapseWorkspaceService,e))];return t&&n.push(new P.ResourceProvider(a.SQLINSTANCE_ARC_PROVIDER_ID,new D.SqlInstanceArcTreeDataProvider(new N.SqlInstanceArcResourceService,e)),new P.ResourceProvider(a.POSTGRES_ARC_SERVER_PROVIDER_ID,new A.PostgresServerArcTreeDataProvider(new C.PostgresServerArcService,e))),n},t.runResourceQuery=async function(e,t,n=!1,o){const i={resources:[],errors:[]};if(!e?.properties?.tenants||!Array.isArray(e.properties.tenants)){const e=new Error(l.invalidAzureAccount);if(!n)throw e;return i.errors.push(e),i}if(t.forEach((e=>{if(!e.tenant){const e=new Error(l.invalidTenant);if(!n)throw e;i.errors.push(e)}})),i.errors.length>0)return i;for(let n=0;n<e.properties.tenants.length;++n){const a=e.properties.tenants[n],u=t.filter((e=>e.tenant===a.id));if(u.length<1)continue;let p;try{const t=await r.accounts.getAccountSecurityToken(e,a.id,r.AzureResource.ResourceManagement);if(!t)throw new Error(`Could not fetch security token for query "${o}" on tenant ${a.id}`);const n=t.token,i=t.tokenType,u=new c.TokenCredentials(n,i);p=new s.ResourceGraphClient(u,{baseUri:e.properties.providerSettings.settings.armResource.endpoint})}catch(e){if(console.error(e),!(e instanceof m.TenantIgnoredError)){const e=new Error((0,l.unableToFetchTokenError)(a.id));i.errors.push(e)}continue}const d=[];let h=0;const f=async e=>{const t=await p.resources({subscriptions:u.map((e=>e.id)),query:o,options:{resultFormat:"objectArray",skipToken:e}}),n=t.data;h+=n.length,d.push(...n),t.skipToken&&h<t.totalRecords&&await f(t.skipToken)};try{await f()}catch(e){console.error(e);const t=new Error(G(3,null));i.errors.push(t)}i.resources.push(...d)}return i},t.getSubscriptions=async function(e,t,n=!1){const r={subscriptions:[],errors:[]};if(!t?.properties?.tenants||!Array.isArray(t.properties.tenants)){const e=new Error(l.invalidAzureAccount);if(!n)throw e;return r.errors.push(e),r}const o=e.getService(p.AzureResourceServiceNames.subscriptionService);return await Promise.all(t.properties.tenants.map((async e=>{try{r.subscriptions.push(...await o.getSubscriptions(t,[e.id]))}catch(o){const i=new Error(G(4,null,t.displayInfo.displayName,e.id,o instanceof Error?o.message:o));if(console.warn(i),!n)throw i;r.errors.push(i)}}))),r},t.getSelectedSubscriptions=async function(e,t,n=!1){const r={subscriptions:[],errors:[]};if(!t?.properties?.tenants||!Array.isArray(t.properties.tenants)){const e=new Error(l.invalidAzureAccount);if(!n)throw e;return r.errors.push(e),r}const o=e.getService(p.AzureResourceServiceNames.subscriptionFilterService),i=e.getService(p.AzureResourceServiceNames.tenantFilterService);try{const e=await i.getSelectedTenants(t);for(const n of e)r.subscriptions.push(...await o.getSelectedSubscriptions(t,n))}catch(e){const o=new Error(G(5,null,t.displayInfo.displayName,e instanceof Error?e.message:e));if(console.warn(o),!n)throw o;r.errors.push(o)}return r},t.makeHttpRequest=K,t.getManagedDatabases=async function(e,t,n,r){const o=`/subscriptions/${t.id}/resourceGroups/${n.resourceGroup}/providers/Microsoft.Sql/managedInstances/${n.name}/databases?api-version=2020-02-02-preview`,i=Q(e).settings.armResource.endpoint,a=await K(e,t,o,0,void 0,r,i);return{databases:a?.response?.data?.value??[],errors:a.errors?a.errors:[]}},t.getBlobContainers=async function(e,t,n,r){const o=`/subscriptions/${t.id}/resourceGroups/${n.resourceGroup}/providers/Microsoft.Storage/storageAccounts/${n.name}/blobServices/default/containers?api-version=2019-06-01`,i=Q(e).settings.armResource.endpoint,a=await K(e,t,o,0,void 0,r,i);return{blobContainers:a?.response?.data?.value??[],errors:a.errors?a.errors:[]}},t.getFileShares=async function(e,t,n,r){const o=`/subscriptions/${t.id}/resourceGroups/${n.resourceGroup}/providers/Microsoft.Storage/storageAccounts/${n.name}/fileServices/default/shares?api-version=2019-06-01`,i=Q(e).settings.armResource.endpoint,a=await K(e,t,o,0,void 0,r,i);return{fileShares:a?.response?.data?.value??[],errors:a.errors?a.errors:[]}},t.createResourceGroup=async function(e,t,n,r,o){const i=`/subscriptions/${t.id}/resourcegroups/${n}?api-version=2021-04-01`,a={location:r},s=Q(e).settings.armResource.endpoint,c=await K(e,t,i,1,a,o,s);return{resourceGroup:c?.response?.data,errors:c.errors?c.errors:[]}},t.getStorageAccountAccessKey=W,t.getBlobs=async function(e,t,n,r,o){const i={blobs:[],errors:[]},a=await W(e,t,n,o);if(!o)throw a.errors.toString();i.errors.push(...a.errors);try{const t=new d.StorageSharedKeyCredential(n.name,a.keyName1),o=new d.BlobServiceClient(`https://${n.name}.blob${e.properties.providerSettings.settings.azureStorageResource.endpointSuffix}`,t).getContainerClient(r);for await(const e of o.listBlobsFlat())i.blobs.push(e)}catch(e){if(!o)throw e;i.errors.push(e)}return i},t.getProviderMetadataForAccount=Q},8129:(e,t)=>{"use strict";var n,r,o,i,a;Object.defineProperty(t,"__esModule",{value:!0}),t.AZURE_MONITOR_PROVIDER_ID=t.Platform=t.AccountType=t.AccountIssuer=t.AuthType=t.BuiltInCommands=t.multiple_matching_tokens_error=t.AADSTS700084=t.AADSTS700082=t.AADSTS50089=t.AADSTS50085=t.AADSTS50078=t.AADSTS50173=t.AADSTS70043=t.LockFileSuffix=t.LocalCacheSuffix=t.MSALCacheName=t.AzureTokenFolderName=t.dataGridProviderId=t.HomeCategory=t.ViewType=t.Saw=t.SELECT_ACCOUNT=t.S256_CODE_CHALLENGE_METHOD=t.httpConfigSectionName=t.Bearer=t.AccountVersion=t.PackageName=t.CustomProviderSettingsSection=t.CustomProviderSettings=t.piiLogging=t.oldMsalCacheFileName=t.NoSystemKeyChainSection=t.TenantSection=t.ServiceName=t.EnableArcFeaturesSection=t.enableChinaCloud=t.enableUsGovCloud=t.enablePublicCloud=t.AccountsAzureCloudSection=t.AccountsAzureAuthSection=t.AccountsClearTokenCacheCommand=t.ConfigSection=t.ClearTokenCacheCommand=t.CloudSection=t.AzureAccountProviderCredentials=t.AzureSection=t.AuthSection=t.AccountsSection=t.Account=void 0,t.UNIVERSAL_PROVIDER_ID=t.SYNAPSE_WORKSPACE_PROVIDER_ID=t.SYNAPSE_SQL_POOL_PROVIDER_ID=t.SQLINSTANCE_ARC_PROVIDER_ID=t.SQLINSTANCE_PROVIDER_ID=t.POSTGRES_SERVER_PROVIDER_ID=t.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID=t.POSTGRES_ARC_SERVER_PROVIDER_ID=t.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID=t.KUSTO_PROVIDER_ID=t.DATABASE_SERVER_PROVIDER_ID=t.DATABASE_PROVIDER_ID=t.COSMOSDB_POSTGRES_PROVIDER_ID=t.COSMOSDB_MONGO_PROVIDER_ID=void 0,t.Account="account",t.AccountsSection="accounts",t.AuthSection="auth",t.AzureSection="azure",t.AzureAccountProviderCredentials="azureAccountProviderCredentials",t.CloudSection="cloud",t.ClearTokenCacheCommand="clearTokenCache",t.ConfigSection="config",t.AccountsClearTokenCacheCommand=t.AccountsSection+"."+t.ClearTokenCacheCommand,t.AccountsAzureAuthSection=t.AccountsSection+"."+t.AzureSection+"."+t.AuthSection,t.AccountsAzureCloudSection=t.AccountsSection+"."+t.AzureSection+"."+t.CloudSection,t.enablePublicCloud="enablePublicCloud",t.enableUsGovCloud="enableUsGovCloud",t.enableChinaCloud="enableChinaCloud",t.EnableArcFeaturesSection="enableArcFeatures",t.ServiceName="azuredatastudio",t.TenantSection="tenant",t.NoSystemKeyChainSection="noSystemKeychain",t.oldMsalCacheFileName="azureTokenCacheMsal-azure_publicCloud",t.piiLogging="piiLogging",t.CustomProviderSettings="customProviderSettings",t.CustomProviderSettingsSection=t.AzureSection+"."+t.CustomProviderSettings,t.PackageName="Microsoft.azurecore",t.AccountVersion="2.0",t.Bearer="Bearer",t.httpConfigSectionName="http",t.S256_CODE_CHALLENGE_METHOD="S256",t.SELECT_ACCOUNT="select_account",t.Saw="saw",t.ViewType="view",t.HomeCategory="Home",t.dataGridProviderId="azure-resources",t.AzureTokenFolderName="Azure Accounts",t.MSALCacheName="accessTokenCache",t.LocalCacheSuffix=".local",t.LockFileSuffix=".lockfile",t.AADSTS70043="AADSTS70043",t.AADSTS50173="AADSTS50173",t.AADSTS50078="AADSTS50078",t.AADSTS50085="AADSTS50085",t.AADSTS50089="AADSTS50089",t.AADSTS700082="AADSTS700082",t.AADSTS700084="AADSTS700084",t.multiple_matching_tokens_error="multiple_matching_tokens",function(e){e.SetContext="setContext"}(n||(t.BuiltInCommands=n={})),function(e){e.DeviceCode="deviceCode",e.CodeGrant="codeGrant"}(r||(t.AuthType=r={})),function(e){e.Corp="corp",e.Msft="msft"}(o||(t.AccountIssuer=o={})),function(e){e.WorkSchool="work_school",e.Microsoft="microsoft"}(i||(t.AccountType=i={})),function(e){e.Windows="win32",e.Mac="darwin",e.Linux="linux"}(a||(t.Platform=a={})),t.AZURE_MONITOR_PROVIDER_ID="azure.resource.providers.azureMonitor",t.COSMOSDB_MONGO_PROVIDER_ID="azure.resource.providers.cosmosDbMongo",t.COSMOSDB_POSTGRES_PROVIDER_ID="azure.resource.providers.cosmosDbPostgres",t.DATABASE_PROVIDER_ID="azure.resource.providers.database",t.DATABASE_SERVER_PROVIDER_ID="azure.resource.providers.databaseServer",t.KUSTO_PROVIDER_ID="azure.resource.providers.azureDataExplorer",t.MYSQL_FLEXIBLE_SERVER_PROVIDER_ID="azure.resource.providers.mysqlFlexibleServer",t.POSTGRES_ARC_SERVER_PROVIDER_ID="azure.resource.providers.postgresArcServer",t.POSTGRES_FLEXIBLE_SERVER_PROVIDER_ID="azure.resource.providers.postgresFlexibleServer",t.POSTGRES_SERVER_PROVIDER_ID="azure.resource.providers.postgresServer",t.SQLINSTANCE_PROVIDER_ID="azure.resource.providers.sqlInstance",t.SQLINSTANCE_ARC_PROVIDER_ID="azure.resource.providers.sqlInstanceArc",t.SYNAPSE_SQL_POOL_PROVIDER_ID="azure.resource.providers.synapseSqlPool",t.SYNAPSE_WORKSPACE_PROVIDER_ID="azure.resource.providers.synapseWorkspace",t.UNIVERSAL_PROVIDER_ID="azure.resource.providers.universal"},5760:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.name=t.westUS2=t.westUS=t.westIndia=t.westEurope=t.westCentralUS=t.ukWest=t.ukSouth=t.uaeNorth=t.uaeCentral=t.switzerlandWest=t.switzerlandNorth=t.southIndia=t.southEastAsia=t.southCentralUS=t.southAfricaWest=t.southAfricaNorth=t.norwayWest=t.norwayEast=t.northEurope=t.northCentralUS=t.koreaSouth=t.koreaCentral=t.japanWest=t.japanEast=t.germanyWestCentral=t.germanyNorth=t.franceSouth=t.franceCentral=t.eastUS2EUAP=t.eastUS2=t.eastUS=t.eastAsia=t.centralUSEUAP=t.centralUS=t.centralIndia=t.canadaEast=t.canadaCentral=t.brazilSouthEast=t.brazilSouth=t.australiaSouthEast=t.australiaEast=t.australiaCentral2=t.australiaCentral=t.enablePublicCloudCamel=t.enablePublicCloud=t.cancel=t.reload=t.requiresReload=t.extensionName=void 0,t.noCloudsEnabled=t.azureCredStoreSaveFailedError=t.unableToFetchTokenError=t.invalidTenant=t.invalidAzureAccount=t.azureResourcesGridTitle=t.unableToOpenAzureLink=t.azureArcPostgresServer=t.sqlServerArc=t.azureArcService=t.azureArcsqlManagedInstance=t.sqlManagedInstance=t.postgresFlexibleServer=t.postgresServer=t.sqlDatabase=t.sqlServer=t.switchMsal=t.dismiss=t.disable=t.piiWarning=t.reloadChoice=t.reloadPromptCacheClear=t.reloadPrompt=t.typeIcon=t.subscription=t.location=t.resourceGroup=t.resourceType=void 0;const r=n(3403).loadMessageBundle(n(1017).join(__dirname,"localizedConstants.ts"));t.extensionName=r(0,null),t.requiresReload=r(1,null),t.reload=r(2,null),t.cancel=r(3,null),t.enablePublicCloud=r(4,null),t.enablePublicCloudCamel=r(5,null),t.australiaCentral=r(6,null),t.australiaCentral2=r(7,null),t.australiaEast=r(8,null),t.australiaSouthEast=r(9,null),t.brazilSouth=r(10,null),t.brazilSouthEast=r(11,null),t.canadaCentral=r(12,null),t.canadaEast=r(13,null),t.centralIndia=r(14,null),t.centralUS=r(15,null),t.centralUSEUAP=r(16,null),t.eastAsia=r(17,null),t.eastUS=r(18,null),t.eastUS2=r(19,null),t.eastUS2EUAP=r(20,null),t.franceCentral=r(21,null),t.franceSouth=r(22,null),t.germanyNorth=r(23,null),t.germanyWestCentral=r(24,null),t.japanEast=r(25,null),t.japanWest=r(26,null),t.koreaCentral=r(27,null),t.koreaSouth=r(28,null),t.northCentralUS=r(29,null),t.northEurope=r(30,null),t.norwayEast=r(31,null),t.norwayWest=r(32,null),t.southAfricaNorth=r(33,null),t.southAfricaWest=r(34,null),t.southCentralUS=r(35,null),t.southEastAsia=r(36,null),t.southIndia=r(37,null),t.switzerlandNorth=r(38,null),t.switzerlandWest=r(39,null),t.uaeCentral=r(40,null),t.uaeNorth=r(41,null),t.ukSouth=r(42,null),t.ukWest=r(43,null),t.westCentralUS=r(44,null),t.westEurope=r(45,null),t.westIndia=r(46,null),t.westUS=r(47,null),t.westUS2=r(48,null),t.name=r(49,null),t.resourceType=r(50,null),t.resourceGroup=r(51,null),t.location=r(52,null),t.subscription=r(53,null),t.typeIcon=r(54,null),t.reloadPrompt=function(e){return r(55,null,e)},t.reloadPromptCacheClear=r(56,null),t.reloadChoice=r(57,null),t.piiWarning=r(58,null),t.disable=r(59,null),t.dismiss=r(60,null),t.switchMsal=r(61,null),t.sqlServer=r(62,null),t.sqlDatabase=r(63,null),t.postgresServer=r(64,null),t.postgresFlexibleServer=r(65,null),t.sqlManagedInstance=r(66,null),t.azureArcsqlManagedInstance=r(67,null),t.azureArcService=r(68,null),t.sqlServerArc=r(69,null),t.azureArcPostgresServer=r(70,null),t.unableToOpenAzureLink=r(71,null),t.azureResourcesGridTitle=r(72,null),t.invalidAzureAccount=r(73,null),t.invalidTenant=r(74,null),t.unableToFetchTokenError=function(e){return r(75,null,e)},t.azureCredStoreSaveFailedError=r(76,null),t.noCloudsEnabled=r(77,null)},7475:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TelemetryAction=t.TelemetryViews=t.TelemetryReporter=void 0;const r=n(9496),o=n(7437),i=n(8129),a=r.extensions.getExtension(i.PackageName)?.packageJSON;var s,c;t.TelemetryReporter=new o.default(a.name,a.version,a.aiKey),function(e){e.AzureCore="AzureCore"}(s||(t.TelemetryViews=s={})),function(e){e.LoadCustomEndpointsError="LoadCustomEndpointsError",e.LoadCustomEndpointsSuccess="LoadCustomEndpointsSuccess",e.ReloadAdsCustomEndpoints="ReloadAdsCustomEndpoints"}(c||(t.TelemetryAction=c={}))},8682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.displayReloadAds=t.getResourceTypeIcon=t.updateCustomCloudProviderSettings=t.getResourceTypeDisplayName=t.getRegionDisplayName=void 0;const r=n(5760),o=n(9496),i=n(3403),a=n(8129),s=n(9072),c=n(3682),u=n(7475),l=i.loadMessageBundle(n(1017).join(__dirname,"utils.ts"));function p(e){let t={configKey:"enableCustom"+e.settings.metadata.id,metadata:{displayName:e.settings.metadata.displayName,id:e.settings.metadata.id,settings:{host:e.settings.metadata.endpoints.host,clientId:e.settings.metadata.endpoints.clientId,microsoftResource:{id:"marm",endpoint:e.settings.metadata.endpoints.microsoftResource,azureResourceId:s.AzureResource.MicrosoftResourceManagement},armResource:{id:"arm",endpoint:e.settings.metadata.endpoints.armResource,azureResourceId:s.AzureResource.ResourceManagement},azureStorageResource:{id:"storage",endpoint:e.settings.metadata.endpoints.azureStorageResource.endpoint,endpointSuffix:e.settings.metadata.endpoints.azureStorageResource.endpointSuffix,azureResourceId:s.AzureResource.AzureStorage},sqlResource:{id:"sql",endpoint:e.settings.metadata.endpoints.sqlResource,azureResourceId:s.AzureResource.Sql},redirectUri:"http://localhost",scopes:["openid","email","profile","offline_access",e.settings.metadata.endpoints.scopes]}}};return e.settings.metadata.endpoints.msGraphResource&&(t.metadata.settings.msGraphResource={id:"msgraph",endpoint:e.settings.metadata.endpoints.msGraphResource,azureResourceId:s.AzureResource.MsGraph}),e.settings.metadata.endpoints.azureLogAnalyticsResource&&(t.metadata.settings.azureLogAnalyticsResource={id:"ala",endpoint:e.settings.metadata.endpoints.azureLogAnalyticsResource,azureResourceId:s.AzureResource.AzureLogAnalytics}),e.settings.metadata.endpoints.azureKustoResource&&(t.metadata.settings.azureKustoResource={id:"kusto",endpoint:e.settings.metadata.endpoints.azureKustoResource,azureResourceId:s.AzureResource.AzureKusto}),e.settings.metadata.endpoints.azureKeyVaultResource&&(t.metadata.settings.azureKeyVaultResource={id:"vault",endpoint:e.settings.metadata.endpoints.azureKeyVaultResource,azureResourceId:s.AzureResource.AzureKeyVault}),e.settings.metadata.endpoints.powerBiResource&&(t.metadata.settings.powerBiResource={id:"powerbi",endpoint:e.settings.metadata.endpoints.powerBiResource,azureResourceId:s.AzureResource.PowerBi}),e.settings.metadata.endpoints.portalEndpoint&&(t.metadata.settings.portalEndpoint=e.settings.metadata.endpoints.portalEndpoint),t}async function d(e){return await o.window.showInformationMessage(r.reloadPrompt(e),r.reloadChoice)===r.reloadChoice&&(await o.commands.executeCommand("workbench.action.reloadWindow"),!0)}t.getRegionDisplayName=function(e){switch((e=e??"").toLocaleLowerCase()){case"australiacentral":return r.australiaCentral;case"australiacentral2":return r.australiaCentral2;case"australiaeast":return r.australiaEast;case"australiasoutheast":return r.australiaSouthEast;case"brazilsouth":return r.brazilSouth;case"brazilsoutheast":return r.brazilSouthEast;case"canadacentral":return r.canadaCentral;case"canadaeast":return r.canadaEast;case"centralindia":return r.centralIndia;case"centralus":return r.centralUS;case"centraluseuap":return r.centralUSEUAP;case"eastasia":return r.eastAsia;case"eastus":return r.eastUS;case"eastus2":return r.eastUS2;case"eastus2euap":return r.eastUS2EUAP;case"francecentral":return r.franceCentral;case"francesouth":return r.franceSouth;case"germanynorth":return r.germanyNorth;case"germanywestcentral":return r.germanyWestCentral;case"japaneast":return r.japanEast;case"japanwest":return r.japanWest;case"koreacentral":return r.koreaCentral;case"koreasouth":return r.koreaSouth;case"northcentralus":return r.northCentralUS;case"northeurope":return r.northEurope;case"norwayeast":return r.norwayEast;case"norwaywest":return r.norwayWest;case"southafricanorth":return r.southAfricaNorth;case"southafricawest":return r.southAfricaWest;case"southcentralus":return r.southCentralUS;case"southeastasia":return r.southEastAsia;case"southindia":return r.southIndia;case"switzerlandnorth":return r.switzerlandNorth;case"switzerlandwest":return r.switzerlandWest;case"uaecentral":return r.uaeCentral;case"uaenorth":return r.uaeNorth;case"uksouth":return r.ukSouth;case"ukwest":return r.ukWest;case"westcentralus":return r.westCentralUS;case"westeurope":return r.westEurope;case"westindia":return r.westIndia;case"westus":return r.westUS;case"westus2":return r.westUS2}return console.warn(`Unknown Azure region ${e}`),e},t.getResourceTypeDisplayName=function(e){switch(e){case"microsoft.sql/servers":return r.sqlServer;case"microsoft.sql/servers/databases":return r.sqlDatabase;case"microsoft.sql/managedinstances":return r.sqlManagedInstance;case"microsoft.dbforpostgresql/servers":return r.postgresServer;case"microsoft.dbforpostgresql/flexibleservers":return r.postgresFlexibleServer;case"microsoft.azuredata/sqlmanagedinstances":return r.azureArcsqlManagedInstance;case"microsoft.azuredata/datacontrollers":return r.azureArcService;case"microsoft.azuredata/postgresinstances":return r.azureArcPostgresServer}return e},t.updateCustomCloudProviderSettings=function(e){let t=o.workspace.getConfiguration(a.AzureSection).get(a.CustomProviderSettings);if(o.workspace.onDidChangeConfiguration((async e=>{!0===e.affectsConfiguration(a.CustomProviderSettingsSection)&&(await d(a.CustomProviderSettingsSection),u.TelemetryReporter.sendTelemetryEvent(u.TelemetryAction.ReloadAdsCustomEndpoints))})),t&&t.length>0)try{for(let n of t){let t=p(n);e.push(t),c.Logger.info(`Custom provider settings loaded for ${n.settings.metadata.displayName}`)}o.window.showInformationMessage(l(0,null)),u.TelemetryReporter.sendTelemetryEvent(u.TelemetryAction.LoadCustomEndpointsSuccess)}catch(e){throw o.window.showErrorMessage(l(1,null)),console.error(e.message),u.TelemetryReporter.sendErrorEvent2(u.TelemetryViews.AzureCore,u.TelemetryAction.LoadCustomEndpointsError,e),Error(e.message)}return e},t.getResourceTypeIcon=function(e,t){switch(t){case"microsoft.sql/servers":return e.extensionContext.asAbsolutePath("resources/sqlServer.svg");case"microsoft.sql/servers/databases":return e.extensionContext.asAbsolutePath("resources/sqlDatabase.svg");case"microsoft.sql/managedinstances":return e.extensionContext.asAbsolutePath("resources/sqlManagedInstance.svg");case"microsoft.dbforpostgresql/servers":return e.extensionContext.asAbsolutePath("resources/postgresServer.svg");case"microsoft.azuredata/sqlmanagedinstances":return e.extensionContext.asAbsolutePath("resources/azureArcSqlManagedInstance.svg");case"microsoft.azuredata/datacontrollers":return e.extensionContext.asAbsolutePath("resources/azureArcService.svg");case"microsoft.azuredata/postgresinstances":return e.extensionContext.asAbsolutePath("resources/azureArcPostgresServer.svg")}return""},t.displayReloadAds=d},3682:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Logger=t.LogLevel=void 0;const r=n(9496),o=n(5760);var i;!function(e){e[e.Pii=0]="Pii",e[e.Off=1]="Off",e[e.Critical=2]="Critical",e[e.Error=3]="Error",e[e.Warning=4]="Warning",e[e.Information=5]="Information",e[e.Verbose=6]="Verbose",e[e.All=7]="All"}(i||(t.LogLevel=i={}));class a{static shouldLog(e){return e<=i[a.config.loggingLevel]}static write(e,t,...n){if(this.shouldLog(e)||e===i.Pii){const r=`[${i[e]}]: ${t} - ${n.map((e=>JSON.stringify(e))).join(" - ")}`;this.channel.appendLine(r)}}static error(e,...t){this.write(i.Error,e,t)}static info(e,...t){this.write(i.Information,e,t)}static verbose(e,...t){this.write(i.Verbose,e,t)}static pii(e,...t){this.piiLogging&&a.write(i.Pii,e,t)}static piiSanitized(e,t,n,...r){this.piiLogging&&(e=[e,...t.map((e=>{return`${e.name}=${t=e.objOrArray,Array.isArray(t)?JSON.stringify(t.map((e=>s(e)))):s(t)}`;var t})),...n.map((e=>`${e.name}=${u(e.value)}`))].join(" "),a.write(i.Pii,e,r))}static set piiLogging(e){this._piiLogging=e}static get piiLogging(){return this._piiLogging}}function s(e){return delete(e=Object.assign({},e)).domains,c(e,"token"),c(e,"refresh_token"),c(e,"access_token"),c(e,"code"),c(e,"id_token"),JSON.stringify(e)}function c(e,t){e[t]&&(e[t]=u(e[t]))}function u(e){return!e||e.length<10?e:`${e.substr(0,3)}...${e.slice(-3)}`}t.Logger=a,a.channel=r.window.createOutputChannel(o.extensionName),a._piiLogging=!1,a.config=r.workspace.getConfiguration("azure")},6168:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TenantIgnoredError=void 0;class n extends Error{}t.TenantIgnoredError=n},5766:e=>{"use strict";e.exports=require("@azure/arm-resourcegraph")},8722:e=>{"use strict";e.exports=require("@azure/arm-subscriptions")},4705:e=>{"use strict";e.exports=require("@azure/msal-node")},5107:e=>{"use strict";e.exports=require("@azure/storage-blob")},9166:e=>{"use strict";e.exports=require("applicationinsights-native-metrics")},9072:e=>{"use strict";e.exports=require("azdata")},8447:e=>{"use strict";e.exports=require("bufferutil")},7838:e=>{"use strict";e.exports=require("utf-8-validate")},9496:e=>{"use strict";e.exports=require("vscode")},9491:e=>{"use strict";e.exports=require("assert")},852:e=>{"use strict";e.exports=require("async_hooks")},2081:e=>{"use strict";e.exports=require("child_process")},6206:e=>{"use strict";e.exports=require("console")},2057:e=>{"use strict";e.exports=require("constants")},6113:e=>{"use strict";e.exports=require("crypto")},9523:e=>{"use strict";e.exports=require("dns")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},8188:e=>{"use strict";e.exports=require("module")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},4074:e=>{"use strict";e.exports=require("perf_hooks")},5477:e=>{"use strict";e.exports=require("punycode")},2781:e=>{"use strict";e.exports=require("stream")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},3306:(e,t,n)=>{"use strict";const r=n(4106),o=n(7310),i=n(1394),a=n(3685),s=n(5687),c=n(3837),u=n(938),l=n(9796),p=n(2781),d=n(2361);function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}const m=h(r),f=h(o),g=h(a),v=h(s),y=h(c),b=h(u),_=h(l),E=h(p),w=h(d);function k(e,t){return function(){return e.apply(t,arguments)}}const{toString:T}=Object.prototype,{getPrototypeOf:S}=Object,x=(C=Object.create(null),e=>{const t=T.call(e);return C[t]||(C[t]=t.slice(8,-1).toLowerCase())});var C;const A=e=>(e=e.toLowerCase(),t=>x(t)===e),I=e=>t=>typeof t===e,{isArray:R}=Array,P=I("undefined"),O=A("ArrayBuffer"),j=I("string"),N=I("function"),D=I("number"),M=e=>null!==e&&"object"==typeof e,L=e=>{if("object"!==x(e))return!1;const t=S(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},z=A("Date"),F=A("File"),U=A("Blob"),q=A("FileList"),B=A("URLSearchParams");function H(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),R(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function V(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,$=e=>!P(e)&&e!==G,K=(W="undefined"!=typeof Uint8Array&&S(Uint8Array),e=>W&&e instanceof W);var W;const Q=A("HTMLFormElement"),Y=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),X=A("RegExp"),J=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};H(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},Z="abcdefghijklmnopqrstuvwxyz",ee="0123456789",te={DIGIT:ee,ALPHA:Z,ALPHA_DIGIT:Z+Z.toUpperCase()+ee},ne=A("AsyncFunction"),re={isArray:R,isArrayBuffer:O,isBuffer:function(e){return null!==e&&!P(e)&&null!==e.constructor&&!P(e.constructor)&&N(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||N(e.append)&&("formdata"===(t=x(e))||"object"===t&&N(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&O(e.buffer),t},isString:j,isNumber:D,isBoolean:e=>!0===e||!1===e,isObject:M,isPlainObject:L,isUndefined:P,isDate:z,isFile:F,isBlob:U,isRegExp:X,isFunction:N,isStream:e=>M(e)&&N(e.pipe),isURLSearchParams:B,isTypedArray:K,isFileList:q,forEach:H,merge:function e(){const{caseless:t}=$(this)&&this||{},n={},r=(r,o)=>{const i=t&&V(n,o)||o;L(n[i])&&L(r)?n[i]=e(n[i],r):L(r)?n[i]=e({},r):R(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&H(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(H(t,((t,r)=>{n&&N(t)?e[r]=k(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const s={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&S(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:x,kindOfTest:A,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(R(e))return e;let t=e.length;if(!D(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Q,hasOwnProperty:Y,hasOwnProp:Y,reduceDescriptors:J,freezeMethods:e=>{J(e,((t,n)=>{if(N(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];N(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return R(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:V,global:G,isContextDefined:$,ALPHABET:te,generateString:(e=16,t=te.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&N(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(M(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=R(e)?[]:{};return H(e,((e,t)=>{const i=n(e,r+1);!P(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:ne,isThenable:e=>e&&(M(e)||N(e))&&N(e.then)&&N(e.catch)};function oe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}re.inherits(oe,Error,{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:re.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ie=oe.prototype,ae={};function se(e){return re.isPlainObject(e)||re.isArray(e)}function ce(e){return re.endsWith(e,"[]")?e.slice(0,-2):e}function ue(e,t,n){return e?e.concat(t).map((function(e,t){return e=ce(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ae[e]={value:e}})),Object.defineProperties(oe,ae),Object.defineProperty(ie,"isAxiosError",{value:!0}),oe.from=(e,t,n,r,o,i)=>{const a=Object.create(ie);return re.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),oe.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const le=re.toFlatObject(re,{},null,(function(e){return/^is[A-Z]/.test(e)}));function pe(e,t,n){if(!re.isObject(e))throw new TypeError("target must be an object");t=t||new(m.default||FormData);const r=(n=re.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!re.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&re.isSpecCompliantForm(t);if(!re.isFunction(o))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(re.isDate(e))return e.toISOString();if(!s&&re.isBlob(e))throw new oe("Blob is not supported. Use a Buffer instead.");return re.isArrayBuffer(e)||re.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(re.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(re.isArray(e)&&function(e){return re.isArray(e)&&!e.some(se)}(e)||(re.isFileList(e)||re.endsWith(n,"[]"))&&(s=re.toArray(e)))return n=ce(n),s.forEach((function(e,r){!re.isUndefined(e)&&null!==e&&t.append(!0===a?ue([n],r,i):null===a?n:n+"[]",c(e))})),!1;return!!se(e)||(t.append(ue(o,n,i),c(e)),!1)}const l=[],p=Object.assign(le,{defaultVisitor:u,convertValue:c,isVisitable:se});if(!re.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!re.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),re.forEach(n,(function(n,i){!0===(!(re.isUndefined(n)||null===n)&&o.call(t,n,re.isString(i)?i.trim():i,r,p))&&e(n,r?r.concat(i):[i])})),l.pop()}}(e),t}function de(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function he(e,t){this._pairs=[],e&&pe(e,this,t)}const me=he.prototype;function fe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ge(e,t,n){if(!t)return e;const r=n&&n.encode||fe,o=n&&n.serialize;let i;if(i=o?o(t,n):re.isURLSearchParams(t)?t.toString():new he(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}me.append=function(e,t){this._pairs.push([e,t])},me.toString=function(e){const t=e?function(t){return e.call(this,t,de)}:de;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ve=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){re.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ye={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},be={isNode:!0,classes:{URLSearchParams:f.default.URLSearchParams,FormData:m.default,Blob:"undefined"!=typeof Blob&&Blob||null},protocols:["http","https","file","data"]};function _e(e){function t(e,n,r,o){let i=e[o++];const a=Number.isFinite(+i),s=o>=e.length;return i=!i&&re.isArray(r)?r.length:i,s?(re.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&re.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&re.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a)}if(re.isFormData(e)&&re.isFunction(e.entries)){const n={};return re.forEachEntry(e,((e,r)=>{t(function(e){return re.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const Ee={transitional:ye,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=re.isObject(e);if(o&&re.isHTMLForm(e)&&(e=new FormData(e)),re.isFormData(e))return r&&r?JSON.stringify(_e(e)):e;if(re.isArrayBuffer(e)||re.isBuffer(e)||re.isStream(e)||re.isFile(e)||re.isBlob(e))return e;if(re.isArrayBufferView(e))return e.buffer;if(re.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return pe(e,new be.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return re.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=re.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return pe(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(re.isString(e))try{return(0,JSON.parse)(e),re.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||Ee.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&re.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw oe.from(e,oe.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:be.classes.FormData,Blob:be.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};re.forEach(["delete","get","head","post","put","patch"],(e=>{Ee.headers[e]={}}));const we=Ee,ke=re.toObjectSet(["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"]),Te=Symbol("internals");function Se(e){return e&&String(e).trim().toLowerCase()}function xe(e){return!1===e||null==e?e:re.isArray(e)?e.map(xe):String(e)}function Ce(e,t,n,r,o){return re.isFunction(r)?r.call(this,t,n):(o&&(t=n),re.isString(t)?re.isString(r)?-1!==t.indexOf(r):re.isRegExp(r)?r.test(t):void 0:void 0)}class Ae{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Se(t);if(!o)throw new Error("header name must be a non-empty string");const i=re.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=xe(e))}const i=(e,t)=>re.forEach(e,((e,n)=>o(e,n,t)));return re.isPlainObject(e)||e instanceof this.constructor?i(e,t):re.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ke[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=Se(e)){const n=re.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(re.isFunction(t))return t.call(this,e,n);if(re.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Se(e)){const n=re.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Se(e)){const o=re.findKey(n,e);!o||t&&!Ce(0,n[o],o,t)||(delete n[o],r=!0)}}return re.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ce(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return re.forEach(this,((r,o)=>{const i=re.findKey(n,o);if(i)return t[i]=xe(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=xe(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return re.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&re.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Te]=this[Te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Se(e);t[r]||(function(e,t){const n=re.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return re.isArray(e)?e.forEach(r):r(e),this}}Ae.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),re.reduceDescriptors(Ae.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),re.freezeMethods(Ae);const Ie=Ae;function Re(e,t){const n=this||we,r=t||n,o=Ie.from(r.headers);let i=r.data;return re.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Pe(e){return!(!e||!e.__CANCEL__)}function Oe(e,t,n){oe.call(this,null==e?"canceled":e,oe.ERR_CANCELED,t,n),this.name="CanceledError"}function je(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new oe("Request failed with status code "+n.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ne(e,t){return e&&!function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}re.inherits(Oe,oe,{__CANCEL__:!0});const De="1.5.1";function Me(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const Le=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function ze(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[a];o||(o=c),n[i]=s,r[i]=c;let l=a,p=0;for(;l!==i;)p+=n[l++],l%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const d=u&&c-u;return d?Math.round(1e3*p/d):void 0}}const Fe=Symbol("internals");class Ue extends E.default.Transform{constructor(e){super({readableHighWaterMark:(e=re.toFlatObject(e,{maxRate:0,chunkSize:65536,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,((e,t)=>!re.isUndefined(t[e])))).chunkSize});const t=this,n=this[Fe]={length:e.length,timeWindow:e.timeWindow,ticksRate:e.ticksRate,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null},r=ze(n.ticksRate*e.samplesCount,n.timeWindow);this.on("newListener",(e=>{"progress"===e&&(n.isCaptured||(n.isCaptured=!0))}));let o=0;n.updateProgress=function(e,t){let n=0;const r=1e3/t;let o=null;return function(t,i){const a=Date.now();if(t||a-n>r)return o&&(clearTimeout(o),o=null),n=a,e.apply(null,i);o||(o=setTimeout((()=>(o=null,n=Date.now(),e.apply(null,i))),r-(a-n)))}}((function(){const e=n.length,i=n.bytesSeen,a=i-o;if(!a||t.destroyed)return;const s=r(a);o=i,process.nextTick((()=>{t.emit("progress",{loaded:i,total:e,progress:e?i/e:void 0,bytes:a,rate:s||void 0,estimated:s&&e&&i<=e?(e-i)/s:void 0})}))}),n.ticksRate);const i=()=>{n.updateProgress(!0)};this.once("end",i),this.once("error",i)}_read(e){const t=this[Fe];return t.onReadCallback&&t.onReadCallback(),super._read(e)}_transform(e,t,n){const r=this,o=this[Fe],i=o.maxRate,a=this.readableHighWaterMark,s=o.timeWindow,c=i/(1e3/s),u=!1!==o.minChunkSize?Math.max(o.minChunkSize,.01*c):0,l=(e,t)=>{const n=Buffer.byteLength(e);let l,p=null,d=a,h=0;if(i){const e=Date.now();(!o.ts||(h=e-o.ts)>=s)&&(o.ts=e,l=c-o.bytes,o.bytes=l<0?-l:0,h=0),l=c-o.bytes}if(i){if(l<=0)return setTimeout((()=>{t(null,e)}),s-h);l<d&&(d=l)}d&&n>d&&n-d>u&&(p=e.subarray(d),e=e.subarray(0,d)),function(e,t){const n=Buffer.byteLength(e);o.bytesSeen+=n,o.bytes+=n,o.isCaptured&&o.updateProgress(),r.push(e)?process.nextTick(t):o.onReadCallback=()=>{o.onReadCallback=null,process.nextTick(t)}}(e,p?()=>{process.nextTick(t,null,p)}:t)};l(e,(function e(t,r){if(t)return n(t);r?l(r,e):n(null)}))}setLength(e){return this[Fe].length=+e,this}}const qe=Ue,{asyncIterator:Be}=Symbol,He=async function*(e){e.stream?yield*e.stream():e.arrayBuffer?yield await e.arrayBuffer():e[Be]?yield*e[Be]():yield e},Ve=re.ALPHABET.ALPHA_DIGIT+"-_",Ge=new c.TextEncoder,$e="\r\n",Ke=Ge.encode($e);class We{constructor(e,t){const{escapeName:n}=this.constructor,r=re.isString(t);let o=`Content-Disposition: form-data; name="${n(e)}"${!r&&t.name?`; filename="${n(t.name)}"`:""}${$e}`;r?t=Ge.encode(String(t).replace(/\r?\n|\r\n?/g,$e)):o+=`Content-Type: ${t.type||"application/octet-stream"}${$e}`,this.headers=Ge.encode(o+$e),this.contentLength=r?t.byteLength:t.size,this.size=this.headers.byteLength+this.contentLength+2,this.name=e,this.value=t}async*encode(){yield this.headers;const{value:e}=this;re.isTypedArray(e)?yield e:yield*He(e),yield Ke}static escapeName(e){return String(e).replace(/[\r\n"]/g,(e=>({"\r":"%0D","\n":"%0A",'"':"%22"}[e])))}}class Qe extends E.default.Transform{__transform(e,t,n){this.push(e),n()}_transform(e,t,n){if(0!==e.length&&(this._transform=this.__transform,120!==e[0])){const e=Buffer.alloc(2);e[0]=120,e[1]=156,this.push(e,t)}this.__transform(e,t,n)}}const Ye=Qe,Xe=(e,t)=>re.isAsyncFn(e)?function(...n){const r=n.pop();e.apply(this,n).then((e=>{try{t?r(null,...t(e)):r(null,e)}catch(e){r(e)}}),r)}:e,Je={flush:_.default.constants.Z_SYNC_FLUSH,finishFlush:_.default.constants.Z_SYNC_FLUSH},Ze={flush:_.default.constants.BROTLI_OPERATION_FLUSH,finishFlush:_.default.constants.BROTLI_OPERATION_FLUSH},et=re.isFunction(_.default.createBrotliDecompress),{http:tt,https:nt}=b.default,rt=/https:?/,ot=be.protocols.map((e=>e+":"));function it(e){e.beforeRedirects.proxy&&e.beforeRedirects.proxy(e),e.beforeRedirects.config&&e.beforeRedirects.config(e)}function at(e,t,n){let r=t;if(!r&&!1!==r){const e=i.getProxyForUrl(n);e&&(r=new URL(e))}if(r){if(r.username&&(r.auth=(r.username||"")+":"+(r.password||"")),r.auth){(r.auth.username||r.auth.password)&&(r.auth=(r.auth.username||"")+":"+(r.auth.password||""));const t=Buffer.from(r.auth,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+t}e.headers.host=e.hostname+(e.port?":"+e.port:"");const t=r.hostname||r.host;e.hostname=t,e.host=t,e.port=r.port,e.path=n,r.protocol&&(e.protocol=r.protocol.includes(":")?r.protocol:`${r.protocol}:`)}e.beforeRedirects.proxy=function(e){at(e,t,e.href)}}const st="undefined"!=typeof process&&"process"===re.kindOf(process)&&function(e){return t=async function(t,n,r){let{data:o,lookup:i,family:a}=e;const{responseType:s,responseEncoding:c}=e,u=e.method.toUpperCase();let l,d,h=!1;i&&re.isAsyncFn(i)&&(i=Xe(i,(e=>{if(re.isString(e))e=[e,e.indexOf(".")<0?6:4];else if(!re.isArray(e))throw new TypeError("lookup async function must return an array [ip: string, family: number]]");return e})));const m=new w.default,f=()=>{e.cancelToken&&e.cancelToken.unsubscribe(b),e.signal&&e.signal.removeEventListener("abort",b),m.removeAllListeners()};function b(t){m.emit("abort",!t||t.type?new Oe(null,e,d):t)}r(((e,t)=>{l=!0,t&&(h=!0,f())})),m.once("abort",n),(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(b),e.signal&&(e.signal.aborted?b():e.signal.addEventListener("abort",b)));const k=Ne(e.baseURL,e.url),T=new URL(k,"http://localhost"),S=T.protocol||ot[0];if("data:"===S){let r;if("GET"!==u)return je(t,n,{status:405,statusText:"method not allowed",headers:{},config:e});try{r=function(e,t,n){const r=n&&n.Blob||be.classes.Blob,o=Me(e);if(void 0===t&&r&&(t=!0),"data"===o){e=o.length?e.slice(o.length+1):e;const n=Le.exec(e);if(!n)throw new oe("Invalid URL",oe.ERR_INVALID_URL);const i=n[1],a=n[2],s=n[3],c=Buffer.from(decodeURIComponent(s),a?"base64":"utf8");if(t){if(!r)throw new oe("Blob is not supported",oe.ERR_NOT_SUPPORT);return new r([c],{type:i})}return c}throw new oe("Unsupported protocol "+o,oe.ERR_NOT_SUPPORT)}(e.url,"blob"===s,{Blob:e.env&&e.env.Blob})}catch(t){throw oe.from(t,oe.ERR_BAD_REQUEST,e)}return"text"===s?(r=r.toString(c),c&&"utf8"!==c||(r=re.stripBOM(r))):"stream"===s&&(r=E.default.Readable.from(r)),je(t,n,{data:r,status:200,statusText:"OK",headers:new Ie,config:e})}if(-1===ot.indexOf(S))return n(new oe("Unsupported protocol "+S,oe.ERR_BAD_REQUEST,e));const x=Ie.from(e.headers).normalize();x.set("User-Agent","axios/"+De,!1);const C=e.onDownloadProgress,A=e.onUploadProgress,I=e.maxRate;let R,P;if(re.isSpecCompliantForm(o)){const e=x.getContentType(/boundary=([-_\w\d]{10,70})/i);o=((e,t,n)=>{const{tag:r="form-data-boundary",size:o=25,boundary:i=r+"-"+re.generateString(o,Ve)}=n||{};if(!re.isFormData(e))throw TypeError("FormData instance required");if(i.length<1||i.length>70)throw Error("boundary must be 10-70 characters long");const a=Ge.encode("--"+i+$e),s=Ge.encode("--"+i+"--"+$e+$e);let c=s.byteLength;const u=Array.from(e.entries()).map((([e,t])=>{const n=new We(e,t);return c+=n.size,n}));c+=a.byteLength*u.length,c=re.toFiniteNumber(c);const l={"Content-Type":`multipart/form-data; boundary=${i}`};return Number.isFinite(c)&&(l["Content-Length"]=c),t&&t(l),p.Readable.from(async function*(){for(const e of u)yield a,yield*e.encode();yield s}())})(o,(e=>{x.set(e)}),{tag:`axios-${De}-boundary`,boundary:e&&e[1]||void 0})}else if(re.isFormData(o)&&re.isFunction(o.getHeaders)){if(x.set(o.getHeaders()),!x.hasContentLength())try{const e=await y.default.promisify(o.getLength).call(o);Number.isFinite(e)&&e>=0&&x.setContentLength(e)}catch(e){}}else if(re.isBlob(o))o.size&&x.setContentType(o.type||"application/octet-stream"),x.setContentLength(o.size||0),o=E.default.Readable.from(He(o));else if(o&&!re.isStream(o)){if(Buffer.isBuffer(o));else if(re.isArrayBuffer(o))o=Buffer.from(new Uint8Array(o));else{if(!re.isString(o))return n(new oe("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",oe.ERR_BAD_REQUEST,e));o=Buffer.from(o,"utf-8")}if(x.setContentLength(o.length,!1),e.maxBodyLength>-1&&o.length>e.maxBodyLength)return n(new oe("Request body larger than maxBodyLength limit",oe.ERR_BAD_REQUEST,e))}const O=re.toFiniteNumber(x.getContentLength());let j,N;re.isArray(I)?(R=I[0],P=I[1]):R=P=I,o&&(A||R)&&(re.isStream(o)||(o=E.default.Readable.from(o,{objectMode:!1})),o=E.default.pipeline([o,new qe({length:O,maxRate:re.toFiniteNumber(R)})],re.noop),A&&o.on("progress",(e=>{A(Object.assign(e,{upload:!0}))}))),e.auth&&(j=(e.auth.username||"")+":"+(e.auth.password||"")),!j&&T.username&&(j=T.username+":"+T.password),j&&x.delete("authorization");try{N=ge(T.pathname+T.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(t){const r=new Error(t.message);return r.config=e,r.url=e.url,r.exists=!0,n(r)}x.set("Accept-Encoding","gzip, compress, deflate"+(et?", br":""),!1);const D={path:N,method:u,headers:x.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:j,protocol:S,family:a,beforeRedirect:it,beforeRedirects:{}};let M;!re.isUndefined(i)&&(D.lookup=i),e.socketPath?D.socketPath=e.socketPath:(D.hostname=T.hostname,D.port=T.port,at(D,e.proxy,S+"//"+T.hostname+(T.port?":"+T.port:"")+D.path));const L=rt.test(D.protocol);if(D.agent=L?e.httpsAgent:e.httpAgent,e.transport?M=e.transport:0===e.maxRedirects?M=L?v.default:g.default:(e.maxRedirects&&(D.maxRedirects=e.maxRedirects),e.beforeRedirect&&(D.beforeRedirects.config=e.beforeRedirect),M=L?nt:tt),e.maxBodyLength>-1?D.maxBodyLength=e.maxBodyLength:D.maxBodyLength=1/0,e.insecureHTTPParser&&(D.insecureHTTPParser=e.insecureHTTPParser),d=M.request(D,(function(r){if(d.destroyed)return;const o=[r],i=+r.headers["content-length"];if(C){const e=new qe({length:re.toFiniteNumber(i),maxRate:re.toFiniteNumber(P)});C&&e.on("progress",(e=>{C(Object.assign(e,{download:!0}))})),o.push(e)}let a=r;const l=r.req||d;if(!1!==e.decompress&&r.headers["content-encoding"])switch("HEAD"!==u&&204!==r.statusCode||delete r.headers["content-encoding"],(r.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":o.push(_.default.createUnzip(Je)),delete r.headers["content-encoding"];break;case"deflate":o.push(new Ye),o.push(_.default.createUnzip(Je)),delete r.headers["content-encoding"];break;case"br":et&&(o.push(_.default.createBrotliDecompress(Ze)),delete r.headers["content-encoding"])}a=o.length>1?E.default.pipeline(o,re.noop):o[0];const p=E.default.finished(a,(()=>{p(),f()})),g={status:r.statusCode,statusText:r.statusMessage,headers:new Ie(r.headers),config:e,request:l};if("stream"===s)g.data=a,je(t,n,g);else{const r=[];let o=0;a.on("data",(function(t){r.push(t),o+=t.length,e.maxContentLength>-1&&o>e.maxContentLength&&(h=!0,a.destroy(),n(new oe("maxContentLength size of "+e.maxContentLength+" exceeded",oe.ERR_BAD_RESPONSE,e,l)))})),a.on("aborted",(function(){if(h)return;const t=new oe("maxContentLength size of "+e.maxContentLength+" exceeded",oe.ERR_BAD_RESPONSE,e,l);a.destroy(t),n(t)})),a.on("error",(function(t){d.destroyed||n(oe.from(t,null,e,l))})),a.on("end",(function(){try{let e=1===r.length?r[0]:Buffer.concat(r);"arraybuffer"!==s&&(e=e.toString(c),c&&"utf8"!==c||(e=re.stripBOM(e))),g.data=e}catch(t){n(oe.from(t,null,e,g.request,g))}je(t,n,g)}))}m.once("abort",(e=>{a.destroyed||(a.emit("error",e),a.destroy())}))})),m.once("abort",(e=>{n(e),d.destroy(e)})),d.on("error",(function(t){n(oe.from(t,null,e,d))})),d.on("socket",(function(e){e.setKeepAlive(!0,6e4)})),e.timeout){const t=parseInt(e.timeout,10);if(Number.isNaN(t))return void n(new oe("error trying to parse `config.timeout` to int",oe.ERR_BAD_OPTION_VALUE,e,d));d.setTimeout(t,(function(){if(l)return;let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ye;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new oe(t,r.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,d)),b()}))}if(re.isStream(o)){let t=!1,n=!1;o.on("end",(()=>{t=!0})),o.once("error",(e=>{n=!0,d.destroy(e)})),o.on("close",(()=>{t||n||b(new Oe("Request stream has been aborted",e,d))})),o.pipe(d)}else d.end(o)},new Promise(((e,n)=>{let r,o;const i=(e,t)=>{o||(o=!0,r&&r(e,t))},a=e=>{i(e,!0),n(e)};t((t=>{i(t),e(t)}),a,(e=>r=e)).catch(a)}));var t},ct=be.isStandardBrowserEnv?{write:function(e,t,n,r,o,i){const a=[];a.push(e+"="+encodeURIComponent(t)),re.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),re.isString(r)&&a.push("path="+r),re.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){const 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(){}},ut=be.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=re.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function lt(e,t){let n=0;const r=ze(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,c=r(s);n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&i<=a?(a-i)/c:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const pt={http:st,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=Ie.from(e.headers).normalize(),i=e.responseType;let a,s;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}re.isFormData(r)&&(be.isStandardBrowserEnv||be.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?re.isString(s=o.getContentType())&&o.setContentType(s.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const l=Ne(e.baseURL,e.url);function p(){if(!u)return;const r=Ie.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());je((function(e){t(e),c()}),(function(e){n(e),c()}),{data:i&&"text"!==i&&"json"!==i?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),ge(l,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=p:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(p)},u.onabort=function(){u&&(n(new oe("Request aborted",oe.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new oe("Network Error",oe.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ye;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new oe(t,r.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,u)),u=null},be.isStandardBrowserEnv){const t=(e.withCredentials||ut(l))&&e.xsrfCookieName&&ct.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&re.forEach(o.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),re.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),i&&"json"!==i&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",lt(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",lt(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=t=>{u&&(n(!t||t.type?new Oe(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const d=Me(l);d&&-1===be.protocols.indexOf(d)?n(new oe("Unsupported protocol "+d+":",oe.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};re.forEach(pt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const dt=e=>`- ${e}`,ht=e=>re.isFunction(e)||null===e||!1===e,mt=e=>{e=re.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!ht(n)&&(r=pt[(t=String(n)).toLowerCase()],void 0===r))throw new oe(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));throw new oe("There is no suitable adapter to dispatch the request "+(t?e.length>1?"since :\n"+e.map(dt).join("\n"):" "+dt(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return r};function ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oe(null,e)}function gt(e){return ft(e),e.headers=Ie.from(e.headers),e.data=Re.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),mt(e.adapter||we.adapter)(e).then((function(t){return ft(e),t.data=Re.call(e,e.transformResponse,t),t.headers=Ie.from(t.headers),t}),(function(t){return Pe(t)||(ft(e),t&&t.response&&(t.response.data=Re.call(e,e.transformResponse,t.response),t.response.headers=Ie.from(t.response.headers))),Promise.reject(t)}))}const vt=e=>e instanceof Ie?e.toJSON():e;function yt(e,t){t=t||{};const n={};function r(e,t,n){return re.isPlainObject(e)&&re.isPlainObject(t)?re.merge.call({caseless:n},e,t):re.isPlainObject(t)?re.merge({},t):re.isArray(t)?t.slice():t}function o(e,t,n){return re.isUndefined(t)?re.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!re.isUndefined(t))return r(void 0,t)}function a(e,t){return re.isUndefined(t)?re.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(vt(e),vt(t),!0)};return re.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,a=i(e[r],t[r],r);re.isUndefined(a)&&i!==s||(n[r]=a)})),n}const bt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{bt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const _t={};bt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.5.1] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new oe(r(o," has been removed"+(t?" in "+t:"")),oe.ERR_DEPRECATED);return t&&!_t[o]&&(_t[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const Et={assertOptions:function(e,t,n){if("object"!=typeof e)throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new oe("option "+i+" must be "+n,oe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new oe("Unknown option "+i,oe.ERR_BAD_OPTION)}},validators:bt},wt=Et.validators;class kt{constructor(e){this.defaults=e,this.interceptors={request:new ve,response:new ve}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=yt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Et.assertOptions(n,{silentJSONParsing:wt.transitional(wt.boolean),forcedJSONParsing:wt.transitional(wt.boolean),clarifyTimeoutError:wt.transitional(wt.boolean)},!1),null!=r&&(re.isFunction(r)?t.paramsSerializer={serialize:r}:Et.assertOptions(r,{encode:wt.function,serialize:wt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&re.merge(o.common,o[t.method]);o&&re.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ie.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let l,p=0;if(!s){const e=[gt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),l=e.length,u=Promise.resolve(t);p<l;)u=u.then(e[p++],e[p++]);return u}l=a.length;let d=t;for(p=0;p<l;){const e=a[p++],t=a[p++];try{d=e(d)}catch(e){t.call(this,e);break}}try{u=gt.call(this,d)}catch(e){return Promise.reject(e)}for(p=0,l=c.length;p<l;)u=u.then(c[p++],c[p++]);return u}getUri(e){return ge(Ne((e=yt(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}re.forEach(["delete","get","head","options"],(function(e){kt.prototype[e]=function(t,n){return this.request(yt(n||{},{method:e,url:t,data:(n||{}).data}))}})),re.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(yt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}kt.prototype[e]=t(),kt.prototype[e+"Form"]=t(!0)}));const Tt=kt;class St{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Oe(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new St((function(t){e=t})),cancel:e}}}const xt=St,Ct={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ct).forEach((([e,t])=>{Ct[t]=e}));const At=Ct,It=function e(t){const n=new Tt(t),r=k(Tt.prototype.request,n);return re.extend(r,Tt.prototype,n,{allOwnKeys:!0}),re.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(yt(t,n))},r}(we);It.Axios=Tt,It.CanceledError=Oe,It.CancelToken=xt,It.isCancel=Pe,It.VERSION=De,It.toFormData=pe,It.AxiosError=oe,It.Cancel=It.CanceledError,It.all=function(e){return Promise.all(e)},It.spread=function(e){return function(t){return e.apply(null,t)}},It.isAxiosError=function(e){return re.isObject(e)&&!0===e.isAxiosError},It.mergeConfig=yt,It.AxiosHeaders=Ie,It.formToJSON=e=>_e(re.isHTMLForm(e)?new FormData(e):e),It.getAdapter=mt,It.HttpStatusCode=At,It.default=It,e.exports=It},3765:e=>{"use strict";e.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","compressible":true},"application/fhir+xml":{"source":"iana","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","compressible":true},"application/msc-mixer+xml":{"source":"iana","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana"},"application/news-groupinfo":{"source":"iana"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana"},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","compressible":true},"application/pidf-diff+xml":{"source":"iana","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["keynote"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana"},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"apache","extensions":["der","crt","pem"]},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana"},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana"},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},3704:e=>{"use strict";e.exports=JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac","org.ac","ad","nom.ad","ae","co.ae","net.ae","org.ae","sch.ae","ac.ae","gov.ae","mil.ae","aero","accident-investigation.aero","accident-prevention.aero","aerobatic.aero","aeroclub.aero","aerodrome.aero","agents.aero","aircraft.aero","airline.aero","airport.aero","air-surveillance.aero","airtraffic.aero","air-traffic-control.aero","ambulance.aero","amusement.aero","association.aero","author.aero","ballooning.aero","broker.aero","caa.aero","cargo.aero","catering.aero","certification.aero","championship.aero","charter.aero","civilaviation.aero","club.aero","conference.aero","consultant.aero","consulting.aero","control.aero","council.aero","crew.aero","design.aero","dgca.aero","educator.aero","emergency.aero","engine.aero","engineer.aero","entertainment.aero","equipment.aero","exchange.aero","express.aero","federation.aero","flight.aero","freight.aero","fuel.aero","gliding.aero","government.aero","groundhandling.aero","group.aero","hanggliding.aero","homebuilt.aero","insurance.aero","journal.aero","journalist.aero","leasing.aero","logistics.aero","magazine.aero","maintenance.aero","media.aero","microlight.aero","modelling.aero","navigation.aero","parachuting.aero","paragliding.aero","passenger-association.aero","pilot.aero","press.aero","production.aero","recreation.aero","repbody.aero","res.aero","research.aero","rotorcraft.aero","safety.aero","scientist.aero","services.aero","show.aero","skydiving.aero","software.aero","student.aero","trader.aero","trading.aero","trainer.aero","union.aero","workinggroup.aero","works.aero","af","gov.af","com.af","org.af","net.af","edu.af","ag","com.ag","org.ag","net.ag","co.ag","nom.ag","ai","off.ai","com.ai","net.ai","org.ai","al","com.al","edu.al","gov.al","mil.al","net.al","org.al","am","co.am","com.am","commune.am","net.am","org.am","ao","ed.ao","gv.ao","og.ao","co.ao","pb.ao","it.ao","aq","ar","com.ar","edu.ar","gob.ar","gov.ar","int.ar","mil.ar","musica.ar","net.ar","org.ar","tur.ar","arpa","e164.arpa","in-addr.arpa","ip6.arpa","iris.arpa","uri.arpa","urn.arpa","as","gov.as","asia","at","ac.at","co.at","gv.at","or.at","au","com.au","net.au","org.au","edu.au","gov.au","asn.au","id.au","info.au","conf.au","oz.au","act.au","nsw.au","nt.au","qld.au","sa.au","tas.au","vic.au","wa.au","act.edu.au","catholic.edu.au","nsw.edu.au","nt.edu.au","qld.edu.au","sa.edu.au","tas.edu.au","vic.edu.au","wa.edu.au","qld.gov.au","sa.gov.au","tas.gov.au","vic.gov.au","wa.gov.au","education.tas.edu.au","schools.nsw.edu.au","aw","com.aw","ax","az","com.az","net.az","int.az","gov.az","org.az","edu.az","info.az","pp.az","mil.az","name.az","pro.az","biz.az","ba","com.ba","edu.ba","gov.ba","mil.ba","net.ba","org.ba","bb","biz.bb","co.bb","com.bb","edu.bb","gov.bb","info.bb","net.bb","org.bb","store.bb","tv.bb","*.bd","be","ac.be","bf","gov.bf","bg","a.bg","b.bg","c.bg","d.bg","e.bg","f.bg","g.bg","h.bg","i.bg","j.bg","k.bg","l.bg","m.bg","n.bg","o.bg","p.bg","q.bg","r.bg","s.bg","t.bg","u.bg","v.bg","w.bg","x.bg","y.bg","z.bg","0.bg","1.bg","2.bg","3.bg","4.bg","5.bg","6.bg","7.bg","8.bg","9.bg","bh","com.bh","edu.bh","net.bh","org.bh","gov.bh","bi","co.bi","com.bi","edu.bi","or.bi","org.bi","biz","bj","asso.bj","barreau.bj","gouv.bj","bm","com.bm","edu.bm","gov.bm","net.bm","org.bm","bn","com.bn","edu.bn","gov.bn","net.bn","org.bn","bo","com.bo","edu.bo","gob.bo","int.bo","org.bo","net.bo","mil.bo","tv.bo","web.bo","academia.bo","agro.bo","arte.bo","blog.bo","bolivia.bo","ciencia.bo","cooperativa.bo","democracia.bo","deporte.bo","ecologia.bo","economia.bo","empresa.bo","indigena.bo","industria.bo","info.bo","medicina.bo","movimiento.bo","musica.bo","natural.bo","nombre.bo","noticias.bo","patria.bo","politica.bo","profesional.bo","plurinacional.bo","pueblo.bo","revista.bo","salud.bo","tecnologia.bo","tksat.bo","transporte.bo","wiki.bo","br","9guacu.br","abc.br","adm.br","adv.br","agr.br","aju.br","am.br","anani.br","aparecida.br","arq.br","art.br","ato.br","b.br","barueri.br","belem.br","bhz.br","bio.br","blog.br","bmd.br","boavista.br","bsb.br","campinagrande.br","campinas.br","caxias.br","cim.br","cng.br","cnt.br","com.br","contagem.br","coop.br","cri.br","cuiaba.br","curitiba.br","def.br","ecn.br","eco.br","edu.br","emp.br","eng.br","esp.br","etc.br","eti.br","far.br","feira.br","flog.br","floripa.br","fm.br","fnd.br","fortal.br","fot.br","foz.br","fst.br","g12.br","ggf.br","goiania.br","gov.br","ac.gov.br","al.gov.br","am.gov.br","ap.gov.br","ba.gov.br","ce.gov.br","df.gov.br","es.gov.br","go.gov.br","ma.gov.br","mg.gov.br","ms.gov.br","mt.gov.br","pa.gov.br","pb.gov.br","pe.gov.br","pi.gov.br","pr.gov.br","rj.gov.br","rn.gov.br","ro.gov.br","rr.gov.br","rs.gov.br","sc.gov.br","se.gov.br","sp.gov.br","to.gov.br","gru.br","imb.br","ind.br","inf.br","jab.br","jampa.br","jdf.br","joinville.br","jor.br","jus.br","leg.br","lel.br","londrina.br","macapa.br","maceio.br","manaus.br","maringa.br","mat.br","med.br","mil.br","morena.br","mp.br","mus.br","natal.br","net.br","niteroi.br","*.nom.br","not.br","ntr.br","odo.br","ong.br","org.br","osasco.br","palmas.br","poa.br","ppg.br","pro.br","psc.br","psi.br","pvh.br","qsl.br","radio.br","rec.br","recife.br","ribeirao.br","rio.br","riobranco.br","riopreto.br","salvador.br","sampa.br","santamaria.br","santoandre.br","saobernardo.br","saogonca.br","sjc.br","slg.br","slz.br","sorocaba.br","srv.br","taxi.br","tc.br","teo.br","the.br","tmp.br","trd.br","tur.br","tv.br","udi.br","vet.br","vix.br","vlog.br","wiki.br","zlg.br","bs","com.bs","net.bs","org.bs","edu.bs","gov.bs","bt","com.bt","edu.bt","gov.bt","net.bt","org.bt","bv","bw","co.bw","org.bw","by","gov.by","mil.by","com.by","of.by","bz","com.bz","net.bz","org.bz","edu.bz","gov.bz","ca","ab.ca","bc.ca","mb.ca","nb.ca","nf.ca","nl.ca","ns.ca","nt.ca","nu.ca","on.ca","pe.ca","qc.ca","sk.ca","yk.ca","gc.ca","cat","cc","cd","gov.cd","cf","cg","ch","ci","org.ci","or.ci","com.ci","co.ci","edu.ci","ed.ci","ac.ci","net.ci","go.ci","asso.ci","aéroport.ci","int.ci","presse.ci","md.ci","gouv.ci","*.ck","!www.ck","cl","aprendemas.cl","co.cl","gob.cl","gov.cl","mil.cl","cm","co.cm","com.cm","gov.cm","net.cm","cn","ac.cn","com.cn","edu.cn","gov.cn","net.cn","org.cn","mil.cn","公司.cn","网络.cn","網絡.cn","ah.cn","bj.cn","cq.cn","fj.cn","gd.cn","gs.cn","gz.cn","gx.cn","ha.cn","hb.cn","he.cn","hi.cn","hl.cn","hn.cn","jl.cn","js.cn","jx.cn","ln.cn","nm.cn","nx.cn","qh.cn","sc.cn","sd.cn","sh.cn","sn.cn","sx.cn","tj.cn","xj.cn","xz.cn","yn.cn","zj.cn","hk.cn","mo.cn","tw.cn","co","arts.co","com.co","edu.co","firm.co","gov.co","info.co","int.co","mil.co","net.co","nom.co","org.co","rec.co","web.co","com","coop","cr","ac.cr","co.cr","ed.cr","fi.cr","go.cr","or.cr","sa.cr","cu","com.cu","edu.cu","org.cu","net.cu","gov.cu","inf.cu","cv","cw","com.cw","edu.cw","net.cw","org.cw","cx","gov.cx","cy","ac.cy","biz.cy","com.cy","ekloges.cy","gov.cy","ltd.cy","name.cy","net.cy","org.cy","parliament.cy","press.cy","pro.cy","tm.cy","cz","de","dj","dk","dm","com.dm","net.dm","org.dm","edu.dm","gov.dm","do","art.do","com.do","edu.do","gob.do","gov.do","mil.do","net.do","org.do","sld.do","web.do","dz","com.dz","org.dz","net.dz","gov.dz","edu.dz","asso.dz","pol.dz","art.dz","ec","com.ec","info.ec","net.ec","fin.ec","k12.ec","med.ec","pro.ec","org.ec","edu.ec","gov.ec","gob.ec","mil.ec","edu","ee","edu.ee","gov.ee","riik.ee","lib.ee","med.ee","com.ee","pri.ee","aip.ee","org.ee","fie.ee","eg","com.eg","edu.eg","eun.eg","gov.eg","mil.eg","name.eg","net.eg","org.eg","sci.eg","*.er","es","com.es","nom.es","org.es","gob.es","edu.es","et","com.et","gov.et","org.et","edu.et","biz.et","name.et","info.et","net.et","eu","fi","aland.fi","fj","ac.fj","biz.fj","com.fj","gov.fj","info.fj","mil.fj","name.fj","net.fj","org.fj","pro.fj","*.fk","fm","fo","fr","asso.fr","com.fr","gouv.fr","nom.fr","prd.fr","tm.fr","aeroport.fr","avocat.fr","avoues.fr","cci.fr","chambagri.fr","chirurgiens-dentistes.fr","experts-comptables.fr","geometre-expert.fr","greta.fr","huissier-justice.fr","medecin.fr","notaires.fr","pharmacien.fr","port.fr","veterinaire.fr","ga","gb","gd","ge","com.ge","edu.ge","gov.ge","org.ge","mil.ge","net.ge","pvt.ge","gf","gg","co.gg","net.gg","org.gg","gh","com.gh","edu.gh","gov.gh","org.gh","mil.gh","gi","com.gi","ltd.gi","gov.gi","mod.gi","edu.gi","org.gi","gl","co.gl","com.gl","edu.gl","net.gl","org.gl","gm","gn","ac.gn","com.gn","edu.gn","gov.gn","org.gn","net.gn","gov","gp","com.gp","net.gp","mobi.gp","edu.gp","org.gp","asso.gp","gq","gr","com.gr","edu.gr","net.gr","org.gr","gov.gr","gs","gt","com.gt","edu.gt","gob.gt","ind.gt","mil.gt","net.gt","org.gt","gu","com.gu","edu.gu","gov.gu","guam.gu","info.gu","net.gu","org.gu","web.gu","gw","gy","co.gy","com.gy","edu.gy","gov.gy","net.gy","org.gy","hk","com.hk","edu.hk","gov.hk","idv.hk","net.hk","org.hk","公司.hk","教育.hk","敎育.hk","政府.hk","個人.hk","个人.hk","箇人.hk","網络.hk","网络.hk","组織.hk","網絡.hk","网絡.hk","组织.hk","組織.hk","組织.hk","hm","hn","com.hn","edu.hn","org.hn","net.hn","mil.hn","gob.hn","hr","iz.hr","from.hr","name.hr","com.hr","ht","com.ht","shop.ht","firm.ht","info.ht","adult.ht","net.ht","pro.ht","org.ht","med.ht","art.ht","coop.ht","pol.ht","asso.ht","edu.ht","rel.ht","gouv.ht","perso.ht","hu","co.hu","info.hu","org.hu","priv.hu","sport.hu","tm.hu","2000.hu","agrar.hu","bolt.hu","casino.hu","city.hu","erotica.hu","erotika.hu","film.hu","forum.hu","games.hu","hotel.hu","ingatlan.hu","jogasz.hu","konyvelo.hu","lakas.hu","media.hu","news.hu","reklam.hu","sex.hu","shop.hu","suli.hu","szex.hu","tozsde.hu","utazas.hu","video.hu","id","ac.id","biz.id","co.id","desa.id","go.id","mil.id","my.id","net.id","or.id","ponpes.id","sch.id","web.id","ie","gov.ie","il","ac.il","co.il","gov.il","idf.il","k12.il","muni.il","net.il","org.il","im","ac.im","co.im","com.im","ltd.co.im","net.im","org.im","plc.co.im","tt.im","tv.im","in","co.in","firm.in","net.in","org.in","gen.in","ind.in","nic.in","ac.in","edu.in","res.in","gov.in","mil.in","info","int","eu.int","io","com.io","iq","gov.iq","edu.iq","mil.iq","com.iq","org.iq","net.iq","ir","ac.ir","co.ir","gov.ir","id.ir","net.ir","org.ir","sch.ir","ایران.ir","ايران.ir","is","net.is","com.is","edu.is","gov.is","org.is","int.is","it","gov.it","edu.it","abr.it","abruzzo.it","aosta-valley.it","aostavalley.it","bas.it","basilicata.it","cal.it","calabria.it","cam.it","campania.it","emilia-romagna.it","emiliaromagna.it","emr.it","friuli-v-giulia.it","friuli-ve-giulia.it","friuli-vegiulia.it","friuli-venezia-giulia.it","friuli-veneziagiulia.it","friuli-vgiulia.it","friuliv-giulia.it","friulive-giulia.it","friulivegiulia.it","friulivenezia-giulia.it","friuliveneziagiulia.it","friulivgiulia.it","fvg.it","laz.it","lazio.it","lig.it","liguria.it","lom.it","lombardia.it","lombardy.it","lucania.it","mar.it","marche.it","mol.it","molise.it","piedmont.it","piemonte.it","pmn.it","pug.it","puglia.it","sar.it","sardegna.it","sardinia.it","sic.it","sicilia.it","sicily.it","taa.it","tos.it","toscana.it","trentin-sud-tirol.it","trentin-süd-tirol.it","trentin-sudtirol.it","trentin-südtirol.it","trentin-sued-tirol.it","trentin-suedtirol.it","trentino-a-adige.it","trentino-aadige.it","trentino-alto-adige.it","trentino-altoadige.it","trentino-s-tirol.it","trentino-stirol.it","trentino-sud-tirol.it","trentino-süd-tirol.it","trentino-sudtirol.it","trentino-südtirol.it","trentino-sued-tirol.it","trentino-suedtirol.it","trentino.it","trentinoa-adige.it","trentinoaadige.it","trentinoalto-adige.it","trentinoaltoadige.it","trentinos-tirol.it","trentinostirol.it","trentinosud-tirol.it","trentinosüd-tirol.it","trentinosudtirol.it","trentinosüdtirol.it","trentinosued-tirol.it","trentinosuedtirol.it","trentinsud-tirol.it","trentinsüd-tirol.it","trentinsudtirol.it","trentinsüdtirol.it","trentinsued-tirol.it","trentinsuedtirol.it","tuscany.it","umb.it","umbria.it","val-d-aosta.it","val-daosta.it","vald-aosta.it","valdaosta.it","valle-aosta.it","valle-d-aosta.it","valle-daosta.it","valleaosta.it","valled-aosta.it","valledaosta.it","vallee-aoste.it","vallée-aoste.it","vallee-d-aoste.it","vallée-d-aoste.it","valleeaoste.it","valléeaoste.it","valleedaoste.it","valléedaoste.it","vao.it","vda.it","ven.it","veneto.it","ag.it","agrigento.it","al.it","alessandria.it","alto-adige.it","altoadige.it","an.it","ancona.it","andria-barletta-trani.it","andria-trani-barletta.it","andriabarlettatrani.it","andriatranibarletta.it","ao.it","aosta.it","aoste.it","ap.it","aq.it","aquila.it","ar.it","arezzo.it","ascoli-piceno.it","ascolipiceno.it","asti.it","at.it","av.it","avellino.it","ba.it","balsan-sudtirol.it","balsan-südtirol.it","balsan-suedtirol.it","balsan.it","bari.it","barletta-trani-andria.it","barlettatraniandria.it","belluno.it","benevento.it","bergamo.it","bg.it","bi.it","biella.it","bl.it","bn.it","bo.it","bologna.it","bolzano-altoadige.it","bolzano.it","bozen-sudtirol.it","bozen-südtirol.it","bozen-suedtirol.it","bozen.it","br.it","brescia.it","brindisi.it","bs.it","bt.it","bulsan-sudtirol.it","bulsan-südtirol.it","bulsan-suedtirol.it","bulsan.it","bz.it","ca.it","cagliari.it","caltanissetta.it","campidano-medio.it","campidanomedio.it","campobasso.it","carbonia-iglesias.it","carboniaiglesias.it","carrara-massa.it","carraramassa.it","caserta.it","catania.it","catanzaro.it","cb.it","ce.it","cesena-forli.it","cesena-forlì.it","cesenaforli.it","cesenaforlì.it","ch.it","chieti.it","ci.it","cl.it","cn.it","co.it","como.it","cosenza.it","cr.it","cremona.it","crotone.it","cs.it","ct.it","cuneo.it","cz.it","dell-ogliastra.it","dellogliastra.it","en.it","enna.it","fc.it","fe.it","fermo.it","ferrara.it","fg.it","fi.it","firenze.it","florence.it","fm.it","foggia.it","forli-cesena.it","forlì-cesena.it","forlicesena.it","forlìcesena.it","fr.it","frosinone.it","ge.it","genoa.it","genova.it","go.it","gorizia.it","gr.it","grosseto.it","iglesias-carbonia.it","iglesiascarbonia.it","im.it","imperia.it","is.it","isernia.it","kr.it","la-spezia.it","laquila.it","laspezia.it","latina.it","lc.it","le.it","lecce.it","lecco.it","li.it","livorno.it","lo.it","lodi.it","lt.it","lu.it","lucca.it","macerata.it","mantova.it","massa-carrara.it","massacarrara.it","matera.it","mb.it","mc.it","me.it","medio-campidano.it","mediocampidano.it","messina.it","mi.it","milan.it","milano.it","mn.it","mo.it","modena.it","monza-brianza.it","monza-e-della-brianza.it","monza.it","monzabrianza.it","monzaebrianza.it","monzaedellabrianza.it","ms.it","mt.it","na.it","naples.it","napoli.it","no.it","novara.it","nu.it","nuoro.it","og.it","ogliastra.it","olbia-tempio.it","olbiatempio.it","or.it","oristano.it","ot.it","pa.it","padova.it","padua.it","palermo.it","parma.it","pavia.it","pc.it","pd.it","pe.it","perugia.it","pesaro-urbino.it","pesarourbino.it","pescara.it","pg.it","pi.it","piacenza.it","pisa.it","pistoia.it","pn.it","po.it","pordenone.it","potenza.it","pr.it","prato.it","pt.it","pu.it","pv.it","pz.it","ra.it","ragusa.it","ravenna.it","rc.it","re.it","reggio-calabria.it","reggio-emilia.it","reggiocalabria.it","reggioemilia.it","rg.it","ri.it","rieti.it","rimini.it","rm.it","rn.it","ro.it","roma.it","rome.it","rovigo.it","sa.it","salerno.it","sassari.it","savona.it","si.it","siena.it","siracusa.it","so.it","sondrio.it","sp.it","sr.it","ss.it","suedtirol.it","südtirol.it","sv.it","ta.it","taranto.it","te.it","tempio-olbia.it","tempioolbia.it","teramo.it","terni.it","tn.it","to.it","torino.it","tp.it","tr.it","trani-andria-barletta.it","trani-barletta-andria.it","traniandriabarletta.it","tranibarlettaandria.it","trapani.it","trento.it","treviso.it","trieste.it","ts.it","turin.it","tv.it","ud.it","udine.it","urbino-pesaro.it","urbinopesaro.it","va.it","varese.it","vb.it","vc.it","ve.it","venezia.it","venice.it","verbania.it","vercelli.it","verona.it","vi.it","vibo-valentia.it","vibovalentia.it","vicenza.it","viterbo.it","vr.it","vs.it","vt.it","vv.it","je","co.je","net.je","org.je","*.jm","jo","com.jo","org.jo","net.jo","edu.jo","sch.jo","gov.jo","mil.jo","name.jo","jobs","jp","ac.jp","ad.jp","co.jp","ed.jp","go.jp","gr.jp","lg.jp","ne.jp","or.jp","aichi.jp","akita.jp","aomori.jp","chiba.jp","ehime.jp","fukui.jp","fukuoka.jp","fukushima.jp","gifu.jp","gunma.jp","hiroshima.jp","hokkaido.jp","hyogo.jp","ibaraki.jp","ishikawa.jp","iwate.jp","kagawa.jp","kagoshima.jp","kanagawa.jp","kochi.jp","kumamoto.jp","kyoto.jp","mie.jp","miyagi.jp","miyazaki.jp","nagano.jp","nagasaki.jp","nara.jp","niigata.jp","oita.jp","okayama.jp","okinawa.jp","osaka.jp","saga.jp","saitama.jp","shiga.jp","shimane.jp","shizuoka.jp","tochigi.jp","tokushima.jp","tokyo.jp","tottori.jp","toyama.jp","wakayama.jp","yamagata.jp","yamaguchi.jp","yamanashi.jp","栃木.jp","愛知.jp","愛媛.jp","兵庫.jp","熊本.jp","茨城.jp","北海道.jp","千葉.jp","和歌山.jp","長崎.jp","長野.jp","新潟.jp","青森.jp","静岡.jp","東京.jp","石川.jp","埼玉.jp","三重.jp","京都.jp","佐賀.jp","大分.jp","大阪.jp","奈良.jp","宮城.jp","宮崎.jp","富山.jp","山口.jp","山形.jp","山梨.jp","岩手.jp","岐阜.jp","岡山.jp","島根.jp","広島.jp","徳島.jp","沖縄.jp","滋賀.jp","神奈川.jp","福井.jp","福岡.jp","福島.jp","秋田.jp","群馬.jp","香川.jp","高知.jp","鳥取.jp","鹿児島.jp","*.kawasaki.jp","*.kitakyushu.jp","*.kobe.jp","*.nagoya.jp","*.sapporo.jp","*.sendai.jp","*.yokohama.jp","!city.kawasaki.jp","!city.kitakyushu.jp","!city.kobe.jp","!city.nagoya.jp","!city.sapporo.jp","!city.sendai.jp","!city.yokohama.jp","aisai.aichi.jp","ama.aichi.jp","anjo.aichi.jp","asuke.aichi.jp","chiryu.aichi.jp","chita.aichi.jp","fuso.aichi.jp","gamagori.aichi.jp","handa.aichi.jp","hazu.aichi.jp","hekinan.aichi.jp","higashiura.aichi.jp","ichinomiya.aichi.jp","inazawa.aichi.jp","inuyama.aichi.jp","isshiki.aichi.jp","iwakura.aichi.jp","kanie.aichi.jp","kariya.aichi.jp","kasugai.aichi.jp","kira.aichi.jp","kiyosu.aichi.jp","komaki.aichi.jp","konan.aichi.jp","kota.aichi.jp","mihama.aichi.jp","miyoshi.aichi.jp","nishio.aichi.jp","nisshin.aichi.jp","obu.aichi.jp","oguchi.aichi.jp","oharu.aichi.jp","okazaki.aichi.jp","owariasahi.aichi.jp","seto.aichi.jp","shikatsu.aichi.jp","shinshiro.aichi.jp","shitara.aichi.jp","tahara.aichi.jp","takahama.aichi.jp","tobishima.aichi.jp","toei.aichi.jp","togo.aichi.jp","tokai.aichi.jp","tokoname.aichi.jp","toyoake.aichi.jp","toyohashi.aichi.jp","toyokawa.aichi.jp","toyone.aichi.jp","toyota.aichi.jp","tsushima.aichi.jp","yatomi.aichi.jp","akita.akita.jp","daisen.akita.jp","fujisato.akita.jp","gojome.akita.jp","hachirogata.akita.jp","happou.akita.jp","higashinaruse.akita.jp","honjo.akita.jp","honjyo.akita.jp","ikawa.akita.jp","kamikoani.akita.jp","kamioka.akita.jp","katagami.akita.jp","kazuno.akita.jp","kitaakita.akita.jp","kosaka.akita.jp","kyowa.akita.jp","misato.akita.jp","mitane.akita.jp","moriyoshi.akita.jp","nikaho.akita.jp","noshiro.akita.jp","odate.akita.jp","oga.akita.jp","ogata.akita.jp","semboku.akita.jp","yokote.akita.jp","yurihonjo.akita.jp","aomori.aomori.jp","gonohe.aomori.jp","hachinohe.aomori.jp","hashikami.aomori.jp","hiranai.aomori.jp","hirosaki.aomori.jp","itayanagi.aomori.jp","kuroishi.aomori.jp","misawa.aomori.jp","mutsu.aomori.jp","nakadomari.aomori.jp","noheji.aomori.jp","oirase.aomori.jp","owani.aomori.jp","rokunohe.aomori.jp","sannohe.aomori.jp","shichinohe.aomori.jp","shingo.aomori.jp","takko.aomori.jp","towada.aomori.jp","tsugaru.aomori.jp","tsuruta.aomori.jp","abiko.chiba.jp","asahi.chiba.jp","chonan.chiba.jp","chosei.chiba.jp","choshi.chiba.jp","chuo.chiba.jp","funabashi.chiba.jp","futtsu.chiba.jp","hanamigawa.chiba.jp","ichihara.chiba.jp","ichikawa.chiba.jp","ichinomiya.chiba.jp","inzai.chiba.jp","isumi.chiba.jp","kamagaya.chiba.jp","kamogawa.chiba.jp","kashiwa.chiba.jp","katori.chiba.jp","katsuura.chiba.jp","kimitsu.chiba.jp","kisarazu.chiba.jp","kozaki.chiba.jp","kujukuri.chiba.jp","kyonan.chiba.jp","matsudo.chiba.jp","midori.chiba.jp","mihama.chiba.jp","minamiboso.chiba.jp","mobara.chiba.jp","mutsuzawa.chiba.jp","nagara.chiba.jp","nagareyama.chiba.jp","narashino.chiba.jp","narita.chiba.jp","noda.chiba.jp","oamishirasato.chiba.jp","omigawa.chiba.jp","onjuku.chiba.jp","otaki.chiba.jp","sakae.chiba.jp","sakura.chiba.jp","shimofusa.chiba.jp","shirako.chiba.jp","shiroi.chiba.jp","shisui.chiba.jp","sodegaura.chiba.jp","sosa.chiba.jp","tako.chiba.jp","tateyama.chiba.jp","togane.chiba.jp","tohnosho.chiba.jp","tomisato.chiba.jp","urayasu.chiba.jp","yachimata.chiba.jp","yachiyo.chiba.jp","yokaichiba.chiba.jp","yokoshibahikari.chiba.jp","yotsukaido.chiba.jp","ainan.ehime.jp","honai.ehime.jp","ikata.ehime.jp","imabari.ehime.jp","iyo.ehime.jp","kamijima.ehime.jp","kihoku.ehime.jp","kumakogen.ehime.jp","masaki.ehime.jp","matsuno.ehime.jp","matsuyama.ehime.jp","namikata.ehime.jp","niihama.ehime.jp","ozu.ehime.jp","saijo.ehime.jp","seiyo.ehime.jp","shikokuchuo.ehime.jp","tobe.ehime.jp","toon.ehime.jp","uchiko.ehime.jp","uwajima.ehime.jp","yawatahama.ehime.jp","echizen.fukui.jp","eiheiji.fukui.jp","fukui.fukui.jp","ikeda.fukui.jp","katsuyama.fukui.jp","mihama.fukui.jp","minamiechizen.fukui.jp","obama.fukui.jp","ohi.fukui.jp","ono.fukui.jp","sabae.fukui.jp","sakai.fukui.jp","takahama.fukui.jp","tsuruga.fukui.jp","wakasa.fukui.jp","ashiya.fukuoka.jp","buzen.fukuoka.jp","chikugo.fukuoka.jp","chikuho.fukuoka.jp","chikujo.fukuoka.jp","chikushino.fukuoka.jp","chikuzen.fukuoka.jp","chuo.fukuoka.jp","dazaifu.fukuoka.jp","fukuchi.fukuoka.jp","hakata.fukuoka.jp","higashi.fukuoka.jp","hirokawa.fukuoka.jp","hisayama.fukuoka.jp","iizuka.fukuoka.jp","inatsuki.fukuoka.jp","kaho.fukuoka.jp","kasuga.fukuoka.jp","kasuya.fukuoka.jp","kawara.fukuoka.jp","keisen.fukuoka.jp","koga.fukuoka.jp","kurate.fukuoka.jp","kurogi.fukuoka.jp","kurume.fukuoka.jp","minami.fukuoka.jp","miyako.fukuoka.jp","miyama.fukuoka.jp","miyawaka.fukuoka.jp","mizumaki.fukuoka.jp","munakata.fukuoka.jp","nakagawa.fukuoka.jp","nakama.fukuoka.jp","nishi.fukuoka.jp","nogata.fukuoka.jp","ogori.fukuoka.jp","okagaki.fukuoka.jp","okawa.fukuoka.jp","oki.fukuoka.jp","omuta.fukuoka.jp","onga.fukuoka.jp","onojo.fukuoka.jp","oto.fukuoka.jp","saigawa.fukuoka.jp","sasaguri.fukuoka.jp","shingu.fukuoka.jp","shinyoshitomi.fukuoka.jp","shonai.fukuoka.jp","soeda.fukuoka.jp","sue.fukuoka.jp","tachiarai.fukuoka.jp","tagawa.fukuoka.jp","takata.fukuoka.jp","toho.fukuoka.jp","toyotsu.fukuoka.jp","tsuiki.fukuoka.jp","ukiha.fukuoka.jp","umi.fukuoka.jp","usui.fukuoka.jp","yamada.fukuoka.jp","yame.fukuoka.jp","yanagawa.fukuoka.jp","yukuhashi.fukuoka.jp","aizubange.fukushima.jp","aizumisato.fukushima.jp","aizuwakamatsu.fukushima.jp","asakawa.fukushima.jp","bandai.fukushima.jp","date.fukushima.jp","fukushima.fukushima.jp","furudono.fukushima.jp","futaba.fukushima.jp","hanawa.fukushima.jp","higashi.fukushima.jp","hirata.fukushima.jp","hirono.fukushima.jp","iitate.fukushima.jp","inawashiro.fukushima.jp","ishikawa.fukushima.jp","iwaki.fukushima.jp","izumizaki.fukushima.jp","kagamiishi.fukushima.jp","kaneyama.fukushima.jp","kawamata.fukushima.jp","kitakata.fukushima.jp","kitashiobara.fukushima.jp","koori.fukushima.jp","koriyama.fukushima.jp","kunimi.fukushima.jp","miharu.fukushima.jp","mishima.fukushima.jp","namie.fukushima.jp","nango.fukushima.jp","nishiaizu.fukushima.jp","nishigo.fukushima.jp","okuma.fukushima.jp","omotego.fukushima.jp","ono.fukushima.jp","otama.fukushima.jp","samegawa.fukushima.jp","shimogo.fukushima.jp","shirakawa.fukushima.jp","showa.fukushima.jp","soma.fukushima.jp","sukagawa.fukushima.jp","taishin.fukushima.jp","tamakawa.fukushima.jp","tanagura.fukushima.jp","tenei.fukushima.jp","yabuki.fukushima.jp","yamato.fukushima.jp","yamatsuri.fukushima.jp","yanaizu.fukushima.jp","yugawa.fukushima.jp","anpachi.gifu.jp","ena.gifu.jp","gifu.gifu.jp","ginan.gifu.jp","godo.gifu.jp","gujo.gifu.jp","hashima.gifu.jp","hichiso.gifu.jp","hida.gifu.jp","higashishirakawa.gifu.jp","ibigawa.gifu.jp","ikeda.gifu.jp","kakamigahara.gifu.jp","kani.gifu.jp","kasahara.gifu.jp","kasamatsu.gifu.jp","kawaue.gifu.jp","kitagata.gifu.jp","mino.gifu.jp","minokamo.gifu.jp","mitake.gifu.jp","mizunami.gifu.jp","motosu.gifu.jp","nakatsugawa.gifu.jp","ogaki.gifu.jp","sakahogi.gifu.jp","seki.gifu.jp","sekigahara.gifu.jp","shirakawa.gifu.jp","tajimi.gifu.jp","takayama.gifu.jp","tarui.gifu.jp","toki.gifu.jp","tomika.gifu.jp","wanouchi.gifu.jp","yamagata.gifu.jp","yaotsu.gifu.jp","yoro.gifu.jp","annaka.gunma.jp","chiyoda.gunma.jp","fujioka.gunma.jp","higashiagatsuma.gunma.jp","isesaki.gunma.jp","itakura.gunma.jp","kanna.gunma.jp","kanra.gunma.jp","katashina.gunma.jp","kawaba.gunma.jp","kiryu.gunma.jp","kusatsu.gunma.jp","maebashi.gunma.jp","meiwa.gunma.jp","midori.gunma.jp","minakami.gunma.jp","naganohara.gunma.jp","nakanojo.gunma.jp","nanmoku.gunma.jp","numata.gunma.jp","oizumi.gunma.jp","ora.gunma.jp","ota.gunma.jp","shibukawa.gunma.jp","shimonita.gunma.jp","shinto.gunma.jp","showa.gunma.jp","takasaki.gunma.jp","takayama.gunma.jp","tamamura.gunma.jp","tatebayashi.gunma.jp","tomioka.gunma.jp","tsukiyono.gunma.jp","tsumagoi.gunma.jp","ueno.gunma.jp","yoshioka.gunma.jp","asaminami.hiroshima.jp","daiwa.hiroshima.jp","etajima.hiroshima.jp","fuchu.hiroshima.jp","fukuyama.hiroshima.jp","hatsukaichi.hiroshima.jp","higashihiroshima.hiroshima.jp","hongo.hiroshima.jp","jinsekikogen.hiroshima.jp","kaita.hiroshima.jp","kui.hiroshima.jp","kumano.hiroshima.jp","kure.hiroshima.jp","mihara.hiroshima.jp","miyoshi.hiroshima.jp","naka.hiroshima.jp","onomichi.hiroshima.jp","osakikamijima.hiroshima.jp","otake.hiroshima.jp","saka.hiroshima.jp","sera.hiroshima.jp","seranishi.hiroshima.jp","shinichi.hiroshima.jp","shobara.hiroshima.jp","takehara.hiroshima.jp","abashiri.hokkaido.jp","abira.hokkaido.jp","aibetsu.hokkaido.jp","akabira.hokkaido.jp","akkeshi.hokkaido.jp","asahikawa.hokkaido.jp","ashibetsu.hokkaido.jp","ashoro.hokkaido.jp","assabu.hokkaido.jp","atsuma.hokkaido.jp","bibai.hokkaido.jp","biei.hokkaido.jp","bifuka.hokkaido.jp","bihoro.hokkaido.jp","biratori.hokkaido.jp","chippubetsu.hokkaido.jp","chitose.hokkaido.jp","date.hokkaido.jp","ebetsu.hokkaido.jp","embetsu.hokkaido.jp","eniwa.hokkaido.jp","erimo.hokkaido.jp","esan.hokkaido.jp","esashi.hokkaido.jp","fukagawa.hokkaido.jp","fukushima.hokkaido.jp","furano.hokkaido.jp","furubira.hokkaido.jp","haboro.hokkaido.jp","hakodate.hokkaido.jp","hamatonbetsu.hokkaido.jp","hidaka.hokkaido.jp","higashikagura.hokkaido.jp","higashikawa.hokkaido.jp","hiroo.hokkaido.jp","hokuryu.hokkaido.jp","hokuto.hokkaido.jp","honbetsu.hokkaido.jp","horokanai.hokkaido.jp","horonobe.hokkaido.jp","ikeda.hokkaido.jp","imakane.hokkaido.jp","ishikari.hokkaido.jp","iwamizawa.hokkaido.jp","iwanai.hokkaido.jp","kamifurano.hokkaido.jp","kamikawa.hokkaido.jp","kamishihoro.hokkaido.jp","kamisunagawa.hokkaido.jp","kamoenai.hokkaido.jp","kayabe.hokkaido.jp","kembuchi.hokkaido.jp","kikonai.hokkaido.jp","kimobetsu.hokkaido.jp","kitahiroshima.hokkaido.jp","kitami.hokkaido.jp","kiyosato.hokkaido.jp","koshimizu.hokkaido.jp","kunneppu.hokkaido.jp","kuriyama.hokkaido.jp","kuromatsunai.hokkaido.jp","kushiro.hokkaido.jp","kutchan.hokkaido.jp","kyowa.hokkaido.jp","mashike.hokkaido.jp","matsumae.hokkaido.jp","mikasa.hokkaido.jp","minamifurano.hokkaido.jp","mombetsu.hokkaido.jp","moseushi.hokkaido.jp","mukawa.hokkaido.jp","muroran.hokkaido.jp","naie.hokkaido.jp","nakagawa.hokkaido.jp","nakasatsunai.hokkaido.jp","nakatombetsu.hokkaido.jp","nanae.hokkaido.jp","nanporo.hokkaido.jp","nayoro.hokkaido.jp","nemuro.hokkaido.jp","niikappu.hokkaido.jp","niki.hokkaido.jp","nishiokoppe.hokkaido.jp","noboribetsu.hokkaido.jp","numata.hokkaido.jp","obihiro.hokkaido.jp","obira.hokkaido.jp","oketo.hokkaido.jp","okoppe.hokkaido.jp","otaru.hokkaido.jp","otobe.hokkaido.jp","otofuke.hokkaido.jp","otoineppu.hokkaido.jp","oumu.hokkaido.jp","ozora.hokkaido.jp","pippu.hokkaido.jp","rankoshi.hokkaido.jp","rebun.hokkaido.jp","rikubetsu.hokkaido.jp","rishiri.hokkaido.jp","rishirifuji.hokkaido.jp","saroma.hokkaido.jp","sarufutsu.hokkaido.jp","shakotan.hokkaido.jp","shari.hokkaido.jp","shibecha.hokkaido.jp","shibetsu.hokkaido.jp","shikabe.hokkaido.jp","shikaoi.hokkaido.jp","shimamaki.hokkaido.jp","shimizu.hokkaido.jp","shimokawa.hokkaido.jp","shinshinotsu.hokkaido.jp","shintoku.hokkaido.jp","shiranuka.hokkaido.jp","shiraoi.hokkaido.jp","shiriuchi.hokkaido.jp","sobetsu.hokkaido.jp","sunagawa.hokkaido.jp","taiki.hokkaido.jp","takasu.hokkaido.jp","takikawa.hokkaido.jp","takinoue.hokkaido.jp","teshikaga.hokkaido.jp","tobetsu.hokkaido.jp","tohma.hokkaido.jp","tomakomai.hokkaido.jp","tomari.hokkaido.jp","toya.hokkaido.jp","toyako.hokkaido.jp","toyotomi.hokkaido.jp","toyoura.hokkaido.jp","tsubetsu.hokkaido.jp","tsukigata.hokkaido.jp","urakawa.hokkaido.jp","urausu.hokkaido.jp","uryu.hokkaido.jp","utashinai.hokkaido.jp","wakkanai.hokkaido.jp","wassamu.hokkaido.jp","yakumo.hokkaido.jp","yoichi.hokkaido.jp","aioi.hyogo.jp","akashi.hyogo.jp","ako.hyogo.jp","amagasaki.hyogo.jp","aogaki.hyogo.jp","asago.hyogo.jp","ashiya.hyogo.jp","awaji.hyogo.jp","fukusaki.hyogo.jp","goshiki.hyogo.jp","harima.hyogo.jp","himeji.hyogo.jp","ichikawa.hyogo.jp","inagawa.hyogo.jp","itami.hyogo.jp","kakogawa.hyogo.jp","kamigori.hyogo.jp","kamikawa.hyogo.jp","kasai.hyogo.jp","kasuga.hyogo.jp","kawanishi.hyogo.jp","miki.hyogo.jp","minamiawaji.hyogo.jp","nishinomiya.hyogo.jp","nishiwaki.hyogo.jp","ono.hyogo.jp","sanda.hyogo.jp","sannan.hyogo.jp","sasayama.hyogo.jp","sayo.hyogo.jp","shingu.hyogo.jp","shinonsen.hyogo.jp","shiso.hyogo.jp","sumoto.hyogo.jp","taishi.hyogo.jp","taka.hyogo.jp","takarazuka.hyogo.jp","takasago.hyogo.jp","takino.hyogo.jp","tamba.hyogo.jp","tatsuno.hyogo.jp","toyooka.hyogo.jp","yabu.hyogo.jp","yashiro.hyogo.jp","yoka.hyogo.jp","yokawa.hyogo.jp","ami.ibaraki.jp","asahi.ibaraki.jp","bando.ibaraki.jp","chikusei.ibaraki.jp","daigo.ibaraki.jp","fujishiro.ibaraki.jp","hitachi.ibaraki.jp","hitachinaka.ibaraki.jp","hitachiomiya.ibaraki.jp","hitachiota.ibaraki.jp","ibaraki.ibaraki.jp","ina.ibaraki.jp","inashiki.ibaraki.jp","itako.ibaraki.jp","iwama.ibaraki.jp","joso.ibaraki.jp","kamisu.ibaraki.jp","kasama.ibaraki.jp","kashima.ibaraki.jp","kasumigaura.ibaraki.jp","koga.ibaraki.jp","miho.ibaraki.jp","mito.ibaraki.jp","moriya.ibaraki.jp","naka.ibaraki.jp","namegata.ibaraki.jp","oarai.ibaraki.jp","ogawa.ibaraki.jp","omitama.ibaraki.jp","ryugasaki.ibaraki.jp","sakai.ibaraki.jp","sakuragawa.ibaraki.jp","shimodate.ibaraki.jp","shimotsuma.ibaraki.jp","shirosato.ibaraki.jp","sowa.ibaraki.jp","suifu.ibaraki.jp","takahagi.ibaraki.jp","tamatsukuri.ibaraki.jp","tokai.ibaraki.jp","tomobe.ibaraki.jp","tone.ibaraki.jp","toride.ibaraki.jp","tsuchiura.ibaraki.jp","tsukuba.ibaraki.jp","uchihara.ibaraki.jp","ushiku.ibaraki.jp","yachiyo.ibaraki.jp","yamagata.ibaraki.jp","yawara.ibaraki.jp","yuki.ibaraki.jp","anamizu.ishikawa.jp","hakui.ishikawa.jp","hakusan.ishikawa.jp","kaga.ishikawa.jp","kahoku.ishikawa.jp","kanazawa.ishikawa.jp","kawakita.ishikawa.jp","komatsu.ishikawa.jp","nakanoto.ishikawa.jp","nanao.ishikawa.jp","nomi.ishikawa.jp","nonoichi.ishikawa.jp","noto.ishikawa.jp","shika.ishikawa.jp","suzu.ishikawa.jp","tsubata.ishikawa.jp","tsurugi.ishikawa.jp","uchinada.ishikawa.jp","wajima.ishikawa.jp","fudai.iwate.jp","fujisawa.iwate.jp","hanamaki.iwate.jp","hiraizumi.iwate.jp","hirono.iwate.jp","ichinohe.iwate.jp","ichinoseki.iwate.jp","iwaizumi.iwate.jp","iwate.iwate.jp","joboji.iwate.jp","kamaishi.iwate.jp","kanegasaki.iwate.jp","karumai.iwate.jp","kawai.iwate.jp","kitakami.iwate.jp","kuji.iwate.jp","kunohe.iwate.jp","kuzumaki.iwate.jp","miyako.iwate.jp","mizusawa.iwate.jp","morioka.iwate.jp","ninohe.iwate.jp","noda.iwate.jp","ofunato.iwate.jp","oshu.iwate.jp","otsuchi.iwate.jp","rikuzentakata.iwate.jp","shiwa.iwate.jp","shizukuishi.iwate.jp","sumita.iwate.jp","tanohata.iwate.jp","tono.iwate.jp","yahaba.iwate.jp","yamada.iwate.jp","ayagawa.kagawa.jp","higashikagawa.kagawa.jp","kanonji.kagawa.jp","kotohira.kagawa.jp","manno.kagawa.jp","marugame.kagawa.jp","mitoyo.kagawa.jp","naoshima.kagawa.jp","sanuki.kagawa.jp","tadotsu.kagawa.jp","takamatsu.kagawa.jp","tonosho.kagawa.jp","uchinomi.kagawa.jp","utazu.kagawa.jp","zentsuji.kagawa.jp","akune.kagoshima.jp","amami.kagoshima.jp","hioki.kagoshima.jp","isa.kagoshima.jp","isen.kagoshima.jp","izumi.kagoshima.jp","kagoshima.kagoshima.jp","kanoya.kagoshima.jp","kawanabe.kagoshima.jp","kinko.kagoshima.jp","kouyama.kagoshima.jp","makurazaki.kagoshima.jp","matsumoto.kagoshima.jp","minamitane.kagoshima.jp","nakatane.kagoshima.jp","nishinoomote.kagoshima.jp","satsumasendai.kagoshima.jp","soo.kagoshima.jp","tarumizu.kagoshima.jp","yusui.kagoshima.jp","aikawa.kanagawa.jp","atsugi.kanagawa.jp","ayase.kanagawa.jp","chigasaki.kanagawa.jp","ebina.kanagawa.jp","fujisawa.kanagawa.jp","hadano.kanagawa.jp","hakone.kanagawa.jp","hiratsuka.kanagawa.jp","isehara.kanagawa.jp","kaisei.kanagawa.jp","kamakura.kanagawa.jp","kiyokawa.kanagawa.jp","matsuda.kanagawa.jp","minamiashigara.kanagawa.jp","miura.kanagawa.jp","nakai.kanagawa.jp","ninomiya.kanagawa.jp","odawara.kanagawa.jp","oi.kanagawa.jp","oiso.kanagawa.jp","sagamihara.kanagawa.jp","samukawa.kanagawa.jp","tsukui.kanagawa.jp","yamakita.kanagawa.jp","yamato.kanagawa.jp","yokosuka.kanagawa.jp","yugawara.kanagawa.jp","zama.kanagawa.jp","zushi.kanagawa.jp","aki.kochi.jp","geisei.kochi.jp","hidaka.kochi.jp","higashitsuno.kochi.jp","ino.kochi.jp","kagami.kochi.jp","kami.kochi.jp","kitagawa.kochi.jp","kochi.kochi.jp","mihara.kochi.jp","motoyama.kochi.jp","muroto.kochi.jp","nahari.kochi.jp","nakamura.kochi.jp","nankoku.kochi.jp","nishitosa.kochi.jp","niyodogawa.kochi.jp","ochi.kochi.jp","okawa.kochi.jp","otoyo.kochi.jp","otsuki.kochi.jp","sakawa.kochi.jp","sukumo.kochi.jp","susaki.kochi.jp","tosa.kochi.jp","tosashimizu.kochi.jp","toyo.kochi.jp","tsuno.kochi.jp","umaji.kochi.jp","yasuda.kochi.jp","yusuhara.kochi.jp","amakusa.kumamoto.jp","arao.kumamoto.jp","aso.kumamoto.jp","choyo.kumamoto.jp","gyokuto.kumamoto.jp","kamiamakusa.kumamoto.jp","kikuchi.kumamoto.jp","kumamoto.kumamoto.jp","mashiki.kumamoto.jp","mifune.kumamoto.jp","minamata.kumamoto.jp","minamioguni.kumamoto.jp","nagasu.kumamoto.jp","nishihara.kumamoto.jp","oguni.kumamoto.jp","ozu.kumamoto.jp","sumoto.kumamoto.jp","takamori.kumamoto.jp","uki.kumamoto.jp","uto.kumamoto.jp","yamaga.kumamoto.jp","yamato.kumamoto.jp","yatsushiro.kumamoto.jp","ayabe.kyoto.jp","fukuchiyama.kyoto.jp","higashiyama.kyoto.jp","ide.kyoto.jp","ine.kyoto.jp","joyo.kyoto.jp","kameoka.kyoto.jp","kamo.kyoto.jp","kita.kyoto.jp","kizu.kyoto.jp","kumiyama.kyoto.jp","kyotamba.kyoto.jp","kyotanabe.kyoto.jp","kyotango.kyoto.jp","maizuru.kyoto.jp","minami.kyoto.jp","minamiyamashiro.kyoto.jp","miyazu.kyoto.jp","muko.kyoto.jp","nagaokakyo.kyoto.jp","nakagyo.kyoto.jp","nantan.kyoto.jp","oyamazaki.kyoto.jp","sakyo.kyoto.jp","seika.kyoto.jp","tanabe.kyoto.jp","uji.kyoto.jp","ujitawara.kyoto.jp","wazuka.kyoto.jp","yamashina.kyoto.jp","yawata.kyoto.jp","asahi.mie.jp","inabe.mie.jp","ise.mie.jp","kameyama.mie.jp","kawagoe.mie.jp","kiho.mie.jp","kisosaki.mie.jp","kiwa.mie.jp","komono.mie.jp","kumano.mie.jp","kuwana.mie.jp","matsusaka.mie.jp","meiwa.mie.jp","mihama.mie.jp","minamiise.mie.jp","misugi.mie.jp","miyama.mie.jp","nabari.mie.jp","shima.mie.jp","suzuka.mie.jp","tado.mie.jp","taiki.mie.jp","taki.mie.jp","tamaki.mie.jp","toba.mie.jp","tsu.mie.jp","udono.mie.jp","ureshino.mie.jp","watarai.mie.jp","yokkaichi.mie.jp","furukawa.miyagi.jp","higashimatsushima.miyagi.jp","ishinomaki.miyagi.jp","iwanuma.miyagi.jp","kakuda.miyagi.jp","kami.miyagi.jp","kawasaki.miyagi.jp","marumori.miyagi.jp","matsushima.miyagi.jp","minamisanriku.miyagi.jp","misato.miyagi.jp","murata.miyagi.jp","natori.miyagi.jp","ogawara.miyagi.jp","ohira.miyagi.jp","onagawa.miyagi.jp","osaki.miyagi.jp","rifu.miyagi.jp","semine.miyagi.jp","shibata.miyagi.jp","shichikashuku.miyagi.jp","shikama.miyagi.jp","shiogama.miyagi.jp","shiroishi.miyagi.jp","tagajo.miyagi.jp","taiwa.miyagi.jp","tome.miyagi.jp","tomiya.miyagi.jp","wakuya.miyagi.jp","watari.miyagi.jp","yamamoto.miyagi.jp","zao.miyagi.jp","aya.miyazaki.jp","ebino.miyazaki.jp","gokase.miyazaki.jp","hyuga.miyazaki.jp","kadogawa.miyazaki.jp","kawaminami.miyazaki.jp","kijo.miyazaki.jp","kitagawa.miyazaki.jp","kitakata.miyazaki.jp","kitaura.miyazaki.jp","kobayashi.miyazaki.jp","kunitomi.miyazaki.jp","kushima.miyazaki.jp","mimata.miyazaki.jp","miyakonojo.miyazaki.jp","miyazaki.miyazaki.jp","morotsuka.miyazaki.jp","nichinan.miyazaki.jp","nishimera.miyazaki.jp","nobeoka.miyazaki.jp","saito.miyazaki.jp","shiiba.miyazaki.jp","shintomi.miyazaki.jp","takaharu.miyazaki.jp","takanabe.miyazaki.jp","takazaki.miyazaki.jp","tsuno.miyazaki.jp","achi.nagano.jp","agematsu.nagano.jp","anan.nagano.jp","aoki.nagano.jp","asahi.nagano.jp","azumino.nagano.jp","chikuhoku.nagano.jp","chikuma.nagano.jp","chino.nagano.jp","fujimi.nagano.jp","hakuba.nagano.jp","hara.nagano.jp","hiraya.nagano.jp","iida.nagano.jp","iijima.nagano.jp","iiyama.nagano.jp","iizuna.nagano.jp","ikeda.nagano.jp","ikusaka.nagano.jp","ina.nagano.jp","karuizawa.nagano.jp","kawakami.nagano.jp","kiso.nagano.jp","kisofukushima.nagano.jp","kitaaiki.nagano.jp","komagane.nagano.jp","komoro.nagano.jp","matsukawa.nagano.jp","matsumoto.nagano.jp","miasa.nagano.jp","minamiaiki.nagano.jp","minamimaki.nagano.jp","minamiminowa.nagano.jp","minowa.nagano.jp","miyada.nagano.jp","miyota.nagano.jp","mochizuki.nagano.jp","nagano.nagano.jp","nagawa.nagano.jp","nagiso.nagano.jp","nakagawa.nagano.jp","nakano.nagano.jp","nozawaonsen.nagano.jp","obuse.nagano.jp","ogawa.nagano.jp","okaya.nagano.jp","omachi.nagano.jp","omi.nagano.jp","ookuwa.nagano.jp","ooshika.nagano.jp","otaki.nagano.jp","otari.nagano.jp","sakae.nagano.jp","sakaki.nagano.jp","saku.nagano.jp","sakuho.nagano.jp","shimosuwa.nagano.jp","shinanomachi.nagano.jp","shiojiri.nagano.jp","suwa.nagano.jp","suzaka.nagano.jp","takagi.nagano.jp","takamori.nagano.jp","takayama.nagano.jp","tateshina.nagano.jp","tatsuno.nagano.jp","togakushi.nagano.jp","togura.nagano.jp","tomi.nagano.jp","ueda.nagano.jp","wada.nagano.jp","yamagata.nagano.jp","yamanouchi.nagano.jp","yasaka.nagano.jp","yasuoka.nagano.jp","chijiwa.nagasaki.jp","futsu.nagasaki.jp","goto.nagasaki.jp","hasami.nagasaki.jp","hirado.nagasaki.jp","iki.nagasaki.jp","isahaya.nagasaki.jp","kawatana.nagasaki.jp","kuchinotsu.nagasaki.jp","matsuura.nagasaki.jp","nagasaki.nagasaki.jp","obama.nagasaki.jp","omura.nagasaki.jp","oseto.nagasaki.jp","saikai.nagasaki.jp","sasebo.nagasaki.jp","seihi.nagasaki.jp","shimabara.nagasaki.jp","shinkamigoto.nagasaki.jp","togitsu.nagasaki.jp","tsushima.nagasaki.jp","unzen.nagasaki.jp","ando.nara.jp","gose.nara.jp","heguri.nara.jp","higashiyoshino.nara.jp","ikaruga.nara.jp","ikoma.nara.jp","kamikitayama.nara.jp","kanmaki.nara.jp","kashiba.nara.jp","kashihara.nara.jp","katsuragi.nara.jp","kawai.nara.jp","kawakami.nara.jp","kawanishi.nara.jp","koryo.nara.jp","kurotaki.nara.jp","mitsue.nara.jp","miyake.nara.jp","nara.nara.jp","nosegawa.nara.jp","oji.nara.jp","ouda.nara.jp","oyodo.nara.jp","sakurai.nara.jp","sango.nara.jp","shimoichi.nara.jp","shimokitayama.nara.jp","shinjo.nara.jp","soni.nara.jp","takatori.nara.jp","tawaramoto.nara.jp","tenkawa.nara.jp","tenri.nara.jp","uda.nara.jp","yamatokoriyama.nara.jp","yamatotakada.nara.jp","yamazoe.nara.jp","yoshino.nara.jp","aga.niigata.jp","agano.niigata.jp","gosen.niigata.jp","itoigawa.niigata.jp","izumozaki.niigata.jp","joetsu.niigata.jp","kamo.niigata.jp","kariwa.niigata.jp","kashiwazaki.niigata.jp","minamiuonuma.niigata.jp","mitsuke.niigata.jp","muika.niigata.jp","murakami.niigata.jp","myoko.niigata.jp","nagaoka.niigata.jp","niigata.niigata.jp","ojiya.niigata.jp","omi.niigata.jp","sado.niigata.jp","sanjo.niigata.jp","seiro.niigata.jp","seirou.niigata.jp","sekikawa.niigata.jp","shibata.niigata.jp","tagami.niigata.jp","tainai.niigata.jp","tochio.niigata.jp","tokamachi.niigata.jp","tsubame.niigata.jp","tsunan.niigata.jp","uonuma.niigata.jp","yahiko.niigata.jp","yoita.niigata.jp","yuzawa.niigata.jp","beppu.oita.jp","bungoono.oita.jp","bungotakada.oita.jp","hasama.oita.jp","hiji.oita.jp","himeshima.oita.jp","hita.oita.jp","kamitsue.oita.jp","kokonoe.oita.jp","kuju.oita.jp","kunisaki.oita.jp","kusu.oita.jp","oita.oita.jp","saiki.oita.jp","taketa.oita.jp","tsukumi.oita.jp","usa.oita.jp","usuki.oita.jp","yufu.oita.jp","akaiwa.okayama.jp","asakuchi.okayama.jp","bizen.okayama.jp","hayashima.okayama.jp","ibara.okayama.jp","kagamino.okayama.jp","kasaoka.okayama.jp","kibichuo.okayama.jp","kumenan.okayama.jp","kurashiki.okayama.jp","maniwa.okayama.jp","misaki.okayama.jp","nagi.okayama.jp","niimi.okayama.jp","nishiawakura.okayama.jp","okayama.okayama.jp","satosho.okayama.jp","setouchi.okayama.jp","shinjo.okayama.jp","shoo.okayama.jp","soja.okayama.jp","takahashi.okayama.jp","tamano.okayama.jp","tsuyama.okayama.jp","wake.okayama.jp","yakage.okayama.jp","aguni.okinawa.jp","ginowan.okinawa.jp","ginoza.okinawa.jp","gushikami.okinawa.jp","haebaru.okinawa.jp","higashi.okinawa.jp","hirara.okinawa.jp","iheya.okinawa.jp","ishigaki.okinawa.jp","ishikawa.okinawa.jp","itoman.okinawa.jp","izena.okinawa.jp","kadena.okinawa.jp","kin.okinawa.jp","kitadaito.okinawa.jp","kitanakagusuku.okinawa.jp","kumejima.okinawa.jp","kunigami.okinawa.jp","minamidaito.okinawa.jp","motobu.okinawa.jp","nago.okinawa.jp","naha.okinawa.jp","nakagusuku.okinawa.jp","nakijin.okinawa.jp","nanjo.okinawa.jp","nishihara.okinawa.jp","ogimi.okinawa.jp","okinawa.okinawa.jp","onna.okinawa.jp","shimoji.okinawa.jp","taketomi.okinawa.jp","tarama.okinawa.jp","tokashiki.okinawa.jp","tomigusuku.okinawa.jp","tonaki.okinawa.jp","urasoe.okinawa.jp","uruma.okinawa.jp","yaese.okinawa.jp","yomitan.okinawa.jp","yonabaru.okinawa.jp","yonaguni.okinawa.jp","zamami.okinawa.jp","abeno.osaka.jp","chihayaakasaka.osaka.jp","chuo.osaka.jp","daito.osaka.jp","fujiidera.osaka.jp","habikino.osaka.jp","hannan.osaka.jp","higashiosaka.osaka.jp","higashisumiyoshi.osaka.jp","higashiyodogawa.osaka.jp","hirakata.osaka.jp","ibaraki.osaka.jp","ikeda.osaka.jp","izumi.osaka.jp","izumiotsu.osaka.jp","izumisano.osaka.jp","kadoma.osaka.jp","kaizuka.osaka.jp","kanan.osaka.jp","kashiwara.osaka.jp","katano.osaka.jp","kawachinagano.osaka.jp","kishiwada.osaka.jp","kita.osaka.jp","kumatori.osaka.jp","matsubara.osaka.jp","minato.osaka.jp","minoh.osaka.jp","misaki.osaka.jp","moriguchi.osaka.jp","neyagawa.osaka.jp","nishi.osaka.jp","nose.osaka.jp","osakasayama.osaka.jp","sakai.osaka.jp","sayama.osaka.jp","sennan.osaka.jp","settsu.osaka.jp","shijonawate.osaka.jp","shimamoto.osaka.jp","suita.osaka.jp","tadaoka.osaka.jp","taishi.osaka.jp","tajiri.osaka.jp","takaishi.osaka.jp","takatsuki.osaka.jp","tondabayashi.osaka.jp","toyonaka.osaka.jp","toyono.osaka.jp","yao.osaka.jp","ariake.saga.jp","arita.saga.jp","fukudomi.saga.jp","genkai.saga.jp","hamatama.saga.jp","hizen.saga.jp","imari.saga.jp","kamimine.saga.jp","kanzaki.saga.jp","karatsu.saga.jp","kashima.saga.jp","kitagata.saga.jp","kitahata.saga.jp","kiyama.saga.jp","kouhoku.saga.jp","kyuragi.saga.jp","nishiarita.saga.jp","ogi.saga.jp","omachi.saga.jp","ouchi.saga.jp","saga.saga.jp","shiroishi.saga.jp","taku.saga.jp","tara.saga.jp","tosu.saga.jp","yoshinogari.saga.jp","arakawa.saitama.jp","asaka.saitama.jp","chichibu.saitama.jp","fujimi.saitama.jp","fujimino.saitama.jp","fukaya.saitama.jp","hanno.saitama.jp","hanyu.saitama.jp","hasuda.saitama.jp","hatogaya.saitama.jp","hatoyama.saitama.jp","hidaka.saitama.jp","higashichichibu.saitama.jp","higashimatsuyama.saitama.jp","honjo.saitama.jp","ina.saitama.jp","iruma.saitama.jp","iwatsuki.saitama.jp","kamiizumi.saitama.jp","kamikawa.saitama.jp","kamisato.saitama.jp","kasukabe.saitama.jp","kawagoe.saitama.jp","kawaguchi.saitama.jp","kawajima.saitama.jp","kazo.saitama.jp","kitamoto.saitama.jp","koshigaya.saitama.jp","kounosu.saitama.jp","kuki.saitama.jp","kumagaya.saitama.jp","matsubushi.saitama.jp","minano.saitama.jp","misato.saitama.jp","miyashiro.saitama.jp","miyoshi.saitama.jp","moroyama.saitama.jp","nagatoro.saitama.jp","namegawa.saitama.jp","niiza.saitama.jp","ogano.saitama.jp","ogawa.saitama.jp","ogose.saitama.jp","okegawa.saitama.jp","omiya.saitama.jp","otaki.saitama.jp","ranzan.saitama.jp","ryokami.saitama.jp","saitama.saitama.jp","sakado.saitama.jp","satte.saitama.jp","sayama.saitama.jp","shiki.saitama.jp","shiraoka.saitama.jp","soka.saitama.jp","sugito.saitama.jp","toda.saitama.jp","tokigawa.saitama.jp","tokorozawa.saitama.jp","tsurugashima.saitama.jp","urawa.saitama.jp","warabi.saitama.jp","yashio.saitama.jp","yokoze.saitama.jp","yono.saitama.jp","yorii.saitama.jp","yoshida.saitama.jp","yoshikawa.saitama.jp","yoshimi.saitama.jp","aisho.shiga.jp","gamo.shiga.jp","higashiomi.shiga.jp","hikone.shiga.jp","koka.shiga.jp","konan.shiga.jp","kosei.shiga.jp","koto.shiga.jp","kusatsu.shiga.jp","maibara.shiga.jp","moriyama.shiga.jp","nagahama.shiga.jp","nishiazai.shiga.jp","notogawa.shiga.jp","omihachiman.shiga.jp","otsu.shiga.jp","ritto.shiga.jp","ryuoh.shiga.jp","takashima.shiga.jp","takatsuki.shiga.jp","torahime.shiga.jp","toyosato.shiga.jp","yasu.shiga.jp","akagi.shimane.jp","ama.shimane.jp","gotsu.shimane.jp","hamada.shimane.jp","higashiizumo.shimane.jp","hikawa.shimane.jp","hikimi.shimane.jp","izumo.shimane.jp","kakinoki.shimane.jp","masuda.shimane.jp","matsue.shimane.jp","misato.shimane.jp","nishinoshima.shimane.jp","ohda.shimane.jp","okinoshima.shimane.jp","okuizumo.shimane.jp","shimane.shimane.jp","tamayu.shimane.jp","tsuwano.shimane.jp","unnan.shimane.jp","yakumo.shimane.jp","yasugi.shimane.jp","yatsuka.shimane.jp","arai.shizuoka.jp","atami.shizuoka.jp","fuji.shizuoka.jp","fujieda.shizuoka.jp","fujikawa.shizuoka.jp","fujinomiya.shizuoka.jp","fukuroi.shizuoka.jp","gotemba.shizuoka.jp","haibara.shizuoka.jp","hamamatsu.shizuoka.jp","higashiizu.shizuoka.jp","ito.shizuoka.jp","iwata.shizuoka.jp","izu.shizuoka.jp","izunokuni.shizuoka.jp","kakegawa.shizuoka.jp","kannami.shizuoka.jp","kawanehon.shizuoka.jp","kawazu.shizuoka.jp","kikugawa.shizuoka.jp","kosai.shizuoka.jp","makinohara.shizuoka.jp","matsuzaki.shizuoka.jp","minamiizu.shizuoka.jp","mishima.shizuoka.jp","morimachi.shizuoka.jp","nishiizu.shizuoka.jp","numazu.shizuoka.jp","omaezaki.shizuoka.jp","shimada.shizuoka.jp","shimizu.shizuoka.jp","shimoda.shizuoka.jp","shizuoka.shizuoka.jp","susono.shizuoka.jp","yaizu.shizuoka.jp","yoshida.shizuoka.jp","ashikaga.tochigi.jp","bato.tochigi.jp","haga.tochigi.jp","ichikai.tochigi.jp","iwafune.tochigi.jp","kaminokawa.tochigi.jp","kanuma.tochigi.jp","karasuyama.tochigi.jp","kuroiso.tochigi.jp","mashiko.tochigi.jp","mibu.tochigi.jp","moka.tochigi.jp","motegi.tochigi.jp","nasu.tochigi.jp","nasushiobara.tochigi.jp","nikko.tochigi.jp","nishikata.tochigi.jp","nogi.tochigi.jp","ohira.tochigi.jp","ohtawara.tochigi.jp","oyama.tochigi.jp","sakura.tochigi.jp","sano.tochigi.jp","shimotsuke.tochigi.jp","shioya.tochigi.jp","takanezawa.tochigi.jp","tochigi.tochigi.jp","tsuga.tochigi.jp","ujiie.tochigi.jp","utsunomiya.tochigi.jp","yaita.tochigi.jp","aizumi.tokushima.jp","anan.tokushima.jp","ichiba.tokushima.jp","itano.tokushima.jp","kainan.tokushima.jp","komatsushima.tokushima.jp","matsushige.tokushima.jp","mima.tokushima.jp","minami.tokushima.jp","miyoshi.tokushima.jp","mugi.tokushima.jp","nakagawa.tokushima.jp","naruto.tokushima.jp","sanagochi.tokushima.jp","shishikui.tokushima.jp","tokushima.tokushima.jp","wajiki.tokushima.jp","adachi.tokyo.jp","akiruno.tokyo.jp","akishima.tokyo.jp","aogashima.tokyo.jp","arakawa.tokyo.jp","bunkyo.tokyo.jp","chiyoda.tokyo.jp","chofu.tokyo.jp","chuo.tokyo.jp","edogawa.tokyo.jp","fuchu.tokyo.jp","fussa.tokyo.jp","hachijo.tokyo.jp","hachioji.tokyo.jp","hamura.tokyo.jp","higashikurume.tokyo.jp","higashimurayama.tokyo.jp","higashiyamato.tokyo.jp","hino.tokyo.jp","hinode.tokyo.jp","hinohara.tokyo.jp","inagi.tokyo.jp","itabashi.tokyo.jp","katsushika.tokyo.jp","kita.tokyo.jp","kiyose.tokyo.jp","kodaira.tokyo.jp","koganei.tokyo.jp","kokubunji.tokyo.jp","komae.tokyo.jp","koto.tokyo.jp","kouzushima.tokyo.jp","kunitachi.tokyo.jp","machida.tokyo.jp","meguro.tokyo.jp","minato.tokyo.jp","mitaka.tokyo.jp","mizuho.tokyo.jp","musashimurayama.tokyo.jp","musashino.tokyo.jp","nakano.tokyo.jp","nerima.tokyo.jp","ogasawara.tokyo.jp","okutama.tokyo.jp","ome.tokyo.jp","oshima.tokyo.jp","ota.tokyo.jp","setagaya.tokyo.jp","shibuya.tokyo.jp","shinagawa.tokyo.jp","shinjuku.tokyo.jp","suginami.tokyo.jp","sumida.tokyo.jp","tachikawa.tokyo.jp","taito.tokyo.jp","tama.tokyo.jp","toshima.tokyo.jp","chizu.tottori.jp","hino.tottori.jp","kawahara.tottori.jp","koge.tottori.jp","kotoura.tottori.jp","misasa.tottori.jp","nanbu.tottori.jp","nichinan.tottori.jp","sakaiminato.tottori.jp","tottori.tottori.jp","wakasa.tottori.jp","yazu.tottori.jp","yonago.tottori.jp","asahi.toyama.jp","fuchu.toyama.jp","fukumitsu.toyama.jp","funahashi.toyama.jp","himi.toyama.jp","imizu.toyama.jp","inami.toyama.jp","johana.toyama.jp","kamiichi.toyama.jp","kurobe.toyama.jp","nakaniikawa.toyama.jp","namerikawa.toyama.jp","nanto.toyama.jp","nyuzen.toyama.jp","oyabe.toyama.jp","taira.toyama.jp","takaoka.toyama.jp","tateyama.toyama.jp","toga.toyama.jp","tonami.toyama.jp","toyama.toyama.jp","unazuki.toyama.jp","uozu.toyama.jp","yamada.toyama.jp","arida.wakayama.jp","aridagawa.wakayama.jp","gobo.wakayama.jp","hashimoto.wakayama.jp","hidaka.wakayama.jp","hirogawa.wakayama.jp","inami.wakayama.jp","iwade.wakayama.jp","kainan.wakayama.jp","kamitonda.wakayama.jp","katsuragi.wakayama.jp","kimino.wakayama.jp","kinokawa.wakayama.jp","kitayama.wakayama.jp","koya.wakayama.jp","koza.wakayama.jp","kozagawa.wakayama.jp","kudoyama.wakayama.jp","kushimoto.wakayama.jp","mihama.wakayama.jp","misato.wakayama.jp","nachikatsuura.wakayama.jp","shingu.wakayama.jp","shirahama.wakayama.jp","taiji.wakayama.jp","tanabe.wakayama.jp","wakayama.wakayama.jp","yuasa.wakayama.jp","yura.wakayama.jp","asahi.yamagata.jp","funagata.yamagata.jp","higashine.yamagata.jp","iide.yamagata.jp","kahoku.yamagata.jp","kaminoyama.yamagata.jp","kaneyama.yamagata.jp","kawanishi.yamagata.jp","mamurogawa.yamagata.jp","mikawa.yamagata.jp","murayama.yamagata.jp","nagai.yamagata.jp","nakayama.yamagata.jp","nanyo.yamagata.jp","nishikawa.yamagata.jp","obanazawa.yamagata.jp","oe.yamagata.jp","oguni.yamagata.jp","ohkura.yamagata.jp","oishida.yamagata.jp","sagae.yamagata.jp","sakata.yamagata.jp","sakegawa.yamagata.jp","shinjo.yamagata.jp","shirataka.yamagata.jp","shonai.yamagata.jp","takahata.yamagata.jp","tendo.yamagata.jp","tozawa.yamagata.jp","tsuruoka.yamagata.jp","yamagata.yamagata.jp","yamanobe.yamagata.jp","yonezawa.yamagata.jp","yuza.yamagata.jp","abu.yamaguchi.jp","hagi.yamaguchi.jp","hikari.yamaguchi.jp","hofu.yamaguchi.jp","iwakuni.yamaguchi.jp","kudamatsu.yamaguchi.jp","mitou.yamaguchi.jp","nagato.yamaguchi.jp","oshima.yamaguchi.jp","shimonoseki.yamaguchi.jp","shunan.yamaguchi.jp","tabuse.yamaguchi.jp","tokuyama.yamaguchi.jp","toyota.yamaguchi.jp","ube.yamaguchi.jp","yuu.yamaguchi.jp","chuo.yamanashi.jp","doshi.yamanashi.jp","fuefuki.yamanashi.jp","fujikawa.yamanashi.jp","fujikawaguchiko.yamanashi.jp","fujiyoshida.yamanashi.jp","hayakawa.yamanashi.jp","hokuto.yamanashi.jp","ichikawamisato.yamanashi.jp","kai.yamanashi.jp","kofu.yamanashi.jp","koshu.yamanashi.jp","kosuge.yamanashi.jp","minami-alps.yamanashi.jp","minobu.yamanashi.jp","nakamichi.yamanashi.jp","nanbu.yamanashi.jp","narusawa.yamanashi.jp","nirasaki.yamanashi.jp","nishikatsura.yamanashi.jp","oshino.yamanashi.jp","otsuki.yamanashi.jp","showa.yamanashi.jp","tabayama.yamanashi.jp","tsuru.yamanashi.jp","uenohara.yamanashi.jp","yamanakako.yamanashi.jp","yamanashi.yamanashi.jp","ke","ac.ke","co.ke","go.ke","info.ke","me.ke","mobi.ke","ne.ke","or.ke","sc.ke","kg","org.kg","net.kg","com.kg","edu.kg","gov.kg","mil.kg","*.kh","ki","edu.ki","biz.ki","net.ki","org.ki","gov.ki","info.ki","com.ki","km","org.km","nom.km","gov.km","prd.km","tm.km","edu.km","mil.km","ass.km","com.km","coop.km","asso.km","presse.km","medecin.km","notaires.km","pharmaciens.km","veterinaire.km","gouv.km","kn","net.kn","org.kn","edu.kn","gov.kn","kp","com.kp","edu.kp","gov.kp","org.kp","rep.kp","tra.kp","kr","ac.kr","co.kr","es.kr","go.kr","hs.kr","kg.kr","mil.kr","ms.kr","ne.kr","or.kr","pe.kr","re.kr","sc.kr","busan.kr","chungbuk.kr","chungnam.kr","daegu.kr","daejeon.kr","gangwon.kr","gwangju.kr","gyeongbuk.kr","gyeonggi.kr","gyeongnam.kr","incheon.kr","jeju.kr","jeonbuk.kr","jeonnam.kr","seoul.kr","ulsan.kr","kw","com.kw","edu.kw","emb.kw","gov.kw","ind.kw","net.kw","org.kw","ky","edu.ky","gov.ky","com.ky","org.ky","net.ky","kz","org.kz","edu.kz","net.kz","gov.kz","mil.kz","com.kz","la","int.la","net.la","info.la","edu.la","gov.la","per.la","com.la","org.la","lb","com.lb","edu.lb","gov.lb","net.lb","org.lb","lc","com.lc","net.lc","co.lc","org.lc","edu.lc","gov.lc","li","lk","gov.lk","sch.lk","net.lk","int.lk","com.lk","org.lk","edu.lk","ngo.lk","soc.lk","web.lk","ltd.lk","assn.lk","grp.lk","hotel.lk","ac.lk","lr","com.lr","edu.lr","gov.lr","org.lr","net.lr","ls","ac.ls","biz.ls","co.ls","edu.ls","gov.ls","info.ls","net.ls","org.ls","sc.ls","lt","gov.lt","lu","lv","com.lv","edu.lv","gov.lv","org.lv","mil.lv","id.lv","net.lv","asn.lv","conf.lv","ly","com.ly","net.ly","gov.ly","plc.ly","edu.ly","sch.ly","med.ly","org.ly","id.ly","ma","co.ma","net.ma","gov.ma","org.ma","ac.ma","press.ma","mc","tm.mc","asso.mc","md","me","co.me","net.me","org.me","edu.me","ac.me","gov.me","its.me","priv.me","mg","org.mg","nom.mg","gov.mg","prd.mg","tm.mg","edu.mg","mil.mg","com.mg","co.mg","mh","mil","mk","com.mk","org.mk","net.mk","edu.mk","gov.mk","inf.mk","name.mk","ml","com.ml","edu.ml","gouv.ml","gov.ml","net.ml","org.ml","presse.ml","*.mm","mn","gov.mn","edu.mn","org.mn","mo","com.mo","net.mo","org.mo","edu.mo","gov.mo","mobi","mp","mq","mr","gov.mr","ms","com.ms","edu.ms","gov.ms","net.ms","org.ms","mt","com.mt","edu.mt","net.mt","org.mt","mu","com.mu","net.mu","org.mu","gov.mu","ac.mu","co.mu","or.mu","museum","academy.museum","agriculture.museum","air.museum","airguard.museum","alabama.museum","alaska.museum","amber.museum","ambulance.museum","american.museum","americana.museum","americanantiques.museum","americanart.museum","amsterdam.museum","and.museum","annefrank.museum","anthro.museum","anthropology.museum","antiques.museum","aquarium.museum","arboretum.museum","archaeological.museum","archaeology.museum","architecture.museum","art.museum","artanddesign.museum","artcenter.museum","artdeco.museum","arteducation.museum","artgallery.museum","arts.museum","artsandcrafts.museum","asmatart.museum","assassination.museum","assisi.museum","association.museum","astronomy.museum","atlanta.museum","austin.museum","australia.museum","automotive.museum","aviation.museum","axis.museum","badajoz.museum","baghdad.museum","bahn.museum","bale.museum","baltimore.museum","barcelona.museum","baseball.museum","basel.museum","baths.museum","bauern.museum","beauxarts.museum","beeldengeluid.museum","bellevue.museum","bergbau.museum","berkeley.museum","berlin.museum","bern.museum","bible.museum","bilbao.museum","bill.museum","birdart.museum","birthplace.museum","bonn.museum","boston.museum","botanical.museum","botanicalgarden.museum","botanicgarden.museum","botany.museum","brandywinevalley.museum","brasil.museum","bristol.museum","british.museum","britishcolumbia.museum","broadcast.museum","brunel.museum","brussel.museum","brussels.museum","bruxelles.museum","building.museum","burghof.museum","bus.museum","bushey.museum","cadaques.museum","california.museum","cambridge.museum","can.museum","canada.museum","capebreton.museum","carrier.museum","cartoonart.museum","casadelamoneda.museum","castle.museum","castres.museum","celtic.museum","center.museum","chattanooga.museum","cheltenham.museum","chesapeakebay.museum","chicago.museum","children.museum","childrens.museum","childrensgarden.museum","chiropractic.museum","chocolate.museum","christiansburg.museum","cincinnati.museum","cinema.museum","circus.museum","civilisation.museum","civilization.museum","civilwar.museum","clinton.museum","clock.museum","coal.museum","coastaldefence.museum","cody.museum","coldwar.museum","collection.museum","colonialwilliamsburg.museum","coloradoplateau.museum","columbia.museum","columbus.museum","communication.museum","communications.museum","community.museum","computer.museum","computerhistory.museum","comunicações.museum","contemporary.museum","contemporaryart.museum","convent.museum","copenhagen.museum","corporation.museum","correios-e-telecomunicações.museum","corvette.museum","costume.museum","countryestate.museum","county.museum","crafts.museum","cranbrook.museum","creation.museum","cultural.museum","culturalcenter.museum","culture.museum","cyber.museum","cymru.museum","dali.museum","dallas.museum","database.museum","ddr.museum","decorativearts.museum","delaware.museum","delmenhorst.museum","denmark.museum","depot.museum","design.museum","detroit.museum","dinosaur.museum","discovery.museum","dolls.museum","donostia.museum","durham.museum","eastafrica.museum","eastcoast.museum","education.museum","educational.museum","egyptian.museum","eisenbahn.museum","elburg.museum","elvendrell.museum","embroidery.museum","encyclopedic.museum","england.museum","entomology.museum","environment.museum","environmentalconservation.museum","epilepsy.museum","essex.museum","estate.museum","ethnology.museum","exeter.museum","exhibition.museum","family.museum","farm.museum","farmequipment.museum","farmers.museum","farmstead.museum","field.museum","figueres.museum","filatelia.museum","film.museum","fineart.museum","finearts.museum","finland.museum","flanders.museum","florida.museum","force.museum","fortmissoula.museum","fortworth.museum","foundation.museum","francaise.museum","frankfurt.museum","franziskaner.museum","freemasonry.museum","freiburg.museum","fribourg.museum","frog.museum","fundacio.museum","furniture.museum","gallery.museum","garden.museum","gateway.museum","geelvinck.museum","gemological.museum","geology.museum","georgia.museum","giessen.museum","glas.museum","glass.museum","gorge.museum","grandrapids.museum","graz.museum","guernsey.museum","halloffame.museum","hamburg.museum","handson.museum","harvestcelebration.museum","hawaii.museum","health.museum","heimatunduhren.museum","hellas.museum","helsinki.museum","hembygdsforbund.museum","heritage.museum","histoire.museum","historical.museum","historicalsociety.museum","historichouses.museum","historisch.museum","historisches.museum","history.museum","historyofscience.museum","horology.museum","house.museum","humanities.museum","illustration.museum","imageandsound.museum","indian.museum","indiana.museum","indianapolis.museum","indianmarket.museum","intelligence.museum","interactive.museum","iraq.museum","iron.museum","isleofman.museum","jamison.museum","jefferson.museum","jerusalem.museum","jewelry.museum","jewish.museum","jewishart.museum","jfk.museum","journalism.museum","judaica.museum","judygarland.museum","juedisches.museum","juif.museum","karate.museum","karikatur.museum","kids.museum","koebenhavn.museum","koeln.museum","kunst.museum","kunstsammlung.museum","kunstunddesign.museum","labor.museum","labour.museum","lajolla.museum","lancashire.museum","landes.museum","lans.museum","läns.museum","larsson.museum","lewismiller.museum","lincoln.museum","linz.museum","living.museum","livinghistory.museum","localhistory.museum","london.museum","losangeles.museum","louvre.museum","loyalist.museum","lucerne.museum","luxembourg.museum","luzern.museum","mad.museum","madrid.museum","mallorca.museum","manchester.museum","mansion.museum","mansions.museum","manx.museum","marburg.museum","maritime.museum","maritimo.museum","maryland.museum","marylhurst.museum","media.museum","medical.museum","medizinhistorisches.museum","meeres.museum","memorial.museum","mesaverde.museum","michigan.museum","midatlantic.museum","military.museum","mill.museum","miners.museum","mining.museum","minnesota.museum","missile.museum","missoula.museum","modern.museum","moma.museum","money.museum","monmouth.museum","monticello.museum","montreal.museum","moscow.museum","motorcycle.museum","muenchen.museum","muenster.museum","mulhouse.museum","muncie.museum","museet.museum","museumcenter.museum","museumvereniging.museum","music.museum","national.museum","nationalfirearms.museum","nationalheritage.museum","nativeamerican.museum","naturalhistory.museum","naturalhistorymuseum.museum","naturalsciences.museum","nature.museum","naturhistorisches.museum","natuurwetenschappen.museum","naumburg.museum","naval.museum","nebraska.museum","neues.museum","newhampshire.museum","newjersey.museum","newmexico.museum","newport.museum","newspaper.museum","newyork.museum","niepce.museum","norfolk.museum","north.museum","nrw.museum","nyc.museum","nyny.museum","oceanographic.museum","oceanographique.museum","omaha.museum","online.museum","ontario.museum","openair.museum","oregon.museum","oregontrail.museum","otago.museum","oxford.museum","pacific.museum","paderborn.museum","palace.museum","paleo.museum","palmsprings.museum","panama.museum","paris.museum","pasadena.museum","pharmacy.museum","philadelphia.museum","philadelphiaarea.museum","philately.museum","phoenix.museum","photography.museum","pilots.museum","pittsburgh.museum","planetarium.museum","plantation.museum","plants.museum","plaza.museum","portal.museum","portland.museum","portlligat.museum","posts-and-telecommunications.museum","preservation.museum","presidio.museum","press.museum","project.museum","public.museum","pubol.museum","quebec.museum","railroad.museum","railway.museum","research.museum","resistance.museum","riodejaneiro.museum","rochester.museum","rockart.museum","roma.museum","russia.museum","saintlouis.museum","salem.museum","salvadordali.museum","salzburg.museum","sandiego.museum","sanfrancisco.museum","santabarbara.museum","santacruz.museum","santafe.museum","saskatchewan.museum","satx.museum","savannahga.museum","schlesisches.museum","schoenbrunn.museum","schokoladen.museum","school.museum","schweiz.museum","science.museum","scienceandhistory.museum","scienceandindustry.museum","sciencecenter.museum","sciencecenters.museum","science-fiction.museum","sciencehistory.museum","sciences.museum","sciencesnaturelles.museum","scotland.museum","seaport.museum","settlement.museum","settlers.museum","shell.museum","sherbrooke.museum","sibenik.museum","silk.museum","ski.museum","skole.museum","society.museum","sologne.museum","soundandvision.museum","southcarolina.museum","southwest.museum","space.museum","spy.museum","square.museum","stadt.museum","stalbans.museum","starnberg.museum","state.museum","stateofdelaware.museum","station.museum","steam.museum","steiermark.museum","stjohn.museum","stockholm.museum","stpetersburg.museum","stuttgart.museum","suisse.museum","surgeonshall.museum","surrey.museum","svizzera.museum","sweden.museum","sydney.museum","tank.museum","tcm.museum","technology.museum","telekommunikation.museum","television.museum","texas.museum","textile.museum","theater.museum","time.museum","timekeeping.museum","topology.museum","torino.museum","touch.museum","town.museum","transport.museum","tree.museum","trolley.museum","trust.museum","trustee.museum","uhren.museum","ulm.museum","undersea.museum","university.museum","usa.museum","usantiques.museum","usarts.museum","uscountryestate.museum","usculture.museum","usdecorativearts.museum","usgarden.museum","ushistory.museum","ushuaia.museum","uslivinghistory.museum","utah.museum","uvic.museum","valley.museum","vantaa.museum","versailles.museum","viking.museum","village.museum","virginia.museum","virtual.museum","virtuel.museum","vlaanderen.museum","volkenkunde.museum","wales.museum","wallonie.museum","war.museum","washingtondc.museum","watchandclock.museum","watch-and-clock.museum","western.museum","westfalen.museum","whaling.museum","wildlife.museum","williamsburg.museum","windmill.museum","workshop.museum","york.museum","yorkshire.museum","yosemite.museum","youth.museum","zoological.museum","zoology.museum","ירושלים.museum","иком.museum","mv","aero.mv","biz.mv","com.mv","coop.mv","edu.mv","gov.mv","info.mv","int.mv","mil.mv","museum.mv","name.mv","net.mv","org.mv","pro.mv","mw","ac.mw","biz.mw","co.mw","com.mw","coop.mw","edu.mw","gov.mw","int.mw","museum.mw","net.mw","org.mw","mx","com.mx","org.mx","gob.mx","edu.mx","net.mx","my","com.my","net.my","org.my","gov.my","edu.my","mil.my","name.my","mz","ac.mz","adv.mz","co.mz","edu.mz","gov.mz","mil.mz","net.mz","org.mz","na","info.na","pro.na","name.na","school.na","or.na","dr.na","us.na","mx.na","ca.na","in.na","cc.na","tv.na","ws.na","mobi.na","co.na","com.na","org.na","name","nc","asso.nc","nom.nc","ne","net","nf","com.nf","net.nf","per.nf","rec.nf","web.nf","arts.nf","firm.nf","info.nf","other.nf","store.nf","ng","com.ng","edu.ng","gov.ng","i.ng","mil.ng","mobi.ng","name.ng","net.ng","org.ng","sch.ng","ni","ac.ni","biz.ni","co.ni","com.ni","edu.ni","gob.ni","in.ni","info.ni","int.ni","mil.ni","net.ni","nom.ni","org.ni","web.ni","nl","no","fhs.no","vgs.no","fylkesbibl.no","folkebibl.no","museum.no","idrett.no","priv.no","mil.no","stat.no","dep.no","kommune.no","herad.no","aa.no","ah.no","bu.no","fm.no","hl.no","hm.no","jan-mayen.no","mr.no","nl.no","nt.no","of.no","ol.no","oslo.no","rl.no","sf.no","st.no","svalbard.no","tm.no","tr.no","va.no","vf.no","gs.aa.no","gs.ah.no","gs.bu.no","gs.fm.no","gs.hl.no","gs.hm.no","gs.jan-mayen.no","gs.mr.no","gs.nl.no","gs.nt.no","gs.of.no","gs.ol.no","gs.oslo.no","gs.rl.no","gs.sf.no","gs.st.no","gs.svalbard.no","gs.tm.no","gs.tr.no","gs.va.no","gs.vf.no","akrehamn.no","åkrehamn.no","algard.no","ålgård.no","arna.no","brumunddal.no","bryne.no","bronnoysund.no","brønnøysund.no","drobak.no","drøbak.no","egersund.no","fetsund.no","floro.no","florø.no","fredrikstad.no","hokksund.no","honefoss.no","hønefoss.no","jessheim.no","jorpeland.no","jørpeland.no","kirkenes.no","kopervik.no","krokstadelva.no","langevag.no","langevåg.no","leirvik.no","mjondalen.no","mjøndalen.no","mo-i-rana.no","mosjoen.no","mosjøen.no","nesoddtangen.no","orkanger.no","osoyro.no","osøyro.no","raholt.no","råholt.no","sandnessjoen.no","sandnessjøen.no","skedsmokorset.no","slattum.no","spjelkavik.no","stathelle.no","stavern.no","stjordalshalsen.no","stjørdalshalsen.no","tananger.no","tranby.no","vossevangen.no","afjord.no","åfjord.no","agdenes.no","al.no","ål.no","alesund.no","ålesund.no","alstahaug.no","alta.no","áltá.no","alaheadju.no","álaheadju.no","alvdal.no","amli.no","åmli.no","amot.no","åmot.no","andebu.no","andoy.no","andøy.no","andasuolo.no","ardal.no","årdal.no","aremark.no","arendal.no","ås.no","aseral.no","åseral.no","asker.no","askim.no","askvoll.no","askoy.no","askøy.no","asnes.no","åsnes.no","audnedaln.no","aukra.no","aure.no","aurland.no","aurskog-holand.no","aurskog-høland.no","austevoll.no","austrheim.no","averoy.no","averøy.no","balestrand.no","ballangen.no","balat.no","bálát.no","balsfjord.no","bahccavuotna.no","báhccavuotna.no","bamble.no","bardu.no","beardu.no","beiarn.no","bajddar.no","bájddar.no","baidar.no","báidár.no","berg.no","bergen.no","berlevag.no","berlevåg.no","bearalvahki.no","bearalváhki.no","bindal.no","birkenes.no","bjarkoy.no","bjarkøy.no","bjerkreim.no","bjugn.no","bodo.no","bodø.no","badaddja.no","bådåddjå.no","budejju.no","bokn.no","bremanger.no","bronnoy.no","brønnøy.no","bygland.no","bykle.no","barum.no","bærum.no","bo.telemark.no","bø.telemark.no","bo.nordland.no","bø.nordland.no","bievat.no","bievát.no","bomlo.no","bømlo.no","batsfjord.no","båtsfjord.no","bahcavuotna.no","báhcavuotna.no","dovre.no","drammen.no","drangedal.no","dyroy.no","dyrøy.no","donna.no","dønna.no","eid.no","eidfjord.no","eidsberg.no","eidskog.no","eidsvoll.no","eigersund.no","elverum.no","enebakk.no","engerdal.no","etne.no","etnedal.no","evenes.no","evenassi.no","evenášši.no","evje-og-hornnes.no","farsund.no","fauske.no","fuossko.no","fuoisku.no","fedje.no","fet.no","finnoy.no","finnøy.no","fitjar.no","fjaler.no","fjell.no","flakstad.no","flatanger.no","flekkefjord.no","flesberg.no","flora.no","fla.no","flå.no","folldal.no","forsand.no","fosnes.no","frei.no","frogn.no","froland.no","frosta.no","frana.no","fræna.no","froya.no","frøya.no","fusa.no","fyresdal.no","forde.no","førde.no","gamvik.no","gangaviika.no","gáŋgaviika.no","gaular.no","gausdal.no","gildeskal.no","gildeskål.no","giske.no","gjemnes.no","gjerdrum.no","gjerstad.no","gjesdal.no","gjovik.no","gjøvik.no","gloppen.no","gol.no","gran.no","grane.no","granvin.no","gratangen.no","grimstad.no","grong.no","kraanghke.no","kråanghke.no","grue.no","gulen.no","hadsel.no","halden.no","halsa.no","hamar.no","hamaroy.no","habmer.no","hábmer.no","hapmir.no","hápmir.no","hammerfest.no","hammarfeasta.no","hámmárfeasta.no","haram.no","hareid.no","harstad.no","hasvik.no","aknoluokta.no","ákŋoluokta.no","hattfjelldal.no","aarborte.no","haugesund.no","hemne.no","hemnes.no","hemsedal.no","heroy.more-og-romsdal.no","herøy.møre-og-romsdal.no","heroy.nordland.no","herøy.nordland.no","hitra.no","hjartdal.no","hjelmeland.no","hobol.no","hobøl.no","hof.no","hol.no","hole.no","holmestrand.no","holtalen.no","holtålen.no","hornindal.no","horten.no","hurdal.no","hurum.no","hvaler.no","hyllestad.no","hagebostad.no","hægebostad.no","hoyanger.no","høyanger.no","hoylandet.no","høylandet.no","ha.no","hå.no","ibestad.no","inderoy.no","inderøy.no","iveland.no","jevnaker.no","jondal.no","jolster.no","jølster.no","karasjok.no","karasjohka.no","kárášjohka.no","karlsoy.no","galsa.no","gálsá.no","karmoy.no","karmøy.no","kautokeino.no","guovdageaidnu.no","klepp.no","klabu.no","klæbu.no","kongsberg.no","kongsvinger.no","kragero.no","kragerø.no","kristiansand.no","kristiansund.no","krodsherad.no","krødsherad.no","kvalsund.no","rahkkeravju.no","ráhkkerávju.no","kvam.no","kvinesdal.no","kvinnherad.no","kviteseid.no","kvitsoy.no","kvitsøy.no","kvafjord.no","kvæfjord.no","giehtavuoatna.no","kvanangen.no","kvænangen.no","navuotna.no","návuotna.no","kafjord.no","kåfjord.no","gaivuotna.no","gáivuotna.no","larvik.no","lavangen.no","lavagis.no","loabat.no","loabát.no","lebesby.no","davvesiida.no","leikanger.no","leirfjord.no","leka.no","leksvik.no","lenvik.no","leangaviika.no","leaŋgaviika.no","lesja.no","levanger.no","lier.no","lierne.no","lillehammer.no","lillesand.no","lindesnes.no","lindas.no","lindås.no","lom.no","loppa.no","lahppi.no","láhppi.no","lund.no","lunner.no","luroy.no","lurøy.no","luster.no","lyngdal.no","lyngen.no","ivgu.no","lardal.no","lerdal.no","lærdal.no","lodingen.no","lødingen.no","lorenskog.no","lørenskog.no","loten.no","løten.no","malvik.no","masoy.no","måsøy.no","muosat.no","muosát.no","mandal.no","marker.no","marnardal.no","masfjorden.no","meland.no","meldal.no","melhus.no","meloy.no","meløy.no","meraker.no","meråker.no","moareke.no","moåreke.no","midsund.no","midtre-gauldal.no","modalen.no","modum.no","molde.no","moskenes.no","moss.no","mosvik.no","malselv.no","målselv.no","malatvuopmi.no","málatvuopmi.no","namdalseid.no","aejrie.no","namsos.no","namsskogan.no","naamesjevuemie.no","nååmesjevuemie.no","laakesvuemie.no","nannestad.no","narvik.no","narviika.no","naustdal.no","nedre-eiker.no","nes.akershus.no","nes.buskerud.no","nesna.no","nesodden.no","nesseby.no","unjarga.no","unjárga.no","nesset.no","nissedal.no","nittedal.no","nord-aurdal.no","nord-fron.no","nord-odal.no","norddal.no","nordkapp.no","davvenjarga.no","davvenjárga.no","nordre-land.no","nordreisa.no","raisa.no","ráisa.no","nore-og-uvdal.no","notodden.no","naroy.no","nærøy.no","notteroy.no","nøtterøy.no","odda.no","oksnes.no","øksnes.no","oppdal.no","oppegard.no","oppegård.no","orkdal.no","orland.no","ørland.no","orskog.no","ørskog.no","orsta.no","ørsta.no","os.hedmark.no","os.hordaland.no","osen.no","osteroy.no","osterøy.no","ostre-toten.no","østre-toten.no","overhalla.no","ovre-eiker.no","øvre-eiker.no","oyer.no","øyer.no","oygarden.no","øygarden.no","oystre-slidre.no","øystre-slidre.no","porsanger.no","porsangu.no","porsáŋgu.no","porsgrunn.no","radoy.no","radøy.no","rakkestad.no","rana.no","ruovat.no","randaberg.no","rauma.no","rendalen.no","rennebu.no","rennesoy.no","rennesøy.no","rindal.no","ringebu.no","ringerike.no","ringsaker.no","rissa.no","risor.no","risør.no","roan.no","rollag.no","rygge.no","ralingen.no","rælingen.no","rodoy.no","rødøy.no","romskog.no","rømskog.no","roros.no","røros.no","rost.no","røst.no","royken.no","røyken.no","royrvik.no","røyrvik.no","rade.no","råde.no","salangen.no","siellak.no","saltdal.no","salat.no","sálát.no","sálat.no","samnanger.no","sande.more-og-romsdal.no","sande.møre-og-romsdal.no","sande.vestfold.no","sandefjord.no","sandnes.no","sandoy.no","sandøy.no","sarpsborg.no","sauda.no","sauherad.no","sel.no","selbu.no","selje.no","seljord.no","sigdal.no","siljan.no","sirdal.no","skaun.no","skedsmo.no","ski.no","skien.no","skiptvet.no","skjervoy.no","skjervøy.no","skierva.no","skiervá.no","skjak.no","skjåk.no","skodje.no","skanland.no","skånland.no","skanit.no","skánit.no","smola.no","smøla.no","snillfjord.no","snasa.no","snåsa.no","snoasa.no","snaase.no","snåase.no","sogndal.no","sokndal.no","sola.no","solund.no","songdalen.no","sortland.no","spydeberg.no","stange.no","stavanger.no","steigen.no","steinkjer.no","stjordal.no","stjørdal.no","stokke.no","stor-elvdal.no","stord.no","stordal.no","storfjord.no","omasvuotna.no","strand.no","stranda.no","stryn.no","sula.no","suldal.no","sund.no","sunndal.no","surnadal.no","sveio.no","svelvik.no","sykkylven.no","sogne.no","søgne.no","somna.no","sømna.no","sondre-land.no","søndre-land.no","sor-aurdal.no","sør-aurdal.no","sor-fron.no","sør-fron.no","sor-odal.no","sør-odal.no","sor-varanger.no","sør-varanger.no","matta-varjjat.no","mátta-várjjat.no","sorfold.no","sørfold.no","sorreisa.no","sørreisa.no","sorum.no","sørum.no","tana.no","deatnu.no","time.no","tingvoll.no","tinn.no","tjeldsund.no","dielddanuorri.no","tjome.no","tjøme.no","tokke.no","tolga.no","torsken.no","tranoy.no","tranøy.no","tromso.no","tromsø.no","tromsa.no","romsa.no","trondheim.no","troandin.no","trysil.no","trana.no","træna.no","trogstad.no","trøgstad.no","tvedestrand.no","tydal.no","tynset.no","tysfjord.no","divtasvuodna.no","divttasvuotna.no","tysnes.no","tysvar.no","tysvær.no","tonsberg.no","tønsberg.no","ullensaker.no","ullensvang.no","ulvik.no","utsira.no","vadso.no","vadsø.no","cahcesuolo.no","čáhcesuolo.no","vaksdal.no","valle.no","vang.no","vanylven.no","vardo.no","vardø.no","varggat.no","várggát.no","vefsn.no","vaapste.no","vega.no","vegarshei.no","vegårshei.no","vennesla.no","verdal.no","verran.no","vestby.no","vestnes.no","vestre-slidre.no","vestre-toten.no","vestvagoy.no","vestvågøy.no","vevelstad.no","vik.no","vikna.no","vindafjord.no","volda.no","voss.no","varoy.no","værøy.no","vagan.no","vågan.no","voagat.no","vagsoy.no","vågsøy.no","vaga.no","vågå.no","valer.ostfold.no","våler.østfold.no","valer.hedmark.no","våler.hedmark.no","*.np","nr","biz.nr","info.nr","gov.nr","edu.nr","org.nr","net.nr","com.nr","nu","nz","ac.nz","co.nz","cri.nz","geek.nz","gen.nz","govt.nz","health.nz","iwi.nz","kiwi.nz","maori.nz","mil.nz","māori.nz","net.nz","org.nz","parliament.nz","school.nz","om","co.om","com.om","edu.om","gov.om","med.om","museum.om","net.om","org.om","pro.om","onion","org","pa","ac.pa","gob.pa","com.pa","org.pa","sld.pa","edu.pa","net.pa","ing.pa","abo.pa","med.pa","nom.pa","pe","edu.pe","gob.pe","nom.pe","mil.pe","org.pe","com.pe","net.pe","pf","com.pf","org.pf","edu.pf","*.pg","ph","com.ph","net.ph","org.ph","gov.ph","edu.ph","ngo.ph","mil.ph","i.ph","pk","com.pk","net.pk","edu.pk","org.pk","fam.pk","biz.pk","web.pk","gov.pk","gob.pk","gok.pk","gon.pk","gop.pk","gos.pk","info.pk","pl","com.pl","net.pl","org.pl","aid.pl","agro.pl","atm.pl","auto.pl","biz.pl","edu.pl","gmina.pl","gsm.pl","info.pl","mail.pl","miasta.pl","media.pl","mil.pl","nieruchomosci.pl","nom.pl","pc.pl","powiat.pl","priv.pl","realestate.pl","rel.pl","sex.pl","shop.pl","sklep.pl","sos.pl","szkola.pl","targi.pl","tm.pl","tourism.pl","travel.pl","turystyka.pl","gov.pl","ap.gov.pl","ic.gov.pl","is.gov.pl","us.gov.pl","kmpsp.gov.pl","kppsp.gov.pl","kwpsp.gov.pl","psp.gov.pl","wskr.gov.pl","kwp.gov.pl","mw.gov.pl","ug.gov.pl","um.gov.pl","umig.gov.pl","ugim.gov.pl","upow.gov.pl","uw.gov.pl","starostwo.gov.pl","pa.gov.pl","po.gov.pl","psse.gov.pl","pup.gov.pl","rzgw.gov.pl","sa.gov.pl","so.gov.pl","sr.gov.pl","wsa.gov.pl","sko.gov.pl","uzs.gov.pl","wiih.gov.pl","winb.gov.pl","pinb.gov.pl","wios.gov.pl","witd.gov.pl","wzmiuw.gov.pl","piw.gov.pl","wiw.gov.pl","griw.gov.pl","wif.gov.pl","oum.gov.pl","sdn.gov.pl","zp.gov.pl","uppo.gov.pl","mup.gov.pl","wuoz.gov.pl","konsulat.gov.pl","oirm.gov.pl","augustow.pl","babia-gora.pl","bedzin.pl","beskidy.pl","bialowieza.pl","bialystok.pl","bielawa.pl","bieszczady.pl","boleslawiec.pl","bydgoszcz.pl","bytom.pl","cieszyn.pl","czeladz.pl","czest.pl","dlugoleka.pl","elblag.pl","elk.pl","glogow.pl","gniezno.pl","gorlice.pl","grajewo.pl","ilawa.pl","jaworzno.pl","jelenia-gora.pl","jgora.pl","kalisz.pl","kazimierz-dolny.pl","karpacz.pl","kartuzy.pl","kaszuby.pl","katowice.pl","kepno.pl","ketrzyn.pl","klodzko.pl","kobierzyce.pl","kolobrzeg.pl","konin.pl","konskowola.pl","kutno.pl","lapy.pl","lebork.pl","legnica.pl","lezajsk.pl","limanowa.pl","lomza.pl","lowicz.pl","lubin.pl","lukow.pl","malbork.pl","malopolska.pl","mazowsze.pl","mazury.pl","mielec.pl","mielno.pl","mragowo.pl","naklo.pl","nowaruda.pl","nysa.pl","olawa.pl","olecko.pl","olkusz.pl","olsztyn.pl","opoczno.pl","opole.pl","ostroda.pl","ostroleka.pl","ostrowiec.pl","ostrowwlkp.pl","pila.pl","pisz.pl","podhale.pl","podlasie.pl","polkowice.pl","pomorze.pl","pomorskie.pl","prochowice.pl","pruszkow.pl","przeworsk.pl","pulawy.pl","radom.pl","rawa-maz.pl","rybnik.pl","rzeszow.pl","sanok.pl","sejny.pl","slask.pl","slupsk.pl","sosnowiec.pl","stalowa-wola.pl","skoczow.pl","starachowice.pl","stargard.pl","suwalki.pl","swidnica.pl","swiebodzin.pl","swinoujscie.pl","szczecin.pl","szczytno.pl","tarnobrzeg.pl","tgory.pl","turek.pl","tychy.pl","ustka.pl","walbrzych.pl","warmia.pl","warszawa.pl","waw.pl","wegrow.pl","wielun.pl","wlocl.pl","wloclawek.pl","wodzislaw.pl","wolomin.pl","wroclaw.pl","zachpomor.pl","zagan.pl","zarow.pl","zgora.pl","zgorzelec.pl","pm","pn","gov.pn","co.pn","org.pn","edu.pn","net.pn","post","pr","com.pr","net.pr","org.pr","gov.pr","edu.pr","isla.pr","pro.pr","biz.pr","info.pr","name.pr","est.pr","prof.pr","ac.pr","pro","aaa.pro","aca.pro","acct.pro","avocat.pro","bar.pro","cpa.pro","eng.pro","jur.pro","law.pro","med.pro","recht.pro","ps","edu.ps","gov.ps","sec.ps","plo.ps","com.ps","org.ps","net.ps","pt","net.pt","gov.pt","org.pt","edu.pt","int.pt","publ.pt","com.pt","nome.pt","pw","co.pw","ne.pw","or.pw","ed.pw","go.pw","belau.pw","py","com.py","coop.py","edu.py","gov.py","mil.py","net.py","org.py","qa","com.qa","edu.qa","gov.qa","mil.qa","name.qa","net.qa","org.qa","sch.qa","re","asso.re","com.re","nom.re","ro","arts.ro","com.ro","firm.ro","info.ro","nom.ro","nt.ro","org.ro","rec.ro","store.ro","tm.ro","www.ro","rs","ac.rs","co.rs","edu.rs","gov.rs","in.rs","org.rs","ru","rw","ac.rw","co.rw","coop.rw","gov.rw","mil.rw","net.rw","org.rw","sa","com.sa","net.sa","org.sa","gov.sa","med.sa","pub.sa","edu.sa","sch.sa","sb","com.sb","edu.sb","gov.sb","net.sb","org.sb","sc","com.sc","gov.sc","net.sc","org.sc","edu.sc","sd","com.sd","net.sd","org.sd","edu.sd","med.sd","tv.sd","gov.sd","info.sd","se","a.se","ac.se","b.se","bd.se","brand.se","c.se","d.se","e.se","f.se","fh.se","fhsk.se","fhv.se","g.se","h.se","i.se","k.se","komforb.se","kommunalforbund.se","komvux.se","l.se","lanbib.se","m.se","n.se","naturbruksgymn.se","o.se","org.se","p.se","parti.se","pp.se","press.se","r.se","s.se","t.se","tm.se","u.se","w.se","x.se","y.se","z.se","sg","com.sg","net.sg","org.sg","gov.sg","edu.sg","per.sg","sh","com.sh","net.sh","gov.sh","org.sh","mil.sh","si","sj","sk","sl","com.sl","net.sl","edu.sl","gov.sl","org.sl","sm","sn","art.sn","com.sn","edu.sn","gouv.sn","org.sn","perso.sn","univ.sn","so","com.so","edu.so","gov.so","me.so","net.so","org.so","sr","ss","biz.ss","com.ss","edu.ss","gov.ss","net.ss","org.ss","st","co.st","com.st","consulado.st","edu.st","embaixada.st","gov.st","mil.st","net.st","org.st","principe.st","saotome.st","store.st","su","sv","com.sv","edu.sv","gob.sv","org.sv","red.sv","sx","gov.sx","sy","edu.sy","gov.sy","net.sy","mil.sy","com.sy","org.sy","sz","co.sz","ac.sz","org.sz","tc","td","tel","tf","tg","th","ac.th","co.th","go.th","in.th","mi.th","net.th","or.th","tj","ac.tj","biz.tj","co.tj","com.tj","edu.tj","go.tj","gov.tj","int.tj","mil.tj","name.tj","net.tj","nic.tj","org.tj","test.tj","web.tj","tk","tl","gov.tl","tm","com.tm","co.tm","org.tm","net.tm","nom.tm","gov.tm","mil.tm","edu.tm","tn","com.tn","ens.tn","fin.tn","gov.tn","ind.tn","intl.tn","nat.tn","net.tn","org.tn","info.tn","perso.tn","tourism.tn","edunet.tn","rnrt.tn","rns.tn","rnu.tn","mincom.tn","agrinet.tn","defense.tn","turen.tn","to","com.to","gov.to","net.to","org.to","edu.to","mil.to","tr","av.tr","bbs.tr","bel.tr","biz.tr","com.tr","dr.tr","edu.tr","gen.tr","gov.tr","info.tr","mil.tr","k12.tr","kep.tr","name.tr","net.tr","org.tr","pol.tr","tel.tr","tsk.tr","tv.tr","web.tr","nc.tr","gov.nc.tr","tt","co.tt","com.tt","org.tt","net.tt","biz.tt","info.tt","pro.tt","int.tt","coop.tt","jobs.tt","mobi.tt","travel.tt","museum.tt","aero.tt","name.tt","gov.tt","edu.tt","tv","tw","edu.tw","gov.tw","mil.tw","com.tw","net.tw","org.tw","idv.tw","game.tw","ebiz.tw","club.tw","網路.tw","組織.tw","商業.tw","tz","ac.tz","co.tz","go.tz","hotel.tz","info.tz","me.tz","mil.tz","mobi.tz","ne.tz","or.tz","sc.tz","tv.tz","ua","com.ua","edu.ua","gov.ua","in.ua","net.ua","org.ua","cherkassy.ua","cherkasy.ua","chernigov.ua","chernihiv.ua","chernivtsi.ua","chernovtsy.ua","ck.ua","cn.ua","cr.ua","crimea.ua","cv.ua","dn.ua","dnepropetrovsk.ua","dnipropetrovsk.ua","dominic.ua","donetsk.ua","dp.ua","if.ua","ivano-frankivsk.ua","kh.ua","kharkiv.ua","kharkov.ua","kherson.ua","khmelnitskiy.ua","khmelnytskyi.ua","kiev.ua","kirovograd.ua","km.ua","kr.ua","krym.ua","ks.ua","kv.ua","kyiv.ua","lg.ua","lt.ua","lugansk.ua","lutsk.ua","lv.ua","lviv.ua","mk.ua","mykolaiv.ua","nikolaev.ua","od.ua","odesa.ua","odessa.ua","pl.ua","poltava.ua","rivne.ua","rovno.ua","rv.ua","sb.ua","sebastopol.ua","sevastopol.ua","sm.ua","sumy.ua","te.ua","ternopil.ua","uz.ua","uzhgorod.ua","vinnica.ua","vinnytsia.ua","vn.ua","volyn.ua","yalta.ua","zaporizhzhe.ua","zaporizhzhia.ua","zhitomir.ua","zhytomyr.ua","zp.ua","zt.ua","ug","co.ug","or.ug","ac.ug","sc.ug","go.ug","ne.ug","com.ug","org.ug","uk","ac.uk","co.uk","gov.uk","ltd.uk","me.uk","net.uk","nhs.uk","org.uk","plc.uk","police.uk","*.sch.uk","us","dni.us","fed.us","isa.us","kids.us","nsn.us","ak.us","al.us","ar.us","as.us","az.us","ca.us","co.us","ct.us","dc.us","de.us","fl.us","ga.us","gu.us","hi.us","ia.us","id.us","il.us","in.us","ks.us","ky.us","la.us","ma.us","md.us","me.us","mi.us","mn.us","mo.us","ms.us","mt.us","nc.us","nd.us","ne.us","nh.us","nj.us","nm.us","nv.us","ny.us","oh.us","ok.us","or.us","pa.us","pr.us","ri.us","sc.us","sd.us","tn.us","tx.us","ut.us","vi.us","vt.us","va.us","wa.us","wi.us","wv.us","wy.us","k12.ak.us","k12.al.us","k12.ar.us","k12.as.us","k12.az.us","k12.ca.us","k12.co.us","k12.ct.us","k12.dc.us","k12.de.us","k12.fl.us","k12.ga.us","k12.gu.us","k12.ia.us","k12.id.us","k12.il.us","k12.in.us","k12.ks.us","k12.ky.us","k12.la.us","k12.ma.us","k12.md.us","k12.me.us","k12.mi.us","k12.mn.us","k12.mo.us","k12.ms.us","k12.mt.us","k12.nc.us","k12.ne.us","k12.nh.us","k12.nj.us","k12.nm.us","k12.nv.us","k12.ny.us","k12.oh.us","k12.ok.us","k12.or.us","k12.pa.us","k12.pr.us","k12.ri.us","k12.sc.us","k12.tn.us","k12.tx.us","k12.ut.us","k12.vi.us","k12.vt.us","k12.va.us","k12.wa.us","k12.wi.us","k12.wy.us","cc.ak.us","cc.al.us","cc.ar.us","cc.as.us","cc.az.us","cc.ca.us","cc.co.us","cc.ct.us","cc.dc.us","cc.de.us","cc.fl.us","cc.ga.us","cc.gu.us","cc.hi.us","cc.ia.us","cc.id.us","cc.il.us","cc.in.us","cc.ks.us","cc.ky.us","cc.la.us","cc.ma.us","cc.md.us","cc.me.us","cc.mi.us","cc.mn.us","cc.mo.us","cc.ms.us","cc.mt.us","cc.nc.us","cc.nd.us","cc.ne.us","cc.nh.us","cc.nj.us","cc.nm.us","cc.nv.us","cc.ny.us","cc.oh.us","cc.ok.us","cc.or.us","cc.pa.us","cc.pr.us","cc.ri.us","cc.sc.us","cc.sd.us","cc.tn.us","cc.tx.us","cc.ut.us","cc.vi.us","cc.vt.us","cc.va.us","cc.wa.us","cc.wi.us","cc.wv.us","cc.wy.us","lib.ak.us","lib.al.us","lib.ar.us","lib.as.us","lib.az.us","lib.ca.us","lib.co.us","lib.ct.us","lib.dc.us","lib.fl.us","lib.ga.us","lib.gu.us","lib.hi.us","lib.ia.us","lib.id.us","lib.il.us","lib.in.us","lib.ks.us","lib.ky.us","lib.la.us","lib.ma.us","lib.md.us","lib.me.us","lib.mi.us","lib.mn.us","lib.mo.us","lib.ms.us","lib.mt.us","lib.nc.us","lib.nd.us","lib.ne.us","lib.nh.us","lib.nj.us","lib.nm.us","lib.nv.us","lib.ny.us","lib.oh.us","lib.ok.us","lib.or.us","lib.pa.us","lib.pr.us","lib.ri.us","lib.sc.us","lib.sd.us","lib.tn.us","lib.tx.us","lib.ut.us","lib.vi.us","lib.vt.us","lib.va.us","lib.wa.us","lib.wi.us","lib.wy.us","pvt.k12.ma.us","chtr.k12.ma.us","paroch.k12.ma.us","ann-arbor.mi.us","cog.mi.us","dst.mi.us","eaton.mi.us","gen.mi.us","mus.mi.us","tec.mi.us","washtenaw.mi.us","uy","com.uy","edu.uy","gub.uy","mil.uy","net.uy","org.uy","uz","co.uz","com.uz","net.uz","org.uz","va","vc","com.vc","net.vc","org.vc","gov.vc","mil.vc","edu.vc","ve","arts.ve","co.ve","com.ve","e12.ve","edu.ve","firm.ve","gob.ve","gov.ve","info.ve","int.ve","mil.ve","net.ve","org.ve","rec.ve","store.ve","tec.ve","web.ve","vg","vi","co.vi","com.vi","k12.vi","net.vi","org.vi","vn","com.vn","net.vn","org.vn","edu.vn","gov.vn","int.vn","ac.vn","biz.vn","info.vn","name.vn","pro.vn","health.vn","vu","com.vu","edu.vu","net.vu","org.vu","wf","ws","com.ws","net.ws","org.ws","gov.ws","edu.ws","yt","امارات","հայ","বাংলা","бг","бел","中国","中國","الجزائر","مصر","ею","ευ","موريتانيا","გე","ελ","香港","公司.香港","教育.香港","政府.香港","個人.香港","網絡.香港","組織.香港","ಭಾರತ","ଭାରତ","ভাৰত","भारतम्","भारोत","ڀارت","ഭാരതം","भारत","بارت","بھارت","భారత్","ભારત","ਭਾਰਤ","ভারত","இந்தியா","ایران","ايران","عراق","الاردن","한국","қаз","ලංකා","இலங்கை","المغرب","мкд","мон","澳門","澳门","مليسيا","عمان","پاکستان","پاكستان","فلسطين","срб","пр.срб","орг.срб","обр.срб","од.срб","упр.срб","ак.срб","рф","قطر","السعودية","السعودیة","السعودیۃ","السعوديه","سودان","新加坡","சிங்கப்பூர்","سورية","سوريا","ไทย","ศึกษา.ไทย","ธุรกิจ.ไทย","รัฐบาล.ไทย","ทหาร.ไทย","เน็ต.ไทย","องค์กร.ไทย","تونس","台灣","台湾","臺灣","укр","اليمن","xxx","*.ye","ac.za","agric.za","alt.za","co.za","edu.za","gov.za","grondar.za","law.za","mil.za","net.za","ngo.za","nic.za","nis.za","nom.za","org.za","school.za","tm.za","web.za","zm","ac.zm","biz.zm","co.zm","com.zm","edu.zm","gov.zm","info.zm","mil.zm","net.zm","org.zm","sch.zm","zw","ac.zw","co.zw","gov.zw","mil.zw","org.zw","aaa","aarp","abarth","abb","abbott","abbvie","abc","able","abogado","abudhabi","academy","accenture","accountant","accountants","aco","actor","adac","ads","adult","aeg","aetna","afamilycompany","afl","africa","agakhan","agency","aig","aigo","airbus","airforce","airtel","akdn","alfaromeo","alibaba","alipay","allfinanz","allstate","ally","alsace","alstom","amazon","americanexpress","americanfamily","amex","amfam","amica","amsterdam","analytics","android","anquan","anz","aol","apartments","app","apple","aquarelle","arab","aramco","archi","army","art","arte","asda","associates","athleta","attorney","auction","audi","audible","audio","auspost","author","auto","autos","avianca","aws","axa","azure","baby","baidu","banamex","bananarepublic","band","bank","bar","barcelona","barclaycard","barclays","barefoot","bargains","baseball","basketball","bauhaus","bayern","bbc","bbt","bbva","bcg","bcn","beats","beauty","beer","bentley","berlin","best","bestbuy","bet","bharti","bible","bid","bike","bing","bingo","bio","black","blackfriday","blockbuster","blog","bloomberg","blue","bms","bmw","bnpparibas","boats","boehringer","bofa","bom","bond","boo","book","booking","bosch","bostik","boston","bot","boutique","box","bradesco","bridgestone","broadway","broker","brother","brussels","budapest","bugatti","build","builders","business","buy","buzz","bzh","cab","cafe","cal","call","calvinklein","cam","camera","camp","cancerresearch","canon","capetown","capital","capitalone","car","caravan","cards","care","career","careers","cars","casa","case","caseih","cash","casino","catering","catholic","cba","cbn","cbre","cbs","ceb","center","ceo","cern","cfa","cfd","chanel","channel","charity","chase","chat","cheap","chintai","christmas","chrome","church","cipriani","circle","cisco","citadel","citi","citic","city","cityeats","claims","cleaning","click","clinic","clinique","clothing","cloud","club","clubmed","coach","codes","coffee","college","cologne","comcast","commbank","community","company","compare","computer","comsec","condos","construction","consulting","contact","contractors","cooking","cookingchannel","cool","corsica","country","coupon","coupons","courses","cpa","credit","creditcard","creditunion","cricket","crown","crs","cruise","cruises","csc","cuisinella","cymru","cyou","dabur","dad","dance","data","date","dating","datsun","day","dclk","dds","deal","dealer","deals","degree","delivery","dell","deloitte","delta","democrat","dental","dentist","desi","design","dev","dhl","diamonds","diet","digital","direct","directory","discount","discover","dish","diy","dnp","docs","doctor","dog","domains","dot","download","drive","dtv","dubai","duck","dunlop","dupont","durban","dvag","dvr","earth","eat","eco","edeka","education","email","emerck","energy","engineer","engineering","enterprises","epson","equipment","ericsson","erni","esq","estate","esurance","etisalat","eurovision","eus","events","exchange","expert","exposed","express","extraspace","fage","fail","fairwinds","faith","family","fan","fans","farm","farmers","fashion","fast","fedex","feedback","ferrari","ferrero","fiat","fidelity","fido","film","final","finance","financial","fire","firestone","firmdale","fish","fishing","fit","fitness","flickr","flights","flir","florist","flowers","fly","foo","food","foodnetwork","football","ford","forex","forsale","forum","foundation","fox","free","fresenius","frl","frogans","frontdoor","frontier","ftr","fujitsu","fujixerox","fun","fund","furniture","futbol","fyi","gal","gallery","gallo","gallup","game","games","gap","garden","gay","gbiz","gdn","gea","gent","genting","george","ggee","gift","gifts","gives","giving","glade","glass","gle","global","globo","gmail","gmbh","gmo","gmx","godaddy","gold","goldpoint","golf","goo","goodyear","goog","google","gop","got","grainger","graphics","gratis","green","gripe","grocery","group","guardian","gucci","guge","guide","guitars","guru","hair","hamburg","hangout","haus","hbo","hdfc","hdfcbank","health","healthcare","help","helsinki","here","hermes","hgtv","hiphop","hisamitsu","hitachi","hiv","hkt","hockey","holdings","holiday","homedepot","homegoods","homes","homesense","honda","horse","hospital","host","hosting","hot","hoteles","hotels","hotmail","house","how","hsbc","hughes","hyatt","hyundai","ibm","icbc","ice","icu","ieee","ifm","ikano","imamat","imdb","immo","immobilien","inc","industries","infiniti","ing","ink","institute","insurance","insure","intel","international","intuit","investments","ipiranga","irish","ismaili","ist","istanbul","itau","itv","iveco","jaguar","java","jcb","jcp","jeep","jetzt","jewelry","jio","jll","jmp","jnj","joburg","jot","joy","jpmorgan","jprs","juegos","juniper","kaufen","kddi","kerryhotels","kerrylogistics","kerryproperties","kfh","kia","kim","kinder","kindle","kitchen","kiwi","koeln","komatsu","kosher","kpmg","kpn","krd","kred","kuokgroup","kyoto","lacaixa","lamborghini","lamer","lancaster","lancia","land","landrover","lanxess","lasalle","lat","latino","latrobe","law","lawyer","lds","lease","leclerc","lefrak","legal","lego","lexus","lgbt","lidl","life","lifeinsurance","lifestyle","lighting","like","lilly","limited","limo","lincoln","linde","link","lipsy","live","living","lixil","llc","llp","loan","loans","locker","locus","loft","lol","london","lotte","lotto","love","lpl","lplfinancial","ltd","ltda","lundbeck","lupin","luxe","luxury","macys","madrid","maif","maison","makeup","man","management","mango","map","market","marketing","markets","marriott","marshalls","maserati","mattel","mba","mckinsey","med","media","meet","melbourne","meme","memorial","men","menu","merckmsd","metlife","miami","microsoft","mini","mint","mit","mitsubishi","mlb","mls","mma","mobile","moda","moe","moi","mom","monash","money","monster","mormon","mortgage","moscow","moto","motorcycles","mov","movie","msd","mtn","mtr","mutual","nab","nadex","nagoya","nationwide","natura","navy","nba","nec","netbank","netflix","network","neustar","new","newholland","news","next","nextdirect","nexus","nfl","ngo","nhk","nico","nike","nikon","ninja","nissan","nissay","nokia","northwesternmutual","norton","now","nowruz","nowtv","nra","nrw","ntt","nyc","obi","observer","off","office","okinawa","olayan","olayangroup","oldnavy","ollo","omega","one","ong","onl","online","onyourside","ooo","open","oracle","orange","organic","origins","osaka","otsuka","ott","ovh","page","panasonic","paris","pars","partners","parts","party","passagens","pay","pccw","pet","pfizer","pharmacy","phd","philips","phone","photo","photography","photos","physio","pics","pictet","pictures","pid","pin","ping","pink","pioneer","pizza","place","play","playstation","plumbing","plus","pnc","pohl","poker","politie","porn","pramerica","praxi","press","prime","prod","productions","prof","progressive","promo","properties","property","protection","pru","prudential","pub","pwc","qpon","quebec","quest","qvc","racing","radio","raid","read","realestate","realtor","realty","recipes","red","redstone","redumbrella","rehab","reise","reisen","reit","reliance","ren","rent","rentals","repair","report","republican","rest","restaurant","review","reviews","rexroth","rich","richardli","ricoh","rightathome","ril","rio","rip","rmit","rocher","rocks","rodeo","rogers","room","rsvp","rugby","ruhr","run","rwe","ryukyu","saarland","safe","safety","sakura","sale","salon","samsclub","samsung","sandvik","sandvikcoromant","sanofi","sap","sarl","sas","save","saxo","sbi","sbs","sca","scb","schaeffler","schmidt","scholarships","school","schule","schwarz","science","scjohnson","scor","scot","search","seat","secure","security","seek","select","sener","services","ses","seven","sew","sex","sexy","sfr","shangrila","sharp","shaw","shell","shia","shiksha","shoes","shop","shopping","shouji","show","showtime","shriram","silk","sina","singles","site","ski","skin","sky","skype","sling","smart","smile","sncf","soccer","social","softbank","software","sohu","solar","solutions","song","sony","soy","spa","space","sport","spot","spreadbetting","srl","stada","staples","star","statebank","statefarm","stc","stcgroup","stockholm","storage","store","stream","studio","study","style","sucks","supplies","supply","support","surf","surgery","suzuki","swatch","swiftcover","swiss","sydney","symantec","systems","tab","taipei","talk","taobao","target","tatamotors","tatar","tattoo","tax","taxi","tci","tdk","team","tech","technology","temasek","tennis","teva","thd","theater","theatre","tiaa","tickets","tienda","tiffany","tips","tires","tirol","tjmaxx","tjx","tkmaxx","tmall","today","tokyo","tools","top","toray","toshiba","total","tours","town","toyota","toys","trade","trading","training","travel","travelchannel","travelers","travelersinsurance","trust","trv","tube","tui","tunes","tushu","tvs","ubank","ubs","unicom","university","uno","uol","ups","vacations","vana","vanguard","vegas","ventures","verisign","versicherung","vet","viajes","video","vig","viking","villas","vin","vip","virgin","visa","vision","viva","vivo","vlaanderen","vodka","volkswagen","volvo","vote","voting","voto","voyage","vuelos","wales","walmart","walter","wang","wanggou","watch","watches","weather","weatherchannel","webcam","weber","website","wed","wedding","weibo","weir","whoswho","wien","wiki","williamhill","win","windows","wine","winners","wme","wolterskluwer","woodside","work","works","world","wow","wtc","wtf","xbox","xerox","xfinity","xihuan","xin","कॉम","セール","佛山","慈善","集团","在线","大众汽车","点看","คอม","八卦","موقع","公益","公司","香格里拉","网站","移动","我爱你","москва","католик","онлайн","сайт","联通","קום","时尚","微博","淡马锡","ファッション","орг","नेट","ストア","アマゾン","삼성","商标","商店","商城","дети","ポイント","新闻","工行","家電","كوم","中文网","中信","娱乐","谷歌","電訊盈科","购物","クラウド","通販","网店","संगठन","餐厅","网络","ком","亚马逊","诺基亚","食品","飞利浦","手表","手机","ارامكو","العليان","اتصالات","بازار","ابوظبي","كاثوليك","همراه","닷컴","政府","شبكة","بيتك","عرب","机构","组织机构","健康","招聘","рус","珠宝","大拿","みんな","グーグル","世界","書籍","网址","닷넷","コム","天主教","游戏","vermögensberater","vermögensberatung","企业","信息","嘉里大酒店","嘉里","广东","政务","xyz","yachts","yahoo","yamaxun","yandex","yodobashi","yoga","yokohama","you","youtube","yun","zappos","zara","zero","zip","zone","zuerich","cc.ua","inf.ua","ltd.ua","adobeaemcloud.com","adobeaemcloud.net","*.dev.adobeaemcloud.com","beep.pl","barsy.ca","*.compute.estate","*.alces.network","altervista.org","alwaysdata.net","cloudfront.net","*.compute.amazonaws.com","*.compute-1.amazonaws.com","*.compute.amazonaws.com.cn","us-east-1.amazonaws.com","cn-north-1.eb.amazonaws.com.cn","cn-northwest-1.eb.amazonaws.com.cn","elasticbeanstalk.com","ap-northeast-1.elasticbeanstalk.com","ap-northeast-2.elasticbeanstalk.com","ap-northeast-3.elasticbeanstalk.com","ap-south-1.elasticbeanstalk.com","ap-southeast-1.elasticbeanstalk.com","ap-southeast-2.elasticbeanstalk.com","ca-central-1.elasticbeanstalk.com","eu-central-1.elasticbeanstalk.com","eu-west-1.elasticbeanstalk.com","eu-west-2.elasticbeanstalk.com","eu-west-3.elasticbeanstalk.com","sa-east-1.elasticbeanstalk.com","us-east-1.elasticbeanstalk.com","us-east-2.elasticbeanstalk.com","us-gov-west-1.elasticbeanstalk.com","us-west-1.elasticbeanstalk.com","us-west-2.elasticbeanstalk.com","*.elb.amazonaws.com","*.elb.amazonaws.com.cn","s3.amazonaws.com","s3-ap-northeast-1.amazonaws.com","s3-ap-northeast-2.amazonaws.com","s3-ap-south-1.amazonaws.com","s3-ap-southeast-1.amazonaws.com","s3-ap-southeast-2.amazonaws.com","s3-ca-central-1.amazonaws.com","s3-eu-central-1.amazonaws.com","s3-eu-west-1.amazonaws.com","s3-eu-west-2.amazonaws.com","s3-eu-west-3.amazonaws.com","s3-external-1.amazonaws.com","s3-fips-us-gov-west-1.amazonaws.com","s3-sa-east-1.amazonaws.com","s3-us-gov-west-1.amazonaws.com","s3-us-east-2.amazonaws.com","s3-us-west-1.amazonaws.com","s3-us-west-2.amazonaws.com","s3.ap-northeast-2.amazonaws.com","s3.ap-south-1.amazonaws.com","s3.cn-north-1.amazonaws.com.cn","s3.ca-central-1.amazonaws.com","s3.eu-central-1.amazonaws.com","s3.eu-west-2.amazonaws.com","s3.eu-west-3.amazonaws.com","s3.us-east-2.amazonaws.com","s3.dualstack.ap-northeast-1.amazonaws.com","s3.dualstack.ap-northeast-2.amazonaws.com","s3.dualstack.ap-south-1.amazonaws.com","s3.dualstack.ap-southeast-1.amazonaws.com","s3.dualstack.ap-southeast-2.amazonaws.com","s3.dualstack.ca-central-1.amazonaws.com","s3.dualstack.eu-central-1.amazonaws.com","s3.dualstack.eu-west-1.amazonaws.com","s3.dualstack.eu-west-2.amazonaws.com","s3.dualstack.eu-west-3.amazonaws.com","s3.dualstack.sa-east-1.amazonaws.com","s3.dualstack.us-east-1.amazonaws.com","s3.dualstack.us-east-2.amazonaws.com","s3-website-us-east-1.amazonaws.com","s3-website-us-west-1.amazonaws.com","s3-website-us-west-2.amazonaws.com","s3-website-ap-northeast-1.amazonaws.com","s3-website-ap-southeast-1.amazonaws.com","s3-website-ap-southeast-2.amazonaws.com","s3-website-eu-west-1.amazonaws.com","s3-website-sa-east-1.amazonaws.com","s3-website.ap-northeast-2.amazonaws.com","s3-website.ap-south-1.amazonaws.com","s3-website.ca-central-1.amazonaws.com","s3-website.eu-central-1.amazonaws.com","s3-website.eu-west-2.amazonaws.com","s3-website.eu-west-3.amazonaws.com","s3-website.us-east-2.amazonaws.com","amsw.nl","t3l3p0rt.net","tele.amune.org","apigee.io","on-aptible.com","user.aseinet.ne.jp","gv.vc","d.gv.vc","user.party.eus","pimienta.org","poivron.org","potager.org","sweetpepper.org","myasustor.com","myfritz.net","*.awdev.ca","*.advisor.ws","b-data.io","backplaneapp.io","balena-devices.com","app.banzaicloud.io","betainabox.com","bnr.la","blackbaudcdn.net","boomla.net","boxfuse.io","square7.ch","bplaced.com","bplaced.de","square7.de","bplaced.net","square7.net","browsersafetymark.io","uk0.bigv.io","dh.bytemark.co.uk","vm.bytemark.co.uk","mycd.eu","carrd.co","crd.co","uwu.ai","ae.org","ar.com","br.com","cn.com","com.de","com.se","de.com","eu.com","gb.com","gb.net","hu.com","hu.net","jp.net","jpn.com","kr.com","mex.com","no.com","qc.com","ru.com","sa.com","se.net","uk.com","uk.net","us.com","uy.com","za.bz","za.com","africa.com","gr.com","in.net","us.org","co.com","c.la","certmgr.org","xenapponazure.com","discourse.group","discourse.team","virtueeldomein.nl","cleverapps.io","*.lcl.dev","*.stg.dev","c66.me","cloud66.ws","cloud66.zone","jdevcloud.com","wpdevcloud.com","cloudaccess.host","freesite.host","cloudaccess.net","cloudcontrolled.com","cloudcontrolapp.com","cloudera.site","trycloudflare.com","workers.dev","wnext.app","co.ca","*.otap.co","co.cz","c.cdn77.org","cdn77-ssl.net","r.cdn77.net","rsc.cdn77.org","ssl.origin.cdn77-secure.org","cloudns.asia","cloudns.biz","cloudns.club","cloudns.cc","cloudns.eu","cloudns.in","cloudns.info","cloudns.org","cloudns.pro","cloudns.pw","cloudns.us","cloudeity.net","cnpy.gdn","co.nl","co.no","webhosting.be","hosting-cluster.nl","ac.ru","edu.ru","gov.ru","int.ru","mil.ru","test.ru","dyn.cosidns.de","dynamisches-dns.de","dnsupdater.de","internet-dns.de","l-o-g-i-n.de","dynamic-dns.info","feste-ip.net","knx-server.net","static-access.net","realm.cz","*.cryptonomic.net","cupcake.is","*.customer-oci.com","*.oci.customer-oci.com","*.ocp.customer-oci.com","*.ocs.customer-oci.com","cyon.link","cyon.site","daplie.me","localhost.daplie.me","dattolocal.com","dattorelay.com","dattoweb.com","mydatto.com","dattolocal.net","mydatto.net","biz.dk","co.dk","firm.dk","reg.dk","store.dk","*.dapps.earth","*.bzz.dapps.earth","builtwithdark.com","edgestack.me","debian.net","dedyn.io","dnshome.de","online.th","shop.th","drayddns.com","dreamhosters.com","mydrobo.com","drud.io","drud.us","duckdns.org","dy.fi","tunk.org","dyndns-at-home.com","dyndns-at-work.com","dyndns-blog.com","dyndns-free.com","dyndns-home.com","dyndns-ip.com","dyndns-mail.com","dyndns-office.com","dyndns-pics.com","dyndns-remote.com","dyndns-server.com","dyndns-web.com","dyndns-wiki.com","dyndns-work.com","dyndns.biz","dyndns.info","dyndns.org","dyndns.tv","at-band-camp.net","ath.cx","barrel-of-knowledge.info","barrell-of-knowledge.info","better-than.tv","blogdns.com","blogdns.net","blogdns.org","blogsite.org","boldlygoingnowhere.org","broke-it.net","buyshouses.net","cechire.com","dnsalias.com","dnsalias.net","dnsalias.org","dnsdojo.com","dnsdojo.net","dnsdojo.org","does-it.net","doesntexist.com","doesntexist.org","dontexist.com","dontexist.net","dontexist.org","doomdns.com","doomdns.org","dvrdns.org","dyn-o-saur.com","dynalias.com","dynalias.net","dynalias.org","dynathome.net","dyndns.ws","endofinternet.net","endofinternet.org","endoftheinternet.org","est-a-la-maison.com","est-a-la-masion.com","est-le-patron.com","est-mon-blogueur.com","for-better.biz","for-more.biz","for-our.info","for-some.biz","for-the.biz","forgot.her.name","forgot.his.name","from-ak.com","from-al.com","from-ar.com","from-az.net","from-ca.com","from-co.net","from-ct.com","from-dc.com","from-de.com","from-fl.com","from-ga.com","from-hi.com","from-ia.com","from-id.com","from-il.com","from-in.com","from-ks.com","from-ky.com","from-la.net","from-ma.com","from-md.com","from-me.org","from-mi.com","from-mn.com","from-mo.com","from-ms.com","from-mt.com","from-nc.com","from-nd.com","from-ne.com","from-nh.com","from-nj.com","from-nm.com","from-nv.com","from-ny.net","from-oh.com","from-ok.com","from-or.com","from-pa.com","from-pr.com","from-ri.com","from-sc.com","from-sd.com","from-tn.com","from-tx.com","from-ut.com","from-va.com","from-vt.com","from-wa.com","from-wi.com","from-wv.com","from-wy.com","ftpaccess.cc","fuettertdasnetz.de","game-host.org","game-server.cc","getmyip.com","gets-it.net","go.dyndns.org","gotdns.com","gotdns.org","groks-the.info","groks-this.info","ham-radio-op.net","here-for-more.info","hobby-site.com","hobby-site.org","home.dyndns.org","homedns.org","homeftp.net","homeftp.org","homeip.net","homelinux.com","homelinux.net","homelinux.org","homeunix.com","homeunix.net","homeunix.org","iamallama.com","in-the-band.net","is-a-anarchist.com","is-a-blogger.com","is-a-bookkeeper.com","is-a-bruinsfan.org","is-a-bulls-fan.com","is-a-candidate.org","is-a-caterer.com","is-a-celticsfan.org","is-a-chef.com","is-a-chef.net","is-a-chef.org","is-a-conservative.com","is-a-cpa.com","is-a-cubicle-slave.com","is-a-democrat.com","is-a-designer.com","is-a-doctor.com","is-a-financialadvisor.com","is-a-geek.com","is-a-geek.net","is-a-geek.org","is-a-green.com","is-a-guru.com","is-a-hard-worker.com","is-a-hunter.com","is-a-knight.org","is-a-landscaper.com","is-a-lawyer.com","is-a-liberal.com","is-a-libertarian.com","is-a-linux-user.org","is-a-llama.com","is-a-musician.com","is-a-nascarfan.com","is-a-nurse.com","is-a-painter.com","is-a-patsfan.org","is-a-personaltrainer.com","is-a-photographer.com","is-a-player.com","is-a-republican.com","is-a-rockstar.com","is-a-socialist.com","is-a-soxfan.org","is-a-student.com","is-a-teacher.com","is-a-techie.com","is-a-therapist.com","is-an-accountant.com","is-an-actor.com","is-an-actress.com","is-an-anarchist.com","is-an-artist.com","is-an-engineer.com","is-an-entertainer.com","is-by.us","is-certified.com","is-found.org","is-gone.com","is-into-anime.com","is-into-cars.com","is-into-cartoons.com","is-into-games.com","is-leet.com","is-lost.org","is-not-certified.com","is-saved.org","is-slick.com","is-uberleet.com","is-very-bad.org","is-very-evil.org","is-very-good.org","is-very-nice.org","is-very-sweet.org","is-with-theband.com","isa-geek.com","isa-geek.net","isa-geek.org","isa-hockeynut.com","issmarterthanyou.com","isteingeek.de","istmein.de","kicks-ass.net","kicks-ass.org","knowsitall.info","land-4-sale.us","lebtimnetz.de","leitungsen.de","likes-pie.com","likescandy.com","merseine.nu","mine.nu","misconfused.org","mypets.ws","myphotos.cc","neat-url.com","office-on-the.net","on-the-web.tv","podzone.net","podzone.org","readmyblog.org","saves-the-whales.com","scrapper-site.net","scrapping.cc","selfip.biz","selfip.com","selfip.info","selfip.net","selfip.org","sells-for-less.com","sells-for-u.com","sells-it.net","sellsyourhome.org","servebbs.com","servebbs.net","servebbs.org","serveftp.net","serveftp.org","servegame.org","shacknet.nu","simple-url.com","space-to-rent.com","stuff-4-sale.org","stuff-4-sale.us","teaches-yoga.com","thruhere.net","traeumtgerade.de","webhop.biz","webhop.info","webhop.net","webhop.org","worse-than.tv","writesthisblog.com","ddnss.de","dyn.ddnss.de","dyndns.ddnss.de","dyndns1.de","dyn-ip24.de","home-webserver.de","dyn.home-webserver.de","myhome-server.de","ddnss.org","definima.net","definima.io","bci.dnstrace.pro","ddnsfree.com","ddnsgeek.com","giize.com","gleeze.com","kozow.com","loseyourip.com","ooguy.com","theworkpc.com","casacam.net","dynu.net","accesscam.org","camdvr.org","freeddns.org","mywire.org","webredirect.org","myddns.rocks","blogsite.xyz","dynv6.net","e4.cz","en-root.fr","mytuleap.com","onred.one","staging.onred.one","enonic.io","customer.enonic.io","eu.org","al.eu.org","asso.eu.org","at.eu.org","au.eu.org","be.eu.org","bg.eu.org","ca.eu.org","cd.eu.org","ch.eu.org","cn.eu.org","cy.eu.org","cz.eu.org","de.eu.org","dk.eu.org","edu.eu.org","ee.eu.org","es.eu.org","fi.eu.org","fr.eu.org","gr.eu.org","hr.eu.org","hu.eu.org","ie.eu.org","il.eu.org","in.eu.org","int.eu.org","is.eu.org","it.eu.org","jp.eu.org","kr.eu.org","lt.eu.org","lu.eu.org","lv.eu.org","mc.eu.org","me.eu.org","mk.eu.org","mt.eu.org","my.eu.org","net.eu.org","ng.eu.org","nl.eu.org","no.eu.org","nz.eu.org","paris.eu.org","pl.eu.org","pt.eu.org","q-a.eu.org","ro.eu.org","ru.eu.org","se.eu.org","si.eu.org","sk.eu.org","tr.eu.org","uk.eu.org","us.eu.org","eu-1.evennode.com","eu-2.evennode.com","eu-3.evennode.com","eu-4.evennode.com","us-1.evennode.com","us-2.evennode.com","us-3.evennode.com","us-4.evennode.com","twmail.cc","twmail.net","twmail.org","mymailer.com.tw","url.tw","apps.fbsbx.com","ru.net","adygeya.ru","bashkiria.ru","bir.ru","cbg.ru","com.ru","dagestan.ru","grozny.ru","kalmykia.ru","kustanai.ru","marine.ru","mordovia.ru","msk.ru","mytis.ru","nalchik.ru","nov.ru","pyatigorsk.ru","spb.ru","vladikavkaz.ru","vladimir.ru","abkhazia.su","adygeya.su","aktyubinsk.su","arkhangelsk.su","armenia.su","ashgabad.su","azerbaijan.su","balashov.su","bashkiria.su","bryansk.su","bukhara.su","chimkent.su","dagestan.su","east-kazakhstan.su","exnet.su","georgia.su","grozny.su","ivanovo.su","jambyl.su","kalmykia.su","kaluga.su","karacol.su","karaganda.su","karelia.su","khakassia.su","krasnodar.su","kurgan.su","kustanai.su","lenug.su","mangyshlak.su","mordovia.su","msk.su","murmansk.su","nalchik.su","navoi.su","north-kazakhstan.su","nov.su","obninsk.su","penza.su","pokrovsk.su","sochi.su","spb.su","tashkent.su","termez.su","togliatti.su","troitsk.su","tselinograd.su","tula.su","tuva.su","vladikavkaz.su","vladimir.su","vologda.su","channelsdvr.net","u.channelsdvr.net","fastly-terrarium.com","fastlylb.net","map.fastlylb.net","freetls.fastly.net","map.fastly.net","a.prod.fastly.net","global.prod.fastly.net","a.ssl.fastly.net","b.ssl.fastly.net","global.ssl.fastly.net","fastpanel.direct","fastvps-server.com","fhapp.xyz","fedorainfracloud.org","fedorapeople.org","cloud.fedoraproject.org","app.os.fedoraproject.org","app.os.stg.fedoraproject.org","mydobiss.com","filegear.me","filegear-au.me","filegear-de.me","filegear-gb.me","filegear-ie.me","filegear-jp.me","filegear-sg.me","firebaseapp.com","flynnhub.com","flynnhosting.net","0e.vc","freebox-os.com","freeboxos.com","fbx-os.fr","fbxos.fr","freebox-os.fr","freeboxos.fr","freedesktop.org","*.futurecms.at","*.ex.futurecms.at","*.in.futurecms.at","futurehosting.at","futuremailing.at","*.ex.ortsinfo.at","*.kunden.ortsinfo.at","*.statics.cloud","service.gov.uk","gehirn.ne.jp","usercontent.jp","gentapps.com","lab.ms","github.io","githubusercontent.com","gitlab.io","glitch.me","lolipop.io","cloudapps.digital","london.cloudapps.digital","homeoffice.gov.uk","ro.im","shop.ro","goip.de","run.app","a.run.app","web.app","*.0emm.com","appspot.com","*.r.appspot.com","blogspot.ae","blogspot.al","blogspot.am","blogspot.ba","blogspot.be","blogspot.bg","blogspot.bj","blogspot.ca","blogspot.cf","blogspot.ch","blogspot.cl","blogspot.co.at","blogspot.co.id","blogspot.co.il","blogspot.co.ke","blogspot.co.nz","blogspot.co.uk","blogspot.co.za","blogspot.com","blogspot.com.ar","blogspot.com.au","blogspot.com.br","blogspot.com.by","blogspot.com.co","blogspot.com.cy","blogspot.com.ee","blogspot.com.eg","blogspot.com.es","blogspot.com.mt","blogspot.com.ng","blogspot.com.tr","blogspot.com.uy","blogspot.cv","blogspot.cz","blogspot.de","blogspot.dk","blogspot.fi","blogspot.fr","blogspot.gr","blogspot.hk","blogspot.hr","blogspot.hu","blogspot.ie","blogspot.in","blogspot.is","blogspot.it","blogspot.jp","blogspot.kr","blogspot.li","blogspot.lt","blogspot.lu","blogspot.md","blogspot.mk","blogspot.mr","blogspot.mx","blogspot.my","blogspot.nl","blogspot.no","blogspot.pe","blogspot.pt","blogspot.qa","blogspot.re","blogspot.ro","blogspot.rs","blogspot.ru","blogspot.se","blogspot.sg","blogspot.si","blogspot.sk","blogspot.sn","blogspot.td","blogspot.tw","blogspot.ug","blogspot.vn","cloudfunctions.net","cloud.goog","codespot.com","googleapis.com","googlecode.com","pagespeedmobilizer.com","publishproxy.com","withgoogle.com","withyoutube.com","awsmppl.com","fin.ci","free.hr","caa.li","ua.rs","conf.se","hs.zone","hs.run","hashbang.sh","hasura.app","hasura-app.io","hepforge.org","herokuapp.com","herokussl.com","myravendb.com","ravendb.community","ravendb.me","development.run","ravendb.run","bpl.biz","orx.biz","ng.city","biz.gl","ng.ink","col.ng","firm.ng","gen.ng","ltd.ng","ngo.ng","ng.school","sch.so","häkkinen.fi","*.moonscale.io","moonscale.net","iki.fi","dyn-berlin.de","in-berlin.de","in-brb.de","in-butter.de","in-dsl.de","in-dsl.net","in-dsl.org","in-vpn.de","in-vpn.net","in-vpn.org","biz.at","info.at","info.cx","ac.leg.br","al.leg.br","am.leg.br","ap.leg.br","ba.leg.br","ce.leg.br","df.leg.br","es.leg.br","go.leg.br","ma.leg.br","mg.leg.br","ms.leg.br","mt.leg.br","pa.leg.br","pb.leg.br","pe.leg.br","pi.leg.br","pr.leg.br","rj.leg.br","rn.leg.br","ro.leg.br","rr.leg.br","rs.leg.br","sc.leg.br","se.leg.br","sp.leg.br","to.leg.br","pixolino.com","ipifony.net","mein-iserv.de","test-iserv.de","iserv.dev","iobb.net","myjino.ru","*.hosting.myjino.ru","*.landing.myjino.ru","*.spectrum.myjino.ru","*.vps.myjino.ru","*.triton.zone","*.cns.joyent.com","js.org","kaas.gg","khplay.nl","keymachine.de","kinghost.net","uni5.net","knightpoint.systems","oya.to","co.krd","edu.krd","git-repos.de","lcube-server.de","svn-repos.de","leadpages.co","lpages.co","lpusercontent.com","lelux.site","co.business","co.education","co.events","co.financial","co.network","co.place","co.technology","app.lmpm.com","linkitools.space","linkyard.cloud","linkyard-cloud.ch","members.linode.com","nodebalancer.linode.com","we.bs","loginline.app","loginline.dev","loginline.io","loginline.services","loginline.site","krasnik.pl","leczna.pl","lubartow.pl","lublin.pl","poniatowa.pl","swidnik.pl","uklugs.org","glug.org.uk","lug.org.uk","lugs.org.uk","barsy.bg","barsy.co.uk","barsyonline.co.uk","barsycenter.com","barsyonline.com","barsy.club","barsy.de","barsy.eu","barsy.in","barsy.info","barsy.io","barsy.me","barsy.menu","barsy.mobi","barsy.net","barsy.online","barsy.org","barsy.pro","barsy.pub","barsy.shop","barsy.site","barsy.support","barsy.uk","*.magentosite.cloud","mayfirst.info","mayfirst.org","hb.cldmail.ru","miniserver.com","memset.net","cloud.metacentrum.cz","custom.metacentrum.cz","flt.cloud.muni.cz","usr.cloud.muni.cz","meteorapp.com","eu.meteorapp.com","co.pl","azurecontainer.io","azurewebsites.net","azure-mobile.net","cloudapp.net","mozilla-iot.org","bmoattachments.org","net.ru","org.ru","pp.ru","ui.nabu.casa","pony.club","of.fashion","on.fashion","of.football","in.london","of.london","for.men","and.mom","for.mom","for.one","for.sale","of.work","to.work","nctu.me","bitballoon.com","netlify.com","4u.com","ngrok.io","nh-serv.co.uk","nfshost.com","dnsking.ch","mypi.co","n4t.co","001www.com","ddnslive.com","myiphost.com","forumz.info","16-b.it","32-b.it","64-b.it","soundcast.me","tcp4.me","dnsup.net","hicam.net","now-dns.net","ownip.net","vpndns.net","dynserv.org","now-dns.org","x443.pw","now-dns.top","ntdll.top","freeddns.us","crafting.xyz","zapto.xyz","nsupdate.info","nerdpol.ovh","blogsyte.com","brasilia.me","cable-modem.org","ciscofreak.com","collegefan.org","couchpotatofries.org","damnserver.com","ddns.me","ditchyourip.com","dnsfor.me","dnsiskinky.com","dvrcam.info","dynns.com","eating-organic.net","fantasyleague.cc","geekgalaxy.com","golffan.us","health-carereform.com","homesecuritymac.com","homesecuritypc.com","hopto.me","ilovecollege.info","loginto.me","mlbfan.org","mmafan.biz","myactivedirectory.com","mydissent.net","myeffect.net","mymediapc.net","mypsx.net","mysecuritycamera.com","mysecuritycamera.net","mysecuritycamera.org","net-freaks.com","nflfan.org","nhlfan.net","no-ip.ca","no-ip.co.uk","no-ip.net","noip.us","onthewifi.com","pgafan.net","point2this.com","pointto.us","privatizehealthinsurance.net","quicksytes.com","read-books.org","securitytactics.com","serveexchange.com","servehumour.com","servep2p.com","servesarcasm.com","stufftoread.com","ufcfan.org","unusualperson.com","workisboring.com","3utilities.com","bounceme.net","ddns.net","ddnsking.com","gotdns.ch","hopto.org","myftp.biz","myftp.org","myvnc.com","no-ip.biz","no-ip.info","no-ip.org","noip.me","redirectme.net","servebeer.com","serveblog.net","servecounterstrike.com","serveftp.com","servegame.com","servehalflife.com","servehttp.com","serveirc.com","serveminecraft.net","servemp3.com","servepics.com","servequake.com","sytes.net","webhop.me","zapto.org","stage.nodeart.io","nodum.co","nodum.io","pcloud.host","nyc.mn","nom.ae","nom.af","nom.ai","nom.al","nym.by","nom.bz","nym.bz","nom.cl","nym.ec","nom.gd","nom.ge","nom.gl","nym.gr","nom.gt","nym.gy","nym.hk","nom.hn","nym.ie","nom.im","nom.ke","nym.kz","nym.la","nym.lc","nom.li","nym.li","nym.lt","nym.lu","nom.lv","nym.me","nom.mk","nym.mn","nym.mx","nom.nu","nym.nz","nym.pe","nym.pt","nom.pw","nom.qa","nym.ro","nom.rs","nom.si","nym.sk","nom.st","nym.su","nym.sx","nom.tj","nym.tw","nom.ug","nom.uy","nom.vc","nom.vg","static.observableusercontent.com","cya.gg","cloudycluster.net","nid.io","opencraft.hosting","operaunite.com","skygearapp.com","outsystemscloud.com","ownprovider.com","own.pm","ox.rs","oy.lc","pgfog.com","pagefrontapp.com","art.pl","gliwice.pl","krakow.pl","poznan.pl","wroc.pl","zakopane.pl","pantheonsite.io","gotpantheon.com","mypep.link","perspecta.cloud","on-web.fr","*.platform.sh","*.platformsh.site","dyn53.io","co.bn","xen.prgmr.com","priv.at","prvcy.page","*.dweb.link","protonet.io","chirurgiens-dentistes-en-france.fr","byen.site","pubtls.org","qualifioapp.com","qbuser.com","instantcloud.cn","ras.ru","qa2.com","qcx.io","*.sys.qcx.io","dev-myqnapcloud.com","alpha-myqnapcloud.com","myqnapcloud.com","*.quipelements.com","vapor.cloud","vaporcloud.io","rackmaze.com","rackmaze.net","*.on-k3s.io","*.on-rancher.cloud","*.on-rio.io","readthedocs.io","rhcloud.com","app.render.com","onrender.com","repl.co","repl.run","resindevice.io","devices.resinstaging.io","hzc.io","wellbeingzone.eu","ptplus.fit","wellbeingzone.co.uk","git-pages.rit.edu","sandcats.io","logoip.de","logoip.com","schokokeks.net","gov.scot","scrysec.com","firewall-gateway.com","firewall-gateway.de","my-gateway.de","my-router.de","spdns.de","spdns.eu","firewall-gateway.net","my-firewall.org","myfirewall.org","spdns.org","senseering.net","biz.ua","co.ua","pp.ua","shiftedit.io","myshopblocks.com","shopitsite.com","mo-siemens.io","1kapp.com","appchizi.com","applinzi.com","sinaapp.com","vipsinaapp.com","siteleaf.net","bounty-full.com","alpha.bounty-full.com","beta.bounty-full.com","stackhero-network.com","static.land","dev.static.land","sites.static.land","apps.lair.io","*.stolos.io","spacekit.io","customer.speedpartner.de","api.stdlib.com","storj.farm","utwente.io","soc.srcf.net","user.srcf.net","temp-dns.com","applicationcloud.io","scapp.io","*.s5y.io","*.sensiosite.cloud","syncloud.it","diskstation.me","dscloud.biz","dscloud.me","dscloud.mobi","dsmynas.com","dsmynas.net","dsmynas.org","familyds.com","familyds.net","familyds.org","i234.me","myds.me","synology.me","vpnplus.to","direct.quickconnect.to","taifun-dns.de","gda.pl","gdansk.pl","gdynia.pl","med.pl","sopot.pl","edugit.org","telebit.app","telebit.io","*.telebit.xyz","gwiddle.co.uk","thingdustdata.com","cust.dev.thingdust.io","cust.disrec.thingdust.io","cust.prod.thingdust.io","cust.testing.thingdust.io","arvo.network","azimuth.network","bloxcms.com","townnews-staging.com","12hp.at","2ix.at","4lima.at","lima-city.at","12hp.ch","2ix.ch","4lima.ch","lima-city.ch","trafficplex.cloud","de.cool","12hp.de","2ix.de","4lima.de","lima-city.de","1337.pictures","clan.rip","lima-city.rocks","webspace.rocks","lima.zone","*.transurl.be","*.transurl.eu","*.transurl.nl","tuxfamily.org","dd-dns.de","diskstation.eu","diskstation.org","dray-dns.de","draydns.de","dyn-vpn.de","dynvpn.de","mein-vigor.de","my-vigor.de","my-wan.de","syno-ds.de","synology-diskstation.de","synology-ds.de","uber.space","*.uberspace.de","hk.com","hk.org","ltd.hk","inc.hk","virtualuser.de","virtual-user.de","urown.cloud","dnsupdate.info","lib.de.us","2038.io","router.management","v-info.info","voorloper.cloud","v.ua","wafflecell.com","*.webhare.dev","wedeploy.io","wedeploy.me","wedeploy.sh","remotewd.com","wmflabs.org","myforum.community","community-pro.de","diskussionsbereich.de","community-pro.net","meinforum.net","half.host","xnbay.com","u2.xnbay.com","u2-local.xnbay.com","cistron.nl","demon.nl","xs4all.space","yandexcloud.net","storage.yandexcloud.net","website.yandexcloud.net","official.academy","yolasite.com","ybo.faith","yombo.me","homelink.one","ybo.party","ybo.review","ybo.science","ybo.trade","nohost.me","noho.st","za.net","za.org","now.sh","bss.design","basicserver.io","virtualserver.io","enterprisecloud.nu"]')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.activate=void 0;const t=n(9072),o=n(9496),i=n(7147),a=n(1017),s=n(2037),c=n(2236),u=n(1274),l=n(157),p=n(1202),d=n(6678),h=n(5501),m=n(5054),f=n(8719),g=n(6258),v=n(3514),y=n(8693),b=n(8682),_=n(5760),E=n(8129),w=n(1856),k=n(3682),T=n(9620),S=n(4837),x=n(1737),C=n(1623),A=n(165),I=n(8662);let R;function P(e){R.subscriptions.push(e)}function O(){const e=o.workspace.getConfiguration(E.AzureSection).get("piiLogging",!1);k.Logger.piiLogging=e}e.activate=async function(e){R=e;let n=new c.AppContext(R),r=await async function(){let e=a.join(function(){switch(process.platform){case E.Platform.Windows:return process.env.APPDATA||a.join(process.env.USERPROFILE,"AppData","Roaming");case E.Platform.Mac:return a.join(s.homedir(),"Library","Application Support");case E.Platform.Linux:return process.env.XDG_CONFIG_HOME||a.join(s.homedir(),".config");default:throw new Error("Platform not supported")}}(),E.ServiceName),t=a.join(e,E.AzureTokenFolderName);try{await i.promises.mkdir(e,{recursive:!0})}catch(e){if("EEXIST"!==e.code)return void k.Logger.error(`Creating the base directory failed... ${e}`)}try{await i.promises.mkdir(t,{recursive:!0})}catch(e){if("EEXIST"!==e.code)return k.Logger.error(`Initialization of Azure account extension storage failed: ${e}`),void k.Logger.error("Azure accounts will not be available")}return k.Logger.verbose("Initialized Azure account extension storage."),t}();if(!r)throw new Error("Could not find or create storage path");const j=o.workspace.getConfiguration(E.AccountsAzureAuthSection);let N;o.env.uiKind===o.UIKind.Web&&await j.update("deviceCode",!0,o.ConfigurationTarget.Global),o.workspace.getConfiguration(E.AzureSection).get(E.piiLogging,!1)&&o.window.showWarningMessage(_.piiWarning,_.disable,_.dismiss).then((async e=>{e===_.disable&&await o.workspace.getConfiguration(E.AzureSection).update(E.piiLogging,!1,o.ConfigurationTarget.Global)})),O();let D=await async function(e,t){try{const n=new u.AzureAccountProviderService(e,t);return e.subscriptions.push(n),await n.activate(),n}catch(e){return void k.Logger.error("Unexpected error starting account provider: "+e.message)}}(R,r).catch((e=>k.Logger.error(e)));if(D){N=D.getEncryptionKeysEmitter(),function(e){e.registerService(p.AzureResourceServiceNames.resourceService,new l.AzureResourceService),e.registerService(p.AzureResourceServiceNames.resourceGroupService,new w.AzureResourceGroupService),e.registerService(p.AzureResourceServiceNames.cacheService,new m.AzureResourceCacheService(R)),e.registerService(p.AzureResourceServiceNames.subscriptionService,new d.AzureResourceSubscriptionService),e.registerService(p.AzureResourceServiceNames.subscriptionFilterService,new h.AzureResourceSubscriptionFilterService(new m.AzureResourceCacheService(R))),e.registerService(p.AzureResourceServiceNames.tenantFilterService,new I.AzureResourceTenantFilterService(new m.AzureResourceCacheService(R))),e.registerService(p.AzureResourceServiceNames.terminalService,new v.AzureTerminalService(R))}(n);const e=new g.AzureResourceTreeProvider(n),r=new T.ConnectionDialogTreeProvider(n);P(o.window.registerTreeDataProvider("azureResourceExplorer",e)),P(o.window.registerTreeDataProvider("connectionDialog/azureResourceExplorer",r)),P(o.workspace.onDidChangeConfiguration((e=>async function(e){e.affectsConfiguration("azure.piiLogging")&&O()}(e)))),(0,f.registerAzureResourceCommands)(n,e,r),t.dataprotocol.registerDataGridProvider(new S.AzureDataGridProvider(n)),o.commands.registerCommand("azure.dataGrid.openInAzurePortal",(async e=>{const t=e.portalEndpoint,n=e.subscriptionId,r=e.resourceGroup,i=e.type,a=e.name;t&&n&&r&&i&&a?await o.env.openExternal(o.Uri.parse(`${t}/#resource/subscriptions/${n}/resourceGroups/${r}/providers/${i}/${a}`)):(k.Logger.error(`Missing required values - subscriptionId : ${n} resourceGroup : ${r} type: ${i} name: ${a}`),o.window.showErrorMessage(_.unableToOpenAzureLink))}))}return{getSubscriptions:(e,t,r=!1)=>r?y.getSelectedSubscriptions(n,e,t):y.getSubscriptions(n,e,t),getResourceGroups:(e,t,r)=>y.getResourceGroups(n,e,t,r),getLocations:(e,t,r)=>y.getLocations(n,e,t,r),provideResources:()=>y.getAllResourceProviders(R),getUniversalProvider(){let e=y.getAllResourceProviders(R),t=new Map;return e.forEach((e=>{t.set(e.providerId,e.getTreeDataProvider())})),new A.AzureResourceUniversalResourceProvider(E.UNIVERSAL_PROVIDER_ID,new C.AzureResourceUniversalTreeDataProvider(new x.AzureResourceUniversalService(t)))},getSqlManagedInstances:(e,t,n)=>y.runResourceQuery(e,t,n,'where type == "microsoft.sql/managedinstances"'),getManagedDatabases:(e,t,n,r)=>y.getManagedDatabases(e,t,n,r),getSqlServers:(e,t,n)=>y.runResourceQuery(e,t,n,'where type == "microsoft.sql/servers"'),getSqlVMServers:(e,t,n)=>y.runResourceQuery(e,t,n,'where type == "microsoft.compute/virtualmachines" and properties.storageProfile.imageReference.publisher == "microsoftsqlserver"'),getStorageAccounts:(e,t,n)=>y.runResourceQuery(e,t,n,'where type == "microsoft.storage/storageaccounts"'),getBlobContainers:(e,t,n,r)=>y.getBlobContainers(e,t,n,r),getFileShares:(e,t,n,r)=>y.getFileShares(e,t,n,r),getStorageAccountAccessKey:(e,t,n,r)=>y.getStorageAccountAccessKey(e,t,n,r),getBlobs:(e,t,n,r,o)=>y.getBlobs(e,t,n,r,o),createResourceGroup:(e,t,n,r,o)=>y.createResourceGroup(e,t,n,r,o),makeAzureRestRequest:(e,t,n,r,o,i,a="https://management.azure.com",s={})=>y.makeHttpRequest(e,t,n,r,o,i,a,s),getRegionDisplayName:b.getRegionDisplayName,getProviderMetadataForAccount:e=>y.getProviderMetadataForAccount(e),runGraphQuery:(e,t,n,r)=>y.runResourceQuery(e,t,n,r),onEncryptionKeysUpdated:N.event,async getEncryptionKeys(){if(!D)throw new Error("Failed to initialize Azure account provider.");return await D.getEncryptionKeys()}}}})();var o=exports;for(var i in r)o[i]=r[i];r.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
//# sourceMappingURL=https://sqlopsbuilds.blob.core.windows.net/sourcemaps/b6f7beb01f92adaa4b79b6b6f3ac704e95cafe6e/extensions/azurecore/dist/extension.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit