/*! For license information please see bundle.718337228b2e4147efe7.js.LICENSE.txt */ (()=>{var e,t,r,n,o={74129:(e,t,r)=>{"use strict";var n,o=r(67294),a=(n=o)&&"object"==typeof n&&"default"in n?n.default:n,i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0,(r=t.BLOCKS||(t.BLOCKS={})).DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell"},51928:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(20549),o={nodeType:n.BLOCKS.DOCUMENT,data:{},content:[{nodeType:n.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};t.default=o},86061:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isText=t.isBlock=t.isInline=void 0;var n=r(20549),o=r(7845);function a(e,t){for(var r=0,n=Object.keys(e);r{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0,(r=t.INLINES||(t.INLINES={})).HYPERLINK="hyperlink",r.ENTRY_HYPERLINK="entry-hyperlink",r.ASSET_HYPERLINK="asset-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline"},31376:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript"}(r||(r={})),t.default=r},11911:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},97951:function(e,t,r){"use strict";var n,o=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},26778:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"arrow-down-a-z",icon:[512,512,["sort-alpha-asc","sort-alpha-down"],"f15d","M478.3 200.8l-79.1-160c-5.438-10.81-23.19-10.81-28.62 0l-79.1 160c-3.953 7.906-.75 17.5 7.156 21.47c7.906 4 17.52 .7187 21.47-7.156L329.9 192h108.2l11.58 23.16c3.096 6.156 12.08 11.88 21.47 7.156C479.1 218.3 482.3 208.8 478.3 200.8zM345.9 160l38.11-76.22L422.1 160H345.9zM447.1 448h-94.7l107.2-134c3.844-4.812 4.578-11.38 1.922-16.94C459.7 291.5 454.2 288 447.1 288H319.1c-8.844 0-16 7.156-16 16s7.156 16 16 16h94.7l-107.2 134c-3.844 4.812-4.578 11.38-1.922 16.94C308.2 476.5 313.8 480 319.1 480h127.1c8.844 0 15.1-7.156 15.1-16S456.8 448 447.1 448zM224 352c-4.094 0-8.188 1.562-11.31 4.688L144 425.4V48c0-8.844-7.156-16-16-16S112 39.16 112 48v377.4l-68.69-68.69c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62l96 96c6.25 6.25 16.38 6.25 22.62 0l96-96c6.25-6.25 6.25-16.38 0-22.62C232.2 353.6 228.1 352 224 352z"]},t.bD=t.DF},87373:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"calendar-lines",icon:[448,512,["calendar-note"],"e0d5","M96 368C96 359.2 103.2 352 112 352H240C248.8 352 256 359.2 256 368C256 376.8 248.8 384 240 384H112C103.2 384 96 376.8 96 368zM336 256C344.8 256 352 263.2 352 272C352 280.8 344.8 288 336 288H112C103.2 288 96 280.8 96 272C96 263.2 103.2 256 112 256H336zM112 0C120.8 0 128 7.164 128 16V64H320V16C320 7.164 327.2 0 336 0C344.8 0 352 7.164 352 16V64H384C419.3 64 448 92.65 448 128V448C448 483.3 419.3 512 384 512H64C28.65 512 0 483.3 0 448V128C0 92.65 28.65 64 64 64H96V16C96 7.164 103.2 0 112 0zM416 192H32V448C32 465.7 46.33 480 64 480H384C401.7 480 416 465.7 416 448V192zM384 96H64C46.33 96 32 110.3 32 128V160H416V128C416 110.3 401.7 96 384 96z"]},t.KB=t.DF},21859:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M32 400C32 426.5 53.49 448 80 448H496C504.8 448 512 455.2 512 464C512 472.8 504.8 480 496 480H80C35.82 480 0 444.2 0 400V48C0 39.16 7.164 32 16 32C24.84 32 32 39.16 32 48V400zM331.3 299.3C325.1 305.6 314.9 305.6 308.7 299.3L223.1 214.6L123.3 315.3C117.1 321.6 106.9 321.6 100.7 315.3C94.44 309.1 94.44 298.9 100.7 292.7L212.7 180.7C218.9 174.4 229.1 174.4 235.3 180.7L320 265.4L452.7 132.7C458.9 126.4 469.1 126.4 475.3 132.7C481.6 138.9 481.6 149.1 475.3 155.3L331.3 299.3z"]},t.St=t.DF},40853:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"chevron-right",icon:[320,512,[9002],"f054","M85.14 475.8c-3.438-3.141-5.156-7.438-5.156-11.75c0-3.891 1.406-7.781 4.25-10.86l181.1-197.1L84.23 58.86c-6-6.5-5.625-16.64 .9062-22.61c6.5-6 16.59-5.594 22.59 .8906l192 208c5.688 6.156 5.688 15.56 0 21.72l-192 208C101.7 481.3 91.64 481.8 85.14 475.8z"]},t._t=t.DF},3716:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"clipboard-list-check",icon:[384,512,[],"f737","M145.5 68c5.3-20.7 24.1-36 46.5-36s41.2 15.3 46.5 36c1.8 7.1 8.2 12 15.5 12h18c8.8 0 16 7.2 16 16v32H192 96V96c0-8.8 7.2-16 16-16h18c7.3 0 13.7-4.9 15.5-12zM192 0c-32.8 0-61 19.8-73.3 48H112C91.1 48 73.3 61.4 66.7 80H64C28.7 80 0 108.7 0 144V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V144c0-35.3-28.7-64-64-64h-2.7c-6.6-18.6-24.4-32-45.3-32h-6.7C253 19.8 224.8 0 192 0zM320 112c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H64c-17.7 0-32-14.3-32-32V144c0-17.7 14.3-32 32-32v16c0 17.7 14.3 32 32 32h96 96c17.7 0 32-14.3 32-32V112zM208 80a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM171.3 235.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L112 249.4 99.3 236.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l24 24c6.2 6.2 16.4 6.2 22.6 0l48-48zM192 272c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16s-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm-32 96c0 8.8 7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm-48 24a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},t.tR=t.DF},99030:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"comments",icon:[640,512,[128490,61670],"f086","M416 176C416 78.8 322.9 0 208 0S0 78.8 0 176c0 41.48 17.07 79.54 45.44 109.6c-15.17 32.34-38.65 58.07-38.95 58.38c-6.514 6.836-8.309 16.91-4.568 25.67C5.754 378.4 14.26 384 23.66 384c54.19 0 97.76-20.73 125.9-39.17C168.1 349.4 187.7 352 208 352C322.9 352 416 273.2 416 176zM208 320c-16.96 0-34.04-2.098-50.75-6.232L143.7 310.4L132 318.1c-20.43 13.38-51.58 28.99-89.85 32.97c9.377-12.11 22.3-30.63 32.24-51.82l9.242-19.71L68.72 263.7C44.7 238.2 32 207.9 32 176C32 96.6 110.1 32 208 32S384 96.6 384 176S305 320 208 320zM606.4 435.4C627.6 407.1 640 372.9 640 336C640 238.8 554 160 448 160c-.3145 0-.6191 .041-.9336 .043C447.5 165.3 448 170.6 448 176c0 5.43-.4668 10.76-.9414 16.09C447.4 192.1 447.7 192 448 192c88.22 0 160 64.6 160 144c0 28.69-9.424 56.45-27.25 80.26l-13.08 17.47l11.49 18.55c6.568 10.61 13.18 19.74 18.61 26.74c-18.26-1.91-36.45-6.625-54.3-14.09l-12.69-5.305l-12.58 5.557C495.9 475 472.3 480 448 480c-75.05 0-137.7-46.91-154.9-109.7c-10.1 3.336-20.5 6.132-31.2 8.271C282.7 455.1 357.1 512 448 512c29.82 0 57.94-6.414 83.12-17.54C555 504.5 583.7 512 616.3 512c9.398 0 17.91-5.57 21.73-14.32c3.74-8.758 1.945-18.84-4.568-25.67C633.3 471.8 619.6 456.8 606.4 435.4z"]},t.lX=t.DF},1199:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"copy",icon:[512,512,[],"f0c5","M272 416C263.2 416 256 423.2 256 432V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h112C184.8 160 192 152.8 192 144C192 135.2 184.8 128 176 128H63.99c-35.35 0-64 28.65-64 64l.0098 256C0 483.3 28.65 512 64 512h160c35.35 0 64-28.65 64-64v-16C288 423.2 280.8 416 272 416zM502.6 86.63l-77.25-77.25C419.4 3.371 411.2 0 402.7 0H288C252.7 0 224 28.65 224 64v256c0 35.35 28.65 64 64 64h160c35.35 0 64-28.65 64-64V109.3C512 100.8 508.6 92.63 502.6 86.63zM416 45.25L466.7 96H416V45.25zM480 320c0 17.67-14.33 32-32 32h-160c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h96l.0026 64c0 17.67 14.33 32 32 32H480V320z"]},t.kZ=t.DF},87134:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"dash",icon:[512,512,["minus-large"],"e404","M512 256c0 8.832-7.166 16-16 16h-480C7.166 272 0 264.8 0 256c0-8.834 7.166-16 16-16h480C504.8 240 512 247.2 512 256z"]},t.sZ=t.DF},24090:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M304 240h111.1c13 0 24.59-7.766 29.56-19.77s2.25-25.69-6.938-34.86l-44.67-44.67l97.39-97.39c6.248-6.25 6.248-16.38 0-22.62c-6.248-6.25-16.38-6.25-22.62 0l-97.38 97.38L326.6 73.39c-6.156-6.125-14.28-9.375-22.59-9.375c-4.125 0-8.312 .8125-12.28 2.453C279.8 71.45 272 83.05 272 96.03V208C272 225.7 286.3 240 304 240zM304 96.03l112 111.1c0 0 .0938 0 0 0L304 208V96.03zM208 272H96.03c-13 0-24.59 7.766-29.56 19.77s-2.25 25.69 6.938 34.86l44.67 44.67l-97.39 97.39c-6.248 6.25-6.248 16.38 0 22.62c6.248 6.25 16.38 6.25 22.62 0l97.38-97.38l44.68 44.68c6.156 6.125 14.28 9.375 22.59 9.375c4.125 0 8.312-.8125 12.28-2.453C232.3 440.5 240 428.1 240 415.1V304C240 286.3 225.7 272 208 272zM208 415.1L95.95 304c0 0-.0938 0 0 0L208 304V415.1z"]},t.Qb=t.DF},2048:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"earth-americas",icon:[512,512,[127758,"earth","earth-america","globe-americas"],"f57d","M0 256C0 114.6 114.6 0 256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C114.6 512 0 397.4 0 256zM256 480C363.5 480 453.3 404.3 475 303.2L429.2 291.8C413.2 287.8 400.5 275.1 395.3 260.4L378.4 209.7C370.3 185.6 382.5 159.4 406.1 149.9L444.3 134.6C405 73.82 337.1 33.24 259.6 32.03L266.7 44.48C276.8 62.09 274.7 84.13 261.5 99.53L241.3 123C238.8 125.1 238.8 130.3 241.3 133.3L259.2 154.8C269.1 166.7 270 183.8 261.4 196.7C252.6 209.9 236.1 215.6 221.1 210.6L196.9 202.5C194.5 201.7 191.1 201.9 189.8 202.1C185.2 205.3 183.3 210.9 185.6 215.5L186.3 216.8C187.4 218.9 189.1 220.6 191.2 221.7L237 244.6C241.5 246.8 246.4 247.1 251.3 247.1H300.1C317.1 247.1 333.4 254.7 345.4 266.7L349.3 270.6C361.3 282.6 368 298.9 368 315.9V324.1C368 347.1 355.7 368.3 335.8 379.7L324.2 386.3C315 391.5 308.4 400.3 305.9 410.5L301.5 428.1C296.2 449.2 277.2 464 255.4 464C229.2 464 208 442.8 208 416.6V393.9C208 388.1 205.2 384.5 200.8 382.3C185.6 374.7 176 359.1 176 342.1V327.1C176 310.8 165.4 296.5 149.9 291.6L86.86 271.9C64.9 265 46.96 249.1 37.62 228L34.66 221.4C32.91 232.7 32 244.2 32 255.1C32 379.7 132.3 480 256 480L256 480zM48.02 172.7L66.86 215C72.47 227.7 83.23 237.2 96.41 241.4L159.4 261.1C188.3 270.1 208 296.8 208 327.1V342.1C208 347 210.8 351.5 215.2 353.7C230.4 361.3 240 376.9 240 393.9V416.6C240 425.1 246.9 432 255.4 432C262.5 432 268.7 427.2 270.4 420.3L274.8 402.7C279.5 384.1 291.6 368.1 308.3 358.5L319.9 351.9C329.8 346.2 336 335.6 336 324.1V315.9C336 307.4 332.6 299.3 326.6 293.3L322.7 289.4C316.7 283.4 308.6 280 300.1 280H251.3C241.4 280 231.6 277.7 222.7 273.2L176.8 250.3C168.6 246.2 161.8 239.4 157.7 231.2L157 229.8C146.8 209.4 155.1 184.6 175.5 174.4C185.3 169.5 196.6 168.7 207 172.1L231.2 180.2C232.5 180.7 234 180.2 234.8 178.1C235.5 177.8 235.5 176.3 234.6 175.3L216.7 153.8C204.2 138.8 204.3 117 217.1 102.2L237.2 78.71C241.6 73.58 242.3 66.23 238.9 60.36L224 34.27C143.8 45.74 77.28 99.71 48.02 172.7H48.02zM459.8 162.9L417.1 179.6C410.1 182.8 406 191.5 408.7 199.6L425.6 250.3C427.4 255.5 431.6 259.4 436.9 260.7L479.5 271.4C479.8 266.3 480 261.2 480 256C480 222.8 472.8 191.3 459.8 162.9V162.9z"]},t.Z_=t.DF},31508:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"files",icon:[448,512,[],"e178","M336 480H96c-35.35 0-64-28.65-64-64V112C32 103.2 24.84 96 16 96S0 103.2 0 112V416c0 53.02 42.98 96 96 96h240c8.836 0 16-7.164 16-16S344.8 480 336 480zM429.3 113.3l-94.51-94.51C322.7 6.742 306.5 0 289.5 0H160C124.7 0 96 28.65 96 64l.0098 288c0 35.35 28.65 64 64 64h224C419.4 416 448 387.3 448 352V158.5C448 141.5 441.3 125.3 429.3 113.3zM320 49.25L398.8 128H336C327.2 128 320 120.8 320 112V49.25zM416 352c0 17.64-14.36 32-32 32H160c-17.64 0-32-14.36-32-32V64c0-17.64 14.36-32 32-32h128v80C288 138.5 309.5 160 336 160H416V352z"]},t.SC=t.DF},14628:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"filter",icon:[512,512,[],"f0b0","M0 71.53C0 49.7 17.7 32 39.53 32H472.5C494.3 32 512 49.7 512 71.53C512 80.73 508.8 89.64 502.9 96.73L320 317.8V446.1C320 464.8 304.8 480 286.1 480C278.6 480 271.3 477.5 265.3 472.9L204.4 425.4C196.6 419.4 192 410.1 192 400.2V317.8L9.076 96.73C3.21 89.64 0 80.73 0 71.53V71.53zM39.53 64C35.37 64 32 67.37 32 71.53C32 73.28 32.61 74.98 33.73 76.33L220.3 301.8C222.7 304.7 224 308.3 224 312V400.2L284.1 447.6C285.3 447.9 285.7 448 286.1 448C287.2 448 288 447.2 288 446.1V312C288 308.3 289.3 304.7 291.7 301.8L478.3 76.33C479.4 74.98 480 73.28 480 71.53C480 67.37 476.6 64 472.5 64H39.53z"]},t.G_=t.DF},48223:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"headset",icon:[512,512,[],"f590","M191.1 224c0-17.62-14.37-32.04-32-32.04l-32.01 0c-35.38 0-64 28.62-64 63.1L63.96 319.6c0 35.38 28.63 64 64.01 64h32c17.63 0 32-14.38 32-32L191.1 224zM159.1 351.6h-32c-17.63 0-32-14.38-32-32V256c0-17.62 14.38-32 32-32l32.02-.0001L159.1 351.6zM383.1 383.6c35.38 0 64.01-28.62 64.01-64l.0026-63.63c0-35.38-28.62-63.1-64-63.1l-31.1 0c-17.63 0-32 14.42-32 32.04l-.0105 127.6c0 17.62 14.38 32 32 32H383.1zM351.1 224l31.1 .0001c17.63 0 32 14.38 32 32V319.6c0 17.62-14.38 32-32 32h-32L351.1 224zM280.2 1.131c-153.5-14.29-276.2 108.1-280.2 254.9l-.0206 15.92C-.0459 280.8 7.155 288 16 288c8.755 0 15.96-7.162 16-15.92l.0838-16.08C35.52 128.6 142.5 20.63 276.9 32.96c116.3 10.68 203.1 112.3 203.1 229.1v169.1c0 26.51-21.49 48-48 48h-83.01c4.081-10.88 4.609-23.54-2.282-36.69c-9.093-17.35-28.04-27.31-47.62-27.31L241.8 416c-23.21 0-44.49 15.69-48.87 38.49C187 485.2 210.4 512 239.1 512l191.1 .0001c44.19 0 80.01-35.82 80.01-79.1V262.9C512 129.6 412.9 13.49 280.2 1.131zM303.1 480H239.1c-8.876 0-16-7.125-16-16s7.126-16 16-16h64.01c8.876 0 16 7.125 16 16S312.9 480 303.1 480z"]},t.XK=t.DF},88122:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"megaphone",icon:[576,512,[128227],"f675","M576 48V464C576 472.8 568.8 480 560 480C551.2 480 544 472.8 544 464V452.5L349.9 403.1C340.7 447.4 302.2 480 256 480C202.1 480 160 437 160 384C160 374.8 161.3 365.9 163.7 357.4L32 324.5V336C32 344.8 24.84 352 16 352C7.164 352 0 344.8 0 336V176C0 167.2 7.164 160 16 160C24.84 160 32 167.2 32 176V187.5L544 59.51V48C544 39.16 551.2 32 560 32C568.8 32 576 39.16 576 48zM544 419.5V92.49L32 220.5V291.5L544 419.5zM256 448C287.2 448 313.1 425.7 318.8 396.2L194.8 365.2C192.1 371.1 192 377.5 192 384C192 419.3 220.7 448 256 448z"]},t.Au=t.DF},38659:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"photo-film-music",icon:[640,512,[],"e228","M620.1 169.1c-12.67-9.125-28.41-11.53-43.27-6.594l-128 42.66C429.2 211.7 416 230 416 250.7v157.1C406.6 402.1 395.7 400 384 400c-35.35 0-64 25.07-64 56S348.7 512 384 512s64-25.07 64-56v-117.2l160-53.33v58.28C598.6 338.1 587.7 336 576 336c-35.35 0-64 25.07-64 56S540.7 448 576 448s64-25.07 64-56V208C640 192.4 632.7 178.2 620.1 169.1zM384 480c-17.35 0-32-10.99-32-24s14.65-24 32-24s32 10.99 32 24S401.3 480 384 480zM576 416c-17.35 0-32-10.99-32-24s14.65-24 32-24s32 10.99 32 24S593.3 416 576 416zM608 251.8l-160 53.33V250.7c0-6.891 4.391-13 10.94-15.19l128-42.64c4.938-1.688 10.19-.8438 14.42 2.188C605.6 198.1 608 202.8 608 208V251.8zM336.5 205.9c4.348 5.545 17.6 10.65 25.59-.5332l54.44-78.75l25.27 35.24c4.087 5.698 11.41 8.071 18.06 5.854c10.22-3.407 14.29-15.76 8.007-24.52l-25.31-35.3c-11.28-15.81-38.5-15.94-49.1-.0313l-44.03 61.43l-6.969-8.941c-12.25-15.72-36.02-15.76-48.32-.0759l-63.11 80.46C223 249.9 222 262.3 227.5 272.3C232.8 281.1 243.1 288 254.4 288h113.6C376.8 288 384 280.8 384 272s-7.163-16.03-16-16.03L258.2 255.9l58.25-75.61L336.5 205.9zM224 352h144C376.8 352 384 344.8 384 336S376.8 320 368 320H224c-17.67 0-32-14.33-32-32V64c0-17.67 14.33-32 32-32h320c17.67 0 32 14.33 32 32v48C576 120.8 583.2 128 592 128S608 120.8 608 112V64c0-35.35-28.65-64-64-64H224C188.7 0 160 28.65 160 64v224C160 323.3 188.7 352 224 352zM280 96c0-13.25-10.74-24-24-24C242.7 72 232 82.75 232 96S242.7 120 256 120C269.3 120 280 109.3 280 96zM128 96H64C28.65 96 0 124.7 0 160v224c0 35.35 28.65 64 64 64h208C280.8 448 288 440.8 288 432S280.8 416 272 416H128V96zM96 416H64c-17.64 0-32-14.36-32-32v-32h64V416zM96 320H32V224h64V320zM96 192H32V160c0-17.64 14.36-32 32-32h32V192z"]},t.Jb=t.DF},88981:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"rectangle-ad",icon:[576,512,["ad"],"f641","M286.6 329.4C290.2 337.5 286.6 346.1 278.6 350.6C270.5 354.2 261 350.6 257.4 342.6L247.3 320H152.7L142.6 342.6C138.1 350.6 129.5 354.2 121.4 350.6C113.4 346.1 109.8 337.5 113.4 329.4L185.4 169.4C187.1 163.7 193.7 160 200 160C206.3 160 212 163.7 214.6 169.4L286.6 329.4zM167.1 288H232.9L199.1 214.1L167.1 288zM416 176C416 167.2 423.2 160 432 160C440.8 160 448 167.2 448 176V336C448 344.8 440.8 352 432 352C424.4 352 418 346.7 416.4 339.6C404.9 347.4 390.1 352 376 352C336.2 352 304 319.8 304 280C304 240.2 336.2 208 376 208C390.8 208 404.6 212.5 416 220.1V176zM376 240C353.9 240 336 257.9 336 280C336 302.1 353.9 320 376 320C398.1 320 416 302.1 416 280C416 257.9 398.1 240 376 240zM0 96C0 60.65 28.65 32 64 32H512C547.3 32 576 60.65 576 96V416C576 451.3 547.3 480 512 480H64C28.65 480 0 451.3 0 416V96zM32 96V416C32 433.7 46.33 448 64 448H512C529.7 448 544 433.7 544 416V96C544 78.33 529.7 64 512 64H64C46.33 64 32 78.33 32 96z"]},t.HC=t.DF},89593:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"seedling",icon:[512,512,[127793,"sprout"],"f4d8","M80 96h-64C7.156 96 0 103.2 0 112C0 226.7 93.31 320 208 320H256v144c0 8.836 7.164 16 16 16s16-7.164 16-16v-160C288 189.3 194.7 96 80 96zM208 288C116.3 288 40.83 217.6 32.72 128H80c91.66 0 167.2 70.41 175.3 160H208zM496 32h-64c-66.75 0-129.9 32.41-168.1 86.66C257.9 125.8 259.5 135.8 266.7 141c7.141 5.125 17.16 3.5 22.33-3.656C322.1 91.41 375.5 64 432 64h47.27c-7.734 83.78-75.48 152.4-160.6 159.4c-8.812 .7187-15.36 8.438-14.64 17.25c.7031 8.375 7.688 14.69 15.94 14.69c.4375 0 .8906-.0313 1.328-.0625C428.2 246.5 512 155.4 512 48C512 39.16 504.8 32 496 32z"]},t.YK=t.DF},63626:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"swatchbook",icon:[512,512,[],"f5c3","M72 416C72 402.7 82.75 392 96 392C109.3 392 120 402.7 120 416C120 429.3 109.3 440 96 440C82.75 440 72 429.3 72 416zM0 56C0 25.07 25.07 0 56 0H136C166.9 0 192 25.07 192 56V188.2L283.2 96.97C305.1 75.1 340.6 75.1 362.4 96.97L419 153.5C440.9 175.4 440.9 210.9 419 232.7L331.7 320H456C486.9 320 512 345.1 512 376V456C512 486.9 486.9 512 456 512H96C42.98 512 0 469 0 416V56zM480 456V376C480 362.7 469.3 352 456 352H299.7L171.7 480H456C469.3 480 480 469.3 480 456zM396.4 176.2L339.8 119.6C330.4 110.2 315.2 110.2 305.9 119.6L192 233.5V414.5L396.4 210.1C405.8 200.7 405.8 185.5 396.4 176.2V176.2zM96 480C131.3 480 160 451.3 160 416V288H32V416C32 451.3 60.65 480 96 480zM32 256H160V160H32V256zM32 128H160V56C160 42.75 149.3 32 136 32H56C42.75 32 32 42.75 32 56V128z"]},t.AV=t.DF},869:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"thumbs-down",icon:[512,512,[128078,61576],"f165","M128 280v-208C128 49.94 110.1 32 88 32h-48C17.94 32 0 49.94 0 72v208C0 302.1 17.94 320 40 320h48C110.1 320 128 302.1 128 280zM96 280C96 284.4 92.41 288 88 288h-48C35.59 288 32 284.4 32 280v-208C32 67.59 35.59 64 40 64h48C92.41 64 96 67.59 96 72V280zM477.9 235.7c2.469-6.672 3.75-13.77 3.75-20.98c0-22.97-12.75-43.42-32.06-53.94c1.141-4.672 1.734-9.469 1.734-14.27c0-22.06-11.78-41.94-30.33-52.8C421 59.84 393.4 32 359.5 32H303.9c-77.41 0-143.9 63.11-143.9 80.07c0 8.767 7.133 15.96 16 15.96C195.8 128 222.2 64 303.9 64h55.63c16.27 0 29.5 13.22 29.5 29.47c0 4.826-1.185 6.491-1.185 10.01c0 20.94 31.51 12.09 31.51 43.05c0 12.84-6.765 14.68-6.765 23.56c0 9.347 7.255 14.66 13.06 15.75c13.92 2.594 24.03 14.75 24.03 28.89c0 17.77-12.06 18.45-12.06 30.63c0 8.314 6.443 15.38 14.91 15.96C467.9 262.4 480 275.2 480 290.5C480 306.8 466.8 320 450.5 320h-128.3c-8.273 0-15.1 6.658-15.1 16.01c0 2.699 .68 5.398 2.046 7.83c17.73 31.53 26.62 65.39 26.62 75.48C334.9 431.2 325.6 448 304.9 448c-16.7 0-19.66-4.953-28.78-32.78c-21.79-66.41-36.14-69.47-88.81-122.5C184.2 289.6 180.1 288 176 288C167.4 288 160 294.9 160 303.1c0 23.25 57.94 36.53 85.73 121.2C254.2 450.9 263.6 480 304.9 480c38.77 0 62.01-30.84 62.01-60.67c0-13.84-6.844-40.27-18.83-67.33h102.5C484.4 352 512 324.4 512 290.5C512 266.8 498.2 245.8 477.9 235.7z"]},t.b=t.DF},52230:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"thumbs-up",icon:[512,512,[128077,61575],"f164","M88 192h-48C17.94 192 0 209.9 0 232v208C0 462.1 17.94 480 40 480h48C110.1 480 128 462.1 128 440v-208C128 209.9 110.1 192 88 192zM96 440C96 444.4 92.41 448 88 448h-48C35.59 448 32 444.4 32 440v-208C32 227.6 35.59 224 40 224h48C92.41 224 96 227.6 96 232V440zM512 221.5C512 187.6 484.4 160 450.5 160h-102.5c11.98-27.06 18.83-53.48 18.83-67.33C366.9 62.84 343.6 32 304.9 32c-41.22 0-50.7 29.11-59.12 54.81C218.1 171.1 160 184.8 160 208C160 217.1 167.5 224 176 224C180.1 224 184.2 222.4 187.3 219.3c52.68-53.04 67.02-56.11 88.81-122.5C285.3 68.95 288.2 64 304.9 64c20.66 0 29.94 16.77 29.94 28.67c0 10.09-8.891 43.95-26.62 75.48c-1.366 2.432-2.046 5.131-2.046 7.83C306.2 185.5 314 192 322.2 192h128.3C466.8 192 480 205.2 480 221.5c0 15.33-12.08 28.16-27.48 29.2c-8.462 .5813-14.91 7.649-14.91 15.96c0 12.19 12.06 12.86 12.06 30.63c0 14.14-10.11 26.3-24.03 28.89c-5.778 1.082-13.06 6.417-13.06 15.75c0 8.886 6.765 10.72 6.765 23.56c0 31.02-31.51 22.12-31.51 43.05c0 3.526 1.185 5.13 1.185 10.01C389 434.8 375.8 448 359.5 448H303.9c-82.01 0-108.3-64.02-127.9-64.02c-8.873 0-16 7.193-16 15.96C159.1 416.3 224.6 480 303.9 480h55.63c33.91 0 61.5-27.58 61.5-61.47c18.55-10.86 30.33-31 30.33-53.06c0-4.797-.5938-9.594-1.734-14.27c19.31-10.52 32.06-30.97 32.06-53.94c0-7.219-1.281-14.31-3.75-20.98C498.2 266.2 512 245.3 512 221.5z"]},t.u8=t.DF},52386:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"trees",icon:[640,512,[],"f724","M325.1 303.9c13.38-1.125 24.94-9.5 30.81-22.66c5.719-13.53 3.688-29-6.031-41.13L291.5 175.2c11.34-2.469 20.91-10.19 25.44-20.91c5.844-13.16 3.219-28.53-6.562-39L214.2 9.531C203-2.594 181.1-2.656 169.8 9.594L73.59 115.2C63.81 125.8 61.25 141.2 66.94 153.1C71.56 164.9 81.16 172.7 92.5 175.2L32.44 241C23.53 252.4 21.53 267.8 27.31 281.5c5.75 12.91 17.31 21.25 30.69 22.38L9.5 356.3c-9.969 10.72-12.31 26.06-5.969 39.19C9.688 407.9 22.88 416 37.16 416h138.8v80c0 8.844 7.154 16 15.1 16s16-7.156 16-16V416h138.8c14.28 0 27.47-8.062 33.66-20.62c6.344-13.09 4-28.44-5.875-39.06L325.1 303.9zM346.8 384H208v-25.38l43.31-43.31c6.25-6.25 6.25-16.38 0-22.62s-16.38-6.25-22.62 0L208 313.4V176c0-8.844-7.157-16-16-16S176 167.2 176 176v80.01L156.8 230.4c-5.297-7.062-15.34-8.531-22.39-3.219C127.3 232.5 125.9 242.5 131.2 249.6l44.8 59.73V384H37.16c-3.729 0-6.735-3.236-4.188-5.938L131.1 272H61.09c-4.998 0-6.236-7.613-4.25-10.34L164.3 144H100.3c-3.474 0-5.902-4.191-3.125-7.188l93.31-105.7l96.31 105.8C289.3 139.6 287.4 144 283.7 144H219.7l106.7 116.8C329.9 265.2 327.2 272 322.9 272H252.9l98.25 106.1C353.9 381 349.7 384 346.8 384zM630.6 356.3l-48.59-52.44c13.38-1.125 24.94-9.5 30.81-22.66c5.719-13.53 3.688-29-6.031-41.13L547.5 175.2c11.34-2.469 20.91-10.19 25.44-20.91c5.844-13.16 3.219-28.53-6.562-39l-96.22-105.7c-11.22-12.12-33.13-12.19-44.41 .0625l-68.88 75.63c-5.938 6.531-5.469 16.66 1.062 22.62c6.562 5.938 16.69 5.469 22.62-1.062l65.97-75.63l96.31 105.8C545.3 139.6 543.4 144 539.7 144h-63.94l106.7 116.8C585.9 265.2 583.2 272 578.9 272h-70.03l98.25 106.1C609.9 381 605.7 384 602.8 384h-138.8v-25.38l43.31-43.31c6.25-6.25 6.25-16.38 0-22.62s-16.38-6.25-22.62 0l-20.69 20.69V176c0-8.844-7.159-16-16-16s-15.1 7.156-15.1 16v80.01l-19.2-25.6c-5.297-7.062-15.34-8.531-22.39-3.219c-7.078 5.312-8.516 15.34-3.203 22.41l44.8 59.73V496c0 8.844 7.153 16 15.1 16s16-7.156 16-16V416h138.8c14.28 0 27.47-8.062 33.66-20.62C642.8 382.3 640.5 366.9 630.6 356.3z"]},t.wX=t.DF},69690:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M480 0h-111.1c-12.1 0-24.59 7.766-29.56 19.77c-4.969 12-2.25 25.69 6.938 34.86L390.1 99.3l-97.39 97.39c-6.248 6.25-6.248 16.38 0 22.62c6.248 6.25 16.38 6.25 22.62 0l97.38-97.38l44.68 44.68c6.156 6.125 14.28 9.375 22.59 9.375c4.125 0 8.312-.8125 12.28-2.453C504.3 168.5 512 156.1 512 143.1V32C512 14.33 497.7 0 480 0zM480 143.1l-112-111.1c0 0-.0938 0 0 0L480 32V143.1zM31.1 512h111.1c12.1 0 24.59-7.766 29.56-19.77c4.969-12 2.25-25.69-6.937-34.86l-44.67-44.67l97.39-97.39c6.248-6.25 6.248-16.38 0-22.62c-6.248-6.25-16.38-6.25-22.62 0l-97.38 97.38L54.62 345.4c-6.156-6.125-14.28-9.375-22.59-9.375c-4.125 0-8.312 .8125-12.28 2.453C7.75 343.5 0 355 0 368V480C0 497.7 14.33 512 31.1 512zM31.1 368l112 111.1c0 0 .0938 0 0 0L31.1 480V368z"]},t.K9=t.DF},67821:(e,t)=>{"use strict";t.DF={prefix:"fal",iconName:"users",icon:[640,512,[],"f0c0","M319.9 320c57.41 0 103.1-46.56 103.1-104c0-57.44-46.54-104-103.1-104c-57.41 0-103.1 46.56-103.1 104C215.9 273.4 262.5 320 319.9 320zM319.9 144c39.68 0 71.96 32.3 71.96 72S359.5 288 319.9 288S247.9 255.7 247.9 216S280.2 144 319.9 144zM369.9 352H270.1C191.6 352 128 411.7 128 485.3C128 500.1 140.7 512 156.4 512h327.2C499.3 512 512 500.1 512 485.3C512 411.7 448.4 352 369.9 352zM160.2 480c3.021-53.41 51.19-96 109.1-96H369.9c58.78 0 106.9 42.59 109.1 96H160.2zM512 160c44.18 0 80-35.82 80-80S556.2 0 512 0c-44.18 0-80 35.82-80 80S467.8 160 512 160zM512 32c26.47 0 48 21.53 48 48S538.5 128 512 128s-48-21.53-48-48S485.5 32 512 32zM128 160c44.18 0 80-35.82 80-80S172.2 0 128 0C83.82 0 48 35.82 48 80S83.82 160 128 160zM128 32c26.47 0 48 21.53 48 48S154.5 128 128 128S80 106.5 80 80S101.5 32 128 32zM561.1 192H496c-11.16 0-22.08 2.5-32.47 7.438c-7.984 3.797-11.39 13.34-7.594 21.31s13.38 11.39 21.31 7.594C483.3 225.5 489.6 224 496 224h65.08C586.1 224 608 246.7 608 274.7V288c0 8.844 7.156 16 16 16S640 296.8 640 288V274.7C640 229.1 604.6 192 561.1 192zM162.8 228.3c7.938 3.797 17.53 .375 21.31-7.594c3.797-7.969 .3906-17.52-7.594-21.31C166.1 194.5 155.2 192 144 192H78.92C35.41 192 0 229.1 0 274.7V288c0 8.844 7.156 16 16 16S32 296.8 32 288V274.7C32 246.7 53.05 224 78.92 224H144C150.4 224 156.7 225.5 162.8 228.3z"]},t.FV=t.DF},25215:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"arrow-right",icon:[448,512,[8594],"f061","M264.6 70.63l176 168c4.75 4.531 7.438 10.81 7.438 17.38s-2.688 12.84-7.438 17.38l-176 168c-9.594 9.125-24.78 8.781-33.94-.8125c-9.156-9.5-8.812-24.75 .8125-33.94l132.7-126.6H24.01c-13.25 0-24.01-10.76-24.01-24.01s10.76-23.99 24.01-23.99h340.1l-132.7-126.6C221.8 96.23 221.5 80.98 230.6 71.45C239.8 61.85 254.1 61.51 264.6 70.63z"]},t.eF=t.DF},86925:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"books",icon:[512,512,[128218],"f5db","M510.4 435.4l-107.7-399.9C396.9 14.08 377.5 0 356.4 0c-4.111 0-8.294 .5313-12.46 1.641l-61.82 16.48c-5.885 1.57-11.14 4.258-15.78 7.633C258.3 10.51 242.4 0 224 0H160C151.2 0 143.1 2.531 136 6.656C128.9 2.531 120.8 0 112 0h-64C21.49 0 0 21.49 0 48v416C0 490.5 21.49 512 48 512h64c8.787 0 16.92-2.531 24-6.656C143.1 509.5 151.2 512 160 512h64c26.51 0 48-21.49 48-48V165.3l83.8 311.3C361.6 497.9 380.9 512 402.1 512c4.111 0 8.293-.5313 12.46-1.641l61.82-16.48C502 487 517.2 460.8 510.4 435.4zM224 48V96L160 96L160 48H224zM160 144h64v224H160V144zM112 368h-64v-224h64V368zM112 48V96h-64V48H112zM48 464V416h64v48H48zM160 464l.0011-47.1L224 416v48H160zM294.4 64.5l61.83-16.48l12.47 45.91L306.8 110.4L294.4 64.5zM319.3 156.6l61.91-16.51l58.04 215.3l-61.91 16.51L319.3 156.6zM402.2 464.1l-12.41-46.04l61.91-16.51l12.38 45.94L402.2 464.1z"]},t.Kt=t.DF},45846:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M88 104C88 95.16 95.16 88 104 88H152C160.8 88 168 95.16 168 104V152C168 160.8 160.8 168 152 168H104C95.16 168 88 160.8 88 152V104zM280 88C288.8 88 296 95.16 296 104V152C296 160.8 288.8 168 280 168H232C223.2 168 216 160.8 216 152V104C216 95.16 223.2 88 232 88H280zM88 232C88 223.2 95.16 216 104 216H152C160.8 216 168 223.2 168 232V280C168 288.8 160.8 296 152 296H104C95.16 296 88 288.8 88 280V232zM280 216C288.8 216 296 223.2 296 232V280C296 288.8 288.8 296 280 296H232C223.2 296 216 288.8 216 280V232C216 223.2 223.2 216 232 216H280zM0 64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM48 64V448C48 456.8 55.16 464 64 464H144V400C144 373.5 165.5 352 192 352C218.5 352 240 373.5 240 400V464H320C328.8 464 336 456.8 336 448V64C336 55.16 328.8 48 320 48H64C55.16 48 48 55.16 48 64z"]},t.P8=t.DF},55426:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"check",icon:[448,512,[10003,10004],"f00c","M440.1 103C450.3 112.4 450.3 127.6 440.1 136.1L176.1 400.1C167.6 410.3 152.4 410.3 143 400.1L7.029 264.1C-2.343 255.6-2.343 240.4 7.029 231C16.4 221.7 31.6 221.7 40.97 231L160 350.1L407 103C416.4 93.66 431.6 93.66 440.1 103V103z"]},t.LE=t.DF},51546:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM256 304c13.25 0 24-10.75 24-24v-128C280 138.8 269.3 128 256 128S232 138.8 232 152v128C232 293.3 242.8 304 256 304zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44C224.6 385.9 238.6 400 256 400s31.44-14.08 31.44-31.44C287.4 351.2 273.4 337.1 256 337.1z"]},t.xH=t.DF},13718:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-info",n=["info-circle"],o="f05a",a="M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 464c-114.7 0-208-93.31-208-208S141.3 48 256 48s208 93.31 208 208S370.7 464 256 464zM296 336h-16V248C280 234.8 269.3 224 256 224H224C210.8 224 200 234.8 200 248S210.8 272 224 272h8v64h-16C202.8 336 192 346.8 192 360S202.8 384 216 384h80c13.25 0 24-10.75 24-24S309.3 336 296 336zM256 192c17.67 0 32-14.33 32-32c0-17.67-14.33-32-32-32S224 142.3 224 160C224 177.7 238.3 192 256 192z";t.definition={prefix:"far",iconName:r,icon:[512,512,n,o,a]},t.faCircleInfo=t.definition,t.prefix="far",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},72498:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"copy",icon:[512,512,[],"f0c5","M502.6 70.63l-61.25-61.25C435.4 3.371 427.2 0 418.7 0H255.1c-35.35 0-64 28.66-64 64l.0195 256C192 355.4 220.7 384 256 384h192c35.2 0 64-28.8 64-64V93.25C512 84.77 508.6 76.63 502.6 70.63zM464 320c0 8.836-7.164 16-16 16H255.1c-8.838 0-16-7.164-16-16L239.1 64.13c0-8.836 7.164-16 16-16h128L384 96c0 17.67 14.33 32 32 32h47.1V320zM272 448c0 8.836-7.164 16-16 16H63.1c-8.838 0-16-7.164-16-16L47.98 192.1c0-8.836 7.164-16 16-16H160V128H63.99c-35.35 0-64 28.65-64 64l.0098 256C.002 483.3 28.66 512 64 512h192c35.2 0 64-28.8 64-64v-32h-47.1L272 448z"]},t.kZ=t.DF},95808:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"dash",icon:[512,512,["minus-large"],"e404","M512 256c0 13.25-10.75 24-24 24H24C10.75 280 0 269.3 0 256s10.75-24 24-24h464C501.3 232 512 242.8 512 256z"]},t.sZ=t.DF},57962:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M567.5 229.7C577.6 238.3 578.9 253.4 570.3 263.5C561.7 273.6 546.6 274.9 536.5 266.3L512 245.5V432C512 476.2 476.2 512 432 512H144C99.82 512 64 476.2 64 432V245.5L39.53 266.3C29.42 274.9 14.28 273.6 5.7 263.5C-2.875 253.4-1.634 238.3 8.473 229.7L272.5 5.7C281.4-1.9 294.6-1.9 303.5 5.7L567.5 229.7zM144 464H192V312C192 289.9 209.9 272 232 272H344C366.1 272 384 289.9 384 312V464H432C449.7 464 464 449.7 464 432V204.8L288 55.47L112 204.8V432C112 449.7 126.3 464 144 464V464zM240 464H336V320H240V464z"]},t.wp=t.DF},57770:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"image",icon:[512,512,[],"f03e","M152 120c-26.51 0-48 21.49-48 48s21.49 48 48 48s48-21.49 48-48S178.5 120 152 120zM447.1 32h-384C28.65 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM463.1 409.3l-136.8-185.9C323.8 218.8 318.1 216 312 216c-6.113 0-11.82 2.768-15.21 7.379l-106.6 144.1l-37.09-46.1c-3.441-4.279-8.934-6.809-14.77-6.809c-5.842 0-11.33 2.529-14.78 6.809l-75.52 93.81c0-.0293 0 .0293 0 0L47.99 96c0-8.822 7.178-16 16-16h384c8.822 0 16 7.178 16 16V409.3z"]},t.Vm=t.DF},39650:(e,t,r)=>{"use strict";var n=r(13718);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.sq=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},49592:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"lightbulb-on",icon:[640,512,[],"f672","M107.1 287.3L51.62 319.3c-7.5 4.125-12.25 12.13-12.38 20.88c0 8.625 4.625 16.63 12.13 21c7.625 4.25 16.87 4.125 24.25-.375l55.5-32c11.12-6.75 14.87-21.25 8.375-32.5C133 284.9 118.5 280.9 107.1 287.3zM131.1 55.25l-55.5-32c-7.375-4.5-16.62-4.625-24.25-.375c-7.5 4.375-12.13 12.38-12.13 21C39.37 52.63 44.12 60.63 51.62 64.75L107.1 96.75C114.5 101.3 123.8 101.4 131.4 97.13C138.9 92.75 143.5 84.75 143.5 76.13C143.4 67.38 138.6 59.38 131.1 55.25zM112 192c0-13.25-10.75-24-24-24h-64c-13.25 0-24 10.75-24 24s10.75 24 24 24h64C101.3 216 112 205.3 112 192zM521 100c4.125 0 8.25-1.125 12-3.25l55.38-32c11.25-6.75 14.88-21.25 8.375-32.5c-6.5-11.38-21-15.38-32.38-9L509 55.25c-9.5 5.375-14 16.5-11.25 27C500.6 92.75 510.1 100 521 100zM616 168h-64c-13.25 0-24 10.75-24 24s10.75 24 24 24h64c13.25 0 24-10.75 24-24S629.3 168 616 168zM588.4 319.3l-55.5-32c-7.375-4.5-16.62-4.625-24.25-.375c-7.5 4.375-12.12 12.38-12.12 21c.125 8.75 4.875 16.75 12.38 20.88l55.5 32c11.38 6.375 25.88 2.375 32.38-9C603.3 340.5 599.5 326 588.4 319.3zM320 .0036C218 .3239 144 82.98 144 175.1c0 44.38 16.4 84.82 43.52 115.8c16.53 18.84 42.36 58.26 52.24 91.48c.0313 .25 .0833 .4948 .1146 .7604l160.3 .0007c.0313-.2656 .0521-.4955 .0833-.7611c9.875-33.22 35.71-72.64 52.24-91.48C479.6 260.8 496 220.4 496 175.1C496 78.8 417.2 .0075 320 .0036zM416.4 260.1c-15.66 17.85-35.04 46.3-49.05 75.89h-94.61c-14.01-29.59-33.39-58.04-49.04-75.88C203.2 236.8 192 206.1 192 175.1C192 113.3 240.1 48.25 319.1 48C390.6 48 448 105.4 448 175.1C448 206.1 436.8 236.8 416.4 260.1zM240.1 454.4c0 6.297 1.89 12.43 5.359 17.68l17.09 25.69c5.25 7.875 17.18 14.28 26.65 14.28h61.72c9.438 0 21.38-6.395 26.63-14.27l17.09-25.69C397.6 467.6 400 459.7 400 454.4v-38.36l-159.9 .0048L240.1 454.4zM304 80C259.9 80 224 115.9 224 160c0 8.844 7.156 16.01 16 16.01S256 168.8 256 160c0-26.47 21.53-48 48-48c8.844 0 16-7.145 16-15.99S312.8 80 304 80z"]},t.cH=t.DF},73657:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M504.1 471l-134-134C399.1 301.5 415.1 256.8 415.1 208c0-114.9-93.13-208-208-208S-.0002 93.13-.0002 208S93.12 416 207.1 416c48.79 0 93.55-16.91 129-45.04l134 134C475.7 509.7 481.9 512 488 512s12.28-2.344 16.97-7.031C514.3 495.6 514.3 480.4 504.1 471zM48 208c0-88.22 71.78-160 160-160s160 71.78 160 160s-71.78 160-160 160S48 296.2 48 208z"]},t.Y$=t.DF},62361:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"star",icon:[576,512,[11088,61446],"f005","M287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0L287.9 0zM287.9 78.95L235.4 187.2C231.9 194.3 225.1 199.3 217.3 200.5L98.98 217.9L184.9 303C190.4 308.5 192.9 316.4 191.6 324.1L171.4 443.7L276.6 387.5C283.7 383.7 292.2 383.7 299.2 387.5L404.4 443.7L384.2 324.1C382.9 316.4 385.5 308.5 391 303L476.9 217.9L358.6 200.5C350.7 199.3 343.9 194.3 340.5 187.2L287.9 78.95z"]},t.T=t.DF},87819:(e,t)=>{"use strict";t.DF={prefix:"far",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M506.3 417l-213.3-364C284.8 39 270.4 32 256 32C241.6 32 227.2 39 218.1 53l-213.2 364C-10.59 444.9 9.851 480 42.74 480h426.6C502.1 480 522.6 445 506.3 417zM52.58 432L255.1 84.8L459.4 432H52.58zM256 337.1c-17.36 0-31.44 14.08-31.44 31.44c0 17.36 14.11 31.44 31.48 31.44s31.4-14.08 31.4-31.44C287.4 351.2 273.4 337.1 256 337.1zM232 184v96C232 293.3 242.8 304 256 304s24-10.75 24-24v-96C280 170.8 269.3 160 256 160S232 170.8 232 184z"]},t.ik=t.DF},58908:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},t.gc=t.DF},42519:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"angle-left",icon:[320,512,[8249],"f104","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]},t.Ey=t.DF},64863:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},t.yO=t.DF},50332:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"angle-up",icon:[448,512,[8963],"f106","M201.4 137.4c12.5-12.5 32.8-12.5 45.3 0l160 160c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L224 205.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l160-160z"]},t.on=t.DF},98472:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},t.O8=t.DF},42396:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"]},t.wl=t.DF},82491:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"bars-staggered",icon:[512,512,["reorder","stream"],"f550","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM64 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]},t.Lj=t.DF},19055:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"books",icon:[512,512,[128218],"f5db","M0 32C0 14.3 14.3 0 32 0H96c17.7 0 32 14.3 32 32V96H0V32zm0 96H128V384H0V128zM0 416H128v64c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V416zM160 32c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32V96H160V32zm0 96H288V384H160V128zm0 288H288v64c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V416zm203.6-19.9L320 232.6V142.8l100.4-26.9 66 247.4L363.6 396.1zM412.2 85L320 109.6V11l36.9-9.9c16.9-4.6 34.4 5.5 38.9 22.6L412.2 85zM371.8 427l122.8-32.9 16.3 61.1c4.5 17-5.5 34.5-22.5 39.1l-61.4 16.5c-16.9 4.6-34.4-5.5-38.9-22.6L371.8 427z"]},t.Kt=t.DF},31209:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"bug",icon:[512,512,[],"f188","M256 0c53 0 96 43 96 96v3.6c0 15.7-12.7 28.4-28.4 28.4H188.4c-15.7 0-28.4-12.7-28.4-28.4V96c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4H312c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6V240c0-8.8-7.2-16-16-16s-16 7.2-16 16V479.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96.3c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3z"]},t.QL=t.DF},55806:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"buildings",icon:[512,512,[],"e0cc","M256 0c-35.3 0-64 28.7-64 64v64H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H256 448c35.3 0 64-28.7 64-64V192 64c0-35.3-28.7-64-64-64H256zM64 304c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V304zm208 16c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272zm112-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H400c-8.8 0-16-7.2-16-16zM80 192h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V208c0-8.8 7.2-16 16-16zM256 80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V80zM400 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H400c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16zM256 208V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16zm144 16c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H400z"]},t.gj=t.DF},77392:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},t.eW=t.DF},84226:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},t.l1=t.DF},11730:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="chart-line",n=["line-chart"],o="f201",a="M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faChartLine=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},903:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"check",icon:[512,512,[10003,10004],"f00c","M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},t.LE=t.DF},90868:(e,t,r)=>{"use strict";var n=r(55904);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.f8=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},41778:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},t.pt=t.DF},75334:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"chevron-left",icon:[384,512,[9001],"f053","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]},t.A3=t.DF},64746:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"chevron-right",icon:[384,512,[9002],"f054","M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]},t._t=t.DF},55904:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-check",n=[61533,"check-circle"],o="f058",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faCircleCheck=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},6384:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-exclamation",n=["exclamation-circle"],o="f06a",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zm32 224c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faCircleExclamation=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},48079:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-info",n=["info-circle"],o="f05a",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faCircleInfo=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},3071:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="circle-question",n=[62108,"question-circle"],o="f059",a="M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faCircleQuestion=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},43270:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},t.WA=t.DF},45802:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"command",icon:[512,512,[],"e142","M0 96C0 43 43 0 96 0s96 43 96 96v32H320V96c0-53 43-96 96-96s96 43 96 96s-43 96-96 96H384V320h32c53 0 96 43 96 96s-43 96-96 96s-96-43-96-96V384H192v32c0 53-43 96-96 96s-96-43-96-96s43-96 96-96h32V192H96C43 192 0 149 0 96zm128 32V96c0-17.7-14.3-32-32-32S64 78.3 64 96s14.3 32 32 32h32zm64 192H320V192H192V320zm-64 64H96c-17.7 0-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32V384zm256 0v32c0 17.7 14.3 32 32 32s32-14.3 32-32s-14.3-32-32-32H384zm0-256h32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32v32z"]},t.AC=t.DF},73452:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"dash",icon:[512,512,["minus-large"],"e404","M0 256c0-17.7 14.3-32 32-32H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32z"]},t.sZ=t.DF},81783:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},t.q7=t.DF},53050:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zm0-160c30.9 0 56 25.1 56 56s-25.1 56-56 56s-56-25.1-56-56s25.1-56 56-56zM120 96c0 30.9-25.1 56-56 56S8 126.9 8 96S33.1 40 64 40s56 25.1 56 56z"]},t.Uw=t.DF},60956:(e,t,r)=>{"use strict";var n=r(6384);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.RL=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},82609:(e,t,r)=>{"use strict";var n=r(54854);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.eH=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},5094:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},t.Md=t.DF},73667:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]},t.Aq=t.DF},2534:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z"]},t.gM=t.DF},22178:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"file-csv",icon:[384,512,[],"f6dd","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM80 224H96c22.1 0 40 17.9 40 40v8c0 8.8-7.2 16-16 16s-16-7.2-16-16v-8c0-4.4-3.6-8-8-8H80c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8H96c4.4 0 8-3.6 8-8v-8c0-8.8 7.2-16 16-16s16 7.2 16 16v8c0 22.1-17.9 40-40 40H80c-22.1 0-40-17.9-40-40V264c0-22.1 17.9-40 40-40zm72 46.4c0-25.6 20.8-46.4 46.4-46.4H216c8.8 0 16 7.2 16 16s-7.2 16-16 16H198.4c-7.9 0-14.4 6.4-14.4 14.4c0 5.2 2.8 9.9 7.2 12.5l25.4 14.5c14.4 8.3 23.4 23.6 23.4 40.3c0 25.6-20.8 46.4-46.4 46.4H168c-8.8 0-16-7.2-16-16s7.2-16 16-16h25.6c7.9 0 14.4-6.4 14.4-14.4c0-5.2-2.8-9.9-7.2-12.5l-25.4-14.5C160.9 302.4 152 287 152 270.4zM280 240v31.6c0 23 5.5 45.6 16 66c10.5-20.3 16-42.9 16-66V240c0-8.8 7.2-16 16-16s16 7.2 16 16v31.6c0 34.7-10.3 68.7-29.6 97.6l-5.1 7.7c-3 4.5-8 7.1-13.3 7.1s-10.3-2.7-13.3-7.1l-5.1-7.7c-19.3-28.9-29.6-62.9-29.6-97.6V240c0-8.8 7.2-16 16-16s16 7.2 16 16z"]},t.fU=t.DF},72735:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"file-pdf",icon:[384,512,[],"f1c1","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32c0 8.8-7.2 16-16 16s-16-7.2-16-16V320 240c0-8.8 7.2-16 16-16zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-64c0-8.8 7.2-16 16-16h24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176c-8.8 0-16-7.2-16-16V240zm32 112h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v32h32c8.8 0 16 7.2 16 16s-7.2 16-16 16H304v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 240c0-8.8 7.2-16 16-16z"]},t.gS=t.DF},55247:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"file-powerpoint",icon:[384,512,[],"f1c4","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM136 240h68c42 0 76 34 76 76s-34 76-76 76H160v32c0 13.3-10.7 24-24 24s-24-10.7-24-24V368 264c0-13.3 10.7-24 24-24zm68 104c15.5 0 28-12.5 28-28s-12.5-28-28-28H160v56h44z"]},t.WO=t.DF},62227:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"folder-arrow-up",icon:[512,512,["folder-upload"],"e054","M512 416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H448c35.3 0 64 28.7 64 64V416zM280 376V273.9l31 31c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-72-72c-9.4-9.4-24.6-9.4-33.9 0l-72 72c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l31-31V376c0 13.3 10.7 24 24 24s24-10.7 24-24z"]},t.RR=t.DF},45886:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"folder-gear",icon:[512,512,["folder-cog"],"e187","M512 416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H448c35.3 0 64 28.7 64 64V416zM368.6 259.9c6.3-3.6 9.5-11.1 6.8-18c-2.1-5.5-4.6-10.8-7.4-15.9l-2.3-4c-3.1-5.1-6.5-9.9-10.2-14.5c-4.6-5.7-12.7-6.7-19-3L318.4 215c-8.9-7.6-19.1-13.6-30.4-17.6v-21c0-7.3-4.9-13.8-12.1-14.9c-6.5-1-13.1-1.5-19.9-1.5s-13.4 .5-19.9 1.5c-7.2 1.1-12.1 7.6-12.1 14.9v21c-11.2 4-21.5 10-30.4 17.6l-18.2-10.5c-6.3-3.6-14.4-2.6-19 3c-3.7 4.6-7.1 9.5-10.2 14.6l-2.3 3.9c-2.8 5.1-5.3 10.4-7.4 15.9c-2.6 6.8 .5 14.3 6.8 18l18.2 10.5c-1.1 5.7-1.6 11.6-1.6 17.6s.5 11.9 1.6 17.5l-18.2 10.5c-6.3 3.6-9.5 11.1-6.8 17.9c2.1 5.5 4.6 10.7 7.4 15.8l2.4 4.1c3.1 5.1 6.4 9.9 10.1 14.5c4.6 5.7 12.7 6.7 19 3L193.6 361c8.9 7.6 19.2 13.6 30.4 17.6v21c0 7.3 4.9 13.8 12.1 14.9c6.5 1 13.1 1.5 19.9 1.5s13.4-.5 19.9-1.5c7.2-1.1 12.1-7.6 12.1-14.9v-21c11.2-4 21.5-10 30.4-17.6l18.2 10.5c6.3 3.6 14.4 2.6 19-3c3.7-4.6 7.1-9.4 10.1-14.5l2.4-4.2c2.8-5.1 5.3-10.3 7.4-15.8c2.6-6.8-.5-14.3-6.8-17.9l-18.2-10.5c1-5.7 1.6-11.6 1.6-17.5s-.6-11.9-1.6-17.6l18.2-10.5zM296 288c0 22.1-17.9 40-40 40s-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40z"]},t.Yk=t.DF},9910:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"grid",icon:[448,512,["grid-3"],"e195","M0 72C0 49.9 17.9 32 40 32H88c22.1 0 40 17.9 40 40v48c0 22.1-17.9 40-40 40H40c-22.1 0-40-17.9-40-40V72zM0 232c0-22.1 17.9-40 40-40H88c22.1 0 40 17.9 40 40v48c0 22.1-17.9 40-40 40H40c-22.1 0-40-17.9-40-40V232zM128 392v48c0 22.1-17.9 40-40 40H40c-22.1 0-40-17.9-40-40V392c0-22.1 17.9-40 40-40H88c22.1 0 40 17.9 40 40zM160 72c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40v48c0 22.1-17.9 40-40 40H200c-22.1 0-40-17.9-40-40V72zM288 232v48c0 22.1-17.9 40-40 40H200c-22.1 0-40-17.9-40-40V232c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40zM160 392c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40v48c0 22.1-17.9 40-40 40H200c-22.1 0-40-17.9-40-40V392zM448 72v48c0 22.1-17.9 40-40 40H360c-22.1 0-40-17.9-40-40V72c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40zM320 232c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40v48c0 22.1-17.9 40-40 40H360c-22.1 0-40-17.9-40-40V232zM448 392v48c0 22.1-17.9 40-40 40H360c-22.1 0-40-17.9-40-40V392c0-22.1 17.9-40 40-40h48c22.1 0 40 17.9 40 40z"]},t.Vr=t.DF},31247:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"head-side-brain",icon:[512,512,[],"f808","M0 224.2C0 100.6 100.2 0 224 0h32c95.2 0 174.2 69.3 189.4 160.1c2.2 13 6.7 25.7 15 36.1l42 52.6c6.2 7.8 9.6 17.4 9.6 27.4c0 24.2-19.6 43.8-43.8 43.8H448v64c0 35.3-28.7 64-64 64H320v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V407.3c0-16.7-6.9-32.5-17.1-45.8C16.6 322.4 0 274.1 0 224.2zM285.3 208H336c26.5 0 48-21.5 48-48s-21.5-48-48-48c-.9 0-1.8 0-2.7 .1C326.7 93.4 308.9 80 288 80c-8.6 0-16.6 2.2-23.5 6.2C255.9 72.8 241 64 224 64s-31.9 8.8-40.5 22.2c-7-3.9-15-6.2-23.5-6.2c-26.5 0-48 21.5-48 48c-26.5 0-48 21.5-48 48c0 20.9 13.4 38.7 32.1 45.3c0 .9-.1 1.8-.1 2.7c0 26.5 21.5 48 48 48c5.6 0 11-1 16-2.7V288c0 17.7 14.3 32 32 32s32-14.3 32-32V269.3c5 1.8 10.4 2.7 16 2.7c26.5 0 48-21.5 48-48c0-5.6-1-11-2.7-16zM160 176v2.7l-.1 0c0-.9 .1-1.8 .1-2.7z"]},t.pc=t.DF},68266:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"image",icon:[512,512,[],"f03e","M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]},t.Vm=t.DF},14784:(e,t,r)=>{"use strict";var n=r(48079);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.sq=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},8780:(e,t,r)=>{"use strict";var n=r(11730);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.CC=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},56931:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]},t.by=t.DF},34690:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"memo",icon:[384,512,[],"e1d8","M0 64C0 28.7 28.7 0 64 0H320c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm64 80c0 8.8 7.2 16 16 16H304c8.8 0 16-7.2 16-16s-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm16 80c-8.8 0-16 7.2-16 16s7.2 16 16 16H304c8.8 0 16-7.2 16-16s-7.2-16-16-16H80zm0 96c-8.8 0-16 7.2-16 16s7.2 16 16 16H208c8.8 0 16-7.2 16-16s-7.2-16-16-16H80z"]},t.Oe=t.DF},55886:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"period",icon:[128,512,[],"2e","M128 416c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64z"]},t.Z$=t.DF},35067:(e,t,r)=>{"use strict";var n=r(3071);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.sp=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},91157:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},t.eD=t.DF},73848:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"shapes",icon:[512,512,["triangle-circle-square"],"f61f","M315.4 15.5C309.7 5.9 299.2 0 288 0s-21.7 5.9-27.4 15.5l-96 160c-5.9 9.9-6.1 22.2-.4 32.2s16.3 16.2 27.8 16.2H384c11.5 0 22.2-6.2 27.8-16.2s5.5-22.3-.4-32.2l-96-160zM288 312V456c0 22.1 17.9 40 40 40H472c22.1 0 40-17.9 40-40V312c0-22.1-17.9-40-40-40H328c-22.1 0-40 17.9-40 40zM128 512c70.7 0 128-57.3 128-128s-57.3-128-128-128S0 313.3 0 384s57.3 128 128 128z"]},t.K=t.DF},83332:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"share",icon:[512,512,["arrow-turn-right","mail-forward"],"f064","M307 34.8c-11.5 5.1-19 16.6-19 29.2v64H176C78.8 128 0 206.8 0 304C0 417.3 81.5 467.9 100.2 478.1c2.5 1.4 5.3 1.9 8.1 1.9c10.9 0 19.7-8.9 19.7-19.7c0-7.5-4.3-14.4-9.8-19.5C108.8 431.9 96 414.4 96 384c0-53 43-96 96-96h96v64c0 12.6 7.4 24.1 19 29.2s25 3 34.4-5.4l160-144c6.7-6.1 10.6-14.7 10.6-23.8s-3.8-17.7-10.6-23.8l-160-144c-9.4-8.5-22.9-10.6-34.4-5.4z"]},t.zB=t.DF},15941:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"sparkles",icon:[512,512,[10024],"f890","M327.5 85.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 128l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 128l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 64 426.8 7.5C425.1 3 420.8 0 416 0s-9.1 3-10.8 7.5L384 64 327.5 85.2zM205.1 73.3c-2.6-5.7-8.3-9.3-14.5-9.3s-11.9 3.6-14.5 9.3L123.3 187.3 9.3 240C3.6 242.6 0 248.3 0 254.6s3.6 11.9 9.3 14.5l114.1 52.7L176 435.8c2.6 5.7 8.3 9.3 14.5 9.3s11.9-3.6 14.5-9.3l52.7-114.1 114.1-52.7c5.7-2.6 9.3-8.3 9.3-14.5s-3.6-11.9-9.3-14.5L257.8 187.4 205.1 73.3zM384 384l-56.5 21.2c-4.5 1.7-7.5 6-7.5 10.8s3 9.1 7.5 10.8L384 448l21.2 56.5c1.7 4.5 6 7.5 10.8 7.5s9.1-3 10.8-7.5L448 448l56.5-21.2c4.5-1.7 7.5-6 7.5-10.8s-3-9.1-7.5-10.8L448 384l-21.2-56.5c-1.7-4.5-6-7.5-10.8-7.5s-9.1 3-10.8 7.5L384 384z"]},t.Jy=t.DF},95176:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"spinner-third",icon:[512,512,[],"f3f4","M256 0c-17.7 0-32 14.3-32 32s14.3 32 32 32V0zM422.3 352c-8.9 15.3-3.6 34.9 11.7 43.7s34.9 3.6 43.7-11.7L422.3 352zM256 64c106 0 192 86 192 192h64C512 114.6 397.4 0 256 0V64zM448 256c0 35-9.4 67.8-25.7 96L477.7 384c21.8-37.7 34.3-81.5 34.3-128H448z"]},t.AX=t.DF},82278:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},t.pL=t.DF},84887:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"star",icon:[576,512,[11088,61446],"f005","M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.7 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z"]},t.T=t.DF},48614:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]},t.B3=t.DF},14165:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"thumbs-down",icon:[512,512,[128078,61576],"f165","M313.4 479.1c26-5.2 42.9-30.5 37.7-56.5l-2.3-11.4c-5.3-26.7-15.1-52.1-28.8-75.2H464c26.5 0 48-21.5 48-48c0-25.3-19.5-46-44.3-47.9c7.7-8.5 12.3-19.8 12.3-32.1c0-23.4-16.8-42.9-38.9-47.1c4.4-7.3 6.9-15.8 6.9-24.9c0-21.3-13.9-39.4-33.1-45.6c.7-3.3 1.1-6.8 1.1-10.4c0-26.5-21.5-48-48-48H294.5c-19 0-37.5 5.6-53.3 16.1L202.7 73.8C176 91.6 160 121.6 160 153.7V192v48 24.9c0 29.2 13.3 56.7 36 75l7.4 5.9c26.5 21.2 44.6 51 51.2 84.2l2.3 11.4c5.2 26 30.5 42.9 56.5 37.7zM32 320H96c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32H32C14.3 32 0 46.3 0 64V288c0 17.7 14.3 32 32 32z"]},t.b=t.DF},23390:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"thumbs-up",icon:[512,512,[128077,61575],"f164","M313.4 32.9c26 5.2 42.9 30.5 37.7 56.5l-2.3 11.4c-5.3 26.7-15.1 52.1-28.8 75.2H464c26.5 0 48 21.5 48 48c0 25.3-19.5 46-44.3 47.9c7.7 8.5 12.3 19.8 12.3 32.1c0 23.4-16.8 42.9-38.9 47.1c4.4 7.2 6.9 15.8 6.9 24.9c0 21.3-13.9 39.4-33.1 45.6c.7 3.3 1.1 6.8 1.1 10.4c0 26.5-21.5 48-48 48H294.5c-19 0-37.5-5.6-53.3-16.1l-38.5-25.7C176 420.4 160 390.4 160 358.3V320 272 247.1c0-29.2 13.3-56.7 36-75l7.4-5.9c26.5-21.2 44.6-51 51.2-84.2l2.3-11.4c5.2-26 30.5-42.9 56.5-37.7zM32 192H96c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32V224c0-17.7 14.3-32 32-32z"]},t.u8=t.DF},91022:(e,t,r)=>{"use strict";var n=r(79066);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.NB=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},54854:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="triangle-exclamation",n=[9888,"exclamation-triangle","warning"],o="f071",a="M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z";t.definition={prefix:"fas",iconName:r,icon:[512,512,n,o,a]},t.faTriangleExclamation=t.definition,t.prefix="fas",t.iconName=r,t.width=512,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},36351:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]},t.IL=t.DF},69091:(e,t)=>{"use strict";t.DF={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},t.FV=t.DF},79066:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="xmark",n=[128473,10005,10006,10060,215,"close","multiply","remove","times"],o="f00d",a="M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z";t.definition={prefix:"fas",iconName:r,icon:[320,512,n,o,a]},t.faXmark=t.definition,t.prefix="fas",t.iconName=r,t.width=320,t.height=512,t.ligatures=n,t.unicode=o,t.svgPathData=a,t.aliases=n},20354:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"award",icon:[384,512,[],"f559","M192 0l43.7 28.8L288 25.7l23.5 46.8L358.3 96l-3.1 52.3L384 192l-28.8 43.7 3.1 52.3-46.8 23.5L288 358.3l-52.3-3.1L192 384l-43.7-28.8L96 358.3 72.5 311.5 25.7 288l3.1-52.3L0 192l28.8-43.7L25.7 96 72.5 72.5 96 25.7l52.3 3.1L192 0zm80 192c0-44.2-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80s80-35.8 80-80zM0 456L49.8 337.6l17.6 35 9.4 18.8 21-1.2 41.7-2.4 31.9 21L128 512 75.8 456H0zm256 56L212.5 408.8l31.9-21 41.7 2.4 21 1.2 9.4-18.8 17.6-35L384 456H308.2L256 512z"]},t.O7=t.DF},10670:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"badge-check",icon:[512,512,[],"f336","M256 0c36.8 0 68.8 20.7 84.9 51.1C373.8 41 411 49 437 75s34 63.3 23.9 96.1C491.3 187.2 512 219.2 512 256s-20.7 68.8-51.1 84.9C471 373.8 463 411 437 437s-63.3 34-96.1 23.9C324.8 491.3 292.8 512 256 512s-68.8-20.7-84.9-51.1C138.2 471 101 463 75 437s-34-63.3-23.9-96.1C20.7 324.8 0 292.8 0 256s20.7-68.8 51.1-84.9C41 138.2 49 101 75 75s63.3-34 96.1-23.9C187.2 20.7 219.2 0 256 0zm97 225l17-17L336 174.1l-17 17-95 95-39-39-17-17L134.1 264l17 17 56 56 17 17 17-17L353 225z"]},t.fi=t.DF},40320:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 64H448v64H0V64zM0 224H448v64H0V224zM448 384v64H0V384H448z"]},t.xi=t.DF},70287:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"boxes-stacked",icon:[576,512,[62625,"boxes","boxes-alt"],"f468","M248 0H160V224H416V0H328V96H248V0zM104 256H0V512H288V256H184v96H104V256zM576 512V256H472v96H392V256H320V512H576z"]},t.Hf=t.DF},59945:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"buildings",icon:[512,512,[],"e0cc","M512 0H192V128H0V512H192 512V128 0zM64 288h64v64H64V288zm256 32H256V256h64v64zm64 0V256h64v64H384zM128 192v64H64V192h64zM256 64h64v64H256V64zm192 0v64H384V64h64zM256 224V160h64v64H256zm192 0H384V160h64v64z"]},t.gj=t.DF},58839:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"chart-column",icon:[512,512,[],"e0e3","M64 32V64 416H480h32v64H480 32 0V448 64 32H64zM192 224v32 64 32H128V320 256 224h64zm96-64V320v32H224V320 160 128h64v32zm96 32v32 96 32H320V320 224 192h64zm96-96V320v32H416V320 96 64h64V96z"]},t.M=t.DF},94118:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64V32H0V64 448v32H32 480h32V416H480 64V64zM342.6 278.6l128-128-45.3-45.3L320 210.7l-57.4-57.4L240 130.7l-22.6 22.6-112 112 45.3 45.3L240 221.3l57.4 57.4L320 301.3l22.6-22.6z"]},t.St=t.DF},87216:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"chart-scatter",icon:[512,512,[],"f7ee","M64 64V32H0V64 448v32H32 480h32V416H480 64V64zm160 64H160v64h64V128zM192 288H128v64h64V288zm128-64H256v64h64V224zm32 128h64V288H352v64zM448 96H384v64h64V96z"]},t.Pd=t.DF},71233:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"chart-tree-map",icon:[512,512,[],"e0ea","M0 32H224V240H0V32zM0 272H224V480H0V272zM512 32V160H256V32H512zM256 192H512V320H256V192zM512 352V480H256V352H512z"]},t.E_=t.DF},97095:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"diamond-exclamation",icon:[512,512,[],"e405","M256 0L0 256 256 512 512 256 256 0zm24 128v24V264v24H232V264 152 128h48zM232 368V320h48v48H232z"]},t.kb=t.DF},97798:(e,t,r)=>{"use strict";var n=r(15998);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.Uv=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},15998:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="fass",n="earth-americas",o=[127758,"earth","earth-america","globe-americas"],a="f57d",i="M55.7 199.7L96 240h48l48 48v64l32 32v64h64V400l64-64V256H224l-32-32V192h80V160l-32-32V112l32-32V48.6c-5.3-.4-10.6-.6-16-.6C160.6 48 80.3 112.2 55.7 199.7zM464 256c0-36.9-9.6-71.5-26.4-101.6L400 192v80h63.4c.4-5.3 .6-10.6 .6-16zm48 0c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z";t.definition={prefix:r,iconName:n,icon:[512,512,o,a,i]},t.faEarthAmericas=t.definition,t.prefix=r,t.iconName=n,t.width=512,t.height=512,t.ligatures=o,t.unicode=a,t.svgPathData=i,t.aliases=o},95802:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"file-pdf",icon:[384,512,[],"f1c1","M224 0H0V512H384V160H224V0zm32 0V128H384L256 0zM64 224H88c30.9 0 56 25.1 56 56s-25.1 56-56 56H80v32 16H48V368 320 240 224H64zm24 80c13.3 0 24-10.7 24-24s-10.7-24-24-24H80v48h8zm72-80h16 24c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H176 160V368 240 224zm32 128h8c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16h-8v96zm96-128h48 16v32H336 304v32h32 16v32H336 304v48 16H272V368 304 240 224h16z"]},t.gS=t.DF},55730:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"file-powerpoint",icon:[384,512,[],"f1c4","M224 0H0V512H384V160H224V0zm32 0V128H384L256 0zM136 240h68c42 0 76 34 76 76s-34 76-76 76H160v32 24H112V424 368 264 240h24zm68 104c15.5 0 28-12.5 28-28s-12.5-28-28-28H160v56h44z"]},t.WO=t.DF},58788:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"flask",icon:[448,512,[],"f0c3","M288 0H160 128 96V64h32V214.9L4.7 415.2 0 422.9V432v48 32H32 416h32V480 432v-9.1l-4.7-7.7L320 214.9V64h32V0H320 288zM192 224V64h64V224v9.1l4.7 7.7L309.5 320h-171l48.8-79.2 4.7-7.7V224z"]},t.jZ=t.DF},37358:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"gauge",icon:[512,512,["dashboard","gauge-med","tachometer-alt-average"],"f624","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM320 352c0-26.9-16.5-49.9-40-59.3V88 64H232V88 292.7c-23.5 9.5-40 32.5-40 59.3c0 35.3 28.7 64 64 64s64-28.7 64-64zM144 176c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm-16 80c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zm288 32c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zM400 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},t.Iz=t.DF},92749:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"handshake-simple",icon:[640,512,[129309,"handshake-alt"],"f4c6","M298.8 64H224l-96 64H0V352H156.2l73.9 67.4 35.4 32.4 47.7-52.2 22.3 20.5 35.4 32.4 44.8-48.9 35.2 32.2 64.9-70.8-35.4-32.4-134.2-123-96.4 75-13 10.1-9.7-13.4-64-88-8.9-12.3 11.8-9.6L298.8 64zm74.1 124.9L550.2 352H640V128H592 516h-4-.7l-3.9-2.5L411.3 64H349.7L197.9 186.9l45.3 62.3 131-101.9 12.6-9.8 19.6 25.3-12.6 9.8-20.9 16.2z"]},t.uK=t.DF},77172:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"image",icon:[512,512,[],"f03e","M0 32H512V480H0V32zM323.5 202.1L304 174.7l-19.5 27.3L196.2 325.6l-26.3-29.6L152 275.9l-17.9 20.2-64 72L64 374.9V384v8 24H88h72 24 32 24H424h24V392v-8-7.7l-4.5-6.3-120-168zM112 192c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48z"]},t.Vm=t.DF},27516:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M580.2 267.3c56.2-56.2 56.2-147.4 0-203.6S432.8 7.4 376.6 63.7L365.3 75l45.3 45.3 11.3-11.3c31.2-31.2 81.9-31.2 113.1 0s31.2 81.9 0 113.1L421.8 335.2c-31.2 31.2-81.9 31.2-113.1 0c-25.6-25.6-30.3-64.3-13.8-94.6c1.8-3.4 3.9-6.7 6.3-9.8l-51.2-38.4c-4.3 5.7-8.1 11.6-11.4 17.8c-29.5 54.6-21.3 124.2 24.9 170.3c56.2 56.2 147.4 56.2 203.6 0L580.2 267.3zM59.8 244.7c-56.2 56.2-56.2 147.4 0 203.6s147.4 56.2 203.6 0L274.7 437l-45.3-45.3-11.3 11.3c-31.2 31.2-81.9 31.2-113.1 0s-31.2-81.9 0-113.1L218.2 176.8c31.2-31.2 81.9-31.2 113.1 0c25.6 25.6 30.3 64.3 13.8 94.6c-1.8 3.4-3.9 6.7-6.3 9.8l51.2 38.4c4.3-5.7 8.1-11.6 11.4-17.8c29.5-54.6 21.3-124.2-24.9-170.3c-56.2-56.2-147.4-56.2-203.6 0L59.8 244.7z"]},t.nN=t.DF},98693:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"people",icon:[640,512,[],"e216","M160 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-51.1 32H91.4L82 142.8 .2 270.8l53.9 34.4 33.8-53V480v32h64V480 352h16V480v32h64V480 252.2l33.8 53 53.9-34.4L238 142.8 228.6 128H211.1 108.9zM480 96c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm-51.1 32H411.4l-9.4 14.8-81.7 128 53.9 34.4 42-65.8L368 384h40v96 32h64V480 384h16v96 32h64V480 384h40L543.8 239.4l42 65.8 53.9-34.4L558 142.8 548.6 128H531.1 428.9z"]},t.L6=t.DF},55537:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"share",icon:[512,512,["arrow-turn-right","mail-forward"],"f064","M512 208L320 384H288V288H208c-61.9 0-112 50.1-112 112c0 48 32 80 32 80s-128-48-128-176c0-97.2 78.8-176 176-176H288V32h32L512 208z"]},t.zB=t.DF},82482:(e,t,r)=>{"use strict";var n=r(20586);t.DF={prefix:n.prefix,iconName:n.iconName,icon:[n.width,n.height,n.aliases,n.unicode,n.svgPathData]},t.NB=t.DF,n.prefix,n.iconName,n.width,n.height,n.aliases,n.unicode,n.svgPathData,n.aliases},61359:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32L0 480H512L256 32zm24 160v24V328v24H232V328 216 192h48zM232 384h48v48H232V384z"]},t.ik=t.DF},77034:(e,t)=>{"use strict";t.DF={prefix:"fass",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM48 192H196c-2.6 10.2-4 21-4 32c0 38.2 16.8 72.5 43.3 96H0L48 192zM640 320H404.7c26.6-23.5 43.3-57.8 43.3-96c0-11-1.4-21.8-4-32H592l48 128zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zm48 128l48 160H128l48-160H464z"]},t.FV=t.DF},20586:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="fass",n="xmark",o=[128473,10005,10006,10060,215,"close","multiply","remove","times"],a="f00d",i="M294.6 166.6L317.3 144 272 98.7l-22.6 22.6L160 210.7 70.6 121.4 48 98.7 2.7 144l22.6 22.6L114.7 256 25.4 345.4 2.7 368 48 413.3l22.6-22.6L160 301.3l89.4 89.4L272 413.3 317.3 368l-22.6-22.6L205.3 256l89.4-89.4z";t.definition={prefix:r,iconName:n,icon:[320,512,o,a,i]},t.faXmark=t.definition,t.prefix=r,t.iconName=n,t.width=320,t.height=512,t.ligatures=o,t.unicode=a,t.svgPathData=i,t.aliases=o},43891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:l},d)},u),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},63266:(e,t,r)=>{e.exports=r(86227)},96122:(e,t,r)=>{"use strict";var n=r(3179),o=r(59632),a=r(80389),i=r(47743),s=r(31660),l=r(44203),c=r(51230),d=r(84036),u=r(18238),A=r(80820),g=r(43249);e.exports=function(e){return new Promise((function(t,r){var f,p=e.data,h=e.headers,b=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(p)&&n.isStandardBrowserEnv()&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(y+":"+w)}var C=s(e.baseURL,e.url);function x(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,a={data:b&&"text"!==b&&"json"!==b?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),m()}),(function(e){r(e),m()}),a),v=null}}if(v.open(e.method.toUpperCase(),i(C,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(x)},v.onabort=function(){v&&(r(new u("Request aborted",u.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new u("Network Error",u.ERR_NETWORK,e,v,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new u(t,n.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,e,v)),v=null},n.isStandardBrowserEnv()){var k=(e.withCredentials||c(C))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;k&&(h[e.xsrfHeaderName]=k)}"setRequestHeader"in v&&n.forEach(h,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),b&&"json"!==b&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){v&&(r(!e||e&&e.type?new A:e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),p||(p=null);var S=g(C);S&&-1===["http","https","file"].indexOf(S)?r(new u("Unsupported protocol "+S+":",u.ERR_BAD_REQUEST,e)):v.send(p)}))}},86227:(e,t,r)=>{"use strict";var n=r(3179),o=r(97749),a=r(34989),i=r(36300),s=function e(t){var r=new a(t),s=o(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(i(t,r))},s}(r(83454));s.Axios=a,s.CanceledError=r(80820),s.CancelToken=r(33502),s.isCancel=r(1561),s.VERSION=r(82839).version,s.toFormData=r(34324),s.AxiosError=r(18238),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(85320),s.isAxiosError=r(88236),e.exports=s,e.exports.default=s},33502:(e,t,r)=>{"use strict";var n=r(80820);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t{"use strict";var n=r(18238);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(3179).inherits(o,n,{__CANCEL__:!0}),e.exports=o},1561:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},34989:(e,t,r)=>{"use strict";var n=r(3179),o=r(47743),a=r(14930),i=r(72055),s=r(36300),l=r(31660),c=r(12080),d=c.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var u=[i,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(l),a=Promise.resolve(t);u.length;)a=a.then(u.shift(),u.shift());return a}for(var A=t;n.length;){var g=n.shift(),f=n.shift();try{A=g(A)}catch(e){f(e);break}}try{a=i(A)}catch(e){return Promise.reject(e)}for(;l.length;)a=a.then(l.shift(),l.shift());return a},u.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}u.prototype[e]=t(),u.prototype[e+"Form"]=t(!0)})),e.exports=u},18238:(e,t,r)=>{"use strict";var n=r(3179);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=o.prototype,i={};["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"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(o,i),Object.defineProperty(a,"isAxiosError",{value:!0}),o.from=function(e,t,r,i,s,l){var c=Object.create(a);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,i,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=o},14930:(e,t,r)=>{"use strict";var n=r(3179);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},31660:(e,t,r)=>{"use strict";var n=r(36195),o=r(91416);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},72055:(e,t,r)=>{"use strict";var n=r(3179),o=r(48767),a=r(1561),i=r(83454),s=r(80820);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},36300:(e,t,r)=>{"use strict";var n=r(3179);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function i(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||a,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},59632:(e,t,r)=>{"use strict";var n=r(18238);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},48767:(e,t,r)=>{"use strict";var n=r(3179),o=r(83454);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},83454:(e,t,r)=>{"use strict";var n=r(3179),o=r(39159),a=r(18238),i=r(84036),s=r(34324),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,u={transitional:i,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=r(96122)),d),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,a=n.isObject(e),i=t&&t["Content-Type"];if((r=n.isFileList(e))||a&&"multipart/form-data"===i){var l=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,l&&new l)}return a||"application/json"===i?(c(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.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:r(9074)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(l)})),e.exports=u},84036:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},82839:e=>{e.exports={version:"0.27.2"}},97749:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(3179);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},91416:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},80389:(e,t,r)=>{"use strict";var n=r(3179);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},36195:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},88236:(e,t,r)=>{"use strict";var n=r(3179);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},51230:(e,t,r)=>{"use strict";var n=r(3179);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},39159:(e,t,r)=>{"use strict";var n=r(3179);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},9074:e=>{e.exports=null},44203:(e,t,r)=>{"use strict";var n=r(3179),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},43249:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},85320:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},34324:(e,t,r)=>{"use strict";var n=r(3179);e.exports=function(e,t){t=t||new FormData;var r=[];function o(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(a,i){if(n.isPlainObject(a)||n.isArray(a)){if(-1!==r.indexOf(a))throw Error("Circular reference detected in "+i);r.push(a),n.forEach(a,(function(r,a){if(!n.isUndefined(r)){var s,l=i?i+"."+a:a;if(r&&!i&&"object"==typeof r)if(n.endsWith(a,"{}"))r=JSON.stringify(r);else if(n.endsWith(a,"[]")&&(s=n.toArray(r)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,o(e))}));e(r,l)}})),r.pop()}else t.append(i,o(a))}(e),t}},12080:(e,t,r)=>{"use strict";var n=r(82839).version,o=r(18238),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(a(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!i[n]&&(i[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var i=n[a],s=t[i];if(s){var l=e[i],c=void 0===l||s(l,i,e);if(!0!==c)throw new o("option "+i+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+i,o.ERR_BAD_OPTION)}},validators:a}},3179:(e,t,r)=>{"use strict";var n,o=r(97749),a=Object.prototype.toString,i=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return i(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var d=s("ArrayBuffer");function u(e){return null!==e&&"object"==typeof e}function A(e){if("object"!==i(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var g=s("Date"),f=s("File"),p=s("Blob"),h=s("FileList");function b(e){return"[object Function]"===a.call(e)}var m=s("URLSearchParams");function v(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var r=0,n=e.length;r0;)i[a=n[o]]||(t[a]=e[a],i[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:w,isFileList:h}},86594:(e,t,r)=>{"use strict";var n=r(67294);t.Z=function(e,t){var r=n.useRef((function(){}));n.useEffect((function(){r.current=e})),n.useEffect((function(){if(null!==t){var e=setInterval((function(){return r.current()}),t||0);return function(){return clearInterval(e)}}}),[t])}},19092:(e,t,r)=>{"use strict";var n=r(67294),o=function(e,t){return"boolean"==typeof t?t:!e};t.Z=function(e){return n.useReducer(o,e)}},97256:(e,t,r)=>{e.exports=r(50762)},90077:(e,t,r)=>{"use strict";var n=r(21157),o=r(959),a=r(10521),i=r(75491),s=r(65596),l=r(63719),c=r(82395),d=r(69732),u=r(45856),A=r(63108),g=r(63101);e.exports=function(e){return new Promise((function(t,r){var f,p=e.data,h=e.headers,b=e.responseType;function m(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(p)&&n.isStandardBrowserEnv()&&delete h["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";h.Authorization="Basic "+btoa(y+":"+w)}var C=s(e.baseURL,e.url);function x(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,a={data:b&&"text"!==b&&"json"!==b?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),m()}),(function(e){r(e),m()}),a),v=null}}if(v.open(e.method.toUpperCase(),i(C,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=x:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(x)},v.onabort=function(){v&&(r(new u("Request aborted",u.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new u("Network Error",u.ERR_NETWORK,e,v,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new u(t,n.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,e,v)),v=null},n.isStandardBrowserEnv()){var k=(e.withCredentials||c(C))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;k&&(h[e.xsrfHeaderName]=k)}"setRequestHeader"in v&&n.forEach(h,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete h[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),b&&"json"!==b&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){v&&(r(!e||e&&e.type?new A:e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),p||(p=null);var S=g(C);S&&-1===["http","https","file"].indexOf(S)?r(new u("Unsupported protocol "+S+":",u.ERR_BAD_REQUEST,e)):v.send(p)}))}},50762:(e,t,r)=>{"use strict";var n=r(21157),o=r(33958),a=r(82027),i=r(42196),s=function e(t){var r=new a(t),s=o(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(i(t,r))},s}(r(63499));s.Axios=a,s.CanceledError=r(63108),s.CancelToken=r(1266),s.isCancel=r(30836),s.VERSION=r(51369).version,s.toFormData=r(42045),s.AxiosError=r(45856),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(80354),s.isAxiosError=r(86247),e.exports=s,e.exports.default=s},1266:(e,t,r)=>{"use strict";var n=r(63108);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t{"use strict";var n=r(45856);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(21157).inherits(o,n,{__CANCEL__:!0}),e.exports=o},30836:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},82027:(e,t,r)=>{"use strict";var n=r(21157),o=r(75491),a=r(46053),i=r(75108),s=r(42196),l=r(65596),c=r(77858),d=c.validators;function u(e){this.defaults=e,this.interceptors={request:new a,response:new a}}u.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:d.transitional(d.boolean),forcedJSONParsing:d.transitional(d.boolean),clarifyTimeoutError:d.transitional(d.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,l=[];if(this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)})),!o){var u=[i,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(l),a=Promise.resolve(t);u.length;)a=a.then(u.shift(),u.shift());return a}for(var A=t;n.length;){var g=n.shift(),f=n.shift();try{A=g(A)}catch(e){f(e);break}}try{a=i(A)}catch(e){return Promise.reject(e)}for(;l.length;)a=a.then(l.shift(),l.shift());return a},u.prototype.getUri=function(e){e=s(this.defaults,e);var t=l(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}u.prototype[e]=t(),u.prototype[e+"Form"]=t(!0)})),e.exports=u},45856:(e,t,r)=>{"use strict";var n=r(21157);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var a=o.prototype,i={};["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"].forEach((function(e){i[e]={value:e}})),Object.defineProperties(o,i),Object.defineProperty(a,"isAxiosError",{value:!0}),o.from=function(e,t,r,i,s,l){var c=Object.create(a);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,i,s),c.name=e.name,l&&Object.assign(c,l),c},e.exports=o},46053:(e,t,r)=>{"use strict";var n=r(21157);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},65596:(e,t,r)=>{"use strict";var n=r(99918),o=r(15053);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},75108:(e,t,r)=>{"use strict";var n=r(21157),o=r(91065),a=r(30836),i=r(63499),s=r(63108);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},42196:(e,t,r)=>{"use strict";var n=r(21157);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function i(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||a,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},959:(e,t,r)=>{"use strict";var n=r(45856);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},91065:(e,t,r)=>{"use strict";var n=r(21157),o=r(63499);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},63499:(e,t,r)=>{"use strict";var n=r(21157),o=r(87039),a=r(45856),i=r(69732),s=r(42045),l={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var d,u={transitional:i,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(d=r(90077)),d),transformRequest:[function(e,t){if(o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e))return e;if(n.isArrayBufferView(e))return e.buffer;if(n.isURLSearchParams(e))return c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,a=n.isObject(e),i=t&&t["Content-Type"];if((r=n.isFileList(e))||a&&"multipart/form-data"===i){var l=this.env&&this.env.FormData;return s(r?{"files[]":e}:e,l&&new l)}return a||"application/json"===i?(c(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||u.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.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:r(52136)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(l)})),e.exports=u},69732:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},51369:e=>{e.exports={version:"0.27.2"}},33958:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(21157);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},15053:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},10521:(e,t,r)=>{"use strict";var n=r(21157);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},99918:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},86247:(e,t,r)=>{"use strict";var n=r(21157);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},82395:(e,t,r)=>{"use strict";var n=r(21157);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},87039:(e,t,r)=>{"use strict";var n=r(21157);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},52136:e=>{e.exports=null},63719:(e,t,r)=>{"use strict";var n=r(21157),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},63101:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},80354:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},42045:(e,t,r)=>{"use strict";var n=r(21157);e.exports=function(e,t){t=t||new FormData;var r=[];function o(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(a,i){if(n.isPlainObject(a)||n.isArray(a)){if(-1!==r.indexOf(a))throw Error("Circular reference detected in "+i);r.push(a),n.forEach(a,(function(r,a){if(!n.isUndefined(r)){var s,l=i?i+"."+a:a;if(r&&!i&&"object"==typeof r)if(n.endsWith(a,"{}"))r=JSON.stringify(r);else if(n.endsWith(a,"[]")&&(s=n.toArray(r)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,o(e))}));e(r,l)}})),r.pop()}else t.append(i,o(a))}(e),t}},77858:(e,t,r)=>{"use strict";var n=r(51369).version,o=r(45856),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(a(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!i[n]&&(i[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var i=n[a],s=t[i];if(s){var l=e[i],c=void 0===l||s(l,i,e);if(!0!==c)throw new o("option "+i+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+i,o.ERR_BAD_OPTION)}},validators:a}},21157:(e,t,r)=>{"use strict";var n,o=r(33958),a=Object.prototype.toString,i=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return i(t)===e}}function l(e){return Array.isArray(e)}function c(e){return void 0===e}var d=s("ArrayBuffer");function u(e){return null!==e&&"object"==typeof e}function A(e){if("object"!==i(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var g=s("Date"),f=s("File"),p=s("Blob"),h=s("FileList");function b(e){return"[object Function]"===a.call(e)}var m=s("URLSearchParams");function v(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var r=0,n=e.length;r0;)i[a=n[o]]||(t[a]=e[a],i[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:w,isFileList:h}},51075:(e,t,r)=>{"use strict";var n=r(74331),o=Object.prototype.toString,a="function"==typeof Array.isArray?Array.isArray:function(e){return"[object Array]"===o.call(e)},i=function(e,t){for(var r=0;r{"use strict";var t=Object.prototype.hasOwnProperty,r=String.prototype.charAt,n=Object.prototype.toString,o=function(e,t){return r.call(e,t)},a=function(e,r){return t.call(e,r)},i=function(e,t){t=t||a;for(var r=[],n=0,o=e.length;n{"use strict";var n=r(51075);e.exports=function(e,t){if("function"!=typeof e)throw new TypeError("Expected a function but received a "+typeof e);var r=[];return n((function(t,n,o){r.push(e(t,n,o))}),t),r}},28235:e=>{e.exports=function(e){var t;return""+"(function(){\n\n // Create a queue, but don't obliterate an existing one!\n var analytics = window.analytics = window.analytics || [];\n\n // If the real analytics.js is already on the page return.\n if (analytics.initialize) return;\n\n // If the snippet was invoked already show an error.\n if (analytics.invoked) {\n if (window.console && console.error) {\n console.error('Segment snippet included twice.');\n }\n return;\n }\n\n // Invoked flag, to make sure the snippet\n // is never invoked twice.\n analytics.invoked = true;\n\n // A list of the methods in Analytics.js to stub.\n analytics.methods = [\n 'trackSubmit',\n 'trackClick',\n 'trackLink',\n 'trackForm',\n 'pageview',\n 'identify',\n 'reset',\n 'group',\n 'track',\n 'ready',\n 'alias',\n 'debug',\n 'page',\n 'once',\n 'off',\n 'on',\n 'addSourceMiddleware',\n 'addIntegrationMiddleware',\n 'setAnonymousId',\n 'addDestinationMiddleware'\n ];\n\n // Define a factory to create stubs. These are placeholders\n // for methods in Analytics.js so that you never have to wait\n // for it to load to actually record data. The `method` is\n // stored as the first argument, so we can replay the data.\n analytics.factory = function(method){\n return function(){\n var args = Array.prototype.slice.call(arguments);\n args.unshift(method);\n analytics.push(args);\n return analytics;\n };\n };\n\n // For each of our methods, generate a queueing stub.\n for (var i = 0; i < analytics.methods.length; i++) {\n var key = analytics.methods[i];\n analytics[key] = analytics.factory(key);\n }\n\n // Define a method to load Analytics.js from our CDN,\n // and that will be sure to only ever load it once.\n analytics.load = function(key, options){\n // Create an async script element based on your key.\n var script = document.createElement('script');\n script.type = 'text/javascript';\n script.async = true;\n script.src = \"https://"+(null==(t=e.host)?"":t)+(null==(t=e.ajsPath)?"":t)+"\";\n\n // Insert our script next to the first script element.\n var first = document.getElementsByTagName('script')[0];\n first.parentNode.insertBefore(script, first);\n analytics._loadOptions = options;\n };\n analytics._writeKey = '"+(null==(t=e.apiKey)?"":t)+"';\n\n "+(null==(t=e.optionalCDN)?"":t)+"\n\n // Add a version to keep track of what's in the wild.\n analytics.SNIPPET_VERSION = '4.15.3';\n\n // Load Analytics.js with your key, which will automatically\n // load the tools you've enabled for your account. Boosh!\n "+(null==(t=e.load)?"":t)+"\n\n // Make the first page call to load the integrations. If\n // you'd like to manually name or tag the page, edit or\n // move this call however you'd like.\n "+(null==(t=e.page)?"":t)+"\n})();\n"}},35334:e=>{e.exports=function(e){var t;return""+'!function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e{"use strict";var n=r(48580),o=(r(28235),r(35334)),a=Object.prototype.hasOwnProperty;t.V=function(e){var t=function(e){return e||(e={}),e.apiKey||(e.apiKey="YOUR_API_KEY"),e.host||(e.host="cdn.segment.com"),e.ajsPath||(e.ajsPath='/analytics.js/v1/" + key + "/analytics.min.js'),e.useHostForBundles||(e.useHostForBundles=!1),a.call(e,"page")||(e.page=!0),a.call(e,"load")||(e.load=!0),e}(e);return t.load=function(e){if(!e.load)return"";if("boolean"!=typeof e.load){var t=JSON.stringify(e.load);return'analytics.load("'+e.apiKey+'", '+t+");"}return'analytics.load("'+e.apiKey+'");'}(t),t.page=function(e){if(!e)return"";var t=[];return e.category&&t.push(e.category),e.name&&t.push(e.name),e.properties&&t.push(e.properties),"analytics.page("+n(JSON.stringify,t).join(", ")+");"}(t.page),t.optionalCDN=function(e){return e&&"boolean"==typeof e.useHostForBundles&&e.useHostForBundles?'analytics._cdn = "https://'+e.host+'"':""}(t),o(t)}},99350:e=>{var t;window,t=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=42)}([function(e,t,r){"use strict";t.__esModule=!0;t.default=function(){}},function(e,t,r){"use strict";r.r(t),r.d(t,"__extends",(function(){return o})),r.d(t,"__assign",(function(){return a})),r.d(t,"__rest",(function(){return i})),r.d(t,"__decorate",(function(){return s})),r.d(t,"__param",(function(){return l})),r.d(t,"__metadata",(function(){return c})),r.d(t,"__awaiter",(function(){return d})),r.d(t,"__generator",(function(){return u})),r.d(t,"__createBinding",(function(){return A})),r.d(t,"__exportStar",(function(){return g})),r.d(t,"__values",(function(){return f})),r.d(t,"__read",(function(){return p})),r.d(t,"__spread",(function(){return h})),r.d(t,"__spreadArrays",(function(){return b})),r.d(t,"__spreadArray",(function(){return m})),r.d(t,"__await",(function(){return v})),r.d(t,"__asyncGenerator",(function(){return y})),r.d(t,"__asyncDelegator",(function(){return w})),r.d(t,"__asyncValues",(function(){return C})),r.d(t,"__makeTemplateObject",(function(){return x})),r.d(t,"__importStar",(function(){return S})),r.d(t,"__importDefault",(function(){return E})),r.d(t,"__classPrivateFieldGet",(function(){return _})),r.d(t,"__classPrivateFieldSet",(function(){return B}));var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function l(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))}function u(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function h(){for(var e=[],t=0;t1||s(e,t)}))})}function s(e,t){try{(r=o[e](t)).value instanceof v?Promise.resolve(r.value.v).then(l,c):d(a[0][2],r)}catch(e){d(a[0][3],e)}var r}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function w(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:v(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function C(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=f(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,o,(t=e[r](t)).done,t.value)}))}}}function x(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&A(t,e,r);return k(t,e),t}function E(e){return e&&e.__esModule?e:{default:e}}function _(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function B(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}},function(e,t,r){"use strict";(function(e){t.__esModule=!0,t.allToUpperCase=t.allToLowerCase=t.encodeBody=t.decodeBody=t.Format=t.promisify=t.trim=t.arrChooseN=t.randomHexString=t.randomString=t.cheapRandStr=t.dataSizeBytes=t.inspectBody=t.inspectError=t.isErrorInfo=t.now=t.parseQueryString=t.toQueryString=t.arrPopRandomElement=t.defaultPostHeaders=t.defaultGetHeaders=t.allSame=t.arrEvery=t.arrFilter=t.arrMap=t.safeArrForEach=t.arrForEach=t.forInOwnNonNullProperties=t.valuesArray=t.keysArray=t.arrWithoutValue=t.arrDeleteValue=t.arrIn=t.arrIndexOf=t.arrSubtract=t.arrIntersectOb=t.arrIntersect=t.intersect=t.containsValue=t.inherits=t.prototypicalClone=t.shallowClone=t.isEmptyArg=t.isOnlyPropIn=t.isEmpty=t.isObject=t.ensureArray=t.isArray=t.copy=t.mixin=void 0,t.getGlobalObject=t.getJitterCoefficient=t.getBackoffCoefficient=void 0;var n=r(1),o=n.__importDefault(r(0)),a=n.__importStar(r(8));function i(e){return Math.floor(Math.random()*e.length)}function s(e){for(var t=[],r=1;r>>2]|=e[o]<<24-o%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(0)),a=n.__importStar(r(2)),i=function(){function e(e,t,r,n){this.message=e,this.code=t,this.statusCode=r,this.cause=n}return e.prototype.toString=function(){var e="["+this.constructor.name;return this.message&&(e+=": "+this.message),this.statusCode&&(e+="; statusCode="+this.statusCode),this.code&&(e+="; code="+this.code),this.cause&&(e+="; cause="+a.inspectError(this.cause)),!this.href||this.message&&this.message.indexOf("help.ably.io")>-1||(e+="; see "+this.href+" "),e+"]"},e.fromValues=function(t){var r=t,n=r.message,a=r.code,i=r.statusCode;if("string"!=typeof n||"number"!=typeof a||"number"!=typeof i)throw new Error("ErrorInfo.fromValues(): invalid values: "+o.default.Config.inspect(t));var s=Object.assign(new e(n,a,i),t);return s.code&&!s.href&&(s.href="https://help.ably.io/error/"+s.code),s},e}();t.default=i},function(e,t,r){(function(t){var n;e.exports=(n=n||function(e,n){var o;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),!o&&"undefined"!=typeof window&&window.msCrypto&&(o=window.msCrypto),!o&&void 0!==t&&t.crypto&&(o=t.crypto),!o)try{o=r(45)}catch(e){}var a=function(){if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),s={},l=s.lib={},c=l.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},d=l.WordArray=c.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||A).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var a=0;a>>2]>>>24-a%4*8&255;t[n+a>>>2]|=i<<24-(n+a)%4*8}else for(a=0;a>>2]=r[a>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=c.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-o%4*8&255;n.push((a>>>4).toString(16)),n.push((15&a).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new d.init(r,t/2)}},g=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new d.init(r,t)}},f=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(g.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return g.parse(unescape(encodeURIComponent(e)))}},p=l.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=f.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,a=n.sigBytes,i=this.blockSize,s=a/(4*i),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*i,c=e.min(4*l,a);if(l){for(var u=0;u0?(e=e?e+"/base64":"base64",t=o.default.BufferUtils.base64Encode(t)):t=o.default.BufferUtils.toBuffer(t)),{name:this.name,id:this.id,clientId:this.clientId,connectionId:this.connectionId,connectionKey:this.connectionKey,extras:this.extras,encoding:e,data:t}},e.prototype.toString=function(){var e="[Message";return this.name&&(e+="; name="+this.name),this.id&&(e+="; id="+this.id),this.timestamp&&(e+="; timestamp="+this.timestamp),this.clientId&&(e+="; clientId="+this.clientId),this.connectionId&&(e+="; connectionId="+this.connectionId),this.encoding&&(e+="; encoding="+this.encoding),this.extras&&(e+="; extras ="+JSON.stringify(this.extras)),this.data&&("string"==typeof this.data?e+="; data="+this.data:o.default.BufferUtils.isBuffer(this.data)?e+="; data (buffer)="+o.default.BufferUtils.base64Encode(this.data):e+="; data (json)="+JSON.stringify(this.data)),this.extras&&(e+="; extras="+JSON.stringify(this.extras)),e+"]"},e.encrypt=function(e,t,r){var n=e.data,a=e.encoding,i=t.channelCipher;a=a?a+"/":"",o.default.BufferUtils.isBuffer(n)||(n=o.default.BufferUtils.utf8Encode(String(n)),a+="utf-8/"),i.encrypt(n,(function(t,n){t?r(t):(e.data=n,e.encoding=a+"cipher+"+i.algorithm,r(null,e))}))},e.encode=function(t,r,n){var a=t.data;if("string"!=typeof a&&!o.default.BufferUtils.isBuffer(a)&&null!=a){if(!s.isObject(a)&&!s.isArray(a))throw new i.default("Data type is unsupported",40013,400);t.data=JSON.stringify(a),t.encoding=t.encoding?t.encoding+"/json":"json"}null!=r&&r.cipher?e.encrypt(t,r,n):n(null,t)},e.encodeArray=function(t,r,n){for(var o=0,a=0;a0;){var A=s[--c].match(/([-\w]+)(\+([\w-]+))?/);if(!A)break;switch(u=A[1]){case"base64":d=o.default.BufferUtils.base64Decode(String(d)),l==s.length&&(n=d);continue;case"utf-8":d=o.default.BufferUtils.utf8Decode(d);continue;case"json":d=JSON.parse(d);continue;case"cipher":if(null!=r.channelOptions&&r.channelOptions.cipher&&r.channelOptions.channelCipher){var g=A[3],f=r.channelOptions.channelCipher;if(g!=f.algorithm)throw new Error("Unable to decrypt message with given cipher; incompatible cipher params");d=f.decrypt(d);continue}throw new Error("Unable to decrypt message; not an encrypted channel");case"vcdiff":if(!r.plugins||!r.plugins.vcdiff)throw new i.default("Missing Vcdiff decoder (https://github.com/ably-forks/vcdiff-decoder)",40019,400);if("undefined"==typeof Uint8Array)throw new i.default("Delta decoding not supported on this browser (need ArrayBuffer & Uint8Array)",40020,400);try{var p=r.baseEncodedPreviousPayload;"string"==typeof p&&(p=o.default.BufferUtils.utf8Encode(p)),p=o.default.BufferUtils.toBuffer(p),d=o.default.BufferUtils.toBuffer(d),n=d=o.default.BufferUtils.typedArrayToBuffer(r.plugins.vcdiff.decode(d,p))}catch(e){throw new i.default("Vcdiff delta decode failed with "+e,40018,400)}continue;default:throw new Error("Unknown encoding")}}}catch(e){var h=e;throw new i.default("Error processing the "+u+" encoding, decoder returned ‘"+h.message+"’",h.code||40013,400)}finally{e.encoding=l<=0?null:s.slice(0,l).join("/"),e.data=d}}r.baseEncodedPreviousPayload=n},e.fromResponseBody=function(t,r,n){n&&(t=s.decodeBody(t,n));for(var o=0;o0}}return e.prototype.setFlag=function(e){return this.flags=this.flags|d[e]},e.prototype.getMode=function(){return this.flags&&this.flags&d.MODE_ALL},e.prototype.encodeModesToFlags=function(e){var t=this;e.forEach((function(e){return t.setFlag(e)}))},e.prototype.decodeModesFromFlags=function(){var t=this,r=[];return e.channelModes.forEach((function(e){t.hasFlag(e)&&r.push(e)})),r.length>0?r:void 0},e.fromValues=function(t){return Object.assign(new e,t)},e.Action=l,e.channelModes=["PRESENCE","PUBLISH","SUBSCRIBE","PRESENCE_SUBSCRIBE"],e.ActionName=c,e.serialize=o.encodeBody,e.deserialize=function(t,r){var n=o.decodeBody(t,r);return e.fromDeserialized(n)},e.fromDeserialized=function(t){var r=t.error;r&&(t.error=a.default.fromValues(r));var n=t.messages;if(n)for(var o=0;o0&&(c+="; "),c+=e+"="+t.params[e]})),c.length>0&&(n+="; params=["+c+"]")}return n+"]"},e.isDuplicate=function(e,t){if(e&&t&&(e.action===l.MESSAGE||e.action===l.PRESENCE)&&e.action===t.action&&e.channel===t.channel&&e.id===t.id){if(e.action===l.PRESENCE)return!0;if(e.messages.length===t.messages.length){for(var r=0;r=4e4&&e.code<5e4)}(e)?[a.default.fromValues({action:a.default.Action.ERROR,error:e})]:[a.default.fromValues({action:a.default.Action.DISCONNECTED,error:e})]}var p=function(e){function t(t,r,n){var o=e.call(this,t,r,n,!0)||this;return o.onAuthUpdated=function(e){o.authParams={access_token:e.token}},o.stream=!("stream"in n)||n.stream,o.sendRequest=null,o.recvRequest=null,o.pendingCallback=null,o.pendingItems=null,o}return n.__extends(t,e),t.prototype.connect=function(){var e=this;s.default.logAction(s.default.LOG_MINOR,"CometTransport.connect()","starting"),i.default.prototype.connect.call(this);var t=this.params,r=t.options,n=l.default.getHost(r,t.host),a=l.default.getPort(r),c=r.tls?"https://":"http://";this.baseUri=c+n+":"+a+"/comet/";var d=this.baseUri+"connect";s.default.logAction(s.default.LOG_MINOR,"CometTransport.connect()","uri: "+d),this.auth.getAuthParams((function(t,r){if(t)e.disconnect(t);else if(!e.isDisposed){e.authParams=r;var n=e.params.getConnectParams(r);"stream"in n&&(e.stream=n.stream),s.default.logAction(s.default.LOG_MINOR,"CometTransport.connect()","connectParams:"+o.toQueryString(n));var a=!1,i=e.recvRequest=e.createRequest(d,null,n,null,e.stream?A.default.REQ_RECV_STREAM:A.default.REQ_RECV);i.on("data",(function(t){e.recvRequest&&(a||(a=!0,e.emit("preconnect")),e.onData(t))})),i.on("complete",(function(t){e.recvRequest||(t=t||new u.default("Request cancelled",80003,400)),e.recvRequest=null,a||t||(a=!0,e.emit("preconnect")),e.onActivity(),t?t.code?e.onData(f(t)):e.disconnect(t):g.default.Config.nextTick((function(){e.recv()}))})),i.exec()}}))},t.prototype.requestClose=function(){s.default.logAction(s.default.LOG_MINOR,"CometTransport.requestClose()"),this._requestCloseOrDisconnect(!0)},t.prototype.requestDisconnect=function(){s.default.logAction(s.default.LOG_MINOR,"CometTransport.requestDisconnect()"),this._requestCloseOrDisconnect(!1)},t.prototype._requestCloseOrDisconnect=function(e){var t=this,r=e?this.closeUri:this.disconnectUri;if(r){var n=this.createRequest(r,null,this.authParams,null,A.default.REQ_SEND);n.on("complete",(function(r){r&&(s.default.logAction(s.default.LOG_ERROR,"CometTransport.request"+(e?"Close()":"Disconnect()"),"request returned err = "+o.inspectError(r)),t.finish("disconnected",r))})),n.exec()}},t.prototype.dispose=function(){var e=this;s.default.logAction(s.default.LOG_MINOR,"CometTransport.dispose()",""),this.isDisposed||(this.isDisposed=!0,this.recvRequest&&(s.default.logAction(s.default.LOG_MINOR,"CometTransport.dispose()","aborting recv request"),this.recvRequest.abort(),this.recvRequest=null),this.finish("disconnected",c.default.disconnected),g.default.Config.nextTick((function(){e.emit("disposed")})))},t.prototype.onConnect=function(e){if(!this.isDisposed){var t=e.connectionKey;i.default.prototype.onConnect.call(this,e);var r=this.baseUri+t;s.default.logAction(s.default.LOG_MICRO,"CometTransport.onConnect()","baseUri = "+r+"; connectionKey = "+e.connectionKey),this.sendUri=r+"/send",this.recvUri=r+"/recv",this.closeUri=r+"/close",this.disconnectUri=r+"/disconnect"}},t.prototype.send=function(e){if(this.sendRequest)return this.pendingItems=this.pendingItems||[],void this.pendingItems.push(e);var t=this.pendingItems||[];t.push(e),this.pendingItems=null,this.sendItems(t)},t.prototype.sendAnyPending=function(){var e=this.pendingItems;e&&(this.pendingItems=null,this.sendItems(e))},t.prototype.sendItems=function(e){var t=this,r=this.sendRequest=this.createRequest(this.sendUri,null,this.authParams,this.encodeRequest(e),A.default.REQ_SEND);r.on("complete",(function(e,r){e&&s.default.logAction(s.default.LOG_ERROR,"CometTransport.sendItems()","on complete: err = "+o.inspectError(e)),t.sendRequest=null,e?e.code?t.onData(f(e)):t.disconnect(e):(r&&t.onData(r),t.pendingItems&&g.default.Config.nextTick((function(){t.sendRequest||t.sendAnyPending()})))})),r.exec()},t.prototype.recv=function(){var e=this;if(!this.recvRequest&&this.isConnected){var t=this.recvRequest=this.createRequest(this.recvUri,null,this.authParams,null,this.stream?A.default.REQ_RECV_STREAM:A.default.REQ_RECV_POLL);t.on("data",(function(t){e.onData(t)})),t.on("complete",(function(t){e.recvRequest=null,e.onActivity(),t?t.code?e.onData(f(t)):e.disconnect(t):g.default.Config.nextTick((function(){e.recv()}))})),t.exec()}},t.prototype.onData=function(e){try{var t=this.decodeResponse(e);if(t&&t.length)for(var r=0;r>>2]>>>24-a%4*8&255)<<16|(t[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|t[a+2>>>2]>>>24-(a+2)%4*8&255,s=0;s<4&&a+.75*s>>6*(3-s)&63));var l=n.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n=this._reverseMap;if(!n){n=this._reverseMap=[];for(var o=0;o>>6-i%4*2;n[o>>>2]|=s<<24-o%4*8,o++}return a.create(n,o)}(e,t,n)}},n.enc.Base64)},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(3)),a=n.__importDefault(r(0)),i=n.__importDefault(r(9)),s=n.__importStar(r(2));function l(e){return c.Actions.indexOf(e)}var c=function(){function e(){}return e.prototype.isSynthesized=function(){return!this.id||!this.connectionId||this.id.substring(this.connectionId.length,0)!==this.connectionId},e.prototype.parseId=function(){if(!this.id)throw new Error("parseId(): Presence message does not contain an id");var e=this.id.split(":");return{connectionId:e[0],msgSerial:parseInt(e[1],10),index:parseInt(e[2],10)}},e.prototype.toJSON=function(){var e=this.data,t=this.encoding;return e&&a.default.BufferUtils.isBuffer(e)&&(arguments.length>0?(t=t?t+"/base64":"base64",e=a.default.BufferUtils.base64Encode(e)):e=a.default.BufferUtils.toBuffer(e)),{clientId:this.clientId,action:l(this.action),data:e,encoding:t}},e.prototype.toString=function(){var e="[PresenceMessage";return e+="; action="+this.action,this.id&&(e+="; id="+this.id),this.timestamp&&(e+="; timestamp="+this.timestamp),this.clientId&&(e+="; clientId="+this.clientId),this.connectionId&&(e+="; connectionId="+this.connectionId),this.encoding&&(e+="; encoding="+this.encoding),this.data&&("string"==typeof this.data?e+="; data="+this.data:a.default.BufferUtils.isBuffer(this.data)?e+="; data (buffer)="+a.default.BufferUtils.base64Encode(this.data):e+="; data (json)="+JSON.stringify(this.data)),e+"]"},e.fromResponseBody=function(t,r,n){var a=[];n&&(t=s.decodeBody(t,n));for(var i=0;i-1&&"string"!=typeof A&&(A=JSON.stringify(A)),l.open(a,this.uri,!0),l.responseType=g,"authorization"in t&&(l.withCredentials=!0),t)l.setRequestHeader(f,t[f]);var p,h,b,m=function(t,r,n,o){var a,l=r+" (event type: "+t.type+")";(null===(a=null==e?void 0:e.xhr)||void 0===a?void 0:a.statusText)&&(l+=", current statusText is "+e.xhr.statusText),s.default.logAction(s.default.LOG_ERROR,"Request.on"+t.type+"()",l),e.complete(new i.default(l,n,o))};l.onerror=function(e){m(e,"XHR error occurred",null,400)},l.onabort=function(t){e.timedOut?m(t,"Request aborted due to request timeout expiring",null,408):m(t,"Request cancelled",null,400)},l.ontimeout=function(e){m(e,"Request timed out",null,408)};var v=0,y=!1,w=function(){var r;try{var n=function(e,t){return e.getResponseHeader&&e.getResponseHeader("content-type")}(l);if(n?n.indexOf("application/json")>=0:"text"==l.responseType){var a="arraybuffer"===l.responseType?d.default.BufferUtils.utf8Decode(l.response):String(l.responseText);r=a.length?JSON.parse(a):a,y=!0}else r=l.response;void 0!==r.response?(h=r.statusCode,b=h<400,t=r.headers,r=r.response):t=function(e){for(var t=o.trim(e.getAllResponseHeaders()).split("\r\n"),r={},n=0;n-1;)t=r.slice(v,e),v=e+1,x(t)}var x=function(t){try{t=JSON.parse(t)}catch(t){return void e.complete(new i.default("Malformed response body from server: "+t.message,null,400))}e.emit("data",t)};l.onreadystatechange=function(){var t=l.readyState;t<3||0!==l.status&&(void 0===h&&(1223===(h=l.status)&&(h=204),clearTimeout(n),b=h<400,204!=h?p=e.requestMode==c.default.REQ_RECV_STREAM&&b&&function(e){return e.getResponseHeader&&(e.getResponseHeader("transfer-encoding")||!e.getResponseHeader("content-length"))}(l):e.complete(null,null,null,null,h)),3==t&&p?C():4==t&&(p?(C(),e.streamComplete=!0,d.default.Config.nextTick((function(){e.complete()}))):w()))},l.send(A)},t.prototype.dispose=function(){var e=this.xhr;if(e){e.onreadystatechange=e.onerror=e.onabort=e.ontimeout=u,this.xhr=null;var t=this.timer;t&&(clearTimeout(t),this.timer=null),this.requestComplete||e.abort()}delete g[this.id]},t}(a.default);t.default=p}).call(this,r(12))},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(3)),a=n.__importStar(r(2)),i=n.__importDefault(r(22)),s=n.__importDefault(r(5)),l=n.__importDefault(r(44)),c=r(13),d=r(32),u=n.__importDefault(r(17)),A=n.__importDefault(r(0)),g=Math.pow(2,17);function f(){}function p(){return("000000"+Math.floor(1e16*Math.random())).slice(-16)}function h(e){return!!e.connection}function b(e){return a.isErrorInfo(e)?(e.code||(403===e.statusCode?e.code=40300:(e.code=40170,e.statusCode=401)),e):new s.default(a.inspectError(e),e.code||40170,e.statusCode||401)}var m=function(e){return A.default.Config.createHmac?Buffer.from(e,"ascii").toString("base64"):(0,c.stringify)((0,d.parse)(e))},v=function(e,t){if(A.default.Config.createHmac){var r=A.default.Config.createHmac("SHA256",t);return r.update(e),r.digest("base64")}return(0,c.stringify)((0,l.default)(e,t))};function y(e){if(!e)return"";"string"==typeof e&&(e=JSON.parse(e));var t=Object.create(null),r=a.keysArray(e,!0);if(!r)return"";r.sort();for(var n=0;n-1&&(i=a.parseQueryString(t.authUrl.slice(f)),t.authUrl=t.authUrl.slice(0,f),d||(t.authParams=a.mixin(i,t.authParams)));var p=a.mixin({},t.authParams||{},e),h=function(e,t,n,i){var l;if(e?o.default.logAction(o.default.LOG_MICRO,"Auth.requestToken().tokenRequestCallback","Received Error: "+a.inspectError(e)):(l=n["content-type"],o.default.logAction(o.default.LOG_MICRO,"Auth.requestToken().tokenRequestCallback","Received; content-type: "+l+"; body: "+a.inspectBody(t))),e||i)return r(e,t);if(A.default.BufferUtils.isBuffer(t)&&(t=t.toString()),l){var c=l.indexOf("application/json")>-1,d=l.indexOf("text/plain")>-1||l.indexOf("application/jwt")>-1;if(c||d){if(c){if(t.length>g)return void r(new s.default("authUrl response exceeded max permitted length",40170,401));try{t=JSON.parse(t)}catch(e){return void r(new s.default("Unexpected error processing authURL response; err = "+e.message,40170,401))}}r(null,t,l)}else r(new s.default("authUrl responded with unacceptable content-type "+l+", should be either text/plain, application/jwt or application/json",40170,401))}else r(new s.default("authUrl response is missing a content-type header",40170,401))};if(o.default.logAction(o.default.LOG_MICRO,"Auth.requestToken().tokenRequestCallback","Requesting token from "+t.authUrl+"; Params: "+JSON.stringify(p)+"; method: "+(d?"POST":"GET")),d){var b=l||{};b["content-type"]="application/x-www-form-urlencoded";var m=a.toQueryString(p).slice(1);n.client.http.doUri(u.default.Post,c,t.authUrl,b,m,i,h)}else n.client.http.doUri(u.default.Get,c,t.authUrl,l||{},null,p,h)};else{if(!t.key){var d="Need a new token, but authOptions does not include any way to request one (no authUrl, authCallback, or key)";return o.default.logAction(o.default.LOG_ERROR,"Auth()","library initialized with a token literal without any way to renew the token when it expires (no authUrl, authCallback, or key). See https://help.ably.io/error/40171 for help"),void l(new s.default(d,40171,403))}o.default.logAction(o.default.LOG_MINOR,"Auth.requestToken()","using token auth with client-side signing"),i=function(e,r){n.createTokenRequest(e,t,r)}}"capability"in e&&(e.capability=y(e.capability));var p=function(e,r){var i="/keys/"+e.keyName+"/requestToken",s=a.defaultPostHeaders(n.client.options);t.requestHeaders&&a.mixin(s,t.requestHeaders),o.default.logAction(o.default.LOG_MICRO,"Auth.requestToken().requestToken","Sending POST to "+i+"; Token params: "+JSON.stringify(e)),n.client.http.do(u.default.Post,c,(function(e){return c.baseUri(e)+i}),s,JSON.stringify(e),null,r)},h=!1,m=this.client.options.timeouts.realtimeRequestTimeout,v=setTimeout((function(){h=!0;var e="Token request callback timed out after "+m/1e3+" seconds";o.default.logAction(o.default.LOG_ERROR,"Auth.requestToken()",e),l(new s.default(e,40170,401))}),m);i(e,(function(e,r,n){if(!h){if(clearTimeout(v),e)return o.default.logAction(o.default.LOG_ERROR,"Auth.requestToken()","token request signing call returned error; err = "+a.inspectError(e)),void l(b(e));if("string"!=typeof r){if("object"!=typeof r){var i="Expected token request callback to call back with a token string or token request/details object, but got a "+typeof r;return o.default.logAction(o.default.LOG_ERROR,"Auth.requestToken()",i),void l(new s.default(i,40170,401))}var c=JSON.stringify(r).length;if(c>g&&!t.suppressMaxLengthCheck)l(new s.default("Token request/details object exceeded max permitted stringified size (was "+c+" bytes)",40170,401));else if("issued"in r)l(null,r);else{if(!("keyName"in r))return i="Expected token request callback to call back with a token string, token request object, or token details object",o.default.logAction(o.default.LOG_ERROR,"Auth.requestToken()",i),void l(new s.default(i,40170,401));p(r,(function(e,t,r,n){if(e)return o.default.logAction(o.default.LOG_ERROR,"Auth.requestToken()","token request API call returned error; err = "+a.inspectError(e)),void l(b(e));n||(t=JSON.parse(t)),o.default.logAction(o.default.LOG_MINOR,"Auth.getToken()","token received"),l(null,t)}))}}else 0===r.length?l(new s.default("Token string is empty",40170,401)):r.length>g?l(new s.default("Token string exceeded max permitted length (was "+r.length+" bytes)",40170,401)):"undefined"===r||"null"===r?l(new s.default("Token string was literal null/undefined",40170,401)):"{"!==r[0]||n&&n.indexOf("application/jwt")>-1?l(null,{token:r}):l(new s.default("Token was double-encoded; make sure you're not JSON-encoding an already encoded token request or details",40170,401))}}))},e.prototype.createTokenRequest=function(e,t,r){var n=this;if("function"!=typeof e||r?"function"!=typeof t||r||(r=t,t=null):(r=e,t=e=null),!r&&this.client.options.promises)return a.promisify(this,"createTokenRequest",arguments);t=t||this.authOptions,e=e||a.copy(this.tokenParams);var i=t.key;if(i){var l=i.split(":"),c=l[0],d=l[1];if(d)if(""!==e.clientId){"capability"in e&&(e.capability=y(e.capability));var u,A=a.mixin({keyName:c},e),g=e.clientId||"",f=e.ttl||"",h=e.capability||"";u=function(){var e=A.nonce||(A.nonce=p()),t=A.timestamp,n=A.keyName+"\n"+f+"\n"+h+"\n"+g+"\n"+t+"\n"+e+"\n";A.mac=A.mac||v(n,d),o.default.logAction(o.default.LOG_MINOR,"Auth.getTokenRequest()","generated signed request"),r(null,A)},A.timestamp?u():n.getTimestamp(t&&t.queryTime,(function(e,t){e?r(e):(A.timestamp=t,u())}))}else r(new s.default("clientId can’t be an empty string",40012,400));else r(new s.default("Invalid key specified",40101,403))}else r(new s.default("No key specified",40101,403))},e.prototype.getAuthParams=function(e){"basic"==this.method?e(null,{key:this.key}):this._ensureValidAuthCredentials(!1,(function(t,r){if(t)e(t);else{if(!r)throw new Error("Auth.getAuthParams(): _ensureValidAuthCredentials returned no error or tokenDetails");e(null,{access_token:r.token})}}))},e.prototype.getAuthHeaders=function(e){"basic"==this.method?e(null,{authorization:"Basic "+this.basicKey}):this._ensureValidAuthCredentials(!1,(function(t,r){if(t)e(t);else{if(!r)throw new Error("Auth.getAuthParams(): _ensureValidAuthCredentials returned no error or tokenDetails");e(null,{authorization:"Bearer "+m(r.token)})}}))},e.prototype.getTimestamp=function(e,t){this.isTimeOffsetSet()||!e&&!this.authOptions.queryTime?t(null,this.getTimestampUsingOffset()):this.client.time(t)},e.prototype.getTimestampUsingOffset=function(){return a.now()+(this.client.serverTimeOffset||0)},e.prototype.isTimeOffsetSet=function(){return null!==this.client.serverTimeOffset},e.prototype._saveBasicOptions=function(e){this.method="basic",this.key=e.key,this.basicKey=m(e.key),this.authOptions=e||{},"clientId"in e&&this._userSetClientId(e.clientId)},e.prototype._saveTokenOptions=function(e,t){this.method="token",e&&(this.tokenParams=e),t&&(t.token&&(t.tokenDetails="string"==typeof t.token?{token:t.token}:t.token),t.tokenDetails&&(this.tokenDetails=t.tokenDetails),"clientId"in t&&this._userSetClientId(t.clientId),this.authOptions=t)},e.prototype._ensureValidAuthCredentials=function(e,t){var r=this,n=this.tokenDetails;if(n){if(this._tokenClientIdMismatch(n.clientId))return void t(new s.default("Mismatch between clientId in token ("+n.clientId+") and current clientId ("+this.clientId+")",40102,403));if(!this.isTimeOffsetSet()||!n.expires||n.expires>=this.getTimestampUsingOffset())return o.default.logAction(o.default.LOG_MINOR,"Auth.getToken()","using cached token; expires = "+n.expires),void t(null,n);o.default.logAction(o.default.LOG_MINOR,"Auth.getToken()","deleting expired token"),this.tokenDetails=null}if((this.waitingForTokenRequest||(this.waitingForTokenRequest=i.default.create())).push(t),null===this.currentTokenRequestId||e){var a=this.currentTokenRequestId=C++;this.requestToken(this.tokenParams,this.authOptions,(function(e,t){if(r.currentTokenRequestId>a)o.default.logAction(o.default.LOG_MINOR,"Auth._ensureValidAuthCredentials()","Discarding token request response; overtaken by newer one");else{r.currentTokenRequestId=null;var n=r.waitingForTokenRequest||f;r.waitingForTokenRequest=null,e?n(e):n(null,r.tokenDetails=t)}}))}},e.prototype._userSetClientId=function(e){if("string"!=typeof e&&null!==e)throw new s.default("clientId must be either a string or null",40012,400);if("*"===e)throw new s.default('Can’t use "*" as a clientId as that string is reserved. (To change the default token request behaviour to use a wildcard clientId, instantiate the library with {defaultTokenParams: {clientId: "*"}}), or if calling authorize(), pass it in as a tokenParam: authorize({clientId: "*"}, authOptions)',40012,400);var t=this._uncheckedSetClientId(e);if(t)throw t},e.prototype._uncheckedSetClientId=function(e){if(this._tokenClientIdMismatch(e)){var t="Unexpected clientId mismatch: client has "+this.clientId+", requested "+e,r=new s.default(t,40102,401);return o.default.logAction(o.default.LOG_ERROR,"Auth._uncheckedSetClientId()",t),r}return this.clientId=this.tokenParams.clientId=e,null},e.prototype._tokenClientIdMismatch=function(e){return!(!this.clientId||"*"===this.clientId||!e||"*"===e||this.clientId===e)},e.isTokenErr=function(e){return e.code&&e.code>=40140&&e.code<40150},e}();t.default=x},function(e,t,r){"use strict";var n;t.__esModule=!0,function(e){e.Get="get",e.Delete="delete",e.Post="post",e.Put="put",e.Patch="patch"}(n||(n={})),t.default=n},function(e,t,r){"use strict";t.__esModule=!0,t.HttpPaginatedResponse=t.PaginatedResult=void 0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(3)),i=n.__importDefault(r(24)),s=function(){function e(e,t,r,n,o,a){this.rest=e,this.path=t,this.headers=r,this.envelope=null!=n?n:null,this.bodyHandler=o,this.useHttpPaginatedResponse=a||!1}return e.prototype.get=function(e,t){var r=this;i.default.get(this.rest,this.path,this.headers,e,this.envelope,(function(e,n,o,a,i){r.handlePage(e,n,o,a,i,t)}))},e.prototype.delete=function(e,t){var r=this;i.default.delete(this.rest,this.path,this.headers,e,this.envelope,(function(e,n,o,a,i){r.handlePage(e,n,o,a,i,t)}))},e.prototype.post=function(e,t,r){var n=this;i.default.post(this.rest,this.path,t,this.headers,e,this.envelope,(function(e,t,o,a,i){r&&n.handlePage(e,t,o,a,i,r)}))},e.prototype.put=function(e,t,r){var n=this;i.default.put(this.rest,this.path,t,this.headers,e,this.envelope,(function(e,t,o,a,i){r&&n.handlePage(e,t,o,a,i,r)}))},e.prototype.patch=function(e,t,r){var n=this;i.default.patch(this.rest,this.path,t,this.headers,e,this.envelope,(function(e,t,o,a,i){r&&n.handlePage(e,t,o,a,i,r)}))},e.prototype.handlePage=function(e,t,r,n,i,s){if(e&&function(e,t,r){return!(r&&(t||"number"==typeof e.code))}(e,t,this.useHttpPaginatedResponse))return a.default.logAction(a.default.LOG_ERROR,"PaginatedResource.handlePage()","Unexpected error getting resource: err = "+o.inspectError(e)),void(null==s||s(e));var d,u,A;try{d=this.bodyHandler(t,r||{},n)}catch(t){return void(null==s||s(e||t))}r&&(u=r.Link||r.link)&&(A=function(e){"string"==typeof e&&(e=e.split(","));for(var t,r={},n=0;n;\s*rel="(\w+)"$/);if(a){var i=(void 0,(t=a[1].match(/^\.\/(\w+)\?(.*)$/))&&t[2]&&o.parseQueryString(t[2]));i&&(r[a[2]]=i)}}return r}(u)),this.useHttpPaginatedResponse?s(null,new c(this,d,r||{},i,A,e)):s(null,new l(this,d,A))},e}(),l=function(){function e(e,t,r){var n=this;this.resource=e,this.items=t;var a=this;r&&("first"in r&&(this.first=function(e){if(!e&&a.resource.rest.options.promises)return o.promisify(a,"first",[]);a.get(r.first,e)}),"current"in r&&(this.current=function(e){if(!e&&a.resource.rest.options.promises)return o.promisify(a,"current",[]);a.get(r.current,e)}),this.next=function(e){if(!e&&a.resource.rest.options.promises)return o.promisify(a,"next",[]);"next"in r?a.get(r.next,e):e(null)},this.hasNext=function(){return"next"in r},this.isLast=function(){var e;return!(null===(e=n.hasNext)||void 0===e?void 0:e.call(n))})}return e.prototype.get=function(e,t){var r=this.resource;i.default.get(r.rest,r.path,r.headers,e,r.envelope,(function(e,n,o,a,i){r.handlePage(e,n,o,a,i,t)}))},e}();t.PaginatedResult=l;var c=function(e){function t(t,r,n,o,a,i){var s=e.call(this,t,r,a)||this;return s.statusCode=o,s.success=o<300&&o>=200,s.headers=n,s.errorCode=i&&i.code,s.errorMessage=i&&i.message,s}return n.__extends(t,e),t.prototype.toJSON=function(){return{items:this.items,statusCode:this.statusCode,success:this.success,headers:this.headers,errorCode:this.errorCode,errorMessage:this.errorMessage}},t}(l);t.HttpPaginatedResponse=c,t.default=s},function(e,t,r){"use strict";t.__esModule=!0,t.isRetriable=void 0;var n=r(1).__importDefault(r(5)),o={disconnected:n.default.fromValues({statusCode:400,code:80003,message:"Connection to server temporarily unavailable"}),suspended:n.default.fromValues({statusCode:400,code:80002,message:"Connection to server unavailable"}),failed:n.default.fromValues({statusCode:400,code:8e4,message:"Connection failed or disconnected by server"}),closing:n.default.fromValues({statusCode:400,code:80017,message:"Connection closing"}),closed:n.default.fromValues({statusCode:400,code:80017,message:"Connection closed"}),unknownConnectionErr:n.default.fromValues({statusCode:500,code:50002,message:"Internal connection error"}),unknownChannelErr:n.default.fromValues({statusCode:500,code:50001,message:"Internal channel error"})};t.isRetriable=function(e){if(!e.statusCode||!e.code||e.statusCode>=500)return!0;var t=!1;return Object.values(o).forEach((function(r){r.code&&r.code==e.code&&(t=!0)})),t},t.default=o},function(e,t,r){"use strict";var n;t.__esModule=!0,function(e){e[e.REQ_SEND=0]="REQ_SEND",e[e.REQ_RECV=1]="REQ_RECV",e[e.REQ_RECV_POLL=2]="REQ_RECV_POLL",e[e.REQ_RECV_STREAM=3]="REQ_RECV_STREAM"}(n||(n={})),t.default=n},function(e,t,r){var n;e.exports=(n=r(6),r(4),r(58),r(13),r(40),r(31),r(23),r(27),r(28),r(59),r(60),n)},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1).__importDefault(r(3)),o=function(){function e(e){this.members=e||[]}return e.prototype.call=function(){for(var e=[],t=0;tn&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),i=this._iKey=t.clone(),s=o.words,l=i.words,c=0;c=300){var g=u&&u.error||r;return g||((g=new Error("Error in unenveloping "+n)).statusCode=d),void e(g,u,A,!0,d)}e(r,u,A,!0,d)}else e(r,n,o,!0,s)}else e(new c.default("unenvelope(): Response body is missing",null))}else e(r)}}(p,f),(g=g||{}).envelope=f),d(t,l,g,p,(function l(c,u){var g;if(i.default.shouldLog(i.default.LOG_MICRO)&&i.default.logAction(i.default.LOG_MICRO,"Resource."+e+"()","Sending; "+A(r,u)),i.default.shouldLog(i.default.LOG_MICRO)){var f=n;if((null===(g=c["content-type"])||void 0===g?void 0:g.indexOf("msgpack"))>0)try{f=o.default.Config.msgpack.decode(n)}catch(t){i.default.logAction(i.default.LOG_MICRO,"Resource."+e+"()","Sending MsgPack Decoding Error: "+a.inspectError(t))}i.default.logAction(i.default.LOG_MICRO,"Resource."+e+"()","Sending; "+A(r,u)+"; Body: "+f)}t.http.do(e,t,r,c,n,u,(function(e,r,n,o,a){e&&s.default.isTokenErr(e)?t.auth.authorize(null,null,(function(e){e?p(e):d(t,n,u,p,l)})):p(e,r,n,o,a)}))}))},e}();t.default=g},function(e,t,r){"use strict";(function(e){t.__esModule=!0,t.TransportParams=void 0;var n=r(1),o=n.__importDefault(r(10)),a=n.__importStar(r(2)),i=n.__importStar(r(52)),s=n.__importStar(r(8)),l=n.__importDefault(r(0)),c=n.__importDefault(r(7)),d=n.__importDefault(r(35)),u=n.__importDefault(r(3)),A=n.__importDefault(r(36)),g=n.__importStar(r(19)),f=n.__importDefault(r(5)),p=n.__importDefault(r(16)),h=n.__importDefault(r(9)),b=n.__importDefault(r(22)),m=n.__importDefault(r(53)),v=n.__importDefault(r(26)),y=n.__importDefault(r(37)),w=function(){var e;return void 0!==l.default.WebStorage&&(null===(e=l.default.WebStorage)||void 0===e?void 0:e.localSupported)},C=function(){var e;return void 0!==l.default.WebStorage&&(null===(e=l.default.WebStorage)||void 0===e?void 0:e.sessionSupported)},x=o.default.Action,k=function(){},S="ably-transport-preference",E="ably-connection-recovery",_=function(){function e(e,t,r,n){this.options=e,this.host=t,this.mode=r,this.connectionKey=n,this.format=e.useBinaryProtocol?a.Format.msgpack:a.Format.json,this.connectionSerial=void 0}return e.prototype.getConnectParams=function(e){var t=e?a.copy(e):{},r=this.options;switch(this.mode){case"upgrade":t.upgrade=this.connectionKey;break;case"resume":t.resume=this.connectionKey,void 0!==this.connectionSerial&&(t.connectionSerial=this.connectionSerial);break;case"recover":var n=r.recover.split(":");n&&(t.recover=n[0],t.connectionSerial=n[1])}return void 0!==r.clientId&&(t.clientId=r.clientId),!1===r.echoMessages&&(t.echo="false"),void 0!==this.format&&(t.format=this.format),void 0!==this.stream&&(t.stream=this.stream),void 0!==this.heartbeats&&(t.heartbeats=this.heartbeats),t.v=s.default.apiVersion,t.agent=encodeURIComponent((0,s.getAgentString)(this.options)),void 0!==r.transportParams&&a.mixin(t,r.transportParams),t},e.prototype.toString=function(){var e="[mode="+this.mode;return this.host&&(e+=",host="+this.host),this.connectionKey&&(e+=",connectionKey="+this.connectionKey),void 0!==this.connectionSerial&&(e+=",connectionSerial="+this.connectionSerial),this.format&&(e+=",format="+this.format),e+"]"},e}();t.TransportParams=_;var B=function(t){function r(e,n){var o=t.call(this)||this;o.disconnectedRetryCount=0,r.initTransports(),o.realtime=e,o.options=n;var i=n.timeouts,c=i.preferenceConnectTimeout+i.realtimeRequestTimeout;if(o.states={initialized:{state:"initialized",terminal:!1,queueEvents:!0,sendEvents:!1,failState:"disconnected"},connecting:{state:"connecting",terminal:!1,queueEvents:!0,sendEvents:!1,retryDelay:c,failState:"disconnected"},connected:{state:"connected",terminal:!1,queueEvents:!1,sendEvents:!0,failState:"disconnected"},synchronizing:{state:"connected",terminal:!1,queueEvents:!0,sendEvents:!1,forceQueueEvents:!0,failState:"disconnected"},disconnected:{state:"disconnected",terminal:!1,queueEvents:!0,sendEvents:!1,retryDelay:i.disconnectedRetryTimeout,failState:"disconnected"},suspended:{state:"suspended",terminal:!1,queueEvents:!1,sendEvents:!1,retryDelay:i.suspendedRetryTimeout,failState:"suspended"},closing:{state:"closing",terminal:!1,queueEvents:!1,sendEvents:!1,retryDelay:i.realtimeRequestTimeout,failState:"closed"},closed:{state:"closed",terminal:!0,queueEvents:!1,sendEvents:!1,failState:"closed"},failed:{state:"failed",terminal:!0,queueEvents:!1,sendEvents:!1,failState:"failed"}},o.state=o.states.initialized,o.errorReason=null,o.queuedMessages=new d.default,o.msgSerial=0,o.connectionDetails=void 0,o.connectionId=void 0,o.connectionKey=void 0,o.connectionSerial=void 0,o.connectionStateTtl=i.connectionStateTtl,o.maxIdleInterval=null,o.transports=a.intersect(n.transports||s.default.defaultTransports,r.supportedTransports),o.baseTransport=a.intersect(s.default.baseTransportOrder,o.transports)[0],o.upgradeTransports=a.intersect(o.transports,s.default.upgradeTransports),o.transportPreference=null,o.httpHosts=s.default.getHosts(n),o.activeProtocol=null,o.proposedTransports=[],o.pendingTransports=[],o.host=null,o.lastAutoReconnectAttempt=null,o.lastActivity=null,o.mostRecentMsg=null,o.forceFallbackHost=!1,o.connectCounter=0,u.default.logAction(u.default.LOG_MINOR,"Realtime.ConnectionManager()","started"),u.default.logAction(u.default.LOG_MICRO,"Realtime.ConnectionManager()","requested transports = ["+(n.transports||s.default.defaultTransports)+"]"),u.default.logAction(u.default.LOG_MICRO,"Realtime.ConnectionManager()","available transports = ["+o.transports+"]"),u.default.logAction(u.default.LOG_MICRO,"Realtime.ConnectionManager()","http hosts = ["+o.httpHosts+"]"),!o.transports.length){var A="no requested transports available";throw u.default.logAction(u.default.LOG_ERROR,"realtime.ConnectionManager()",A),new Error(A)}var g=l.default.Config.addEventListener;return g&&(C()&&"function"==typeof n.recover&&g("beforeunload",o.persistConnection.bind(o)),!0===n.closeOnUnload&&g("beforeunload",(function(){u.default.logAction(u.default.LOG_MAJOR,"Realtime.ConnectionManager()","beforeunload event has triggered the connection to close as closeOnUnload is true"),o.requestState({state:"closing"})})),g("online",(function(){o.state!=o.states.disconnected&&o.state!=o.states.suspended||(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager caught browser ‘online’ event","reattempting connection"),o.requestState({state:"connecting"}))})),g("offline",(function(){o.state==o.states.connected&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager caught browser ‘offline’ event","disconnecting active transport"),o.disconnectAllTransports())}))),o}return n.__extends(r,t),r.initTransports=function(){(0,m.default)(r),a.arrForEach(l.default.Transports,(function(e){e(r)}))},r.prototype.createTransportParams=function(e,t){var r=new _(this.options,e,t,this.connectionKey);return void 0!==this.connectionSerial&&(r.connectionSerial=this.connectionSerial),r},r.prototype.getTransportParams=function(e){var t=this;!function(e){if(t.connectionKey)e("resume");else if("string"!=typeof t.options.recover){var r,n,o=t.options.recover,a=C()&&(null===(n=null===(r=l.default.WebStorage)||void 0===r?void 0:r.getSession)||void 0===n?void 0:n.call(r,E));if(a&&"function"==typeof o)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.getTransportParams()","Calling clientOptions-provided recover function with last session data"),void o(a,(function(r){r?(t.options.recover=a.recoveryKey,e("recover")):e("clean")}));e("clean")}else e("recover")}((function(r){var n=t.createTransportParams(null,r);if("recover"===r){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.getTransportParams()","Transport recovery mode = recover; recoveryKey = "+t.options.recover);var o=t.options.recover.split(":");o&&o[2]&&(t.msgSerial=Number(o[2]))}else u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.getTransportParams()","Transport params = "+n.toString());e(n)}))},r.prototype.tryATransport=function(e,t,n){var o=this;u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.tryATransport()","trying "+t),v.default.tryConnect(r.supportedTransports[t],this,this.realtime.auth,e,(function(r,a){var i=o.state;return i==o.states.closing||i==o.states.closed||i==o.states.failed?(a&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.tryATransport()","connection "+i.state+" while we were attempting the transport; closing "+a),a.close()),void n(!0)):r?(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.tryATransport()","transport "+t+" "+r.event+", err: "+r.error.toString()),void(!p.default.isTokenErr(r.error)||o.errorReason&&p.default.isTokenErr(o.errorReason)?"failed"===r.event?(o.notifyState({state:"failed",error:r.error}),n(!0)):"disconnected"===r.event&&((0,g.isRetriable)(r.error)?n(!1):(o.notifyState({state:o.states.connecting.failState,error:r.error}),n(!0))):(o.errorReason=r.error,o.realtime.auth._forceNewToken(null,null,(function(r){r?o.actOnErrorFromAuthorize(r):o.tryATransport(e,t,n)}))))):(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.tryATransport()","viable transport "+t+"; setting pending"),o.setTransportPending(a,e),void n(null,a))}))},r.prototype.setTransportPending=function(e,t){var r=this,n=t.mode;u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.setTransportPending()","transport = "+e+"; mode = "+n),a.arrDeleteValue(this.proposedTransports,e),this.pendingTransports.push(e);var o=l.default.Defaults.transportPreferenceOrder[l.default.Defaults.transportPreferenceOrder.length-1];e.once("connected",(function(i,s,c,d){"upgrade"==n&&r.activeProtocol?e.shortName!==o&&a.arrIn(r.getUpgradePossibilities(),o)&&r.activeProtocol?setTimeout((function(){r.scheduleTransportActivation(i,e,s,c,d.connectionSerial)}),r.options.timeouts.parallelUpgradeDelay):r.scheduleTransportActivation(i,e,s,c,d.connectionSerial):(r.activateTransport(i,e,s,c,d.connectionSerial),l.default.Config.nextTick((function(){r.connectImpl(t)}))),"recover"===n&&r.options.recover&&(r.options.recover=null,r.unpersistConnection())}));var i=this;e.on(["disconnected","closed","failed"],(function(t){i.deactivateTransport(e,this.event,t)})),this.emit("transport.pending",e)},r.prototype.scheduleTransportActivation=function(e,t,r,n,o){var i,s,c=this,d=this.activeProtocol&&this.activeProtocol.getTransport(),A=function(){t.disconnect(),a.arrDeleteValue(c.pendingTransports,t)};if(this.state!==this.states.connected&&this.state!==this.states.connecting)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Current connection state ("+this.state.state+(this.state===this.states.synchronizing?", but with an upgrade already in progress":"")+") is not valid to upgrade in; abandoning upgrade to "+t.shortName),void A();if(d&&(i=t,s=d,!(a.arrIndexOf(l.default.Defaults.transportPreferenceOrder,i.shortName)>a.arrIndexOf(l.default.Defaults.transportPreferenceOrder,s.shortName))))return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Proposed transport "+t.shortName+" is no better than current active transport "+d.shortName+" - abandoning upgrade"),void A();u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Scheduling transport upgrade; transport = "+t);var g=function(a){var i;if(a)u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.scheduleTransportActivation()","Unable to activate transport; transport = "+t+"; err = "+a);else{if(!t.isConnected)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Proposed transport "+t.shortName+"is no longer connected; abandoning upgrade"),void A();if(c.state===c.states.connected)u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.scheduleTransportActivation()","Currently connected, so temporarily pausing events until the upgrade is complete"),c.state=c.states.synchronizing,i=c.activeProtocol;else if(c.state!==c.states.connecting)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Current connection state ("+c.state.state+(c.state===c.states.synchronizing?", but with an upgrade already in progress":"")+") is not valid to upgrade in; abandoning upgrade to "+t.shortName),void A();var s=r!==c.connectionId,l=s?o:c.connectionSerial;s&&u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.scheduleTransportActivation()","Upgrade resulted in new connectionId; resetting library connection serial from "+c.connectionSerial+" to "+l+"; upgrade error was "+e),u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Syncing transport; transport = "+t),c.sync(t,l,(function(r,o,a){if(r)c.state===c.states.synchronizing&&(u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.scheduleTransportActivation()","Unexpected error attempting to sync transport; transport = "+t+"; err = "+r),c.disconnectAllTransports());else{var s=function(){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Activating transport; transport = "+t),c.activateTransport(e,t,o,n,a),c.state===c.states.synchronizing?(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.scheduleTransportActivation()","Pre-upgrade protocol idle, sending queued messages on upgraded transport; transport = "+t),c.state=c.states.connected):u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.scheduleTransportActivation()","Pre-upgrade protocol idle, but state is now "+c.state.state+", so leaving unchanged"),c.state.sendEvents&&c.sendQueuedMessages()};i?i.onceIdle(s):s()}}))}};d?this.realtime.channels.onceNopending(g):g()},r.prototype.activateTransport=function(e,t,r,n,o){var s=this;u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.activateTransport()","transport = "+t),e&&u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.activateTransport()","error = "+e),r&&u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.activateTransport()","connectionId = "+r),n&&u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.activateTransport()","connectionDetails = "+JSON.stringify(n)),o&&u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.activateTransport()","serial = "+o),this.persistTransportPreference(t);var c=this.state,d=this.states.connected.state;if(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.activateTransport()","current state = "+c.state),c.state==this.states.closing.state||c.state==this.states.closed.state||c.state==this.states.failed.state)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.activateTransport()","Disconnecting transport and abandoning"),t.disconnect(),!1;if(a.arrDeleteValue(this.pendingTransports,t),!t.isConnected)return u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.activateTransport()","Declining to activate transport "+t+" since it appears to no longer be connected"),!1;var g=this.activeProtocol;this.activeProtocol=new i.default(t),this.host=t.params.host;var f=n.connectionKey;if(f&&this.connectionKey!=f&&this.setConnection(r,n,o,!!e),this.onConnectionDetailsUpdate(n,t),l.default.Config.nextTick((function(){t.on("connected",(function(e,r,n){s.onConnectionDetailsUpdate(n,t),s.emit("update",new A.default(d,d,null,e))}))})),c.state===this.states.connected.state?e&&(this.errorReason=this.realtime.connection.errorReason=e,this.emit("update",new A.default(d,d,null,e))):(this.notifyState({state:"connected",error:e}),this.errorReason=this.realtime.connection.errorReason=e||null),this.emit("transport.active",t),g)if(g.messageQueue.count()>0&&u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.activateTransport()","Previous active protocol (for transport "+g.transport.shortName+", new one is "+t.shortName+") finishing with "+g.messageQueue.count()+" messages still pending"),g.transport===t){var p="Assumption violated: activating a transport that was also the transport for the previous active protocol; transport = "+t.shortName+"; stack = "+(new Error).stack;u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.activateTransport()",p)}else g.finish();return a.safeArrForEach(this.pendingTransports,(function(e){if(e===t){var r="Assumption violated: activating a transport that is still marked as a pending transport; transport = "+t.shortName+"; stack = "+(new Error).stack;u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.activateTransport()",r),a.arrDeleteValue(s.pendingTransports,t)}else e.disconnect()})),a.safeArrForEach(this.proposedTransports,(function(e){e===t?(u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.activateTransport()","Assumption violated: activating a transport that is still marked as a proposed transport; transport = "+t.shortName+"; stack = "+(new Error).stack),a.arrDeleteValue(s.proposedTransports,t)):e.dispose()})),!0},r.prototype.deactivateTransport=function(e,t,r){var n=this.activeProtocol,o=n&&n.getTransport()===e,i=a.arrDeleteValue(this.pendingTransports,e),s=a.arrDeleteValue(this.proposedTransports,e),c=this.noTransportsScheduledForActivation();if(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.deactivateTransport()","transport = "+e),u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.deactivateTransport()","state = "+t+(o?"; was active":i?"; was pending":s?"; was proposed":"")+(c?"":"; another transport is scheduled for activation")),r&&r.message&&u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.deactivateTransport()","reason = "+r.message),o&&(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.deactivateTransport()","Getting, clearing, and requeuing "+this.activeProtocol.messageQueue.count()+" pending messages"),this.queuePendingMessages(n.getPendingMessages()),l.default.Config.nextTick((function(){n.clearPendingMessages()})),this.activeProtocol=this.host=null,clearTimeout(this.channelResumeCheckTimer)),this.emit("transport.inactive",e),o&&c||o&&"failed"===t||"closed"===t||null===n&&i&&0===this.pendingTransports.length){if("disconnected"===t&&r&&r.statusCode>500&&this.httpHosts.length>1)return this.unpersistTransportPreference(),this.forceFallbackHost=!0,void this.notifyState({state:t,error:r,retryImmediately:!0});var d="failed"===t&&p.default.isTokenErr(r)?"disconnected":t;this.notifyState({state:d,error:r})}else o&&"disconnected"===t&&this.state!==this.states.synchronizing&&(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.deactivateTransport()","wasActive but another transport is connected and scheduled for activation, so going into the connecting state until it activates"),this.startSuspendTimer(),this.startTransitionTimer(this.states.connecting),this.notifyState({state:"connecting",error:r}))},r.prototype.noTransportsScheduledForActivation=function(){return a.isEmpty(this.pendingTransports)||this.pendingTransports.every((function(e){return!e.isConnected}))},r.prototype.sync=function(e,t,r){var n=setTimeout((function(){e.off("sync"),r(new f.default("Timeout waiting for sync response",5e4,500))}),this.options.timeouts.realtimeRequestTimeout),a=o.default.fromValues({action:x.SYNC,connectionKey:this.connectionKey});void 0!==t&&(a.connectionSerial=t),e.send(a),e.once("sync",(function(e,t){clearTimeout(n),r(null,e,t)}))},r.prototype.setConnection=function(e,t,r,n){var o=this,a=this.connectionId,i=a&&a!==e;(i||!a&&n)&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.setConnection()","Resetting msgSerial"),this.msgSerial=0),this.connectionId!==e?(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.setConnection()","New connectionId; reattaching any attached channels"),l.default.Config.nextTick((function(){o.realtime.channels.reattach()}))):this.options.checkChannelsOnResume&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.setConnection()","Same connectionId; checkChannelsOnResume is enabled"),clearTimeout(this.channelResumeCheckTimer),this.realtime.channels.resetAttachedMsgIndicators(),this.channelResumeCheckTimer=setTimeout((function(){o.realtime.channels.checkAttachedMsgIndicators(e)}),3e4)),this.realtime.connection.id=this.connectionId=e,this.realtime.connection.key=this.connectionKey=t.connectionKey;var s=i||!a;this.setConnectionSerial(r,s,!1)},r.prototype.clearConnection=function(){this.realtime.connection.id=this.connectionId=void 0,this.realtime.connection.key=this.connectionKey=void 0,this.clearConnectionSerial(),this.msgSerial=0,this.unpersistConnection()},r.prototype.setConnectionSerial=function(e,t,r){if(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.setConnectionSerial()","Updating connection serial; serial = "+e+"; force = "+t+"; previous = "+this.connectionSerial),void 0!==e){if(e<=this.connectionSerial&&!t)return r&&u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.setConnectionSerial()","received message with connectionSerial "+e+", but current connectionSerial is "+this.connectionSerial+"; assuming message is a duplicate and discarding it"),!0;this.realtime.connection.serial=this.connectionSerial=e,this.setRecoveryKey()}},r.prototype.clearConnectionSerial=function(){this.realtime.connection.serial=this.connectionSerial=void 0,this.clearRecoveryKey()},r.prototype.setRecoveryKey=function(){this.realtime.connection.recoveryKey=this.connectionKey+":"+this.connectionSerial+":"+this.msgSerial},r.prototype.clearRecoveryKey=function(){this.realtime.connection.recoveryKey=null},r.prototype.checkConnectionStateFreshness=function(){if(this.lastActivity&&this.connectionId){var e=a.now()-this.lastActivity;e>this.connectionStateTtl+this.maxIdleInterval&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.checkConnectionStateFreshness()","Last known activity from realtime was "+e+"ms ago; discarding connection state"),this.clearConnection(),this.states.connecting.failState="suspended")}},r.prototype.persistConnection=function(){if(C()){var t=this.realtime.connection.recoveryKey;t&&(r={recoveryKey:t,disconnectedAt:a.now(),location:e.location,clientId:this.realtime.auth.clientId},C()&&(null===(o=null===(n=l.default.WebStorage)||void 0===n?void 0:n.setSession)||void 0===o||o.call(n,E,r)))}var r,n,o},r.prototype.unpersistConnection=function(){var e,t;C()&&(null===(t=null===(e=l.default.WebStorage)||void 0===e?void 0:e.removeSession)||void 0===t||t.call(e,E))},r.prototype.getError=function(){return this.errorReason||this.getStateError()},r.prototype.getStateError=function(){return g.default[this.state.state]},r.prototype.activeState=function(){return this.state.queueEvents||this.state.sendEvents},r.prototype.enactStateChange=function(e){var t="failed"===e.current?u.default.LOG_ERROR:u.default.LOG_MAJOR;u.default.logAction(t,"Connection state",e.current+(e.reason?"; reason: "+e.reason:"")),u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.enactStateChange","setting new state: "+e.current+"; reason = "+(e.reason&&e.reason.message));var r=this.state=this.states[e.current];e.reason&&(this.errorReason=e.reason,this.realtime.connection.errorReason=e.reason),(r.terminal||"suspended"===r.state)&&this.clearConnection(),this.emit("connectionstate",e)},r.prototype.startTransitionTimer=function(e){var t=this;u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.startTransitionTimer()","transitionState: "+e.state),this.transitionTimer&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.startTransitionTimer()","clearing already-running timer"),clearTimeout(this.transitionTimer)),this.transitionTimer=setTimeout((function(){t.transitionTimer&&(t.transitionTimer=null,u.default.logAction(u.default.LOG_MINOR,"ConnectionManager "+e.state+" timer expired","requesting new state: "+e.failState),t.notifyState({state:e.failState}))}),e.retryDelay)},r.prototype.cancelTransitionTimer=function(){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.cancelTransitionTimer()",""),this.transitionTimer&&(clearTimeout(this.transitionTimer),this.transitionTimer=null)},r.prototype.startSuspendTimer=function(){var e=this;this.suspendTimer||(this.suspendTimer=setTimeout((function(){e.suspendTimer&&(e.suspendTimer=null,u.default.logAction(u.default.LOG_MINOR,"ConnectionManager suspend timer expired","requesting new state: suspended"),e.states.connecting.failState="suspended",e.notifyState({state:"suspended"}))}),this.connectionStateTtl))},r.prototype.checkSuspendTimer=function(e){"disconnected"!==e&&"suspended"!==e&&"connecting"!==e&&this.cancelSuspendTimer()},r.prototype.cancelSuspendTimer=function(){this.states.connecting.failState="disconnected",this.suspendTimer&&(clearTimeout(this.suspendTimer),this.suspendTimer=null)},r.prototype.startRetryTimer=function(e){var t=this;this.retryTimer=setTimeout((function(){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager retry timer expired","retrying"),t.retryTimer=null,t.requestState({state:"connecting"})}),e)},r.prototype.cancelRetryTimer=function(){this.retryTimer&&(clearTimeout(this.retryTimer),this.retryTimer=null)},r.prototype.notifyState=function(e){var t=this,r=e.state,n="disconnected"===r&&(this.state===this.states.connected||this.state===this.states.synchronizing||e.retryImmediately||this.state===this.states.connecting&&e.error&&p.default.isTokenErr(e.error)&&!(this.errorReason&&p.default.isTokenErr(this.errorReason)));if(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.notifyState()","new state: "+r+(n?"; will retry connection immediately":"")),r!=this.state.state&&(this.cancelTransitionTimer(),this.cancelRetryTimer(),this.checkSuspendTimer(e.state),"suspended"!==r&&"connected"!==r||(this.disconnectedRetryCount=0),!this.state.terminal)){var o=this.states[e.state],i=o.retryDelay;"disconnected"===o.state&&(this.disconnectedRetryCount++,i=o.retryDelay*a.getBackoffCoefficient(this.disconnectedRetryCount)*a.getJitterCoefficient());var s=new A.default(this.state.state,o.state,i,e.error||g.default[o.state]);if(n){var c=function(){t.state===t.states.disconnected&&(t.lastAutoReconnectAttempt=a.now(),t.requestState({state:"connecting"}))},d=this.lastAutoReconnectAttempt&&a.now()-this.lastAutoReconnectAttempt+1;d&&d<1e3?(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.notifyState()","Last reconnect attempt was only "+d+"ms ago, waiting another "+(1e3-d)+"ms before trying again"),setTimeout(c,1e3-d)):l.default.Config.nextTick(c)}else"disconnected"!==r&&"suspended"!==r||this.startRetryTimer(i);("disconnected"===r&&!n||"suspended"===r||o.terminal)&&l.default.Config.nextTick((function(){t.disconnectAllTransports()})),"connected"!=r||this.activeProtocol||u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.notifyState()","Broken invariant: attempted to go into connected state, but there is no active protocol"),this.enactStateChange(s),this.state.sendEvents?this.sendQueuedMessages():this.state.queueEvents||(this.realtime.channels.propogateConnectionInterruption(r,s.reason),this.failQueuedMessages(s.reason))}},r.prototype.requestState=function(e){var t=this,r=e.state;if(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.requestState()","requested state: "+r+"; current state: "+this.state.state),r!=this.state.state&&(this.cancelTransitionTimer(),this.cancelRetryTimer(),this.checkSuspendTimer(r),!("connecting"==r&&"connected"==this.state.state||"closing"==r&&"closed"==this.state.state))){var n=this.states[r],o=new A.default(this.state.state,n.state,null,e.error||g.default[n.state]);this.enactStateChange(o),"connecting"==r&&l.default.Config.nextTick((function(){t.startConnect()})),"closing"==r&&this.closeImpl()}},r.prototype.startConnect=function(){var e=this;if(this.state===this.states.connecting){var t=this.realtime.auth,r=++this.connectCounter,n=function(){e.checkConnectionStateFreshness(),e.getTransportParams((function(t){r===e.connectCounter&&e.connectImpl(t,r)}))};if(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.startConnect()","starting connection"),this.startSuspendTimer(),this.startTransitionTimer(this.states.connecting),"basic"===t.method)n();else{var o=function(t){r===e.connectCounter&&(t?e.actOnErrorFromAuthorize(t):n())};this.errorReason&&p.default.isTokenErr(this.errorReason)?t._forceNewToken(null,null,o):t._ensureValidAuthCredentials(!1,o)}}else u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.startConnect()","Must be in connecting state to connect, but was "+this.state.state)},r.prototype.connectImpl=function(e,t){var r=this.state.state;r!==this.states.connecting.state&&r!==this.states.connected.state?u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.connectImpl()","Must be in connecting state to connect (or connected to upgrade), but was "+r):this.pendingTransports.length?u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.connectImpl()","Transports "+this.pendingTransports[0].toString()+" currently pending; taking no action"):r==this.states.connected.state?this.upgradeIfNeeded(e):this.transports.length>1&&this.getTransportPreference()?this.connectPreference(e):this.connectBase(e,t)},r.prototype.connectPreference=function(e){var t=this,r=this.getTransportPreference(),n=!1;a.arrIn(this.transports,r)||(this.unpersistTransportPreference(),this.connectImpl(e)),u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.connectPreference()","Trying to connect with stored transport preference "+r);var o=setTimeout((function(){n=!0,t.state.state!==t.states.connected.state&&(u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.connectPreference()","Shortcircuit connection attempt with "+r+" failed; clearing preference and trying from scratch"),t.disconnectAllTransports(),t.unpersistTransportPreference()),t.connectImpl(e)}),this.options.timeouts.preferenceConnectTimeout);e.host=this.httpHosts[0],this.tryATransport(e,r,(function(r,i){clearTimeout(o),n&&i?(i.off(),i.disconnect(),a.arrDeleteValue(t.pendingTransports,i)):i||r||(t.unpersistTransportPreference(),t.connectImpl(e))}))},r.prototype.connectBase=function(e,t){var r=this,n=function(e){r.notifyState({state:r.states.connecting.failState,error:e})},o=this.httpHosts.slice(),i=function(e,n){t===r.connectCounter&&(n||e||l())};u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.connectBase()","Trying to connect with base transport "+this.baseTransport);var s=o.shift();if(s){e.host=s;var l=function(){o.length?r.realtime.http.checkConnectivity?r.realtime.http.checkConnectivity((function(s,l){t===r.connectCounter&&(s?n(s):l?(e.host=a.arrPopRandomElement(o),r.tryATransport(e,r.baseTransport,i)):n(new f.default("Unable to connect (network unreachable)",80003,404)))})):n(new f.default("Internal error: Http.checkConnectivity not set",null,500)):n(new f.default("Unable to connect (and no more fallback hosts to try)",80003,404))};if(this.forceFallbackHost&&o.length)return this.forceFallbackHost=!1,void l();this.tryATransport(e,this.baseTransport,i)}else n(new f.default("Unable to connect (no available host)",80003,404))},r.prototype.getUpgradePossibilities=function(){var e=this.activeProtocol.getTransport().shortName,t=a.arrIndexOf(this.upgradeTransports,e);return this.upgradeTransports.slice(t+1)},r.prototype.upgradeIfNeeded=function(e){var t=this,r=this.getUpgradePossibilities();u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.upgradeIfNeeded()","upgrade possibilities: "+l.default.Config.inspect(r)),r.length&&a.arrForEach(r,(function(r){var n=t.createTransportParams(e.host,"upgrade");t.tryATransport(n,r,k)}))},r.prototype.closeImpl=function(){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.closeImpl()","closing connection"),this.cancelSuspendTimer(),this.startTransitionTimer(this.states.closing),a.safeArrForEach(this.pendingTransports,(function(e){u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.closeImpl()","Closing pending transport: "+e),e&&e.close()})),a.safeArrForEach(this.proposedTransports,(function(e){u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.closeImpl()","Disposing of proposed transport: "+e),e&&e.dispose()})),this.activeProtocol&&(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.closeImpl()","Closing active transport: "+this.activeProtocol.getTransport()),this.activeProtocol.getTransport().close()),this.notifyState({state:"closed"})},r.prototype.onAuthUpdated=function(e,t){var r,n=this;switch(this.state.state){case"connected":if(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.onAuthUpdated()","Sending AUTH message on active transport"),(this.pendingTransports.length||this.proposedTransports.length)&&this.state!==this.states.synchronizing){this.disconnectAllTransports(!0);var a=this.activeProtocol.getTransport().params;l.default.Config.nextTick((function(){"connected"===n.state.state&&n.upgradeIfNeeded(a)}))}var i=null===(r=this.activeProtocol)||void 0===r?void 0:r.getTransport();i&&i.onAuthUpdated&&i.onAuthUpdated(e);var s=o.default.fromValues({action:x.AUTH,auth:{accessToken:e.token}});this.send(s);var c=function(){n.off(d),t(null,e)},d=function(e){"failed"===e.current&&(n.off(c),n.off(d),t(e.reason||n.getStateError()))};this.once("connectiondetails",c),this.on("connectionstate",d);break;case"connecting":u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.onAuthUpdated()","Aborting current connection attempts in order to start again with the new auth details"),this.disconnectAllTransports();default:u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.onAuthUpdated()","Connection state is "+this.state.state+"; waiting until either connected or failed");var A=function(r){switch(r.current){case"connected":n.off(A),t(null,e);break;case"failed":case"closed":case"suspended":n.off(A),t(r.reason||n.getStateError())}};this.on("connectionstate",A),"connecting"===this.state.state?this.startConnect():this.requestState({state:"connecting"})}},r.prototype.disconnectAllTransports=function(e){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.disconnectAllTransports()","Disconnecting all transports"+(e?" except the active transport":"")),this.connectCounter++,a.safeArrForEach(this.pendingTransports,(function(e){u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.disconnectAllTransports()","Disconnecting pending transport: "+e),e&&e.disconnect()})),this.pendingTransports=[],a.safeArrForEach(this.proposedTransports,(function(e){u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.disconnectAllTransports()","Disposing of proposed transport: "+e),e&&e.dispose()})),this.proposedTransports=[],this.activeProtocol&&!e&&(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.disconnectAllTransports()","Disconnecting active transport: "+this.activeProtocol.getTransport()),this.activeProtocol.getTransport().disconnect())},r.prototype.send=function(e,t,r){r=r||k;var n=this.state;if(n.sendEvents)return u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.send()","sending event"),void this.sendImpl(new i.PendingMessage(e,r));if(!(t&&n.queueEvents||n.forceQueueEvents)){var a="rejecting event, queueEvent was "+t+", state was "+n.state;return u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.send()",a),void r(this.errorReason||new f.default(a,9e4,400))}u.default.shouldLog(u.default.LOG_MICRO)&&u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.send()","queueing msg; "+o.default.stringify(e)),this.queue(e,r)},r.prototype.sendImpl=function(e){var t=e.message;e.ackRequired&&!e.sendAttempted&&(t.msgSerial=this.msgSerial++,this.setRecoveryKey());try{this.activeProtocol.send(e)}catch(e){u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.sendImpl()","Unexpected exception in transport.send(): "+e.stack)}},r.prototype.queue=function(e,t){u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.queue()","queueing event");var r=this.queuedMessages.last(),n=this.options.maxMessageSize;r&&!r.sendAttempted&&function(e,t,r){var n;if(e.channel!==t.channel)return!1;if((n=e.action)!==x.PRESENCE&&n!==x.MESSAGE)return!1;if(n!==t.action)return!1;var o=n===x.PRESENCE?"presence":"messages",i=e[o].concat(t[o]);return!(h.default.getMessagesSize(i)>r||!a.allSame(i,"clientId")||!a.arrEvery(i,(function(e){return!e.id}))||(e[o]=i,0))}(r.message,e,n)?(r.merged||(r.callback=b.default.create([r.callback]),r.merged=!0),r.callback.push(t)):this.queuedMessages.push(new i.PendingMessage(e,t))},r.prototype.sendQueuedMessages=function(){var e;for(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.sendQueuedMessages()","sending "+this.queuedMessages.count()+" queued messages");e=this.queuedMessages.shift();)this.sendImpl(e)},r.prototype.queuePendingMessages=function(e){e&&e.length&&(u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.queuePendingMessages()","queueing "+e.length+" pending messages"),this.queuedMessages.prepend(e))},r.prototype.failQueuedMessages=function(e){var t=this.queuedMessages.count();t>0&&(u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.failQueuedMessages()","failing "+t+" queued messages, err = "+a.inspectError(e)),this.queuedMessages.completeAllMessages(e))},r.prototype.onChannelMessage=function(e,t){var r=this.activeProtocol&&t===this.activeProtocol.getTransport(),n=a.arrIn(this.pendingTransports,t)&&this.state==this.states.synchronizing,i=e.action===x.MESSAGE||e.action===x.PRESENCE;if(r||n){if(i){if(this.setConnectionSerial(e.connectionSerial,!1,!0))return;if(o.default.isDuplicate(e,this.mostRecentMsg))return void u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.onChannelMessage()","received message with different connectionSerial, but same message id as a previous; discarding; id = "+e.id);this.mostRecentMsg=e}this.realtime.channels.onChannelMessage(e)}else a.arrIndexOf([x.ACK,x.NACK,x.ERROR],e.action)>-1?this.realtime.channels.onChannelMessage(e):u.default.logAction(u.default.LOG_MICRO,"ConnectionManager.onChannelMessage()","received message "+JSON.stringify(e)+"on defunct transport; discarding")},r.prototype.ping=function(e,t){var r=this;if(e){u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.ping()","transport = "+e);var n=a.now(),o=a.cheapRandStr(),i=function(r){if(r===o){e.off("heartbeat",i),clearTimeout(s);var l=a.now()-n;t(null,l)}},s=setTimeout((function(){e.off("heartbeat",i),t(new f.default("Timeout waiting for heartbeat response",5e4,500))}),this.options.timeouts.realtimeRequestTimeout);return e.on("heartbeat",i),void e.ping(o)}if("connected"===this.state.state){var c=!1,d=function(){c||(c=!0,l.default.Config.nextTick((function(){r.ping(null,t)})))};this.on("transport.active",d),this.ping(this.activeProtocol.getTransport(),(function(e,n){r.off("transport.active",d),c||(c=!0,t(e,n))}))}else t(new f.default("Unable to ping service; not connected",4e4,400))},r.prototype.abort=function(e){this.activeProtocol.getTransport().fail(e)},r.prototype.registerProposedTransport=function(e){this.proposedTransports.push(e)},r.prototype.getTransportPreference=function(){var e,t;return this.transportPreference||w()&&(null===(t=null===(e=l.default.WebStorage)||void 0===e?void 0:e.get)||void 0===t?void 0:t.call(e,S))},r.prototype.persistTransportPreference=function(e){var t,r;a.arrIn(s.default.upgradeTransports,e.shortName)&&(this.transportPreference=e.shortName,w()&&(null===(r=null===(t=l.default.WebStorage)||void 0===t?void 0:t.set)||void 0===r||r.call(t,S,e.shortName)))},r.prototype.unpersistTransportPreference=function(){var e,t;this.transportPreference=null,w()&&(null===(t=null===(e=l.default.WebStorage)||void 0===e?void 0:e.remove)||void 0===t||t.call(e,S))},r.prototype.actOnErrorFromAuthorize=function(e){if(40171===e.code)this.notifyState({state:"failed",error:e});else if(e.statusCode===y.default.Forbidden){var t="Client configured authentication provider returned 403; failing the connection";u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.actOnErrorFromAuthorize()",t),this.notifyState({state:"failed",error:new f.default(t,80019,403,e)})}else t="Client configured authentication provider request failed",u.default.logAction(u.default.LOG_MINOR,"ConnectionManager.actOnErrorFromAuthorize",t),this.notifyState({state:this.state.failState,error:new f.default(t,80019,401,e)})},r.prototype.onConnectionDetailsUpdate=function(e,t){if(e){this.connectionDetails=e,e.maxMessageSize&&(this.options.maxMessageSize=e.maxMessageSize);var r=e.clientId;if(r){var n=this.realtime.auth._uncheckedSetClientId(r);if(n)return u.default.logAction(u.default.LOG_ERROR,"ConnectionManager.onConnectionDetailsUpdate()",n.message),void t.fail(n)}var o=e.connectionStateTtl;o&&(this.connectionStateTtl=o),this.maxIdleInterval=e.maxIdleInterval,this.emit("connectiondetails",e)}},r.supportedTransports={},r}(c.default);t.default=B}).call(this,r(12))},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(10)),a=n.__importStar(r(2)),i=n.__importDefault(r(7)),s=n.__importDefault(r(3)),l=n.__importDefault(r(19)),c=n.__importDefault(r(5)),d=n.__importDefault(r(0)),u=o.default.Action,A=o.default.fromValues({action:u.CLOSE}),g=o.default.fromValues({action:u.DISCONNECT}),f=function(e){function t(t,r,n,o){var a=e.call(this)||this;return o&&(n.format=void 0,n.heartbeats=!0),a.connectionManager=t,t.registerProposedTransport(a),a.auth=r,a.params=n,a.timeouts=n.options.timeouts,a.format=n.format,a.isConnected=!1,a.isFinished=!1,a.isDisposed=!1,a.maxIdleInterval=null,a.idleTimer=null,a.lastActivity=null,a}return n.__extends(t,e),t.prototype.connect=function(){},t.prototype.close=function(){this.isConnected&&this.requestClose(),this.finish("closed",l.default.closed)},t.prototype.disconnect=function(e){this.isConnected&&this.requestDisconnect(),this.finish("disconnected",e||l.default.disconnected)},t.prototype.fail=function(e){this.isConnected&&this.requestDisconnect(),this.finish("failed",e||l.default.failed)},t.prototype.finish=function(e,t){var r;this.isFinished||(this.isFinished=!0,this.isConnected=!1,this.maxIdleInterval=null,clearTimeout(null!==(r=this.idleTimer)&&void 0!==r?r:void 0),this.idleTimer=null,this.emit(e,t),this.dispose())},t.prototype.onProtocolMessage=function(e){switch(s.default.shouldLog(s.default.LOG_MICRO)&&s.default.logAction(s.default.LOG_MICRO,"Transport.onProtocolMessage()","received on "+this.shortName+": "+o.default.stringify(e)+"; connectionId = "+this.connectionManager.connectionId),this.onActivity(),e.action){case u.HEARTBEAT:s.default.logAction(s.default.LOG_MICRO,"Transport.onProtocolMessage()",this.shortName+" heartbeat; connectionId = "+this.connectionManager.connectionId),this.emit("heartbeat",e.id);break;case u.CONNECTED:this.onConnect(e),this.emit("connected",e.error,e.connectionId,e.connectionDetails,e);break;case u.CLOSED:this.onClose(e);break;case u.DISCONNECTED:this.onDisconnect(e);break;case u.ACK:this.emit("ack",e.msgSerial,e.count);break;case u.NACK:this.emit("nack",e.msgSerial,e.count,e.error);break;case u.SYNC:if(void 0!==e.connectionId){this.emit("sync",e.connectionId,e.connectionId);break}this.connectionManager.onChannelMessage(e,this);break;case u.AUTH:this.auth.authorize((function(e){e&&s.default.logAction(s.default.LOG_ERROR,"Transport.onProtocolMessage()","Ably requested re-authentication, but unable to obtain a new token: "+a.inspectError(e))}));break;case u.ERROR:if(s.default.logAction(s.default.LOG_MINOR,"Transport.onProtocolMessage()","received error action; connectionId = "+this.connectionManager.connectionId+"; err = "+d.default.Config.inspect(e.error)+(e.channel?", channel: "+e.channel:"")),void 0===e.channel){this.onFatalError(e);break}this.connectionManager.onChannelMessage(e,this);break;default:this.connectionManager.onChannelMessage(e,this)}},t.prototype.onConnect=function(e){if(this.isConnected=!0,!e.connectionDetails)throw new Error("Transport.onConnect(): Connect message recieved without connectionDetails");var t=e.connectionDetails.maxIdleInterval;t&&(this.maxIdleInterval=t+this.timeouts.realtimeRequestTimeout,this.onActivity())},t.prototype.onDisconnect=function(e){var t=e&&e.error;s.default.logAction(s.default.LOG_MINOR,"Transport.onDisconnect()","err = "+a.inspectError(t)),this.finish("disconnected",t)},t.prototype.onFatalError=function(e){var t=e&&e.error;s.default.logAction(s.default.LOG_MINOR,"Transport.onFatalError()","err = "+a.inspectError(t)),this.finish("failed",t)},t.prototype.onClose=function(e){var t=e&&e.error;s.default.logAction(s.default.LOG_MINOR,"Transport.onClose()","err = "+a.inspectError(t)),this.finish("closed",t)},t.prototype.requestClose=function(){s.default.logAction(s.default.LOG_MINOR,"Transport.requestClose()",""),this.send(A)},t.prototype.requestDisconnect=function(){s.default.logAction(s.default.LOG_MINOR,"Transport.requestDisconnect()",""),this.send(g)},t.prototype.ping=function(e){var t={action:o.default.Action.HEARTBEAT};e&&(t.id=e),this.send(o.default.fromValues(t))},t.prototype.dispose=function(){s.default.logAction(s.default.LOG_MINOR,"Transport.dispose()",""),this.isDisposed=!0,this.off()},t.prototype.onActivity=function(){this.maxIdleInterval&&(this.lastActivity=this.connectionManager.lastActivity=a.now(),this.setIdleTimer(this.maxIdleInterval+100))},t.prototype.setIdleTimer=function(e){var t=this;this.idleTimer||(this.idleTimer=setTimeout((function(){t.onIdleTimerExpire()}),e))},t.prototype.onIdleTimerExpire=function(){if(!this.lastActivity||!this.maxIdleInterval)throw new Error("Transport.onIdleTimerExpire(): lastActivity/maxIdleInterval not set");this.idleTimer=null;var e=a.now()-this.lastActivity,t=this.maxIdleInterval-e;if(t<=0){var r="No activity seen from realtime in "+e+"ms; assuming connection has dropped";s.default.logAction(s.default.LOG_ERROR,"Transport.onIdleTimerExpire()",r),this.disconnect(new c.default(r,80003,408))}else this.setIdleTimer(t+100)},t.tryConnect=function(e,t,r,n,o){var a,i=new e(t,r,n),l=function(e){clearTimeout(a),o({event:this.event,error:e})},d=t.options.timeouts.realtimeRequestTimeout;a=setTimeout((function(){i.off(["preconnect","disconnected","failed"]),i.dispose(),l.call({event:"disconnected"},new c.default("Timeout waiting for transport to indicate itself viable",5e4,500))}),d),i.on(["failed","disconnected"],l),i.on("preconnect",(function(){s.default.logAction(s.default.LOG_MINOR,"Transport.tryConnect()","viable transport "+i),clearTimeout(a),i.off(["failed","disconnected"],l),o(null,i)})),i.connect()},t}(i.default);t.default=f},function(e,t,r){var n,o,a,i,s,l,c,d;e.exports=(d=r(6),r(40),r(23),a=(o=(n=d).lib).Base,i=o.WordArray,l=(s=n.algo).MD5,c=s.EvpKDF=a.extend({cfg:a.extend({keySize:4,hasher:l,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,o=n.hasher.create(),a=i.create(),s=a.words,l=n.keySize,c=n.iterations;s.length>>2];e.sigBytes-=t}},a.BlockCipher=A.extend({cfg:A.cfg.extend({mode:p,padding:h}),reset:function(){var e;A.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),b=a.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),m=(o.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?s.create([1398893684,1701076831]).concat(r).concat(t):t).toString(d)},parse:function(e){var t,r=d.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=s.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),b.create({ciphertext:r,salt:t})}},v=a.SerializableCipher=i.extend({cfg:i.extend({format:m}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var o=e.createEncryptor(r,n),a=o.finalize(t),i=o.cfg;return b.create({ciphertext:a,key:r,iv:i.iv,algorithm:e,mode:i.mode,padding:i.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),y=(o.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=s.random(8));var o=u.create({keySize:t+r}).compute(e,n),a=s.create(o.words.slice(t),4*r);return o.sigBytes=4*t,b.create({key:o,iv:a,salt:n})}},w=a.PasswordBasedCipher=v.extend({cfg:v.cfg.extend({kdf:y}),encrypt:function(e,t,r,n){var o=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=o.iv;var a=v.encrypt.call(this,e,t,o.key,n);return a.mixIn(o),a},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var o=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=o.iv,v.decrypt.call(this,e,t,o.key,n)}}))))},function(e,t,r){"use strict";t.__esModule=!0,t.Request=t.createRequest=void 0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(11)),i=n.__importDefault(r(0)),s=n.__importDefault(r(7)),l=n.__importDefault(r(5)),c=n.__importDefault(r(8)),d=n.__importDefault(r(3)),u=n.__importDefault(r(20)),A=o.getGlobalObject(),g=function(){},f=A._ablyjs_jsonp={};f._=function(e){return f["_"+e]||g};var p=1,h="jsonp";function b(e,t,r,n,a,i,s){return i=i||c.default.TIMEOUTS,new v(void 0,e,t,o.copy(r),n,a,i,s)}t.createRequest=b;var m=function(e){function t(t,r,n){var o=e.call(this,t,r,n)||this;return o.shortName=h,n.stream=!1,o}return n.__extends(t,e),t.isAvailable=function(){return i.default.Config.jsonpSupported&&i.default.Config.allowComet},t.prototype.toString=function(){return"JSONPTransport; uri="+this.baseUri+"; isConnected="+this.isConnected},t.prototype.createRequest=function(e,t,r,n,o,a,i){return b(e,t,r,n,o,a=(null==this?void 0:this.timeouts)||a||c.default.TIMEOUTS,i)},t}(a.default),v=function(e){function t(t,r,n,a,i,s,l,c){var d=e.call(this)||this;return void 0===t&&(t=p++),d.id=t,d.uri=r,d.params=a||{},d.params.rnd=o.cheapRandStr(),n&&(n["X-Ably-Version"]&&(d.params.v=n["X-Ably-Version"]),n["X-Ably-Lib"]&&(d.params.lib=n["X-Ably-Lib"])),d.body=i,d.method=c,d.requestMode=s,d.timeouts=l,d.requestComplete=!1,d}return n.__extends(t,e),t.prototype.exec=function(){var e=this,t=this.id,r=this.body,n=this.method,a=this.uri,s=this.params;s.callback="_ablyjs_jsonp._("+t+")",s.envelope="jsonp",r&&(s.body=r),n&&"get"!==n&&(s.method=n);var c=this.script=document.createElement("script"),A=a+o.toQueryString(s);c.src=A,c.src.split("/").slice(-1)[0]!==A.split("/").slice(-1)[0]&&d.default.logAction(d.default.LOG_ERROR,"JSONP Request.exec()","Warning: the browser appears to have truncated the script URI. This will likely result in the request failing due to an unparseable body param"),c.async=!0,c.type="text/javascript",c.charset="UTF-8",c.onerror=function(t){e.complete(new l.default("JSONP script error (event: "+i.default.Config.inspect(t)+")",null,400))},f["_"+t]=function(t){if(t.statusCode){var r=t.response;if(204==t.statusCode)e.complete(null,null,null,t.statusCode);else if(r)if(t.statusCode<400||o.isArray(r))e.complete(null,r,t.headers,t.statusCode);else{var n=r.error||new l.default("Error response received from server",null,t.statusCode);e.complete(n)}else e.complete(new l.default("Invalid server response: no envelope detected",null,500))}else e.complete(null,t)};var g=this.requestMode==u.default.REQ_SEND?this.timeouts.httpRequestTimeout:this.timeouts.recvTimeout;this.timer=setTimeout(this.abort.bind(this),g);var p=document.getElementsByTagName("head")[0];p.insertBefore(c,p.firstChild)},t.prototype.complete=function(e,t,r,n){if(r=r||{},!this.requestComplete){this.requestComplete=!0;var o=void 0;t&&(o="string"==typeof t?"text/plain":"application/json",r["content-type"]=o,this.emit("data",t)),this.emit("complete",e,t,r,!0,n),this.dispose()}},t.prototype.abort=function(){this.dispose()},t.prototype.dispose=function(){var e=this.timer;e&&(clearTimeout(e),this.timer=null);var t=this.script;t.parentNode&&t.parentNode.removeChild(t),delete f[this.id],this.emit("disposed")},t}(s.default);t.Request=v,t.default=function(e){return A.JSONPTransport=m,m.isAvailable()&&(e.supportedTransports[h]=m),m}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(3)),i=n.__importDefault(r(8)),s=n.__importDefault(r(16)),l=n.__importDefault(r(46)),c=n.__importDefault(r(18)),d=n.__importDefault(r(33)),u=n.__importDefault(r(5)),A=n.__importDefault(r(49)),g=n.__importDefault(r(17)),f=n.__importDefault(r(0)),p=function(){},h=function(){function e(e){if(!e){var t="no options provided";throw a.default.logAction(a.default.LOG_ERROR,"Rest()",t),new Error(t)}var r=i.default.objectifyOptions(e);r.log&&a.default.setLog(r.log.level,r.log.handler),a.default.logAction(a.default.LOG_MICRO,"Rest()","initialized with clientOptions "+f.default.Config.inspect(e));var n=this.options=i.default.normaliseOptions(r);if(n.key){var o=n.key.match(/^([^:\s]+):([^:.\s]+)$/);if(!o)throw t="invalid key parameter",a.default.logAction(a.default.LOG_ERROR,"Rest()",t),new u.default(t,40400,404);n.keyName=o[1],n.keySecret=o[2]}if("clientId"in n){if("string"!=typeof n.clientId&&null!==n.clientId)throw new u.default("clientId must be either a string or null",40012,400);if("*"===n.clientId)throw new u.default('Can’t use "*" as a clientId as that string is reserved. (To change the default token request behaviour to use a wildcard clientId, use {defaultTokenParams: {clientId: "*"}})',40012,400)}a.default.logAction(a.default.LOG_MINOR,"Rest()","started; version = "+i.default.version),this.baseUri=this.authority=function(e){return i.default.getHttpScheme(n)+e+":"+i.default.getPort(n,!1)},this._currentFallback=null,this.serverTimeOffset=null,this.http=new f.default.Http(n),this.auth=new s.default(this,n),this.channels=new b(this),this.push=new l.default(this)}return e.prototype.stats=function(e,t){if(void 0===t)if("function"==typeof e)t=e,e=null;else{if(this.options.promises)return o.promisify(this,"stats",[e]);t=p}var r=o.defaultGetHeaders(this.options),n=this.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.http.supportsLinkHeaders?void 0:n;this.options.headers&&o.mixin(r,this.options.headers),new c.default(this,"/stats",r,a,(function(e,t,r){for(var n=r?e:JSON.parse(e),o=0;o>>7)^(f<<14|f>>>18)^f>>>3,h=c[g-2],b=(h<<15|h>>>17)^(h<<13|h>>>19)^h>>>10;c[g]=p+c[g-7]+b+c[g-16]}var m=n&o^n&a^o&a,v=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),y=A+((s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25))+(s&d^~s&u)+l[g]+c[g];A=u,u=d,d=s,s=i+y|0,i=a,a=o,o=n,n=y+(v+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+s|0,r[5]=r[5]+d|0,r[6]=r[6]+u|0,r[7]=r[7]+A|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=e.floor(n/4294967296),r[15+(o+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=a._createHelper(d),t.HmacSHA256=a._createHmacHelper(d)}(Math),n.SHA256)},function(e,t,r){e.exports=r(6).enc.Utf8},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(7)),i=n.__importDefault(r(3)),s=n.__importDefault(r(34)),l=n.__importDefault(r(9)),c=n.__importDefault(r(5)),d=n.__importDefault(r(18)),u=n.__importDefault(r(24)),A=n.__importDefault(r(0));function g(){}function f(e){return o.arrEvery(e,(function(e){return!e.id}))}function p(e){var t=e||{};if(t.cipher){if(!A.default.Crypto)throw new Error("Encryption not enabled; use ably.encryption.js instead");var r=A.default.Crypto.getCipher(t.cipher);t.cipher=r.cipherParams,t.channelCipher=r.cipher}else"cipher"in t&&(t.cipher=void 0,t.channelCipher=null);return t}var h=function(e){function t(t,r,n){var o=e.call(this)||this;return i.default.logAction(i.default.LOG_MINOR,"Channel()","started; name = "+r),o.rest=t,o.name=r,o.basePath="/channels/"+encodeURIComponent(r),o.presence=new s.default(o),o.channelOptions=p(n),o}return n.__extends(t,e),t.prototype.setOptions=function(e){this.channelOptions=p(e)},t.prototype.history=function(e,t){if(i.default.logAction(i.default.LOG_MICRO,"Channel.history()","channel = "+this.name),void 0===t)if("function"==typeof e)t=e,e=null;else{if(this.rest.options.promises)return o.promisify(this,"history",arguments);t=g}this._history(e,t)},t.prototype._history=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.rest.http.supportsLinkHeaders?void 0:n,i=o.defaultGetHeaders(r.options,n);r.options.headers&&o.mixin(i,r.options.headers);var s=this.channelOptions;new d.default(r,this.basePath+"/messages",i,a,(function(e,t,r){return l.default.fromResponseBody(e,s,r?void 0:n)})).get(e,t)},t.prototype.publish=function(){var e,t,r=this,n=arguments.length,a=arguments[0],i=arguments[1],s=arguments[n-1];if("function"!=typeof s){if(this.rest.options.promises)return o.promisify(this,"publish",arguments);s=g}if("string"==typeof a||null===a)e=[l.default.fromValues({name:a,data:i})],t=arguments[2];else if(o.isObject(a))e=[l.default.fromValues(a)],t=arguments[1];else{if(!o.isArray(a))throw new c.default("The single-argument form of publish() expects a message object or an array of message objects",40013,400);e=l.default.fromValuesArray(a),t=arguments[1]}"object"==typeof t&&t||(t={});var d=this.rest,u=d.options,A=u.useBinaryProtocol?o.Format.msgpack:o.Format.json,p=d.options.idempotentRestPublishing,h=o.defaultPostHeaders(d.options,A);if(u.headers&&o.mixin(h,u.headers),p&&f(e)){var b=o.randomString(9);o.arrForEach(e,(function(e,t){e.id=b+":"+t.toString()}))}l.default.encodeArray(e,this.channelOptions,(function(n){if(n)s(n);else{var o=l.default.getMessagesSize(e),a=u.maxMessageSize;o>a?s(new c.default("Maximum size of messages that can be published at once exceeded ( was "+o+" bytes; limit is "+a+" bytes)",40009,400)):r._publish(l.default.serialize(e,A),h,t,s)}}))},t.prototype._publish=function(e,t,r,n){u.default.post(this.rest,this.basePath+"/messages",e,t,r,null,n)},t.prototype.status=function(e){if("function"!=typeof e&&this.rest.options.promises)return o.promisify(this,"status",[]);var t=this.rest.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,r=o.defaultPostHeaders(this.rest.options,t);u.default.get(this.rest,this.basePath,r,{},t,e||g)},t}(a.default);t.default=h},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(7)),i=n.__importDefault(r(3)),s=n.__importDefault(r(18)),l=n.__importDefault(r(14));function c(){}var d=function(e){function t(t){var r=e.call(this)||this;return r.channel=t,r.basePath=t.basePath+"/presence",r}return n.__extends(t,e),t.prototype.get=function(e,t){if(i.default.logAction(i.default.LOG_MICRO,"Presence.get()","channel = "+this.channel.name),void 0===t)if("function"==typeof e)t=e,e=null;else{if(this.channel.rest.options.promises)return o.promisify(this,"get",arguments);t=c}var r=this.channel.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.channel.rest.http.supportsLinkHeaders?void 0:n,d=o.defaultGetHeaders(r.options,n);r.options.headers&&o.mixin(d,r.options.headers);var u=this.channel.channelOptions;new s.default(r,this.basePath,d,a,(function(e,t,r){return l.default.fromResponseBody(e,u,r?void 0:n)})).get(e,t)},t.prototype.history=function(e,t){i.default.logAction(i.default.LOG_MICRO,"Presence.history()","channel = "+this.channel.name),this._history(e,t)},t.prototype._history=function(e,t){if(void 0===t)if("function"==typeof e)t=e,e=null;else{if(this.channel.rest.options.promises)return o.promisify(this,"_history",arguments);t=c}var r=this.channel.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.channel.rest.http.supportsLinkHeaders?void 0:n,i=o.defaultGetHeaders(r.options,n);r.options.headers&&o.mixin(i,r.options.headers);var d=this.channel.channelOptions;new s.default(r,this.basePath+"/history",i,a,(function(e,t,r){return l.default.fromResponseBody(e,d,r?void 0:n)})).get(e,t)},t}(a.default);t.default=d},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(7)),a=n.__importDefault(r(3)),i=function(e){function t(){var t=e.call(this)||this;return t.messages=[],t}return n.__extends(t,e),t.prototype.count=function(){return this.messages.length},t.prototype.push=function(e){this.messages.push(e)},t.prototype.shift=function(){return this.messages.shift()},t.prototype.last=function(){return this.messages[this.messages.length-1]},t.prototype.copyAll=function(){return this.messages.slice()},t.prototype.append=function(e){this.messages.push.apply(this.messages,e)},t.prototype.prepend=function(e){this.messages.unshift.apply(this.messages,e)},t.prototype.completeMessages=function(e,t,r){a.default.logAction(a.default.LOG_MICRO,"MessageQueue.completeMessages()","serial = "+e+"; count = "+t),r=r||null;var n=this.messages;if(0===n.length)throw new Error("MessageQueue.completeMessages(): completeMessages called on any empty MessageQueue");var o=n[0];if(o){var i=o.message.msgSerial,s=e+t;if(s>i)for(var l=0,c=n.splice(0,s-i);l=n.Success&&es?a(new A.default("Maximum size of messages that can be published at once exceeded ( was "+r+" bytes; limit is "+s+" bytes)",40009,400)):e.__publish(n,a)}}))}else a(this.connectionManager.getError())},t.prototype.__publish=function(e,r){l.default.logAction(l.default.LOG_MICRO,"RealtimeChannel.publish()","message count = "+e.length);var n=this.state;switch(n){case"failed":case"suspended":r(A.default.fromValues(t.invalidStateError(n)));break;default:l.default.logAction(l.default.LOG_MICRO,"RealtimeChannel.publish()","sending message; channel state is "+n);var a=new o.default;a.action=p.MESSAGE,a.channel=this.name,a.messages=e,this.sendMessage(a,r)}},t.prototype.onEvent=function(e){l.default.logAction(l.default.LOG_MICRO,"RealtimeChannel.onEvent()","received message");for(var t=this.subscriptions,r=0;r>>31}var u=(n<<5|n>>>27)+s+l[c];u+=c<20?1518500249+(o&a|~o&i):c<40?1859775393+(o^a^i):c<60?(o&a|o&i|a&i)-1894007588:(o^a^i)-899497514,s=i,i=a,a=o<<30|o>>>2,o=n,n=u}r[0]=r[0]+n|0,r[1]=r[1]+o|0,r[2]=r[2]+a|0,r[3]=r[3]+i|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c),d.SHA1)},function(e,t,r){"use strict";function n(e,t,r){for(var n=0,o=r.length;n>>0&127|0);else if(a<2048)e.setUint8(t++,a>>>6&31|192),e.setUint8(t++,a>>>0&63|128);else if(a<65536)e.setUint8(t++,a>>>12&15|224),e.setUint8(t++,a>>>6&63|128),e.setUint8(t++,a>>>0&63|128);else{if(!(a<1114112))throw new Error("bad codepoint "+a);e.setUint8(t++,a>>>18&7|240),e.setUint8(t++,a>>>12&63|128),e.setUint8(t++,a>>>6&63|128),e.setUint8(t++,a>>>0&63|128)}}}function o(e,t,r){for(var n="",o=t,a=t+r;o=0){if(e<128)return t.setUint8(r,e),1;if(e<256)return t.setUint8(r,204),t.setUint8(r+1,e),2;if(e<65536)return t.setUint8(r,205),t.setUint16(r+1,e),3;if(e<4294967296)return t.setUint8(r,206),t.setUint32(r+1,e),5;if(e<0x10000000000000000)return t.setUint8(r,207),function(e,t,r){r<0x10000000000000000?(e.setUint32(t,Math.floor(r*s)),e.setInt32(t+4,-1&r)):(e.setUint32(t,4294967295),e.setUint32(t+4,4294967295))}(t,r+1,e),9;throw new Error("Number too big 0x"+e.toString(16))}if(e>=-32)return t.setInt8(r,e),1;if(e>=-128)return t.setUint8(r,208),t.setInt8(r+1,e),2;if(e>=-32768)return t.setUint8(r,209),t.setInt16(r+1,e),3;if(e>=-2147483648)return t.setUint8(r,210),t.setInt32(r+1,e),5;if(e>=-0x8000000000000000)return t.setUint8(r,211),function(e,t,r){r<0x8000000000000000?(e.setInt32(t,Math.floor(r*s)),e.setInt32(t+4,-1&r)):(e.setUint32(t,2147483647),e.setUint32(t+4,2147483647))}(t,r+1,e),9;throw new Error("Number too small -0x"+(-e).toString(16).substr(1))}if("undefined"===i)return o?0:(t.setUint8(r,212),t.setUint8(r+1,0),t.setUint8(r+2,0),3);if(null===e)return o?0:(t.setUint8(r,192),1);if("boolean"===i)return t.setUint8(r,e?195:194),1;if("function"==typeof e.toJSON)return d(e.toJSON(),t,r,o);if("object"===i){var A,g=0,f=void 0,p=Array.isArray(e);if((A=p?e.length:(f=c(e,o)).length)<16?(t.setUint8(r,A|(p?144:128)),g=1):A<65536?(t.setUint8(r,p?220:222),t.setUint16(r+1,A),g=3):A<4294967296&&(t.setUint8(r,p?221:223),t.setUint32(r+1,A),g=5),p)for(var h=0;h=0){if(e<128)return 1;if(e<256)return 2;if(e<65536)return 3;if(e<4294967296)return 5;if(e<0x10000000000000000)return 9;throw new Error("Number too big 0x"+e.toString(16))}if(e>=-32)return 1;if(e>=-128)return 2;if(e>=-32768)return 3;if(e>=-2147483648)return 5;if(e>=-0x8000000000000000)return 9;throw new Error("Number too small -0x"+e.toString(16).substr(1))}if("boolean"===r)return 1;if(null===e)return t?0:1;if(void 0===e)return t?0:3;if("function"==typeof e.toJSON)return u(e.toJSON(),t);if("object"===r){var i,s=0;if(Array.isArray(e)){i=e.length;for(var l=0;l20){n.push("...");break}var a=t.getUint8(o).toString(16);1===a.length&&(a="0"+a),n.push(a)}return"<"+r+" "+n.join(" ")+">"},utf8Write:n,utf8Read:o,utf8ByteCount:a}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(30)),a=n.__importDefault(r(50)),i=n.__importDefault(r(0)),s=n.__importDefault(r(55)),l=n.__importDefault(r(57)),c=n.__importDefault(r(62)),d=n.__importDefault(r(64)),u=n.__importDefault(r(68)),A=n.__importDefault(r(3)),g=r(8),f=n.__importDefault(r(25)),p=n.__importDefault(r(65)),h=n.__importDefault(r(66)),b=n.__importDefault(r(41)),m=n.__importDefault(r(9)),v=n.__importDefault(r(14));i.default.Crypto=l.default,i.default.BufferUtils=s.default,i.default.Http=c.default,i.default.Config=d.default,i.default.Transports=u.default,i.default.WebStorage=p.default,o.default.Crypto=l.default,a.default.Crypto=l.default,o.default.Message=m.default,a.default.Message=m.default,o.default.PresenceMessage=v.default,a.default.PresenceMessage=v.default,a.default.ConnectionManager=f.default,A.default.initLogHandlers(),i.default.Defaults=(0,g.getDefaults)(h.default),i.default.Config.agent&&(i.default.Defaults.agent+=" "+i.default.Config.agent),i.default.Config.noUpgrade&&(i.default.Defaults.upgradeTransports=[]),t.default={Rest:o.default,Realtime:a.default,msgpack:b.default}},function(e){e.exports=JSON.parse('{"name":"ably","description":"Realtime client library for Ably, the realtime messaging service","version":"1.2.34","license":"Apache-2.0","bugs":{"url":"https://github.com/ably/ably-js/issues","email":"support@ably.com"},"main":"./build/ably-node.js","typings":"./ably.d.ts","react-native":{"./build/ably-node.js":"./build/ably-reactnative.js"},"browser":{"./build/ably-node.js":"./build/ably-commonjs.js"},"files":["build/**","ably.d.ts","callbacks.d.ts","callbacks.js","promises.d.ts","promises.js","resources/**"],"dependencies":{"@ably/msgpack-js":"^0.4.0","got":"^11.8.2","ws":"^5.1"},"devDependencies":{"@ably/vcdiff-decoder":"1.0.4","@types/crypto-js":"^4.0.1","@types/node":"^15.0.0","@types/request":"^2.48.7","@types/ws":"^8.2.0","@typescript-eslint/eslint-plugin":"^5.14.0","@typescript-eslint/parser":"^5.14.0","async":"ably-forks/async#requirejs","aws-sdk":"^2.1075.0","chai":"^4.2.0","copy-webpack-plugin":"^6.4.1","cors":"~2.7","crypto-js":"ably-forks/crypto-js#crypto-lite","eslint":"^7.13.0","eslint-plugin-jsdoc":"^39.3.2","eslint-plugin-security":"^1.4.0","express":"^4.17.1","glob":"~4.4","google-closure-compiler":"^20180610.0.1","grunt":"^1.4.1","grunt-bump":"^0.3.1","grunt-cli":"~1.2.0","grunt-closure-tools":"^1.0.0","grunt-contrib-concat":"~0.5","grunt-shell":"~1.1","grunt-webpack":"^4.0.2","hexy":"~0.2","kexec":"ably-forks/node-kexec#update-for-node-12","minimist":"^1.2.5","mocha":"^8.1.3","null-loader":"^4.0.1","playwright":"^1.10.0","prettier":"^2.5.1","requirejs":"~2.1","shelljs":"~0.8","source-map-explorer":"^2.5.2","ts-loader":"^8.2.0","tsconfig-paths-webpack-plugin":"^3.5.2","tslib":"^2.3.1","typedoc":"^0.23.8","typescript":"^4.6.4","webpack":"^4.44.2","webpack-cli":"^4.2.0"},"engines":{"node":">=5.10.x"},"repository":"ably/ably-js","jspm":{"registry":"npm","directories":{"lib":"browser/static"},"main":"ably"},"scripts":{"grunt":"grunt","test":"grunt test","test:node":"grunt test:node","test:webserver":"grunt test:webserver","test:playwright":"node test/support/runPlaywrightTests.js","concat":"grunt concat","build":"grunt build:all","build:node":"grunt build:node","build:browser":"grunt build:browser","requirejs":"grunt requirejs","lint":"eslint .","lint:fix":"eslint --fix .","check-closure-compiler":"grunt check-closure-compiler","prepare":"npm run build","format":"prettier --write --ignore-path .gitignore src test ably.d.ts webpack.config.js Gruntfile.js scripts/cdn_deploy.js docs/chrome-mv3.md","format:check":"prettier --check --ignore-path .gitignore src test ably.d.ts webpack.config.js Gruntfile.js scripts/cdn_deploy.js","sourcemap":"source-map-explorer build/ably.min.js","sourcemap:noencryption":"source-map-explorer build/ably.noencryption.min.js","docs":"typedoc --entryPoints ably.d.ts --out docs/generated/default --readme docs/landing-pages/default.md && typedoc --entryPoints promises.d.ts --out docs/generated/promises --name \\"ably (Promise-based)\\" --readme docs/landing-pages/promises.md && cp docs/landing-pages/choose-library.html docs/generated/index.html"}}')},function(e,t,r){var n;e.exports=(n=r(6),r(31),r(23),n.HmacSHA256)},function(e,t){},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importStar(r(2)),a=n.__importDefault(r(47)),i=n.__importDefault(r(24)),s=n.__importDefault(r(18)),l=n.__importDefault(r(5)),c=n.__importDefault(r(48)),d=function(){},u=function(){function e(e){this.rest=e,this.deviceRegistrations=new A(e),this.channelSubscriptions=new g(e)}return e.prototype.publish=function(e,t,r){var n=this.rest,a=n.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,s=o.defaultPostHeaders(n.options,a),l={},c=o.mixin({recipient:e},t);if("function"!=typeof r){if(this.rest.options.promises)return o.promisify(this,"publish",arguments);r=d}n.options.headers&&o.mixin(s,n.options.headers),n.options.pushFullWait&&o.mixin(l,{fullWait:"true"});var u=o.encodeBody(c,a);i.default.post(n,"/push/publish",u,s,l,null,(function(e){return r(e)}))},e}(),A=function(){function e(e){this.rest=e}return e.prototype.save=function(e,t){var r=this.rest,n=a.default.fromValues(e),s=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,l=o.defaultPostHeaders(r.options,s),c={};if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"save",arguments);t=d}r.options.headers&&o.mixin(l,r.options.headers),r.options.pushFullWait&&o.mixin(c,{fullWait:"true"});var u=o.encodeBody(n,s);i.default.put(r,"/push/deviceRegistrations/"+encodeURIComponent(e.id),u,l,c,null,(function(e,r,n,o){t(e,e?void 0:a.default.fromResponseBody(r,o?void 0:s))}))},e.prototype.get=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,s=o.defaultGetHeaders(r.options,n),c=e.id||e;if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"get",arguments);t=d}"string"==typeof c&&c.length?(r.options.headers&&o.mixin(s,r.options.headers),i.default.get(r,"/push/deviceRegistrations/"+encodeURIComponent(c),s,{},null,(function(e,r,o,i){t(e,e?void 0:a.default.fromResponseBody(r,i?void 0:n))}))):t(new l.default("First argument to DeviceRegistrations#get must be a deviceId string or DeviceDetails",4e4,400))},e.prototype.list=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,i=this.rest.http.supportsLinkHeaders?void 0:n,l=o.defaultGetHeaders(r.options,n);if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"list",arguments);t=d}r.options.headers&&o.mixin(l,r.options.headers),new s.default(r,"/push/deviceRegistrations",l,i,(function(e,t,r){return a.default.fromResponseBody(e,r?void 0:n)})).get(e,t)},e.prototype.remove=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=o.defaultGetHeaders(r.options,n),s={},c=e.id||e;if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"remove",arguments);t=d}"string"==typeof c&&c.length?(r.options.headers&&o.mixin(a,r.options.headers),r.options.pushFullWait&&o.mixin(s,{fullWait:"true"}),i.default.delete(r,"/push/deviceRegistrations/"+encodeURIComponent(c),a,s,null,(function(e){return t(e)}))):t(new l.default("First argument to DeviceRegistrations#remove must be a deviceId string or DeviceDetails",4e4,400))},e.prototype.removeWhere=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=o.defaultGetHeaders(r.options,n);if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"removeWhere",arguments);t=d}r.options.headers&&o.mixin(a,r.options.headers),r.options.pushFullWait&&o.mixin(e,{fullWait:"true"}),i.default.delete(r,"/push/deviceRegistrations",a,e,null,(function(e){return t(e)}))},e}(),g=function(){function e(t){this.remove=e.prototype.removeWhere,this.rest=t}return e.prototype.save=function(e,t){var r=this.rest,n=c.default.fromValues(e),a=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,s=o.defaultPostHeaders(r.options,a),l={};if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"save",arguments);t=d}r.options.headers&&o.mixin(s,r.options.headers),r.options.pushFullWait&&o.mixin(l,{fullWait:"true"});var u=o.encodeBody(n,a);i.default.post(r,"/push/channelSubscriptions",u,s,l,null,(function(e,r,n,o){t(e,!e&&c.default.fromResponseBody(r,o?void 0:a))}))},e.prototype.list=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.rest.http.supportsLinkHeaders?void 0:n,i=o.defaultGetHeaders(r.options,n);if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"list",arguments);t=d}r.options.headers&&o.mixin(i,r.options.headers),new s.default(r,"/push/channelSubscriptions",i,a,(function(e,t,r){return c.default.fromResponseBody(e,r?void 0:n)})).get(e,t)},e.prototype.removeWhere=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=o.defaultGetHeaders(r.options,n);if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"removeWhere",arguments);t=d}r.options.headers&&o.mixin(a,r.options.headers),r.options.pushFullWait&&o.mixin(e,{fullWait:"true"}),i.default.delete(r,"/push/channelSubscriptions",a,e,null,(function(e){return t(e)}))},e.prototype.listChannels=function(e,t){var r=this.rest,n=r.options.useBinaryProtocol?o.Format.msgpack:o.Format.json,a=this.rest.http.supportsLinkHeaders?void 0:n,i=o.defaultGetHeaders(r.options,n);if("function"!=typeof t){if(this.rest.options.promises)return o.promisify(this,"listChannels",arguments);t=d}r.options.headers&&o.mixin(i,r.options.headers),r.options.pushFullWait&&o.mixin(e,{fullWait:"true"}),new s.default(r,"/push/channels",i,a,(function(e,t,r){for(var a=!r&&n?o.decodeBody(e,n):e,i=0;it.timestamp;var r=e.parseId(),n=t.parseId();return r.msgSerial===n.msgSerial?r.index>n.index:r.msgSerial>n.msgSerial}var m=function(e){function t(t){var r=e.call(this,t)||this;return r.channel=t,r.syncComplete=!1,r.members=new v(r),r._myMembers=new v(r),r.subscriptions=new i.default,r.pendingPresence=[],r}return n.__extends(t,e),t.prototype.enter=function(e,t){if(p(this))throw new c.default("clientId must be specified to enter a presence channel",40012,400);return this._enterOrUpdateClient(void 0,e,"enter",t)},t.prototype.update=function(e,t){if(p(this))throw new c.default("clientId must be specified to update presence data",40012,400);return this._enterOrUpdateClient(void 0,e,"update",t)},t.prototype.enterClient=function(e,t,r){return this._enterOrUpdateClient(e,t,"enter",r)},t.prototype.updateClient=function(e,t,r){return this._enterOrUpdateClient(e,t,"update",r)},t.prototype._enterOrUpdateClient=function(e,t,r,n){var a=this;if(!n)if("function"==typeof t)n=t,t=null;else{if(this.channel.realtime.options.promises)return o.promisify(this,"_enterOrUpdateClient",[e,t,r]);n=g}var i=this.channel;if(i.connectionManager.activeState()){s.default.logAction(s.default.LOG_MICRO,"RealtimePresence."+r+"Client()","channel = "+i.name+", client = "+(e||"(implicit) "+this.channel.realtime.auth.clientId));var d=l.default.fromValues({action:r,data:t});e&&(d.clientId=e),l.default.encode(d,i.channelOptions,(function(e){if(e)n(e);else switch(i.state){case"attached":i.sendPresence(d,n);break;case"initialized":case"detached":i.attach();case"attaching":a.pendingPresence.push({presence:d,callback:n});break;default:(e=new c.default("Unable to "+r+" presence channel while in "+i.state+" state",90001)).code=90001,n(e)}}))}else n(i.connectionManager.getError())},t.prototype.leave=function(e,t){if(p(this))throw new c.default("clientId must have been specified to enter or leave a presence channel",40012,400);return this.leaveClient(void 0,e,t)},t.prototype.leaveClient=function(e,t,r){if(!r)if("function"==typeof t)r=t,t=null;else{if(this.channel.realtime.options.promises)return o.promisify(this,"leaveClient",[e,t]);r=g}var n=this.channel;if(n.connectionManager.activeState()){s.default.logAction(s.default.LOG_MICRO,"RealtimePresence.leaveClient()","leaving; channel = "+this.channel.name+", client = "+e);var a=l.default.fromValues({action:"leave",data:t});switch(e&&(a.clientId=e),n.state){case"attached":n.sendPresence(a,r);break;case"attaching":this.pendingPresence.push({presence:a,callback:r});break;case"initialized":case"failed":var i=new c.default("Unable to leave presence channel (incompatible state)",90001);null==r||r(i);break;default:null==r||r(d.default.invalidStateError(n.state))}}else null==r||r(n.connectionManager.getError())},t.prototype.get=function(e,t){var r=this,n=Array.prototype.slice.call(arguments);1==n.length&&"function"==typeof n[0]&&n.unshift(null),e=n[0],t=n[1];var a=!e||!("waitForSync"in e)||e.waitForSync;if(!t){if(this.channel.realtime.options.promises)return o.promisify(this,"get",n);t=g}function i(r){t(null,e?r.list(e):r.values())}"suspended"!==this.channel.state?h(this.channel,t,(function(){var e=r.members;a?e.waitSync((function(){i(e)})):i(e)})):a?t(c.default.fromValues({statusCode:400,code:91005,message:"Presence state is out of sync due to channel being in the SUSPENDED state"})):i(this.members)},t.prototype.history=function(e,t){if(s.default.logAction(s.default.LOG_MICRO,"RealtimePresence.history()","channel = "+this.name),void 0===t)if("function"==typeof e)t=e,e=null;else{if(this.channel.realtime.options.promises)return o.promisify(this,"history",arguments);t=g}e&&e.untilAttach&&("attached"===this.channel.state?(delete e.untilAttach,e.from_serial=this.channel.properties.attachSerial):t(new c.default("option untilAttach requires the channel to be attached, was: "+this.channel.state,4e4,400))),a.default.prototype._history.call(this,e,t)},t.prototype.setPresence=function(e,t,r){var n,o;s.default.logAction(s.default.LOG_MICRO,"RealtimePresence.setPresence()","received presence for "+e.length+" participants; syncChannelSerial = "+r);var a=this.members,i=this._myMembers,c=[],u=this.channel.connectionManager.connectionId;t&&(this.members.startSync(),r&&(o=r.match(/^[\w-]+:(.*)$/))&&(n=o[1]));for(var A=0;A>12,r=(4032&o)>>6,n=63&o,a+=i[(16515072&o)>>18]+i[t]+i[r]+i[n];return 1==l?(t=(3&(o=e[c]))<<4,a+=i[(252&o)>>2]+i[t]+"=="):2==l&&(t=(1008&(o=e[c]<<8|e[c+1]))>>4,r=(15&o)<<2,a+=i[(64512&o)>>10]+i[t]+i[r]+"="),a},e.prototype.base64ToArrayBuffer=function(e){for(var t=null===atob||void 0===atob?void 0:atob(e),r=t.length,n=new Uint8Array(r),o=0;o>>2]>>>24-n%4*8&255;return r}throw new Error("BufferUtils.toBuffer expected an arraybuffer, typed array, or CryptoJS wordarray")},e.prototype.toArrayBuffer=function(e){return this.isArrayBuffer(e)?e:this.toBuffer(e).buffer},e.prototype.toWordArray=function(e){return this.isTypedArray(e)&&(e=e.buffer),this.isWordArray(e)?e:s.default.create(e)},e.prototype.base64Encode=function(e){return this.isWordArray(e)?(0,i.stringify)(e):this.uint8ViewToBase64(this.toBuffer(e))},e.prototype.base64Decode=function(e){return ArrayBuffer&&l.default.Config.atob?this.base64ToArrayBuffer(e):(0,i.parse)(e)},e.prototype.hexEncode=function(e){return(0,o.stringify)(this.toWordArray(e))},e.prototype.hexDecode=function(e){var t=(0,o.parse)(e);return ArrayBuffer?this.toArrayBuffer(t):t},e.prototype.utf8Encode=function(e){return TextEncoder?(new TextEncoder).encode(e).buffer:(0,a.parse)(e)},e.prototype.utf8Decode=function(e){if(!this.isBuffer(e))throw new Error("Expected input of utf8decode to be an arraybuffer, typed array, or CryptoJS wordarray");return TextDecoder&&!this.isWordArray(e)?(new TextDecoder).decode(e):(e=this.toWordArray(e),(0,a.stringify)(e))},e.prototype.bufferCompare=function(e,t){if(!e)return-1;if(!t)return 1;var r=this.toWordArray(e),n=this.toWordArray(t);r.clamp(),n.clamp();var o=r.sigBytes-n.sigBytes;if(0!=o)return o;for(var a=r.words,i=n.words,s=0;s>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>16-o%4*8&65535;n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],o=0;o>>1]|=e.charCodeAt(o)<<16-o%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],a=0;a>>2]>>>16-a%4*8&65535);n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var r=e.length,n=[],a=0;a>>1]|=o(e.charCodeAt(a)<<16-a%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},function(e,t,r){var n,o,a,i;e.exports=(i=r(6),r(28),o=(n=i).lib.CipherParams,a=n.enc.Hex,n.format.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var t=a.parse(e);return o.create({ciphertext:t})}},i.format.Hex)},function(e,t,r){var n;e.exports=(n=r(6),r(13),r(61),r(27),r(28),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,o=[],a=[],i=[],s=[],l=[],c=[],d=[],u=[],A=[],g=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,o[r]=f,a[f]=r;var p=e[r],h=e[p],b=e[h],m=257*e[f]^16843008*f;i[r]=m<<24|m>>>8,s[r]=m<<16|m>>>16,l[r]=m<<8|m>>>24,c[r]=m,m=16843009*b^65537*h^257*p^16843008*r,d[f]=m<<24|m>>>8,u[f]=m<<16|m>>>16,A[f]=m<<8|m>>>24,g[f]=m,r?(r=p^e[e[e[b^p]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],p=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),a=this._keySchedule=[],i=0;i6&&i%r==4&&(c=o[c>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c]):(c=o[(c=c<<8|c>>>24)>>>24]<<24|o[c>>>16&255]<<16|o[c>>>8&255]<<8|o[255&c],c^=f[i/r|0]<<24),a[i]=a[i-r]^c);for(var s=this._invKeySchedule=[],l=0;l>>24]]^u[o[c>>>16&255]]^A[o[c>>>8&255]]^g[o[255&c]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,i,s,l,c,o)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,d,u,A,g,a),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,o,a,i,s){for(var l=this._nRounds,c=e[t]^r[0],d=e[t+1]^r[1],u=e[t+2]^r[2],A=e[t+3]^r[3],g=4,f=1;f>>24]^o[d>>>16&255]^a[u>>>8&255]^i[255&A]^r[g++],h=n[d>>>24]^o[u>>>16&255]^a[A>>>8&255]^i[255&c]^r[g++],b=n[u>>>24]^o[A>>>16&255]^a[c>>>8&255]^i[255&d]^r[g++],m=n[A>>>24]^o[c>>>16&255]^a[d>>>8&255]^i[255&u]^r[g++];c=p,d=h,u=b,A=m}p=(s[c>>>24]<<24|s[d>>>16&255]<<16|s[u>>>8&255]<<8|s[255&A])^r[g++],h=(s[d>>>24]<<24|s[u>>>16&255]<<16|s[A>>>8&255]<<8|s[255&c])^r[g++],b=(s[u>>>24]<<24|s[A>>>16&255]<<16|s[c>>>8&255]<<8|s[255&d])^r[g++],m=(s[A>>>24]<<24|s[c>>>16&255]<<16|s[d>>>8&255]<<8|s[255&u])^r[g++],e[t]=p,e[t+1]=h,e[t+2]=b,e[t+3]=m},keySize:8});e.AES=t._createHelper(p)}(),n.AES)},function(e,t,r){var n;e.exports=(n=r(6),function(e){var t=n,r=t.lib,o=r.WordArray,a=r.Hasher,i=t.algo,s=[];!function(){for(var t=0;t<64;t++)s[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=i.MD5=a.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,o=e[n];e[n]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var a=this._hash.words,i=e[t+0],l=e[t+1],g=e[t+2],f=e[t+3],p=e[t+4],h=e[t+5],b=e[t+6],m=e[t+7],v=e[t+8],y=e[t+9],w=e[t+10],C=e[t+11],x=e[t+12],k=e[t+13],S=e[t+14],E=e[t+15],_=a[0],B=a[1],O=a[2],T=a[3];_=c(_,B,O,T,i,7,s[0]),T=c(T,_,B,O,l,12,s[1]),O=c(O,T,_,B,g,17,s[2]),B=c(B,O,T,_,f,22,s[3]),_=c(_,B,O,T,p,7,s[4]),T=c(T,_,B,O,h,12,s[5]),O=c(O,T,_,B,b,17,s[6]),B=c(B,O,T,_,m,22,s[7]),_=c(_,B,O,T,v,7,s[8]),T=c(T,_,B,O,y,12,s[9]),O=c(O,T,_,B,w,17,s[10]),B=c(B,O,T,_,C,22,s[11]),_=c(_,B,O,T,x,7,s[12]),T=c(T,_,B,O,k,12,s[13]),O=c(O,T,_,B,S,17,s[14]),_=d(_,B=c(B,O,T,_,E,22,s[15]),O,T,l,5,s[16]),T=d(T,_,B,O,b,9,s[17]),O=d(O,T,_,B,C,14,s[18]),B=d(B,O,T,_,i,20,s[19]),_=d(_,B,O,T,h,5,s[20]),T=d(T,_,B,O,w,9,s[21]),O=d(O,T,_,B,E,14,s[22]),B=d(B,O,T,_,p,20,s[23]),_=d(_,B,O,T,y,5,s[24]),T=d(T,_,B,O,S,9,s[25]),O=d(O,T,_,B,f,14,s[26]),B=d(B,O,T,_,v,20,s[27]),_=d(_,B,O,T,k,5,s[28]),T=d(T,_,B,O,g,9,s[29]),O=d(O,T,_,B,m,14,s[30]),_=u(_,B=d(B,O,T,_,x,20,s[31]),O,T,h,4,s[32]),T=u(T,_,B,O,v,11,s[33]),O=u(O,T,_,B,C,16,s[34]),B=u(B,O,T,_,S,23,s[35]),_=u(_,B,O,T,l,4,s[36]),T=u(T,_,B,O,p,11,s[37]),O=u(O,T,_,B,m,16,s[38]),B=u(B,O,T,_,w,23,s[39]),_=u(_,B,O,T,k,4,s[40]),T=u(T,_,B,O,i,11,s[41]),O=u(O,T,_,B,f,16,s[42]),B=u(B,O,T,_,b,23,s[43]),_=u(_,B,O,T,y,4,s[44]),T=u(T,_,B,O,x,11,s[45]),O=u(O,T,_,B,E,16,s[46]),_=A(_,B=u(B,O,T,_,g,23,s[47]),O,T,i,6,s[48]),T=A(T,_,B,O,m,10,s[49]),O=A(O,T,_,B,S,15,s[50]),B=A(B,O,T,_,h,21,s[51]),_=A(_,B,O,T,x,6,s[52]),T=A(T,_,B,O,f,10,s[53]),O=A(O,T,_,B,w,15,s[54]),B=A(B,O,T,_,l,21,s[55]),_=A(_,B,O,T,v,6,s[56]),T=A(T,_,B,O,E,10,s[57]),O=A(O,T,_,B,b,15,s[58]),B=A(B,O,T,_,k,21,s[59]),_=A(_,B,O,T,p,6,s[60]),T=A(T,_,B,O,C,10,s[61]),O=A(O,T,_,B,g,15,s[62]),B=A(B,O,T,_,y,21,s[63]),a[0]=a[0]+_|0,a[1]=a[1]+B|0,a[2]=a[2]+O|0,a[3]=a[3]+T|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var a=e.floor(n/4294967296),i=n;r[15+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),r[14+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var d=l[c];l[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return s},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,o,a,i){var s=e+(t&r|~t&n)+o+i;return(s<>>32-a)+t}function d(e,t,r,n,o,a,i){var s=e+(t&n|r&~n)+o+i;return(s<>>32-a)+t}function u(e,t,r,n,o,a,i){var s=e+(t^r^n)+o+i;return(s<>>32-a)+t}function A(e,t,r,n,o,a,i){var s=e+(r^(t|~n))+o+i;return(s<>>32-a)+t}t.MD5=a._createHelper(l),t.HmacMD5=a._createHmacHelper(l)}(Math),n.MD5)},function(e,t,r){"use strict";var n;t.__esModule=!0;var o=r(1),a=o.__importDefault(r(0)),i=o.__importStar(r(2)),s=o.__importDefault(r(8)),l=o.__importDefault(r(5)),c=o.__importDefault(r(17)),d=o.__importDefault(r(15)),u=o.__importDefault(r(20)),A=o.__importDefault(r(3)),g=r(29),f=o.__importDefault(r(63)),p=r(37);function h(e){var t=e.statusCode;return 408===t&&!e.code||400===t&&!e.code||t>=500&&t<=504}function b(e){var t=e.connection,r=t&&t.connectionManager.host;return r?[r].concat(s.default.getFallbackHosts(e.options)):s.default.getHosts(e.options)}var m=(n=function(){function e(e){this.checksInProgress=null,this.checkConnectivity=void 0,this.supportsAuthHeaders=!1,this.supportsLinkHeaders=!1,this._getHosts=b,this.options=e||{};var t=this.options.connectivityCheckUrl||s.default.connectivityCheckUrl,r=this.options.connectivityCheckParams,n=!this.options.connectivityCheckUrl;a.default.Config.xhrSupported?(this.supportsAuthHeaders=!0,this.Request=function(e,t,r,n,o,a,i){var s=d.default.createRequest(r,n,o,a,u.default.REQ_SEND,t&&t.options.timeouts,e);return s.once("complete",i),s.exec(),s},this.options.disableConnectivityCheck?this.checkConnectivity=function(e){e(null,!0)}:this.checkConnectivity=function(e){A.default.logAction(A.default.LOG_MICRO,"(XHRRequest)Http.checkConnectivity()","Sending; "+t),this.doUri(c.default.Get,null,t,null,null,r,(function(t,r,o,a,i){var s;s=n?!t&&"yes"==(null==r?void 0:r.replace(/\n/,"")):!t&&(0,p.isSuccessCode)(i),A.default.logAction(A.default.LOG_MICRO,"(XHRRequest)Http.checkConnectivity()","Result: "+s),e(null,s)}))}):a.default.Config.jsonpSupported?(this.Request=function(e,t,r,n,o,i,s){var l=(0,g.createRequest)(r,n,o,i,u.default.REQ_SEND,t&&t.options.timeouts,e);return l.once("complete",s),a.default.Config.nextTick((function(){l.exec()})),l},this.options.disableConnectivityCheck?this.checkConnectivity=function(e){e(null,!0)}:this.checkConnectivity=function(e){var t=this,r=s.default.jsonpInternetUpUrl;if(this.checksInProgress)this.checksInProgress.push(e);else{this.checksInProgress=[e],A.default.logAction(A.default.LOG_MICRO,"(JSONP)Http.checkConnectivity()","Sending; "+r);var n=new g.Request("isTheInternetUp",r,null,null,null,u.default.REQ_SEND,s.default.TIMEOUTS);n.once("complete",(function(e,r){var n=!e&&r;A.default.logAction(A.default.LOG_MICRO,"(JSONP)Http.checkConnectivity()","Result: "+n);for(var o=0;oi.now())return this.Request?void this.Request(e,t,u(A.host),n,s,a,(function(i){for(var l=[],u=1;u-1?e.arrayBuffer():t&&t.indexOf("application/json")>-1?e.json():e.text()).then((function(r){var n=!!t&&-1===t.indexOf("application/x-msgpack");if(e.ok)u(null,r,e.headers,n,e.status);else{var i=function(e,t){if(function(e,t){return!!t.get("x-ably-errorcode")}(0,t))return e.error&&o.default.fromValues(e.error)}(r,e.headers)||new o.default("Error response received from server: "+e.status+" body was: "+a.default.Config.inspect(r),null,e.status);u(i,r,e.headers,n,e.status)}}))})).catch((function(e){clearTimeout(p),u(e)}))}},function(e,t,r){"use strict";t.__esModule=!0;var n=r(1),o=n.__importDefault(r(41)),a=n.__importStar(r(2)).getGlobalObject();"undefined"==typeof Window&&"undefined"==typeof WorkerGlobalScope&&console.log("Warning: this distribution of Ably is intended for browsers. On nodejs, please use the 'ably' package on npm");var i,s=a.navigator&&a.navigator.userAgent.toString(),l={agent:"browser",logTimestamps:!0,userAgent:s,currentUrl:a.location&&a.location.href,noUpgrade:s&&!!s.match(/MSIE\s8\.0/),binaryType:"arraybuffer",WebSocket:a.WebSocket,fetchSupported:!!a.fetch,xhrSupported:a.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,jsonpSupported:"undefined"!=typeof document,allowComet:(i=a.location,!a.WebSocket||!i||!i.origin||i.origin.indexOf("http")>-1),streamingSupported:!0,useProtocolHeartbeats:!0,createHmac:null,msgpack:o.default,supportsBinary:!!a.TextDecoder,preferBinary:!1,ArrayBuffer:a.ArrayBuffer,atob:a.atob,nextTick:void 0!==a.setImmediate?a.setImmediate.bind(a):function(e){setTimeout(e,0)},addEventListener:a.addEventListener,inspect:JSON.stringify,stringByteSize:function(e){return a.TextDecoder&&(new a.TextEncoder).encode(e).length||e.length},TextEncoder:a.TextEncoder,TextDecoder:a.TextDecoder,Promise:a.Promise,getRandomValues:function(e){if(void 0!==e)return function(t,r){e.getRandomValues(t),r&&r(null)}}(a.crypto||msCrypto)};t.default=l},function(e,t,r){"use strict";(function(e){t.__esModule=!0;var n=r(1).__importStar(r(2)),o="ablyjs-storage-test",a=function(){function t(){try{e.sessionStorage.setItem(o,o),e.sessionStorage.removeItem(o),this.sessionSupported=!0}catch(e){this.sessionSupported=!1}try{e.localStorage.setItem(o,o),e.localStorage.removeItem(o),this.localSupported=!0}catch(e){this.localSupported=!1}}return t.prototype.get=function(e){return this._get(e,!1)},t.prototype.getSession=function(e){return this._get(e,!0)},t.prototype.remove=function(e){return this._remove(e,!1)},t.prototype.removeSession=function(e){return this._remove(e,!0)},t.prototype.set=function(e,t,r){return this._set(e,t,r,!1)},t.prototype.setSession=function(e,t,r){return this._set(e,t,r,!0)},t.prototype._set=function(e,t,r,o){var a={value:t};return r&&(a.expires=n.now()+r),this.storageInterface(o).setItem(e,JSON.stringify(a))},t.prototype._get=function(e,t){if(t&&!this.sessionSupported)throw new Error("Session Storage not supported");if(!t&&!this.localSupported)throw new Error("Local Storage not supported");var r=this.storageInterface(t).getItem(e);if(!r)return null;var o=JSON.parse(r);return o.expires&&o.expirest&&(r=null==r?"..":r,e=e.substring(0,t-r.length)+r),e},indexOf:function(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r=0;r--)!0===t(e[r])&&e.splice(r,1)},splitAndCapture:function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var r,n=[],o=0;r=t.exec(e);)n.push(e.substring(o,r.index)),n.push(r[0]),o=r.index+r[0].length;return n.push(e.substring(o)),n},trim:function(e){return e.replace(this.trimRegex,"")}},c.HtmlTag=c.Util.extend(Object,{whitespaceRegex:/\s+/,constructor:function(e){c.Util.assign(this,e),this.innerHtml=this.innerHtml||this.innerHTML},setTagName:function(e){return this.tagName=e,this},getTagName:function(){return this.tagName||""},setAttr:function(e,t){return this.getAttrs()[e]=t,this},getAttr:function(e){return this.getAttrs()[e]},setAttrs:function(e){var t=this.getAttrs();return c.Util.assign(t,e),this},getAttrs:function(){return this.attrs||(this.attrs={})},setClass:function(e){return this.setAttr("class",e)},addClass:function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,o=c.Util.indexOf,a=r?r.split(n):[],i=e.split(n);t=i.shift();)-1===o(a,t)&&a.push(t);return this.getAttrs().class=a.join(" "),this},removeClass:function(e){for(var t,r=this.getClass(),n=this.whitespaceRegex,o=c.Util.indexOf,a=r?r.split(n):[],i=e.split(n);a.length&&(t=i.shift());){var s=o(a,t);-1!==s&&a.splice(s,1)}return this.getAttrs().class=a.join(" "),this},getClass:function(){return this.getAttrs().class||""},hasClass:function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},setInnerHtml:function(e){return this.innerHtml=e,this},getInnerHtml:function(){return this.innerHtml||""},toAnchorString:function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),""].join("")},buildAttrsStr:function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r+'="'+e[r]+'"');return t.join(" ")}}),c.RegexLib={alphaNumericCharsStr:l="A-Za-z\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞭꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯෦-෯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꧰-꧹꩐-꩙꯰-꯹0-9",domainNameRegex:new RegExp("["+l+".\\-]*["+l+"\\-]"),tldRegex:/(?:travelersinsurance|sandvikcoromant|kerryproperties|cancerresearch|weatherchannel|kerrylogistics|spreadbetting|international|wolterskluwer|lifeinsurance|construction|pamperedchef|scholarships|versicherung|bridgestone|creditunion|kerryhotels|investments|productions|blackfriday|enterprises|lamborghini|photography|motorcycles|williamhill|playstation|contractors|barclaycard|accountants|redumbrella|engineering|management|telefonica|protection|consulting|tatamotors|creditcard|vlaanderen|schaeffler|associates|properties|foundation|republican|bnpparibas|boehringer|eurovision|extraspace|industries|immobilien|university|technology|volkswagen|healthcare|restaurant|cuisinella|vistaprint|apartments|accountant|travelers|homedepot|institute|vacations|furniture|fresenius|insurance|christmas|bloomberg|solutions|barcelona|firestone|financial|kuokgroup|fairwinds|community|passagens|goldpoint|equipment|lifestyle|yodobashi|aquarelle|marketing|analytics|education|amsterdam|statefarm|melbourne|allfinanz|directory|microsoft|stockholm|montblanc|accenture|lancaster|landrover|everbank|istanbul|graphics|grainger|ipiranga|softbank|attorney|pharmacy|saarland|catering|airforce|yokohama|mortgage|frontier|mutuelle|stcgroup|memorial|pictures|football|symantec|cipriani|ventures|telecity|cityeats|verisign|flsmidth|boutique|cleaning|firmdale|clinique|clothing|redstone|infiniti|deloitte|feedback|services|broadway|plumbing|commbank|training|barclays|exchange|computer|brussels|software|delivery|barefoot|builders|business|bargains|engineer|holdings|download|security|helsinki|lighting|movistar|discount|hdfcbank|supplies|marriott|property|diamonds|capetown|partners|democrat|jpmorgan|bradesco|budapest|rexroth|zuerich|shriram|academy|science|support|youtube|singles|surgery|alibaba|statoil|dentist|schwarz|android|cruises|cricket|digital|markets|starhub|systems|courses|coupons|netbank|country|domains|corsica|network|neustar|realtor|lincoln|limited|schmidt|yamaxun|cooking|contact|auction|spiegel|liaison|leclerc|latrobe|lasalle|abogado|compare|lanxess|exposed|express|company|cologne|college|avianca|lacaixa|fashion|recipes|ferrero|komatsu|storage|wanggou|clubmed|sandvik|fishing|fitness|bauhaus|kitchen|flights|florist|flowers|watches|weather|temasek|samsung|bentley|forsale|channel|theater|frogans|theatre|okinawa|website|tickets|jewelry|gallery|tiffany|iselect|shiksha|brother|organic|wedding|genting|toshiba|origins|philips|hyundai|hotmail|hoteles|hosting|rentals|windows|cartier|bugatti|holiday|careers|whoswho|hitachi|panerai|caravan|reviews|guitars|capital|trading|hamburg|hangout|finance|stream|family|abbott|health|review|travel|report|hermes|hiphop|gratis|career|toyota|hockey|dating|repair|google|social|soccer|reisen|global|otsuka|giving|unicom|casino|photos|center|broker|rocher|orange|bostik|garden|insure|ryukyu|bharti|safety|physio|sakura|oracle|online|jaguar|gallup|piaget|tienda|futbol|pictet|joburg|webcam|berlin|office|juegos|kaufen|chanel|chrome|xihuan|church|tennis|circle|kinder|flickr|bayern|claims|clinic|viajes|nowruz|xperia|norton|yachts|studio|coffee|camera|sanofi|nissan|author|expert|events|comsec|lawyer|tattoo|viking|estate|villas|condos|realty|yandex|energy|emerck|virgin|vision|durban|living|school|coupon|london|taobao|natura|taipei|nagoya|luxury|walter|aramco|sydney|madrid|credit|maison|makeup|schule|market|anquan|direct|design|swatch|suzuki|alsace|vuelos|dental|alipay|voyage|shouji|voting|airtel|mutual|degree|supply|agency|museum|mobily|dealer|monash|select|mormon|active|moscow|racing|datsun|quebec|nissay|rodeo|email|gifts|works|photo|chloe|edeka|cheap|earth|vista|tushu|koeln|glass|shoes|globo|tunes|gmail|nokia|space|kyoto|black|ricoh|seven|lamer|sener|epson|cisco|praxi|trust|citic|crown|shell|lease|green|legal|lexus|ninja|tatar|gripe|nikon|group|video|wales|autos|gucci|party|nexus|guide|linde|adult|parts|amica|lixil|boats|azure|loans|locus|cymru|lotte|lotto|stada|click|poker|quest|dabur|lupin|nadex|paris|faith|dance|canon|place|gives|trade|skype|rocks|mango|cloud|boots|smile|final|swiss|homes|honda|media|horse|cards|deals|watch|bosch|house|pizza|miami|osaka|tours|total|xerox|coach|sucks|style|delta|toray|iinet|tools|money|codes|beats|tokyo|salon|archi|movie|baidu|study|actor|yahoo|store|apple|world|forex|today|bible|tmall|tirol|irish|tires|forum|reise|vegas|vodka|sharp|omega|weber|jetzt|audio|promo|build|bingo|chase|gallo|drive|dubai|rehab|press|solar|sale|beer|bbva|bank|band|auto|sapo|sarl|saxo|audi|asia|arte|arpa|army|yoga|ally|zara|scor|scot|sexy|seat|zero|seek|aero|adac|zone|aarp|maif|meet|meme|menu|surf|mini|mobi|mtpc|porn|desi|star|ltda|name|talk|navy|love|loan|live|link|news|limo|like|spot|life|nico|lidl|lgbt|land|taxi|team|tech|kred|kpmg|sony|song|kiwi|kddi|jprs|jobs|sohu|java|itau|tips|info|immo|icbc|hsbc|town|host|page|toys|here|help|pars|haus|guru|guge|tube|goog|golf|gold|sncf|gmbh|gift|ggee|gent|gbiz|game|vana|pics|fund|ford|ping|pink|fish|film|fast|farm|play|fans|fail|plus|skin|pohl|fage|moda|post|erni|dvag|prod|doha|prof|docs|viva|diet|luxe|site|dell|sina|dclk|show|qpon|date|vote|cyou|voto|read|coop|cool|wang|club|city|chat|cern|cash|reit|rent|casa|cars|care|camp|rest|call|cafe|weir|wien|rich|wiki|buzz|wine|book|bond|room|work|rsvp|shia|ruhr|blue|bing|shaw|bike|safe|xbox|best|pwc|mtn|lds|aig|boo|fyi|nra|nrw|ntt|car|gal|obi|zip|aeg|vin|how|one|ong|onl|dad|ooo|bet|esq|org|htc|bar|uol|ibm|ovh|gdn|ice|icu|uno|gea|ifm|bot|top|wtf|lol|day|pet|eus|wtc|ubs|tvs|aco|ing|ltd|ink|tab|abb|afl|cat|int|pid|pin|bid|cba|gle|com|cbn|ads|man|wed|ceb|gmo|sky|ist|gmx|tui|mba|fan|ski|iwc|app|pro|med|ceo|jcb|jcp|goo|dev|men|aaa|meo|pub|jlc|bom|jll|gop|jmp|mil|got|gov|win|jot|mma|joy|trv|red|cfa|cfd|bio|moe|moi|mom|ren|biz|aws|xin|bbc|dnp|buy|kfh|mov|thd|xyz|fit|kia|rio|rip|kim|dog|vet|nyc|bcg|mtr|bcn|bms|bmw|run|bzh|rwe|tel|stc|axa|kpn|fly|krd|cab|bnl|foo|crs|eat|tci|sap|srl|nec|sas|net|cal|sbs|sfr|sca|scb|csc|edu|new|xxx|hiv|fox|wme|ngo|nhk|vip|sex|frl|lat|yun|law|you|tax|soy|sew|om|ac|hu|se|sc|sg|sh|sb|sa|rw|ru|rs|ro|re|qa|py|si|pw|pt|ps|sj|sk|pr|pn|pm|pl|sl|sm|pk|sn|ph|so|pg|pf|pe|pa|zw|nz|nu|nr|np|no|nl|ni|ng|nf|sr|ne|st|nc|na|mz|my|mx|mw|mv|mu|mt|ms|mr|mq|mp|mo|su|mn|mm|ml|mk|mh|mg|me|sv|md|mc|sx|sy|ma|ly|lv|sz|lu|lt|ls|lr|lk|li|lc|lb|la|tc|kz|td|ky|kw|kr|kp|kn|km|ki|kh|tf|tg|th|kg|ke|jp|jo|jm|je|it|is|ir|tj|tk|tl|tm|iq|tn|to|io|in|im|il|ie|ad|sd|ht|hr|hn|hm|tr|hk|gy|gw|gu|gt|gs|gr|gq|tt|gp|gn|gm|gl|tv|gi|tw|tz|ua|gh|ug|uk|gg|gf|ge|gd|us|uy|uz|va|gb|ga|vc|ve|fr|fo|fm|fk|fj|vg|vi|fi|eu|et|es|er|eg|ee|ec|dz|do|dm|dk|vn|dj|de|cz|cy|cx|cw|vu|cv|cu|cr|co|cn|cm|cl|ck|ci|ch|cg|cf|cd|cc|ca|wf|bz|by|bw|bv|bt|bs|br|bo|bn|bm|bj|bi|ws|bh|bg|bf|be|bd|bb|ba|az|ax|aw|au|at|as|ye|ar|aq|ao|am|al|yt|ai|za|ag|af|ae|zm|id)\b/},c.AnchorTagBuilder=c.Util.extend(Object,{constructor:function(e){c.Util.assign(this,e)},build:function(e){return new c.HtmlTag({tagName:"a",attrs:this.createAttrs(e.getType(),e.getAnchorHref()),innerHtml:this.processAnchorText(e.getAnchorText())})},createAttrs:function(e,t){var r={href:t},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),r},createCssClass:function(e){var t=this.className;return t?t+" "+t+"-"+e:""},processAnchorText:function(e){return this.doTruncate(e)},doTruncate:function(e){var t=this.truncate;if(!t||!t.length)return e;var r=t.length,n=t.location;return"smart"===n?c.truncate.TruncateSmart(e,r,".."):"middle"===n?c.truncate.TruncateMiddle(e,r,".."):c.truncate.TruncateEnd(e,r,"..")}}),c.htmlParser.HtmlParser=c.Util.extend(Object,{htmlRegex:(o=/!--([\s\S]+?)--/,a=/[0-9a-zA-Z][0-9a-zA-Z:]*/,i=/(?:"[^"]*?"|'[^']*?'|[^'"=<>`\s]+)/,s=/[^\s"'>\/=\x00-\x1F\x7F]+/.source+"(?:\\s*=\\s*"+i.source+")?",new RegExp(["(?:","<(!DOCTYPE)","(?:","\\s+","(?:",s,"|",i.source+")",")*",">",")","|","(?:","<(/)?","(?:",o.source,"|","(?:","("+a.source+")","(?:","(?:\\s+|\\b)",s,")*","\\s*/?",")",")",">",")"].join(""),"gi")),htmlCharacterEntitiesRegex:/( | |<|<|>|>|"|"|')/gi,parse:function(e){for(var t,r,n=this.htmlRegex,o=0,a=[];null!==(t=n.exec(e));){var i=t[0],s=t[3],l=t[1]||t[4],c=!!t[2],d=t.index,u=e.substring(o,d);u&&(r=this.parseTextAndEntityNodes(o,u),a.push.apply(a,r)),s?a.push(this.createCommentNode(d,i,s)):a.push(this.createElementNode(d,i,l,c)),o=d+i.length}if(o0&&"@"===f||A>0&&g&&this.wordCharRegExp.test(f))){if(this.matchHasUnbalancedClosingParen(i))i=i.substr(0,i.length-1);else{var p=this.matchHasInvalidCharAfterTld(i,s);p>-1&&(i=i.substr(0,p))}var h=s?"scheme":l?"www":"tld",b=!!s;a.push(new c.match.Url({tagBuilder:o,matchedText:i,offset:A,urlMatchType:h,url:i,protocolUrlMatch:b,protocolRelativeMatch:!!g,stripPrefix:n}))}}return a},matchHasUnbalancedClosingParen:function(e){if(")"===e.charAt(e.length-1)){var t=e.match(this.openParensRe),r=e.match(this.closeParensRe);if((t&&t.length||0)<(r&&r.length||0))return!0}return!1},matchHasInvalidCharAfterTld:function(e,t){if(!e)return-1;var r=0;t&&(r=e.indexOf(":"),e=e.slice(r));var n=/^((.?\/\/)?[A-Za-z0-9\u00C0-\u017F\.\-]*[A-Za-z0-9\u00C0-\u017F\-]\.[A-Za-z]+)/.exec(e);return null===n?-1:(r+=n[1].length,e=e.slice(n[1].length),/^[^.A-Za-z:\/?#]/.test(e)?r:-1)}}),c.matcher.UrlMatchValidator={hasFullProtocolRegex:/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,uriSchemeRegex:/^[A-Za-z][-.+A-Za-z0-9]*:/,hasWordCharAfterProtocolRegex:/:[^\s]*?[A-Za-z\u00C0-\u017F]/,ipRegex:/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,isValid:function(e,t){return!(t&&!this.isValidUriScheme(t)||this.urlMatchDoesNotHaveProtocolOrDot(e,t)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,t)&&!this.isValidIpAddress(e))},isValidIpAddress:function(e){var t=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return null!==e.match(t)},isValidUriScheme:function(e){var t=e.match(this.uriSchemeRegex)[0].toLowerCase();return"javascript:"!==t&&"vbscript:"!==t},urlMatchDoesNotHaveProtocolOrDot:function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},urlMatchDoesNotHaveAtLeastOneWordChar:function(e,t){return!(!e||!t||this.hasWordCharAfterProtocolRegex.test(e))}},c.truncate.TruncateEnd=function(e,t,r){return c.Util.ellipsis(e,t,r)},c.truncate.TruncateMiddle=function(e,t,r){if(e.length<=t)return e;var n=t-r.length,o="";return n>0&&(o=e.substr(-1*Math.floor(n/2))),(e.substr(0,Math.ceil(n/2))+r+o).substr(0,t)},c.truncate.TruncateSmart=function(e,t,r){var n=function(e){var t="";return e.scheme&&e.host&&(t+=e.scheme+"://"),e.host&&(t+=e.host),e.path&&(t+="/"+e.path),e.query&&(t+="?"+e.query),e.fragment&&(t+="#"+e.fragment),t},o=function(e,t){var n=t/2,o=Math.ceil(n),a=-1*Math.floor(n),i="";return a<0&&(i=e.substr(a)),e.substr(0,o)+r+i};if(e.length<=t)return e;var a=t-r.length,i=function(e){var t={},r=e,n=r.match(/^([a-z]+):\/\//i);return n&&(t.scheme=n[1],r=r.substr(n[0].length)),(n=r.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(t.host=n[1],r=r.substr(n[0].length)),(n=r.match(/^\/(.*?)(?=(\?|#|$))/i))&&(t.path=n[1],r=r.substr(n[0].length)),(n=r.match(/^\?(.*?)(?=(#|$))/i))&&(t.query=n[1],r=r.substr(n[0].length)),(n=r.match(/^#(.*?)$/i))&&(t.fragment=n[1]),t}(e);if(i.query){var s=i.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);s&&(i.query=i.query.substr(0,s[1].length),e=n(i))}if(e.length<=t)return e;if(i.host&&(i.host=i.host.replace(/^www\./,""),e=n(i)),e.length<=t)return e;var l="";if(i.host&&(l+=i.host),l.length>=a)return i.host.length==t?(i.host.substr(0,t-r.length)+r).substr(0,t):o(l,a).substr(0,t);var c="";if(i.path&&(c+="/"+i.path),i.query&&(c+="?"+i.query),c){if((l+c).length>=a)return(l+c).length==t?(l+c).substr(0,t):(l+o(c,a-l.length)).substr(0,t);l+=c}if(i.fragment){var d="#"+i.fragment;if((l+d).length>=a)return(l+d).length==t?(l+d).substr(0,t):(l+o(d,a-l.length)).substr(0,t);l+=d}if(i.scheme&&i.host){var u=i.scheme+"://";if((l+u).length0&&(A=l.substr(-1*Math.floor(a/2))),(l.substr(0,Math.ceil(a/2))+r+A).substr(0,t)},c},void 0===(n=r.apply(t,[]))||(e.exports=n)},9669:(e,t,r)=>{e.exports=r(51609)},55448:(e,t,r)=>{"use strict";var n=r(64867),o=r(36026),a=r(4372),i=r(15327),s=r(94097),l=r(84109),c=r(67985),d=r(85061),u=r(77874),A=r(65263);e.exports=function(e){return new Promise((function(t,r){var g,f=e.data,p=e.headers,h=e.responseType;function b(){e.cancelToken&&e.cancelToken.unsubscribe(g),e.signal&&e.signal.removeEventListener("abort",g)}n.isFormData(f)&&delete p["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var v=e.auth.username||"",y=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(v+":"+y)}var w=s(e.baseURL,e.url);function C(){if(m){var n="getAllResponseHeaders"in m?l(m.getAllResponseHeaders()):null,a={data:h&&"text"!==h&&"json"!==h?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:n,config:e,request:m};o((function(e){t(e),b()}),(function(e){r(e),b()}),a),m=null}}if(m.open(e.method.toUpperCase(),i(w,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=C:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(C)},m.onabort=function(){m&&(r(d("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){r(d("Network Error",e,null,m)),m=null},m.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||u;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(d(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var x=(e.withCredentials||c(w))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;x&&(p[e.xsrfHeaderName]=x)}"setRequestHeader"in m&&n.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:m.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),h&&"json"!==h&&(m.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(g=function(e){m&&(r(!e||e&&e.type?new A("canceled"):e),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(g),e.signal&&(e.signal.aborted?g():e.signal.addEventListener("abort",g))),f||(f=null),m.send(f)}))}},51609:(e,t,r)=>{"use strict";var n=r(64867),o=r(91849),a=r(30321),i=r(47185),s=function e(t){var r=new a(t),s=o(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(i(t,r))},s}(r(45546));s.Axios=a,s.Cancel=r(65263),s.CancelToken=r(14972),s.isCancel=r(26502),s.VERSION=r(97288).version,s.all=function(e){return Promise.all(e)},s.spread=r(8713),s.isAxiosError=r(16268),e.exports=s,e.exports.default=s},65263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:(e,t,r)=>{"use strict";var n=r(65263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:(e,t,r)=>{"use strict";var n=r(64867),o=r(15327),a=r(80782),i=r(13572),s=r(47185),l=r(54875),c=l.validators;function d(e){this.defaults=e,this.interceptors={request:new a,response:new a}}d.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var a,d=[];if(this.interceptors.response.forEach((function(e){d.push(e.fulfilled,e.rejected)})),!o){var u=[i,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(d),a=Promise.resolve(t);u.length;)a=a.then(u.shift(),u.shift());return a}for(var A=t;n.length;){var g=n.shift(),f=n.shift();try{A=g(A)}catch(e){f(e);break}}try{a=i(A)}catch(e){return Promise.reject(e)}for(;d.length;)a=a.then(d.shift(),d.shift());return a},d.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=d},80782:(e,t,r)=>{"use strict";var n=r(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:(e,t,r)=>{"use strict";var n=r(91793),o=r(7303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},85061:(e,t,r)=>{"use strict";var n=r(80481);e.exports=function(e,t,r,o,a){var i=new Error(e);return n(i,t,r,o,a)}},13572:(e,t,r)=>{"use strict";var n=r(64867),o=r(18527),a=r(26502),i=r(45546),s=r(65263);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||i.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return a(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e}},47185:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function a(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function i(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||a,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},36026:(e,t,r)=>{"use strict";var n=r(85061);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},18527:(e,t,r)=>{"use strict";var n=r(64867),o=r(45546);e.exports=function(e,t,r){var a=this||o;return n.forEach(r,(function(r){e=r.call(a,e,t)})),e}},45546:(e,t,r)=>{"use strict";var n=r(64867),o=r(16016),a=r(80481),i=r(77874),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,d={transitional:i,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(c=r(55448)),c),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){d.headers[e]=n.merge(s)})),e.exports=d},77874:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},97288:e=>{e.exports={version:"0.26.1"}},91849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n{"use strict";var n=r(64867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var a;if(r)a=r(t);else if(n.isURLSearchParams(t))a=t.toString();else{var i=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),i.push(o(t)+"="+o(e))})))})),a=i.join("&")}if(a){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,r)=>{"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,a,i){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(a)&&s.push("domain="+a),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},16268:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},67985:(e,t,r)=>{"use strict";var n=r(64867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16016:(e,t,r)=>{"use strict";var n=r(64867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},84109:(e,t,r)=>{"use strict";var n=r(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,a,i={};return e?(n.forEach(e.split("\n"),(function(e){if(a=e.indexOf(":"),t=n.trim(e.substr(0,a)).toLowerCase(),r=n.trim(e.substr(a+1)),t){if(i[t]&&o.indexOf(t)>=0)return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([r]):i[t]?i[t]+", "+r:r}})),i):i}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:(e,t,r)=>{"use strict";var n=r(97288).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,i){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!a[n]&&(a[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,i)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var a=n[o],i=t[a];if(i){var s=e[a],l=void 0===s||i(s,a,e);if(!0!==l)throw new TypeError("option "+a+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+a)}},validators:o}},64867:(e,t,r)=>{"use strict";var n=r(91849),o=Object.prototype.toString;function a(e){return Array.isArray(e)}function i(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function d(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var r=0,n=e.length;r{"use strict";var n=r(15861),o=r(64687),a=r.n(o),i=r(67294),s=r.t(i,2),l=r(20745),c=r(1785),d=r.n(c),u=i.createContext(null),A=function(e){e()},g=function(){return A},f={notify:function(){},get:function(){return[]}};function p(e,t){var r,n=f;function o(){i.onStateChange&&i.onStateChange()}function a(){r||(r=t?t.addNestedSub(o):e.subscribe(o),n=function(){var e=g(),t=null,r=null;return{clear:function(){t=null,r=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],r=t;r;)e.push(r),r=r.next;return e},subscribe:function(e){var n=!0,o=r={callback:e,next:null,prev:r};return o.prev?o.prev.next=o:t=o,function(){n&&null!==t&&(n=!1,o.next?o.next.prev=o.prev:r=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var i={addNestedSub:function(e){return a(),n.subscribe(e)},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(r)},trySubscribe:a,tryUnsubscribe:function(){r&&(r(),r=void 0,n.clear(),n=f)},getListeners:function(){return n}};return i}var h="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?i.useLayoutEffect:i.useEffect;const b=function(e){var t=e.store,r=e.context,n=e.children,o=(0,i.useMemo)((function(){var e=p(t);return{store:t,subscription:e}}),[t]),a=(0,i.useMemo)((function(){return t.getState()}),[t]);h((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,a]);var s=r||u;return i.createElement(s.Provider,{value:o},n)};function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function M(e){let t="undefined"!=typeof window&&void 0!==window.location&&"null"!==window.location.origin?window.location.origin:window.location.href,r="string"==typeof e?e:I(e);return N(t,"No window.location.(origin|href) available to create URL for href: "+r),new URL(r,t)}var F;function j(e,t,r){void 0===r&&(r="/");let n=K(("string"==typeof t?L(t):t).pathname||"/",r);if(null==n)return null;let o=V(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,r)=>e===t[r]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(o);let a=null;for(let e=0;null==a&&e{let i={relativePath:void 0===a?e.path||"":a,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};i.relativePath.startsWith("/")&&(N(i.relativePath.startsWith(n),'Absolute route path "'+i.relativePath+'" nested under path "'+n+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),i.relativePath=i.relativePath.slice(n.length));let s=$([n,i.relativePath]),l=r.concat(i);e.children&&e.children.length>0&&(N(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),V(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:H(s,e.index),routesMeta:l})};return e.forEach(((e,t)=>{var r;if(""!==e.path&&null!=(r=e.path)&&r.includes("?"))for(let r of z(e.path))o(e,t,r);else o(e,t)})),t}function z(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=z(n.join("/")),s=[];return s.push(...i.map((e=>""===e?a:[a,e].join("/")))),o&&s.push(...i),s.map((t=>e.startsWith("/")&&""===t?"/":t))}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(F||(F={}));const q=/^:\w+$/,U=e=>"*"===e;function H(e,t){let r=e.split("/"),n=r.length;return r.some(U)&&(n+=-2),t&&(n+=2),r.filter((e=>!U(e))).reduce(((e,t)=>e+(q.test(t)?3:""===t?1:10)),n)}function G(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let e=0;e(n.push(t),"/([^\\/]+)")));return e.endsWith("*")?(n.push("*"),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:n.reduce(((e,t,r)=>{if("*"===t){let e=s[r]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(r){return X(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+r+")."),e}}(s[r]||"",t),e}),{}),pathname:a,pathnameBase:i,pattern:e}}function Y(e){try{return decodeURI(e)}catch(t){return X(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function K(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}function X(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function Q(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the `to."+r+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function Z(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}function J(e,t,r,n){let o;void 0===n&&(n=!1),"string"==typeof e?o=L(e):(o=T({},e),N(!o.pathname||!o.pathname.includes("?"),Q("?","pathname","search",o)),N(!o.pathname||!o.pathname.includes("#"),Q("#","pathname","hash",o)),N(!o.search||!o.search.includes("#"),Q("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(n||null==s)a=r;else{let e=t.length-1;if(s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let l=function(e,t){void 0===t&&(t="/");let{pathname:r,search:n="",hash:o=""}="string"==typeof e?L(e):e,a=r?r.startsWith("/")?r:function(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)})),r.length>1?r.join("/"):"/"}(r,t):t;return{pathname:a,search:te(n),hash:re(o)}}(o,a),c=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return l.pathname.endsWith("/")||!c&&!d||(l.pathname+="/"),l}const $=e=>e.join("/").replace(/\/\/+/g,"/"),ee=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),te=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",re=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class ne extends Error{}class oe{constructor(e,t,r,n){void 0===n&&(n=!1),this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ae(e){return e instanceof oe}const ie=["post","put","patch","delete"],se=(new Set(ie),["get",...ie]);function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;tW(e,t)),[t,e])}function xe(){ye()||N(!1);let{basename:e,navigator:t}=i.useContext(he),{matches:r}=i.useContext(me),{pathname:n}=we(),o=JSON.stringify(Z(r).map((e=>e.pathnameBase))),a=i.useRef(!1);i.useEffect((()=>{a.current=!0}));let s=i.useCallback((function(r,i){if(void 0===i&&(i={}),!a.current)return;if("number"==typeof r)return void t.go(r);let s=J(r,JSON.parse(o),n,"path"===i.relative);"/"!==e&&(s.pathname="/"===s.pathname?e:$([e,s.pathname])),(i.replace?t.replace:t.push)(s,i.state,i)}),[e,t,o,n]);return s}function ke(){let{matches:e}=i.useContext(me),t=e[e.length-1];return t?t.params:{}}function Se(e,t){let{relative:r}=void 0===t?{}:t,{matches:n}=i.useContext(me),{pathname:o}=we(),a=JSON.stringify(Z(n).map((e=>e.pathnameBase)));return i.useMemo((()=>J(e,JSON.parse(a),o,"path"===r)),[e,a,o,r])}function Ee(){let e=function(){var e;let t=i.useContext(ve),r=function(e){let t=i.useContext(pe);return t||N(!1),t}(Te.UseRouteError),n=function(e){let t=function(e){let t=i.useContext(me);return t||N(!1),t}(),r=t.matches[t.matches.length-1];return r.route.id||N(!1),r.route.id}(Te.UseRouteError);return t||(null==(e=r.errors)?void 0:e[n])}(),t=ae(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n};return i.createElement(i.Fragment,null,i.createElement("h2",null,"Unhandled Thrown Error!"),i.createElement("h3",{style:{fontStyle:"italic"}},t),r?i.createElement("pre",{style:o},r):null,i.createElement("p",null,"💿 Hey developer 👋"),i.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",i.createElement("code",{style:a},"errorElement")," props on ",i.createElement("code",{style:a},"")))}class _e extends i.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?i.createElement(me.Provider,{value:this.props.routeContext},i.createElement(ve.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Be(e){let{routeContext:t,match:r,children:n}=e,o=i.useContext(ge);return o&&r.route.errorElement&&(o._deepestRenderedBoundaryId=r.route.id),i.createElement(me.Provider,{value:t},n)}var Oe,Te,Pe;function Ne(e){let{to:t,replace:r,state:n,relative:o}=e;ye()||N(!1);let a=i.useContext(pe),s=xe();return i.useEffect((()=>{a&&"idle"!==a.navigation.state||s(t,{replace:r,state:n,relative:o})})),null}function De(e){N(!1)}function Re(e){let{basename:t="/",children:r=null,location:n,navigationType:o=_.Pop,navigator:a,static:s=!1}=e;ye()&&N(!1);let l=t.replace(/^\/*/,"/"),c=i.useMemo((()=>({basename:l,navigator:a,static:s})),[l,a,s]);"string"==typeof n&&(n=L(n));let{pathname:d="/",search:u="",hash:A="",state:g=null,key:f="default"}=n,p=i.useMemo((()=>{let e=K(d,l);return null==e?null:{pathname:e,search:u,hash:A,state:g,key:f}}),[l,d,u,A,g,f]);return null==p?null:i.createElement(he.Provider,{value:c},i.createElement(be.Provider,{children:r,value:{location:p,navigationType:o}}))}function Ie(e){let{children:t,location:r}=e,n=i.useContext(fe);return function(e,t){ye()||N(!1);let{navigator:r}=i.useContext(he),n=i.useContext(pe),{matches:o}=i.useContext(me),a=o[o.length-1],s=a?a.params:{},l=(a&&a.pathname,a?a.pathnameBase:"/");a&&a.route;let c,d=we();if(t){var u;let e="string"==typeof t?L(t):t;"/"===l||(null==(u=e.pathname)?void 0:u.startsWith(l))||N(!1),c=e}else c=d;let A=c.pathname||"/",g=j(e,{pathname:"/"===l?A:A.slice(l.length)||"/"}),f=function(e,t,r){if(void 0===t&&(t=[]),null==e){if(null==r||!r.errors)return null;e=r.matches}let n=e,o=null==r?void 0:r.errors;if(null!=o){let e=n.findIndex((e=>e.route.id&&(null==o?void 0:o[e.route.id])));e>=0||N(!1),n=n.slice(0,Math.min(n.length,e+1))}return n.reduceRight(((e,a,s)=>{let l=a.route.id?null==o?void 0:o[a.route.id]:null,c=r?a.route.errorElement||i.createElement(Ee,null):null,d=t.concat(n.slice(0,s+1)),u=()=>i.createElement(Be,{match:a,routeContext:{outlet:e,matches:d}},l?c:void 0!==a.route.element?a.route.element:e);return r&&(a.route.errorElement||0===s)?i.createElement(_e,{location:r.location,component:c,error:l,children:u(),routeContext:{outlet:null,matches:d}}):u()}),null)}(g&&g.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:$([l,r.encodeLocation?r.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?l:$([l,r.encodeLocation?r.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),o,n||void 0);return t&&f?i.createElement(be.Provider,{value:{location:le({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:_.Pop}},f):f}(n&&!t?n.router.routes:Me(t),r)}!function(e){e.UseRevalidator="useRevalidator"}(Oe||(Oe={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(Te||(Te={})),function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(Pe||(Pe={})),new Promise((()=>{}));class Le extends i.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:t,resolve:r}=this.props,n=null,o=Pe.pending;if(r instanceof Promise)if(this.state.error){Pe.error;let e=this.state.error;Promise.reject().catch((()=>{})),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_error",{get:()=>e})}else r._tracked?void 0!==n._error?Pe.error:void 0!==n._data?Pe.success:Pe.pending:(Pe.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),r.then((e=>Object.defineProperty(r,"_data",{get:()=>e})),(e=>Object.defineProperty(r,"_error",{get:()=>e}))));else Pe.success,Promise.resolve(),Object.defineProperty(n,"_tracked",{get:()=>!0}),Object.defineProperty(n,"_data",{get:()=>r});if(o===Pe.error&&n._error instanceof AbortedDeferredError)throw neverSettledPromise;if(o===Pe.error&&!t)throw n._error;if(o===Pe.error)return React.createElement(AwaitContext.Provider,{value:n,children:t});if(o===Pe.success)return React.createElement(AwaitContext.Provider,{value:n,children:e});throw n}}function Me(e,t){void 0===t&&(t=[]);let r=[];return i.Children.forEach(e,((e,n)=>{if(!i.isValidElement(e))return;if(e.type===i.Fragment)return void r.push.apply(r,Me(e.props.children,t));e.type!==De&&N(!1),e.props.index&&e.props.children&&N(!1);let o=[...t,n],a={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=Me(e.props.children,o)),r.push(a)})),r}function Fe(){return Fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function Ve(e){return void 0===e&&(e=""),new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce(((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map((e=>[r,e])):[[r,n]])}),[]))}const ze=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"],qe=["aria-current","caseSensitive","className","end","style","to","children"];function Ue(e){let{basename:t,children:r,window:n}=e,o=i.useRef();var a;null==o.current&&(o.current=(void 0===(a={window:n,v5Compat:!0})&&(a={}),function(e,t,r,n){void 0===n&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,s=_.Pop,l=null;function c(){s=_.Pop,l&&l({action:s,location:d.location})}let d={get action(){return s},get location(){return e(o,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(P,c),l=e,()=>{o.removeEventListener(P,c),l=null}},createHref:e=>t(o,e),encodeLocation(e){let t=M("string"==typeof e?e:I(e));return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){s=_.Push;let n=R(d.location,e,t);r&&r(n,e);let c=D(n),u=d.createHref(n);try{i.pushState(c,"",u)}catch(e){o.location.assign(u)}a&&l&&l({action:s,location:d.location})},replace:function(e,t){s=_.Replace;let n=R(d.location,e,t);r&&r(n,e);let o=D(n),c=d.createHref(n);i.replaceState(o,"",c),a&&l&&l({action:s,location:d.location})},go:e=>i.go(e)};return d}((function(e,t){let{pathname:r,search:n,hash:o}=e.location;return R("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:I(t)}),null,a)));let s=o.current,[l,c]=i.useState({action:s.action,location:s.location});return i.useLayoutEffect((()=>s.listen(c)),[s]),i.createElement(Re,{basename:t,children:r,location:l.location,navigationType:l.action,navigator:s})}const He=i.forwardRef((function(e,t){let{onClick:r,relative:n,reloadDocument:o,replace:a,state:s,target:l,to:c,preventScrollReset:d}=e,u=je(e,ze),A=function(e,t){let{relative:r}=void 0===t?{}:t;ye()||N(!1);let{basename:n,navigator:o}=i.useContext(he),{hash:a,pathname:s,search:l}=Se(e,{relative:r}),c=s;return"/"!==n&&(c="/"===s?n:$([n,s])),o.createHref({pathname:c,search:l,hash:a})}(c,{relative:n}),g=function(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:s}=void 0===t?{}:t,l=xe(),c=we(),d=Se(e,{relative:s});return i.useCallback((t=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(t,r)){t.preventDefault();let r=void 0!==n?n:I(c)===I(d);l(e,{replace:r,state:o,preventScrollReset:a,relative:s})}}),[c,l,d,n,o,r,e,a,s])}(c,{replace:a,state:s,target:l,preventScrollReset:d,relative:n});return i.createElement("a",Fe({},u,{href:A,onClick:o?r:function(e){r&&r(e),e.defaultPrevented||g(e)},ref:t,target:l}))})),Ge=i.forwardRef((function(e,t){let{"aria-current":r="page",caseSensitive:n=!1,className:o="",end:a=!1,style:s,to:l,children:c}=e,d=je(e,qe),u=Se(l,{relative:d.relative}),A=we(),g=i.useContext(pe),{navigator:f}=i.useContext(he),p=f.encodeLocation?f.encodeLocation(u).pathname:u.pathname,h=A.pathname,b=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;n||(h=h.toLowerCase(),b=b?b.toLowerCase():null,p=p.toLowerCase());let m,v=h===p||!a&&h.startsWith(p)&&"/"===h.charAt(p.length),y=null!=b&&(b===p||!a&&b.startsWith(p)&&"/"===b.charAt(p.length)),w=v?r:void 0;m="function"==typeof o?o({isActive:v,isPending:y}):[o,v?"active":null,y?"pending":null].filter(Boolean).join(" ");let C="function"==typeof s?s({isActive:v,isPending:y}):s;return i.createElement(He,Fe({},d,{"aria-current":w,className:m,ref:t,style:C,to:l}),"function"==typeof c?c({isActive:v,isPending:y}):c)}));var We,Ye;function Ke(e){let t=i.useRef(Ve(e)),r=we(),n=i.useMemo((()=>function(e,t){let r=Ve(e);for(let e of t.keys())r.has(e)||t.getAll(e).forEach((t=>{r.append(e,t)}));return r}(r.search,t.current)),[r.search]),o=xe(),a=i.useCallback(((e,t)=>{const r=Ve("function"==typeof e?e(n):e);o("?"+r,t)}),[o,n]);return[n,a]}(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(We||(We={})),function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(Ye||(Ye={}));var Xe=function(e,t){return Xe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Xe(e,t)},Qe=function(){return Qe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=ot){var t=console[e]||console.log;return t.apply(console,arguments)}}}function it(e){try{return e()}catch(e){}}(rt=tt||(tt={})).debug=at("debug"),rt.log=at("log"),rt.warn=at("warn"),rt.error=at("error");const st=it((function(){return globalThis}))||it((function(){return window}))||it((function(){return self}))||it((function(){return global}))||it((function(){return it.constructor("return this")()}));var lt="__",ct=[lt,lt].join("DEV");const dt=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(st,ct,{value:"production"!==it((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),st[ct]}}();function ut(e){try{return e()}catch(e){}}var At=ut((function(){return globalThis}))||ut((function(){return window}))||ut((function(){return self}))||ut((function(){return global}))||ut((function(){return ut.constructor("return this")()})),gt=!1;function ft(e,t){if(!Boolean(e))throw new Error(t)}function pt(e){return ht(e,[])}function ht(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:ht(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const r=Math.min(10,e.length),n=e.length-r,o=[];for(let n=0;n1&&o.push(`... ${n} more items`),"["+o.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+ht(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}!At||ut((function(){return"production"}))||ut((function(){return process}))||(Object.defineProperty(At,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),gt=!0);class bt{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||ft(!1,`Body must be a string. Received: ${pt(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||ft(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ft(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}gt&&(delete At.process,gt=!1),__DEV__?tt("boolean"==typeof dt,dt):tt("boolean"==typeof dt,39);var mt="function"==typeof WeakMap&&"ReactNative"!==it((function(){return navigator.product})),vt="function"==typeof WeakSet,yt="function"==typeof Symbol&&"function"==typeof Symbol.for,wt=yt&&Symbol.asyncIterator,Ct="function"==typeof it((function(){return window.document.createElement})),xt=it((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,kt=Ct&&!xt,St=yt?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function Et(){var e=i.createContext[St];return e||(Object.defineProperty(i.createContext,St,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var _t=function(e){var t=e.client,r=e.children,n=Et();return i.createElement(n.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?tt(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):tt(e.client,29),i.createElement(n.Provider,{value:e},r)}))};function Bt(e){function t(e,t){Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.message=e,this.code=t}return t.prototype=new Error,t.prototype.name=e,t.prototype.constructor=t,t}const Ot=Bt("LaunchDarklyUnexpectedResponseError"),Tt=Bt("LaunchDarklyInvalidEnvironmentIdError"),Pt=Bt("LaunchDarklyInvalidUserError"),Nt=Bt("LaunchDarklyInvalidEventKeyError"),Dt=Bt("LaunchDarklyInvalidArgumentError"),Rt=Bt("LaunchDarklyFlagFetchError");for(var It={LDUnexpectedResponseError:Ot,LDInvalidEnvironmentIdError:Tt,LDInvalidUserError:Pt,LDInvalidEventKeyError:Nt,LDInvalidArgumentError:Dt,LDInvalidDataError:Bt("LaunchDarklyInvalidDataError"),LDFlagFetchError:Rt,isHttpErrorRecoverable:function(e){return!(e>=400&&e<500)||400===e||408===e||429===e}},Lt=[],Mt=[],Ft=("undefined"!=typeof Uint8Array&&Uint8Array,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),jt=0;jt<64;++jt)Lt[jt]=Ft[jt],Mt[Ft.charCodeAt(jt)]=jt;function Vt(e,t,r){for(var n,o,a=[],i=t;i>18&63]+Lt[o>>12&63]+Lt[o>>6&63]+Lt[63&o]);return a.join("")}Mt["-".charCodeAt(0)]=62,Mt["_".charCodeAt(0)]=63;var zt=Array.isArray,qt=Object.keys,Ut=Object.prototype.hasOwnProperty,Ht=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){var n,o,a,i=zt(t),s=zt(r);if(i&&s){if((o=t.length)!=r.length)return!1;for(n=o;0!=n--;)if(!e(t[n],r[n]))return!1;return!0}if(i!=s)return!1;var l=t instanceof Date,c=r instanceof Date;if(l!=c)return!1;if(l&&c)return t.getTime()==r.getTime();var d=t instanceof RegExp,u=r instanceof RegExp;if(d!=u)return!1;if(d&&u)return t.toString()==r.toString();var A=qt(t);if((o=A.length)!==qt(r).length)return!1;for(n=o;0!=n--;)if(!Ut.call(r,A[n]))return!1;for(n=o;0!=n--;)if(!e(t[a=A[n]],r[a]))return!1;return!0}return t!=t&&r!=r};const Gt=["key","ip","country","email","firstName","lastName","avatar","name"];function Wt(e){return function(e){for(var t,r=e.length,n=r%3,o=[],a=16383,i=0,s=r-n;is?s:i+a));return 1===n?(t=e[r-1],o.push(Lt[t>>2]+Lt[t<<4&63]+"==")):2===n&&(t=(e[r-2]<<8)+e[r-1],o.push(Lt[t>>10]+Lt[t>>4&63]+Lt[t<<2&63]+"=")),o.join("")}(function(e){const t=[];for(let r=0;r0;){for(o=[];a>0;){const e=r.shift();if(!e)break;a-=Yt(JSON.stringify(e)).length,a<0&&o.length>0?r.unshift(e):o.push(e)}a=e,n.push(o)}return n},clone:function(e){return JSON.parse(JSON.stringify(e))},deepEquals:function(e,t){return Ht(e,t)},extend:function(...e){return e.reduce(((e,t)=>({...e,...t})),{})},getLDUserAgentString:function(e){const t=e.version||"?";return e.userAgent+"/"+t},objectHasOwnProperty:Kt,onNextTick:function(e){setTimeout(e,0)},sanitizeContext:function(e){if(!e)return e;let t;return null!==e.kind&&void 0!==e.kind||Gt.forEach((r=>{const n=e[r];void 0!==n&&"string"!=typeof n&&(t=t||{...e},t[r]=String(n))})),t||e},transformValuesToVersionedValues:function(e){const t={};for(const r in e)Kt(e,r)&&(t[r]={value:e[r],version:0});return t},transformVersionedValuesToValues:function(e){const t={};for(const r in e)Kt(e,r)&&(t[r]=e[r].value);return t},wrapPromiseCallback:function(e,t){const r=e.then((e=>(t&&setTimeout((()=>{t(null,e)}),0),e)),(e=>{if(!t)return Promise.reject(e);setTimeout((()=>{t(e,null)}),0)}));return t?void 0:r}},Zt=new Uint8Array(16);function Jt(){if(!Xt&&!(Xt="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xt(Zt)}var $t=/^(?:[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;function er(e){return"string"==typeof e&&$t.test(e)}for(var tr,rr,nr=[],or=0;or<256;++or)nr.push((or+256).toString(16).substr(1));function ar(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(nr[e[t+0]]+nr[e[t+1]]+nr[e[t+2]]+nr[e[t+3]]+"-"+nr[e[t+4]]+nr[e[t+5]]+"-"+nr[e[t+6]]+nr[e[t+7]]+"-"+nr[e[t+8]]+nr[e[t+9]]+"-"+nr[e[t+10]]+nr[e[t+11]]+nr[e[t+12]]+nr[e[t+13]]+nr[e[t+14]]+nr[e[t+15]]).toLowerCase();if(!er(r))throw TypeError("Stringified UUID is invalid");return r}var ir=0,sr=0;function lr(e){if(!er(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r}function cr(e,t,r){function n(e,n,o,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r>>9<<4)+1}function ur(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function Ar(e,t,r,n,o,a){return ur((i=ur(ur(t,e),ur(n,a)))<<(s=o)|i>>>32-s,r);var i,s}function gr(e,t,r,n,o,a,i){return Ar(t&r|~t&n,e,t,o,a,i)}function fr(e,t,r,n,o,a,i){return Ar(t&n|r&~n,e,t,o,a,i)}function pr(e,t,r,n,o,a,i){return Ar(t^r^n,e,t,o,a,i)}function hr(e,t,r,n,o,a,i){return Ar(r^(t|~n),e,t,o,a,i)}var br=cr("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r>5]>>>o%32&255,i=parseInt(n.charAt(a>>>4&15)+n.charAt(15&a),16);t.push(i)}return t}(function(e,t){e[t>>5]|=128<>5]|=(255&e[n/8])<>>32-t}var wr=cr("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var o=0;o>>0;v=m,m=b,b=yr(h,30)>>>0,h=p,p=C}r[0]=r[0]+p>>>0,r[1]=r[1]+h>>>0,r[2]=r[2]+b>>>0,r[3]=r[3]+m>>>0,r[4]=r[4]+v>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]})),Cr=wr,xr=Object.freeze({__proto__:null,v1:function(e,t,r){var n=t&&r||0,o=t||new Array(16),a=(e=e||{}).node||tr,i=void 0!==e.clockseq?e.clockseq:rr;if(null==a||null==i){var s=e.random||(e.rng||Jt)();null==a&&(a=tr=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==i&&(i=rr=16383&(s[6]<<8|s[7]))}var l=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:sr+1,d=l-ir+(c-sr)/1e4;if(d<0&&void 0===e.clockseq&&(i=i+1&16383),(d<0||l>ir)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ir=l,sr=c,rr=i;var u=(1e4*(268435455&(l+=122192928e5))+c)%4294967296;o[n++]=u>>>24&255,o[n++]=u>>>16&255,o[n++]=u>>>8&255,o[n++]=255&u;var A=l/4294967296*1e4&268435455;o[n++]=A>>>8&255,o[n++]=255&A,o[n++]=A>>>24&15|16,o[n++]=A>>>16&255,o[n++]=i>>>8|128,o[n++]=255&i;for(var g=0;g<6;++g)o[n+g]=a[g];return t||ar(o)},v3:mr,v4:function(e,t,r){var n=(e=e||{}).random||(e.rng||Jt)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return ar(n)},v5:Cr,NIL:"00000000-0000-0000-0000-000000000000",version:function(e){if(!er(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)},validate:er,stringify:ar,parse:lr});const kr=["debug","info","warn","error","none"];var Sr={commonBasicLogger:function(e,t){if(e&&e.destination&&"function"!=typeof e.destination)throw new Error("destination for basicLogger was set to a non-function");function r(e){return function(t){console&&console[e]&&console[e].call(console,t)}}const n=e&&e.destination?[e.destination,e.destination,e.destination,e.destination]:[r("log"),r("info"),r("warn"),r("error")],o=!(!e||!e.destination),a=e&&void 0!==e.prefix&&null!==e.prefix?e.prefix:"[LaunchDarkly] ";let i=1;if(e&&e.level)for(let t=0;t{};else{const r=e;l[t]=function(){s(r,t,arguments)}}}return l},validateLogger:function(e){kr.forEach((t=>{if("none"!==t&&(!e[t]||"function"!=typeof e[t]))throw new Error("Provided logger instance must support logger."+t+"(...) method")}))}};function Er(e){return e&&e.message?e.message:"string"==typeof e||e instanceof String?e:JSON.stringify(e)}const _r=" Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initializing-the-client for instructions on SDK initialization.";var Br={bootstrapInvalid:function(){return"LaunchDarkly bootstrap data is not available because the back end could not read the flags."},bootstrapOldFormat:function(){return"LaunchDarkly client was initialized with bootstrap data that did not include flag metadata. Events may not be sent correctly."+_r},clientInitialized:function(){return"LaunchDarkly client initialized"},clientNotReady:function(){return"LaunchDarkly client is not ready"},debugEnqueueingEvent:function(e){return'enqueueing "'+e+'" event'},debugPostingDiagnosticEvent:function(e){return"sending diagnostic event ("+e.kind+")"},debugPostingEvents:function(e){return"sending "+e+" events"},debugStreamDelete:function(e){return'received streaming deletion for flag "'+e+'"'},debugStreamDeleteIgnored:function(e){return'received streaming deletion for flag "'+e+'" but ignored due to version check'},debugStreamPatch:function(e){return'received streaming update for flag "'+e+'"'},debugStreamPatchIgnored:function(e){return'received streaming update for flag "'+e+'" but ignored due to version check'},debugStreamPing:function(){return"received ping message from stream"},debugPolling:function(e){return"polling for feature flags at "+e},debugStreamPut:function(){return"received streaming update for all flags"},deprecated:function(e,t){return t?'"'+e+'" is deprecated, please use "'+t+'"':'"'+e+'" is deprecated'},environmentNotFound:function(){return"Environment not found. Double check that you specified a valid environment/client-side ID."+_r},environmentNotSpecified:function(){return"No environment/client-side ID was specified."+_r},errorFetchingFlags:function(e){return"Error fetching flag settings: "+Er(e)},eventCapacityExceeded:function(){return"Exceeded event queue capacity. Increase capacity to avoid dropping events."},eventWithoutContext:function(){return"Be sure to call `identify` in the LaunchDarkly client: https://docs.launchdarkly.com/sdk/features/identify#javascript"},httpErrorMessage:function(e,t,r){return"Received error "+e+(401===e?" (invalid SDK key)":"")+" for "+t+" - "+(It.isHttpErrorRecoverable(e)?r:"giving up permanently")},httpUnavailable:function(){return"Cannot make HTTP requests in this environment."+_r},identifyDisabled:function(){return"identify() has no effect here; it must be called on the main client instance"},inspectorMethodError:(e,t)=>`an inspector: "${t}" of type: "${e}" generated an exception`,invalidContentType:function(e){return'Expected application/json content type but got "'+e+'"'},invalidData:function(){return"Invalid data received from LaunchDarkly; connection may have been interrupted"},invalidInspector:(e,t)=>`an inspector: "${t}" of an invalid type (${e}) was configured`,invalidKey:function(){return"Event key must be a string"},invalidContext:function(){return"Invalid context specified."+_r},invalidTagValue:e=>`Config option "${e}" must only contain letters, numbers, ., _ or -.`,localStorageUnavailable:function(e){return"local storage is unavailable: "+Er(e)},networkError:e=>"network error"+(e?" ("+e+")":""),optionBelowMinimum:(e,t,r)=>'Config option "'+e+'" was set to '+t+", changing to minimum value of "+r,streamClosing:function(){return"Closing stream connection"},streamConnecting:function(e){return"Opening stream connection to "+e},streamError:function(e,t){return"Error on stream connection: "+Er(e)+", will continue retrying after "+t+" milliseconds."},tagValueTooLong:e=>`Value of "${e}" was longer than 64 characters and was discarded.`,unknownCustomEventKey:function(e){return'Custom event "'+e+'" does not exist'},unknownOption:e=>'Ignoring unknown config option "'+e+'"',contextNotSpecified:function(){return"No context specified."+_r},unrecoverableStreamError:e=>`Error on stream connection ${Er(e)}, giving up permanently`,wrongOptionType:(e,t,r)=>'Config option "'+e+'" should be of type '+t+", got "+r+", using default value",wrongOptionTypeBoolean:(e,t)=>'Config option "'+e+'" should be a boolean, got '+t+", converting to boolean"};const{validateLogger:Or}=Sr,Tr={baseUrl:{default:"https://app.launchdarkly.com"},streamUrl:{default:"https://clientstream.launchdarkly.com"},eventsUrl:{default:"https://events.launchdarkly.com"},sendEvents:{default:!0},streaming:{type:"boolean"},sendLDHeaders:{default:!0},requestHeaderTransform:{type:"function"},sendEventsOnlyForVariation:{default:!1},useReport:{default:!1},evaluationReasons:{default:!1},eventCapacity:{default:100,minimum:1},flushInterval:{default:2e3,minimum:2e3},samplingInterval:{default:0,minimum:0},streamReconnectDelay:{default:1e3,minimum:0},allAttributesPrivate:{default:!1},privateAttributes:{default:[]},bootstrap:{type:"string|object"},diagnosticRecordingInterval:{default:9e5,minimum:2e3},diagnosticOptOut:{default:!1},wrapperName:{type:"string"},wrapperVersion:{type:"string"},stateProvider:{type:"object"},application:{validator:function(e,t,r){const n={};return t.id&&(n.id=Dr(`${e}.id`,t.id,r)),t.version&&(n.version=Dr(`${e}.version`,t.version,r)),n}},inspectors:{default:[]}},Pr=/^(\w|\.|-)+$/;function Nr(e){return e&&e.replace(/\/+$/,"")}function Dr(e,t,r){if("string"==typeof t&&t.match(Pr)){if(!(t.length>64))return t;r.warn(Br.tagValueTooLong(e))}else r.warn(Br.invalidTagValue(e))}var Rr={baseOptionDefs:Tr,validate:function(e,t,r,n){const o=Qt.extend({logger:{default:n}},Tr,r),a={};function i(e){Qt.onNextTick((()=>{t&&t.maybeReportError(new It.LDInvalidArgumentError(e))}))}let s=Qt.extend({},e||{});return function(e){const t=e;Object.keys(a).forEach((e=>{if(void 0!==t[e]){const r=a[e];n&&n.warn(Br.deprecated(e,r)),r&&(void 0===t[r]&&(t[r]=t[e]),delete t[e])}}))}(s),s=function(e){const t=Qt.extend({},e);return Object.keys(o).forEach((e=>{void 0!==t[e]&&null!==t[e]||(t[e]=o[e]&&o[e].default)})),t}(s),s=function(e){const t=Qt.extend({},e),r=e=>{if(null===e)return"any";if(void 0===e)return;if(Array.isArray(e))return"array";const t=typeof e;return"boolean"===t||"string"===t||"number"===t||"function"===t?t:"object"};return Object.keys(e).forEach((a=>{const s=e[a];if(null!=s){const l=o[a];if(void 0===l)i(Br.unknownOption(a));else{const o=l.type||r(l.default),c=l.validator;if(c){const r=c(a,e[a],n);void 0!==r?t[a]=r:delete t[a]}else if("any"!==o){const e=o.split("|"),n=r(s);e.indexOf(n)<0?"boolean"===o?(t[a]=!!s,i(Br.wrongOptionTypeBoolean(a,n))):(i(Br.wrongOptionType(a,o,n)),t[a]=l.default):"number"===n&&void 0!==l.minimum&&sArray.isArray(n[e])?n[e].sort().map((t=>`${e}/${t}`)):[`${e}/${n[e]}`])).reduce(((e,t)=>e.concat(t)),[]).join(" ")),r},transformHeaders:function(e,t){return t&&t.requestHeaderTransform?t.requestHeaderTransform({...e}):e}};const{v1:Mr}=xr,{getLDHeaders:Fr,transformHeaders:jr}=Lr;var Vr=function(e,t,r){const n="/a/"+t+".gif",o=Qt.extend({"Content-Type":"application/json"},Fr(e,r)),a=e.httpFallbackPing,i={sendChunk:(t,i,s,l)=>{const c=JSON.stringify(t),d=s?null:Mr();return l?function t(n){const a=s?o:Qt.extend({},o,{"X-LaunchDarkly-Event-Schema":"4","X-LaunchDarkly-Payload-ID":d});return e.httpRequest("POST",i,jr(a,r),c).promise.then((e=>{if(e)return e.status>=400&&It.isHttpErrorRecoverable(e.status)&&n?t(!1):function(e){const t={status:e.status},r=e.header("date");if(r){const e=Date.parse(r);e&&(t.serverTime=e)}return t}(e)})).catch((()=>n?t(!1):Promise.reject()))}(!0).catch((()=>{})):(a&&a(i+n+"?d="+Qt.base64URLEncode(c)),Promise.resolve())},sendEvents:function(t,r,n){if(!e.httpRequest)return Promise.resolve();const o=e.httpAllowsPost();let a;a=o?[t]:Qt.chunkEventsForUrl(2e3-r.length,t);const s=[];for(let e=0;e"kind"!==e));return a&&t.every((e=>qr(e)))&&t.every((t=>{const r=e[t].key;return null!=r&&""!==r}))}return a&&o}return!1},getContextKeys:function(e,t=zr()){if(!e)return;const r={},{kind:n,key:o}=e;switch(n){case void 0:r.user=`${o}`;break;case"multi":Object.entries(e).filter((([e])=>"kind"!==e)).forEach((([e,t])=>{t&&t.key&&(r[e]=t.key)}));break;case null:t.warn(`null is not a valid context kind: ${e}`);break;case"":t.warn(`'' is not a valid context kind: ${e}`);break;default:r[n]=`${o}`}return r},getContextKinds:function(e){return e?null===e.kind||void 0===e.kind?["user"]:"multi"!==e.kind?[e.kind]:Object.keys(e).filter((e=>"kind"!==e)):[]},getCanonicalKey:function(e){if(e){if((void 0===e.kind||null===e.kind||"user"===e.kind)&&e.key)return e.key;if("multi"!==e.kind&&e.key)return`${e.kind}:${Ur(e.key)}`;if("multi"===e.kind)return Object.keys(e).sort().filter((e=>"kind"!==e)).map((t=>`${t}:${Ur(e[t].key)}`)).join(":")}}};const{getContextKinds:Gr}=Hr;function Wr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Yr(e){return(e.startsWith("/")?e.substring(1):e).split("/").map((e=>e.indexOf("~")>=0?e.replace(/~1/g,"/").replace(/~0/g,"~"):e))}function Kr(e){return!e.startsWith("/")}function Xr(e,t){const r=Kr(e),n=Kr(t);if(r&&n)return e===t;if(r){const r=Yr(t);return 1===r.length&&e===r[0]}if(n){const r=Yr(e);return 1===r.length&&t===r[0]}return e===t}function Qr(e){return`/${Wr(e)}`}var Zr={cloneExcluding:function(e,t){const r=[],n={},o=[];for(r.push(...Object.keys(e).map((t=>({key:t,ptr:Qr(t),source:e,parent:n,visited:[e]}))));r.length;){const e=r.pop();if(t.some((t=>Xr(t,e.ptr))))o.push(e.ptr);else{const t=e.source[e.key];if(null===t)e.parent[e.key]=t;else if(Array.isArray(t))e.parent[e.key]=[...t];else if("object"==typeof t){if(e.visited.includes(t))continue;e.parent[e.key]={},r.push(...Object.keys(t).map((r=>{return{key:r,ptr:(n=e.ptr,o=Wr(r),`${n}/${o}`),source:t,parent:e.parent[e.key],visited:[...e.visited,t]};var n,o})))}else e.parent[e.key]=t}}return{cloned:n,excluded:o.sort()}},compare:Xr,literalToReference:Qr};const{getContextKeys:Jr}=Hr;const $r="ready",en="initialized",tn="failed",{appendUrlPath:rn,base64URLEncode:nn,objectHasOwnProperty:on}=Qt,{getLDHeaders:an,transformHeaders:sn}=Lr,{isHttpErrorRecoverable:ln}=It;const{transformHeaders:cn,getLDHeaders:dn}=Lr,un="application/json";const{v1:An}=xr,{getContextKinds:gn}=Hr;var fn=function(e){function t(e){return null==e||"user"===e?"ld:$anonUserId":`ld:$contextKey:${e}`}function r(r,n){return null!==n.key&&void 0!==n.key?(n.key=n.key.toString(),Promise.resolve(n)):n.anonymous?function(r){return e.get(t(r))}(r).then((o=>{if(o)return n.key=o,n;{const o=An();return n.key=o,function(r,n){return e.set(t(n),r)}(o,r).then((()=>n))}})):Promise.reject(new It.LDInvalidUserError(Br.invalidContext()))}this.processContext=e=>{if(!e)return Promise.reject(new It.LDInvalidUserError(Br.contextNotSpecified()));const t=Qt.clone(e);if("multi"===e.kind){const e=gn(t);return Promise.all(e.map((e=>r(e,t[e])))).then((()=>t))}return r(e.kind,t)}};const{v1:pn}=xr,{baseOptionDefs:hn}=Rr,{appendUrlPath:bn}=Qt;const{onNextTick:mn}=Qt,vn={flagUsed:"flag-used",flagDetailsChanged:"flag-details-changed",flagDetailChanged:"flag-detail-changed",clientIdentityChanged:"client-identity-changed"};Object.freeze(vn);var yn={InspectorTypes:vn,InspectorManager:function(e,t){const r={},n={[vn.flagUsed]:[],[vn.flagDetailsChanged]:[],[vn.flagDetailChanged]:[],[vn.clientIdentityChanged]:[]},o=e&&e.map((e=>function(e,t){let r=!1;const n={type:e.type,name:e.name,method:(...o)=>{try{e.method(...o)}catch{r||(r=!0,t.warn(Br.inspectorMethodError(n.type,n.name)))}}};return n}(e,t)));return o&&o.forEach((e=>{Object.prototype.hasOwnProperty.call(n,e.type)?n[e.type].push(e):t.warn(Br.invalidInspector(e.type,e.name))})),r.hasListeners=e=>n[e]&&n[e].length,r.onFlagUsed=(e,t,r)=>{n[vn.flagUsed].length&&mn((()=>{n[vn.flagUsed].forEach((n=>n.method(e,t,r)))}))},r.onFlags=e=>{n[vn.flagDetailsChanged].length&&mn((()=>{n[vn.flagDetailsChanged].forEach((t=>t.method(e)))}))},r.onFlagChanged=(e,t)=>{n[vn.flagDetailChanged].length&&mn((()=>{n[vn.flagDetailChanged].forEach((r=>r.method(e,t)))}))},r.onIdentityChanged=e=>{n[vn.clientIdentityChanged].length&&mn((()=>{n[vn.clientIdentityChanged].forEach((t=>t.method(e)))}))},r}};const{commonBasicLogger:wn}=Sr,{checkContext:Cn,getContextKeys:xn}=Hr,{InspectorTypes:kn,InspectorManager:Sn}=yn,En="change",_n="internal-change";var Bn={initialize:function(e,t,r,n,o){const a=r&&r.logger?r.logger:o&&o.logger&&o.logger.default||wn("warn"),i=function(e){const t={},r={};return t.on=function(e,t,n){r[e]=r[e]||[],r[e]=r[e].concat({handler:t,context:n})},t.off=function(e,t,n){if(r[e])for(let o=0;o{const r=()=>{e.off($r,r),t()};e.on($r,r)})).catch((()=>{}));return{getInitializationPromise:()=>o||(t?Promise.resolve():r?Promise.reject(n):(o=new Promise(((t,r)=>{const n=()=>{e.off(en,n),t()},o=t=>{e.off(tn,o),r(t)};e.on(en,n),e.on(tn,o)})),o)),getReadyPromise:()=>a,signalSuccess:()=>{t||r||(t=!0,e.emit(en),e.emit($r))},signalFailure:o=>{t||r||(r=!0,n=o,e.emit(tn,o),e.emit($r)),e.maybeReportError(o)}}}(i),l=Rr.validate(r,i,o,a),c=Sn(l.inspectors,a),d=l.sendEvents;let u=e,A=l.hash;const g=function(e,t){const r={};let n=!1;const o=e=>{n||(n=!0,t.warn(Br.localStorageUnavailable(e)))};return r.isEnabled=()=>!!e,r.get=t=>new Promise((r=>{e?e.get(t).then(r).catch((e=>{o(e),r(void 0)})):r(void 0)})),r.set=(t,r)=>new Promise((n=>{e?e.set(t,r).then((()=>n(!0))).catch((e=>{o(e),n(!1)})):n(!1)})),r.clear=t=>new Promise((r=>{e?e.clear(t).then((()=>r(!0))).catch((e=>{o(e),r(!1)})):r(!1)})),r}(n.localStorage,a),f=Vr(n,u,l),p=l.sendEvents&&!l.diagnosticOptOut,h=p?function(e){const t={diagnosticId:pn()};return e&&(t.sdkKeySuffix=e.length>6?e.substring(e.length-6):e),t}(u):null,b=p?function(e){let t,r,n,o;function a(e){t=e,r=0,n=0,o=[]}return a(e),{getProps:()=>({dataSinceDate:t,droppedEvents:r,eventsInLastBatch:n,streamInits:o}),setProps:e=>{t=e.dataSinceDate,r=e.droppedEvents||0,n=e.eventsInLastBatch||0,o=e.streamInits||[]},incrementDroppedEvents:()=>{r++},setEventsInLastBatch:e=>{n=e},recordStreamInit:(e,t,r)=>{const n={timestamp:e,failed:t,durationMillis:r};o.push(n)},reset:a}}((new Date).getTime()):null,m=p?function(e,t,r,n,o,a,i){const s=!!e.diagnosticUseCombinedEvent,l="ld:"+o+":$diagnostics",c=bn(a.eventsUrl,"/events/diagnostic/"+o),d=a.diagnosticRecordingInterval,u=r;let A,g,f=!!a.streaming;const p={};function h(){return{sdk:v(),configuration:{customBaseURI:a.baseUrl!==hn.baseUrl.default,customStreamURI:a.streamUrl!==hn.streamUrl.default,customEventsURI:a.eventsUrl!==hn.eventsUrl.default,eventsCapacity:a.eventCapacity,eventsFlushIntervalMillis:a.flushInterval,reconnectTimeMillis:a.streamReconnectDelay,streamingDisabled:!f,allAttributesPrivate:!!a.allAttributesPrivate,diagnosticRecordingIntervalMillis:a.diagnosticRecordingInterval,usingSecureMode:!!a.hash,bootstrapMode:!!a.bootstrap,fetchGoalsDisabled:!a.fetchGoals,sendEventsOnlyForVariation:!!a.sendEventsOnlyForVariation},platform:e.diagnosticPlatformData}}function b(e){a.logger&&a.logger.debug(Br.debugPostingDiagnosticEvent(e)),n.sendEvents(e,c,!0).then((()=>{})).catch((()=>{}))}function m(){b(function(){const e=(new Date).getTime();let t={kind:s?"diagnostic-combined":"diagnostic",id:i,creationDate:e,...u.getProps()};return s&&(t={...t,...h()}),u.reset(e),t}()),g=setTimeout(m,d),A=(new Date).getTime(),s&&function(){if(t.isEnabled()){const e={...u.getProps()};t.set(l,JSON.stringify(e))}}()}function v(){const t={...e.diagnosticSdkData};return a.wrapperName&&(t.wrapperName=a.wrapperName),a.wrapperVersion&&(t.wrapperVersion=a.wrapperVersion),t}return p.start=()=>{s?function(e){if(!t.isEnabled())return e(!1);t.get(l).then((t=>{if(t)try{const e=JSON.parse(t);u.setProps(e),A=e.dataSinceDate}catch(e){}e(!0)})).catch((()=>{e(!1)}))}((e=>{if(e){const e=(A||0)+d,t=(new Date).getTime();t>=e?m():g=setTimeout(m,e-t)}else 0===Math.floor(4*Math.random())?m():g=setTimeout(m,d)})):(b({kind:"diagnostic-init",id:i,creationDate:u.getProps().dataSinceDate,...h()}),g=setTimeout(m,d))},p.stop=()=>{g&&clearTimeout(g)},p.setStreaming=e=>{f=e},p}(n,g,b,f,u,l,h):null,v=function(e,t,r,n){const o=t.streamUrl,a=t.logger,i={},s=rn(o,"/eval/"+r),l=t.useReport,c=t.evaluationReasons,d=t.streamReconnectDelay,u=an(e,t);let A,g=!1,f=null,p=null,h=null,b=null,m=null,v=0;function y(e){if(e.status&&"number"==typeof e.status&&!ln(e.status))return x(),a.error(Br.unrecoverableStreamError(e)),void(p&&(clearTimeout(p),p=null));const t=function(){const e=(t=function(){const e=d*Math.pow(2,v);return e>3e4?3e4:e}(),t-Math.trunc(.5*Math.random()*t));var t;return v+=1,e}();g||(a.warn(Br.streamError(e,t)),g=!0),k(!1),x(),w(t)}function w(e){p||(e?p=setTimeout(C,e):C())}function C(){let n;p=null;let i="";const d={headers:u,readTimeoutMillis:3e5};if(e.eventSourceFactory){null!=b&&(i="h="+b),l?e.eventSourceAllowsReport?(n=s,d.method="REPORT",d.headers["Content-Type"]="application/json",d.body=JSON.stringify(h)):(n=rn(o,"/ping/"+r),i=""):n=s+"/"+nn(JSON.stringify(h)),d.headers=sn(d.headers,t),c&&(i=i+(i?"&":"")+"withReasons=true"),n=n+(i?"?":"")+i,x(),a.info(Br.streamConnecting(n)),A=(new Date).getTime(),f=e.eventSourceFactory(n,d);for(const e in m)on(m,e)&&f.addEventListener(e,m[e]);f.onerror=y,f.onopen=()=>{v=0}}}function x(){f&&(a.info(Br.streamClosing()),f.close(),f=null)}function k(e){A&&n&&n.recordStreamInit(A,!e,(new Date).getTime()-A),A=null}return i.connect=function(e,t,r){h=e,b=t,m={};for(const e in r||{})m[e]=function(t){g=!1,k(!0),r[e]&&r[e](t)};w()},i.disconnect=function(){clearTimeout(p),p=null,x()},i.isConnected=function(){return!!(f&&e.eventSourceIsActive&&e.eventSourceIsActive(f))},i}(n,l,u,b),y=l.eventProcessor||function(e,t,r,n=null,o=null,a=null){const i={},s=a||Vr(e,r,t),l=Qt.appendUrlPath(t.eventsUrl,"/events/bulk/"+r),c=function(){const e={};let t=0,r=0,n={},o={};return e.summarizeEvent=e=>{if("feature"===e.kind){const a=e.key+":"+(null!==e.variation&&void 0!==e.variation?e.variation:"")+":"+(null!==e.version&&void 0!==e.version?e.version:""),i=n[a];let s=o[e.key];s||(s=new Set,o[e.key]=s),function(e){return e.context?Gr(e.context):e.contextKeys?Object.keys(e.contextKeys):[]}(e).forEach((e=>s.add(e))),i?i.count=i.count+1:n[a]={count:1,key:e.key,version:e.version,variation:e.variation,value:e.value,default:e.default},(0===t||e.creationDater&&(r=e.creationDate)}},e.getSummary=()=>{const e={};let a=!0;for(const t of Object.values(n)){let r=e[t.key];r||(r={default:t.default,counters:[],contextKinds:[...o[t.key]]},e[t.key]=r);const n={value:t.value,count:t.count};void 0!==t.variation&&null!==t.variation&&(n.variation=t.variation),void 0!==t.version&&null!==t.version?n.version=t.version:n.unknown=!0,r.counters.push(n),a=!1}return a?null:{startDate:t,endDate:r,features:e}},e.clearSummary=()=>{t=0,r=0,n={},o={}},e}(),d=function(e){const t={},r=e.allAttributesPrivate,n=e.privateAttributes||[],o=["key","kind","_meta","anonymous"],a=["name","ip","firstName","lastName","email","avatar","country"],i=e=>{if("object"!=typeof e||null===e||Array.isArray(e))return;const{cloned:t,excluded:a}=Zr.cloneExcluding(e,(e=>(r?Object.keys(e):[...n,...e._meta&&e._meta.privateAttributes||[]]).filter((e=>!o.some((t=>Zr.compare(e,t))))))(e));return t.key=String(t.key),a.length&&(t._meta||(t._meta={}),t._meta.redactedAttributes=a),t._meta&&(delete t._meta.privateAttributes,0===Object.keys(t._meta).length&&delete t._meta),void 0!==t.anonymous&&(t.anonymous=!!t.anonymous),t};return t.filter=e=>void 0===e.kind||null===e.kind?i((e=>{const t={...e.custom||{},kind:"user",key:e.key};void 0!==e.anonymous&&(t.anonymous=!!e.anonymous);for(const r of a)delete t[r],void 0!==e[r]&&null!==e[r]&&(t[r]=String(e[r]));return void 0!==e.privateAttributeNames&&null!==e.privateAttributeNames&&(t._meta=t._meta||{},t._meta.privateAttributes=e.privateAttributeNames.map((e=>e.startsWith("/")?Zr.literalToReference(e):e))),t})(e)):"multi"===e.kind?(e=>{const t={kind:e.kind},r=Object.keys(e);for(const n of r)if("kind"!==n){const r=i(e[n]);r&&(t[n]=r)}return t})(e):i(e),t}(t),u=t.samplingInterval,A=t.eventCapacity,g=t.flushInterval,f=t.logger;let p,h=[],b=0,m=!1,v=!1;function y(){return 0===u||0===Math.floor(Math.random()*u)}function w(e){h.lengthb&&n.debugEventsUntilDate>(new Date).getTime()):t=y(),t&&w(function(e){const t=Qt.extend({},e);return"identify"===e.kind?t.context=d.filter(e.context):(t.contextKeys=Jr(e.context,f),delete t.context),"feature"===e.kind&&(delete t.trackEvents,delete t.debugEventsUntilDate),t}(e)),r){const t=Qt.extend({},e,{kind:"debug"});t.context=d.filter(t.context),delete t.trackEvents,delete t.debugEventsUntilDate,w(t)}},i.flush=function(){if(m)return Promise.resolve();const e=h,t=c.getSummary();return c.clearSummary(),t&&(t.kind="summary",e.push(t)),n&&n.setEventsInLastBatch(e.length),0===e.length?Promise.resolve():(h=[],f.debug(Br.debugPostingEvents(e.length)),s.sendEvents(e,l).then((e=>{const t=e&&e[0];t&&(t.serverTime&&(b=t.serverTime),It.isHttpErrorRecoverable(t.status)||(m=!0),t.status>=400&&Qt.onNextTick((()=>{o.maybeReportError(new It.LDUnexpectedResponseError(Br.httpErrorMessage(t.status,"event posting","some events were dropped")))})))})))},i.start=function(){const e=()=>{i.flush(),p=setTimeout(e,g)};p=setTimeout(e,g)},i.stop=function(){clearTimeout(p)},i}(n,l,u,b,i,f),w=function(e,t,r){const n=t.baseUrl,o=t.useReport,a=t.evaluationReasons,i=t.logger,s={},l={};function c(r,n){if(!e.httpRequest)return new Promise(((e,t)=>{t(new It.LDFlagFetchError(Br.httpUnavailable()))}));const o=n?"REPORT":"GET",a=dn(e,t);n&&(a["Content-Type"]=un);let i=l[r];i||(i=function(e){let t,r,n,o;const a={addPromise:(a,i)=>{t=a,r&&r(),r=i,a.then((r=>{t===a&&(n(r),e&&e())}),(r=>{t===a&&(o(r),e&&e())}))}};return a.resultPromise=new Promise(((e,t)=>{n=e,o=t})),a}((()=>{delete l[r]})),l[r]=i);const s=e.httpRequest(o,r,cn(a,t),n),c=s.promise.then((e=>{if(200===e.status){if(e.header("content-type")&&e.header("content-type").substring(0,16)===un)return JSON.parse(e.body);{const t=Br.invalidContentType(e.header("content-type")||"");return Promise.reject(new It.LDFlagFetchError(t))}}return Promise.reject(function(e){return 404===e.status?new It.LDInvalidEnvironmentIdError(Br.environmentNotFound()):new It.LDFlagFetchError(Br.errorFetchingFlags(e.statusText||String(e.status)))}(e))}),(e=>Promise.reject(new It.LDFlagFetchError(Br.networkError(e)))));return i.addPromise(c,(()=>{s.cancel&&s.cancel()})),i.resultPromise}return s.fetchJSON=function(e){return c(Qt.appendUrlPath(n,e),null)},s.fetchFlagSettings=function(e,t){let s,l,d,u="";return o?(l=[n,"/sdk/evalx/",r,"/context"].join(""),d=JSON.stringify(e)):(s=Qt.base64URLEncode(JSON.stringify(e)),l=[n,"/sdk/evalx/",r,"/contexts/",s].join("")),t&&(u="h="+t),a&&(u=u+(u?"&":"")+"withReasons=true"),l=l+(u?"?":"")+u,i.debug(Br.debugPolling(l)),c(l,d)},s}(n,l,u);let C,x,k,S={},E=l.streaming,_=!1,B=!1,O=!0;const T=l.stateProvider,P=function(e,t){const r={};let n;return r.setContext=function(e){n=Qt.sanitizeContext(e),n&&t&&t(Qt.clone(n))},r.getContext=function(){return n?Qt.clone(n):null},r}(0,(function(e){(function(e){T||e&&R({kind:"identify",context:e,creationDate:(new Date).getTime()})})(e),c.hasListeners(kn.clientIdentityChanged)&&c.onIdentityChanged(P.getContext())})),N=new fn(g),D=g.isEnabled()?function(e,t,r,n){const o={};function a(){let e="";const o=n.getContext();return o&&(e=r||Qt.btoa(JSON.stringify(o))),"ld:"+t+":"+e}return o.loadFlags=()=>e.get(a()).then((e=>{if(null==e)return null;try{let t=JSON.parse(e);if(t){const e=t.$schema;void 0===e||e<1?t=Qt.transformValuesToVersionedValues(t):delete t.$schema}return t}catch(e){return o.clearFlags().then((()=>null))}})),o.saveFlags=t=>{const r=Qt.extend({},t,{$schema:1});return e.set(a(),JSON.stringify(r))},o.clearFlags=()=>e.clear(a()),o}(g,u,A,P):null;function R(e){u&&(T&&T.enqueueEvent&&T.enqueueEvent(e)||(e.context?(O=!1,!d||B||n.isDoNotTrack()||(a.debug(Br.debugEnqueueingEvent(e.kind)),y.enqueue(e))):O&&(a.warn(Br.eventWithoutContext()),O=!1)))}function I(e,t){c.hasListeners(kn.flagDetailChanged)&&c.onFlagChanged(e.key,V(t))}function L(){c.hasListeners(kn.flagDetailsChanged)&&c.onFlags(Object.entries(S).map((([e,t])=>({key:e,detail:V(t)}))).reduce(((e,t)=>(e[t.key]=t.detail,e)),{}))}function M(e,t,r,n){const o=P.getContext(),a=new Date,i={kind:"feature",key:e,context:o,value:t?t.value:null,variation:t?t.variationIndex:null,default:r,creationDate:a.getTime()},s=S[e];s&&(i.version=s.flagVersion?s.flagVersion:s.version,i.trackEvents=s.trackEvents,i.debugEventsUntilDate=s.debugEventsUntilDate),(n||s&&s.trackReason)&&t&&(i.reason=t.reason),R(i)}function F(e){return Cn(e,!1)?Promise.resolve(e):Promise.reject(new It.LDInvalidUserError(Br.invalidContext()))}function j(e,t,r,n,o){let a;if(S&&Qt.objectHasOwnProperty(S,e)&&S[e]&&!S[e].deleted){const r=S[e];a=V(r),null!==r.value&&void 0!==r.value||(a.value=t)}else a={value:t,variationIndex:null,reason:{kind:"ERROR",errorKind:"FLAG_NOT_FOUND"}};return r&&M(e,a,t,n),o||function(e,t){c.hasListeners(kn.flagUsed)&&c.onFlagUsed(e,t,P.getContext())}(e,a),a}function V(e){return{value:e.value,variationIndex:void 0===e.variation?null:e.variation,reason:e.reason||null}}function z(){if(x=!0,!P.getContext())return;const e=e=>{try{return JSON.parse(e)}catch(e){return void i.maybeReportError(new It.LDInvalidDataError(Br.invalidData()))}};v.connect(P.getContext(),A,{ping:function(){a.debug(Br.debugStreamPing());const e=P.getContext();w.fetchFlagSettings(e,A).then((t=>{Qt.deepEquals(e,P.getContext())&&U(t||{})})).catch((e=>{i.maybeReportError(new It.LDFlagFetchError(Br.errorFetchingFlags(e)))}))},put:function(t){const r=e(t.data);r&&(a.debug(Br.debugStreamPut()),U(r))},patch:function(t){const r=e(t.data);if(!r)return;const n=S[r.key];if(!n||!n.version||!r.version||n.version{}))}function H(e){const t=Object.keys(e);if(t.length>0){const r={};t.forEach((t=>{const n=e[t].current,o=n?n.value:void 0,a=e[t].previous;i.emit(En+":"+t,o,a),r[t]=n?{current:o,previous:a}:{previous:a}})),i.emit(En,r),i.emit(_n,S),l.sendEventsOnlyForVariation||T||t.forEach((t=>{M(t,e[t].current)}))}return C&&D?D.saveFlags(S):Promise.resolve()}function G(){const e=E||k&&void 0===E;e&&!x?z():!e&&x&&q(),m&&m.setStreaming(e)}function W(e){return e===En||e.substr(0,7)===En+":"}if("string"==typeof l.bootstrap&&"LOCALSTORAGE"===l.bootstrap.toUpperCase()&&(D?C=!0:a.warn(Br.localStorageUnavailable())),"object"==typeof l.bootstrap&&(S=function(e){const t=Object.keys(e),r="$flagsState",n="$valid",o=e[r];!o&&t.length&&a.warn(Br.bootstrapOldFormat()),!1===e[n]&&a.warn(Br.bootstrapInvalid());const i={};return t.forEach((t=>{if(t!==r&&t!==n){let r={value:e[t]};o&&o[t]?r=Qt.extend(r,o[t]):r.version=0,i[t]=r}})),i}(l.bootstrap)),T){const e=T.getInitialState();e?Y(e):T.on("init",Y),T.on("update",(function(e){e.context&&P.setContext(e.context),e.flags&&U(e.flags)}))}else(e?N.processContext(t).then(F).then((e=>(P.setContext(e),"object"==typeof l.bootstrap?K():C?D.loadFlags().then((e=>null==e?(S={},w.fetchFlagSettings(P.getContext(),A).then((e=>U(e||{}))).then(K).catch((e=>{X(new It.LDFlagFetchError(Br.errorFetchingFlags(e)))}))):(S=e,Qt.onNextTick(K),w.fetchFlagSettings(P.getContext(),A).then((e=>U(e))).catch((e=>i.maybeReportError(e)))))):w.fetchFlagSettings(P.getContext(),A).then((e=>{S=e||{},L(),K()})).catch((e=>{S={},X(e)}))))):Promise.reject(new It.LDInvalidEnvironmentIdError(Br.environmentNotSpecified()))).catch(X);function Y(e){u=e.environment,P.setContext(e.context),S={...e.flags},Qt.onNextTick(K)}function K(){a.info(Br.clientInitialized()),_=!0,G(),s.signalSuccess()}function X(e){s.signalFailure(e)}const Q={waitForInitialization:()=>s.getInitializationPromise(),waitUntilReady:()=>s.getReadyPromise(),identify:function(e,t,r){if(B)return Qt.wrapPromiseCallback(Promise.resolve({}),r);if(T)return a.warn(Br.identifyDisabled()),Qt.wrapPromiseCallback(Promise.resolve(Qt.transformVersionedValuesToValues(S)),r);const n=C&&D?D.clearFlags():Promise.resolve();return Qt.wrapPromiseCallback(n.then((()=>N.processContext(e))).then(F).then((e=>w.fetchFlagSettings(e,t).then((r=>{const n=Qt.transformVersionedValuesToValues(r);return P.setContext(e),A=t,r?U(r).then((()=>n)):n})))).then((e=>(x&&z(),e))).catch((e=>(i.maybeReportError(e),Promise.reject(e)))),r)},getContext:function(){return P.getContext()},variation:function(e,t){return j(e,t,!0,!1,!1).value},variationDetail:function(e,t){return j(e,t,!0,!0,!1)},track:function(e,t,r){if("string"!=typeof e)return void i.maybeReportError(new It.LDInvalidEventKeyError(Br.unknownCustomEventKey(e)));n.customEventFilter&&!n.customEventFilter(e)&&a.warn(Br.unknownCustomEventKey(e));const o=P.getContext(),s={kind:"custom",key:e,context:o,url:n.getCurrentUrl(),creationDate:(new Date).getTime()};o&&o.anonymous&&(s.contextKind=o.anonymous?"anonymousUser":"user"),null!=t&&(s.data=t),null!=r&&(s.metricValue=r),R(s)},on:function(e,t,r){W(e)?(k=!0,_&&G(),i.on(e,t,r)):i.on(...arguments)},off:function(e){if(i.off(...arguments),W(e)){let e=!1;i.getEvents().forEach((t=>{W(t)&&i.getEventListenerCount(t)>0&&(e=!0)})),e||(k=!1,x&&void 0===E&&q())}},setStreaming:function(e){const t=null===e?void 0:e;t!==E&&(E=t,G())},flush:function(e){return Qt.wrapPromiseCallback(d?y.flush():Promise.resolve(),e)},allFlags:function(){const e={};if(!S)return e;for(const t in S)Qt.objectHasOwnProperty(S,t)&&!S[t].deleted&&(e[t]=j(t,null,!l.sendEventsOnlyForVariation,!1,!0).value);return e},close:function(e){if(B)return Qt.wrapPromiseCallback(Promise.resolve(),e);const t=()=>{B=!0,S={}},r=Promise.resolve().then((()=>{if(q(),m&&m.stop(),d)return y.stop(),y.flush()})).then(t).catch(t);return Qt.wrapPromiseCallback(r,e)}};return{client:Q,options:l,emitter:i,ident:P,logger:a,requestor:w,start:function(){d&&(m&&m.start(),y.start())},enqueueEvent:R,getFlagsInternal:function(){return S},getEnvironmentId:()=>u,internalChangeEventName:_n}},commonBasicLogger:wn,errors:It,messages:Br,utils:Qt,getContextKeys:xn},On=Bn.initialize,Tn=Bn.errors;function Pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nn(e){for(var t=1;t{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};function Mn(e,t,r,n){var o,a,i=("substring"!==e.kind&&"regex"!==e.kind||!n.includes("/")?t.replace(n,""):t).replace(r,"");switch(e.kind){case"exact":a=t,o=new RegExp("^"+Ln(e.url)+"/?$");break;case"canonical":a=i,o=new RegExp("^"+Ln(e.url)+"/?$");break;case"substring":a=i,o=new RegExp(".*"+Ln(e.substring)+".*$");break;case"regex":a=i,o=new RegExp(e.pattern);break;default:return!1}return o.test(a)}function Fn(e,t){for(var r={},n=null,o=[],a=0;a0&&(n=function(e){for(var r=function(e,t){for(var r=[],n=0;n0;){for(var l=0;l0&&(n=Fn(r=e,a),function(e,t){var r,n=window.location.href;function o(){(r=window.location.href)!==n&&(n=r,t())}!function e(t,r){t(),setTimeout((function(){e(t,r)}),r)}(o,300),window.history&&window.history.pushState?window.addEventListener("popstate",o):window.addEventListener("hashchange",o)}(0,o)),t()})).catch((function(r){e.emitter.maybeReportError(new Tn.LDUnexpectedResponseError((r&&r.message,r.message))),t()})),{}}var Vn="goalsReady",zn={fetchGoals:{default:!0},hash:{type:"string"},eventProcessor:{type:"object"},eventUrlTransformer:{type:"function"},disableSyncEventPost:{default:!1}};var qn=r(76884),Un=r.n(qn);const Hn={useCamelCaseFlagKeys:!0,sendEventsOnFlagRead:!0},Gn=(0,i.createContext)({flags:{},flagKeyMap:{},ldClient:void 0}),{Provider:Wn,Consumer:Yn}=Gn,Kn=e=>{const t={};for(const r in e)0!==r.indexOf("$")&&(t[Un()(r)]=e[r]);return t};Kn.camelCaseKeys=Kn;var Xn=Object.defineProperty,Qn=Object.getOwnPropertySymbols,Zn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable,$n=(e,t,r)=>t in e?Xn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,eo=(e,t)=>{for(var r in t||(t={}))Zn.call(t,r)&&$n(e,r,t[r]);if(Qn)for(var r of Qn(t))Jn.call(t,r)&&$n(e,r,t[r]);return e};const to={wrapperName:"react-client-sdk",wrapperVersion:"3.0.10",sendEventsOnlyForVariation:!0},ro=(e,...t)=>{return r=[e,...t],n=function*(e,t={anonymous:!0,kind:"user"},r,n){const o=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=function(e){var t,r={userAgentHeaderName:"X-LaunchDarkly-User-Agent",synchronousFlush:!1};if(window.XMLHttpRequest){var n=e&&e.disableSyncEventPost;r.httpRequest=function(e,t,o,a){var i=r.synchronousFlush&!n;return r.synchronousFlush=!1,In(e,t,o,a,i)}}r.httpAllowsPost=function(){return void 0===t&&(t=!!window.XMLHttpRequest&&"withCredentials"in new window.XMLHttpRequest),t},r.httpFallbackPing=function(e){(new window.Image).src=e};var o,a=e&&e.eventUrlTransformer;r.getCurrentUrl=function(){return a?a(window.location.href):window.location.href},r.isDoNotTrack=function(){var e;return 1===(e=window.navigator&&void 0!==window.navigator.doNotTrack?window.navigator.doNotTrack:window.navigator&&void 0!==window.navigator.msDoNotTrack?window.navigator.msDoNotTrack:window.doNotTrack)||!0===e||"1"===e||"yes"===e};try{window.localStorage&&(r.localStorage={get:function(e){return new Promise((function(t){t(window.localStorage.getItem(e))}))},set:function(e,t){return new Promise((function(r){window.localStorage.setItem(e,t),r()}))},clear:function(e){return new Promise((function(t){window.localStorage.removeItem(e),t()}))}})}catch(e){r.localStorage=null}if(e&&e.useReport&&"function"==typeof window.EventSourcePolyfill&&window.EventSourcePolyfill.supportedOptions&&window.EventSourcePolyfill.supportedOptions.method?(r.eventSourceAllowsReport=!0,o=window.EventSourcePolyfill):(r.eventSourceAllowsReport=!1,o=window.EventSource),window.EventSource){var i=3e5;r.eventSourceFactory=function(e,t){var r=Nn(Nn({},{heartbeatTimeout:i,silentTimeout:i,skipDefaultHeaders:!0}),t);return new o(e,r)},r.eventSourceIsActive=function(e){return e.readyState===window.EventSource.OPEN||e.readyState===window.EventSource.CONNECTING}}return r.userAgent="JSClient",r.version="3.1.4",r.diagnosticSdkData={name:"js-client-sdk",version:"3.1.4"},r.diagnosticPlatformData={name:"JS"},r.diagnosticUseCombinedEvent=!0,r}(r),o=On(e,t,r,n,zn),a=o.client,i=o.options,s=o.emitter,l=new Promise((function(e){var t=s.on(Vn,(function(){s.off(Vn,t),e()}))}));a.waitUntilGoalsReady=function(){return l},i.fetchGoals?jn(o,(function(){return s.emit(Vn)})):s.emit(Vn),"complete"!==document.readyState?window.addEventListener("load",o.start):o.start();var c=function(){n.synchronousFlush=!0,a.flush().catch((function(){})),n.synchronousFlush=!1};return document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&c()})),window.addEventListener("pagehide",c),a}(e,t,eo(eo({},to),r));return new Promise((e=>{function t(){o.off("ready",a),o.off("failed",r)}function r(r){t(),e({flags:{},ldClient:o,error:r})}function a(){t();const r=((e,t)=>{const r=e.allFlags();return t?Object.keys(t).reduce(((e,n)=>(e[n]=Object.prototype.hasOwnProperty.call(r,n)?r[n]:t[n],e)),{}):r})(o,n);e({flags:r,ldClient:o})}o.on("failed",r),o.on("ready",a)}))},new Promise(((e,t)=>{var o=e=>{try{i(n.next(e))}catch(e){t(e)}},a=e=>{try{i(n.throw(e))}catch(e){t(e)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,a);i((n=n.apply(void 0,r)).next())}));var r,n};function no(e,t,r=Hn,n){const o=function(e,t){return void 0===t?e:Object.keys(t).reduce(((t,r)=>(oo(e,r)&&(t[r]=e[r]),t)),{})}(t,n),{useCamelCaseFlagKeys:a=!0}=r,[i,s={}]=a?function(e){const t={},r={};for(const n in e){if(0===n.indexOf("$"))continue;const o=Un()(n);t[o]=e[n],r[o]=n}return[t,r]}(o):[o];return{flags:r.sendEventsOnFlagRead?ao(e,i,s,a):i,flagKeyMap:s}}function oo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ao(e,t,r,n){return new Proxy(t,{get(t,o,a){const i=Reflect.get(t,o,a),s=n&&oo(r,o)||oo(t,o);if("symbol"==typeof o||!s)return i;if(void 0===i)return;const l=n?r[o]:o;return e.variation(l,i)}})}Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable,Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var io=Object.defineProperty,so=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,uo=(e,t,r)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ao=(e,t)=>{for(var r in t||(t={}))lo.call(t,r)&&uo(e,r,t[r]);if(so)for(var r of so(t))co.call(t,r)&&uo(e,r,t[r]);return e};function go(e){return t=this,r=function*(){const{clientSideID:t,flags:r,options:n,reactOptions:o}=e,a=Ao(Ao({},Hn),o),{ldClient:s,flags:l,error:c}=yield ro(t,(e=>{var t;return null!=(t=e.context)?t:e.user})(e),n,r),d=(null==n?void 0:n.bootstrap)&&"localStorage"!==n.bootstrap?n.bootstrap:l;return({children:e})=>{const[t,n]=(0,i.useState)((()=>Ao({unproxiedFlags:d},no(s,d,a,r))));(0,i.useEffect)((()=>{function e(e){const t=((e,t)=>{const r={};for(const n in e)t&&void 0===t[n]||(r[n]=e[n].current);return r})(e,r);Object.keys(t).length>0&&n((({unproxiedFlags:e})=>{const n=Ao(Ao({},e),t);return Ao({unproxiedFlags:n},no(s,n,a,r))}))}return s.on("change",e),function(){s.off("change",e)}}),[]);const{flags:o,flagKeyMap:l}=t;return i.createElement(Wn,{value:{flags:o,flagKeyMap:l,ldClient:s,error:c}},e)}},new Promise(((e,n)=>{var o=e=>{try{i(r.next(e))}catch(e){n(e)}},a=e=>{try{i(r.throw(e))}catch(e){n(e)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,a);i((r=r.apply(t,null)).next())}));var t,r}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var fo,po=r(45697),ho=r.n(po),bo=r(83524),mo=r.n(bo),vo=r(69590),yo=r.n(vo),wo=r(27418),Co=r.n(wo),xo="bodyAttributes",ko="htmlAttributes",So={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},Eo=(Object.keys(So).map((function(e){return So[e]})),"charset"),_o="cssText",Bo="href",Oo="innerHTML",To="itemprop",Po="rel",No={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},Do=Object.keys(No).reduce((function(e,t){return e[No[t]]=t,e}),{}),Ro=[So.NOSCRIPT,So.SCRIPT,So.STYLE],Io="data-react-helmet",Lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mo=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Fo=function(){function e(e,t){for(var r=0;r=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},zo=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},qo=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Uo=function(e){var t=Ko(e,So.TITLE),r=Ko(e,"titleTemplate");if(r&&t)return r.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var n=Ko(e,"defaultTitle");return t||n||void 0},Ho=function(e){return Ko(e,"onChangeClientState")||function(){}},Go=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return jo({},e,t)}),{})},Wo=function(e,t){return t.filter((function(e){return void 0!==e[So.BASE]})).map((function(e){return e[So.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o=0;r--){var n=e[r];if(n.hasOwnProperty(t))return n[t]}return null},Xo=(fo=Date.now(),function(e){var t=Date.now();t-fo>16?(fo=t,e(t)):setTimeout((function(){Xo(e)}),0)}),Qo=function(e){return clearTimeout(e)},Zo="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Xo:r.g.requestAnimationFrame||Xo,Jo="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Qo:r.g.cancelAnimationFrame||Qo,$o=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ea=null,ta=function(e,t){var r=e.baseTag,n=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,d=e.styleTags,u=e.title,A=e.titleAttributes;oa(So.BODY,n),oa(So.HTML,o),na(u,A);var g={baseTag:aa(So.BASE,r),linkTags:aa(So.LINK,a),metaTags:aa(So.META,i),noscriptTags:aa(So.NOSCRIPT,s),scriptTags:aa(So.SCRIPT,c),styleTags:aa(So.STYLE,d)},f={},p={};Object.keys(g).forEach((function(e){var t=g[e],r=t.newTags,n=t.oldTags;r.length&&(f[e]=r),n.length&&(p[e]=g[e].oldTags)})),t&&t(),l(e,f,p)},ra=function(e){return Array.isArray(e)?e.join(""):e},na=function(e,t){void 0!==e&&document.title!==e&&(document.title=ra(e)),oa(So.TITLE,t)},oa=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute(Io),o=n?n.split(","):[],a=[].concat(o),i=Object.keys(t),s=0;s=0;u--)r.removeAttribute(a[u]);o.length===a.length?r.removeAttribute(Io):r.getAttribute(Io)!==i.join(",")&&r.setAttribute(Io,i.join(","))}},aa=function(e,t){var r=document.head||document.querySelector(So.HEAD),n=r.querySelectorAll(e+"["+Io+"]"),o=Array.prototype.slice.call(n),a=[],i=void 0;return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var n in t)if(t.hasOwnProperty(n))if(n===Oo)r.innerHTML=t.innerHTML;else if(n===_o)r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[n]?"":t[n];r.setAttribute(n,s)}r.setAttribute(Io,"true"),o.some((function(e,t){return i=t,r.isEqualNode(e)}))?o.splice(i,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:a}},ia=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},sa=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[No[r]||r]=e[r],t}),t)},la=function(e,t,r){switch(e){case So.TITLE:return{toComponent:function(){return e=t.title,r=t.titleAttributes,(n={key:e})[Io]=!0,o=sa(r,n),[i.createElement(So.TITLE,o,e)];var e,r,n,o},toString:function(){return function(e,t,r,n){var o=ia(r),a=ra(t);return o?"<"+e+" "+Io+'="true" '+o+">"+qo(a,n)+"":"<"+e+" "+Io+'="true">'+qo(a,n)+""}(e,t.title,t.titleAttributes,r)}};case xo:case ko:return{toComponent:function(){return sa(t)},toString:function(){return ia(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,o=((n={key:r})[Io]=!0,n);return Object.keys(t).forEach((function(e){var r=No[e]||e;if(r===Oo||r===_o){var n=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:n}}else o[r]=t[e]})),i.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!(e===Oo||e===_o)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+qo(n[t],r)+'"';return e?e+" "+o:o}),""),a=n.innerHTML||n.cssText||"",i=-1===Ro.indexOf(e);return t+"<"+e+" "+Io+'="true" '+o+(i?"/>":">"+a+"")}),"")}(e,t,r)}}}},ca=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,o=e.htmlAttributes,a=e.linkTags,i=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,d=e.title,u=void 0===d?"":d,A=e.titleAttributes;return{base:la(So.BASE,t,n),bodyAttributes:la(xo,r,n),htmlAttributes:la(ko,o,n),link:la(So.LINK,a,n),meta:la(So.META,i,n),noscript:la(So.NOSCRIPT,s,n),script:la(So.SCRIPT,l,n),style:la(So.STYLE,c,n),title:la(So.TITLE,{title:u,titleAttributes:A},n)}},da=function(e){var t,r;return r=t=function(t){function r(){return Mo(this,r),zo(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(e){return!yo()(this.props,e)},r.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case So.SCRIPT:case So.NOSCRIPT:return{innerHTML:t};case So.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},r.prototype.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren,o=e.newChildProps,a=e.nestedChildren;return jo({},n,((t={})[r.type]=[].concat(n[r.type]||[],[jo({},o,this.mapNestedChildrenToProps(r,a))]),t))},r.prototype.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,a=e.newChildProps,i=e.nestedChildren;switch(n.type){case So.TITLE:return jo({},o,((t={})[n.type]=i,t.titleAttributes=jo({},a),t));case So.BODY:return jo({},o,{bodyAttributes:jo({},a)});case So.HTML:return jo({},o,{htmlAttributes:jo({},a)})}return jo({},o,((r={})[n.type]=jo({},a),r))},r.prototype.mapArrayTypeChildrenToProps=function(e,t){var r=jo({},t);return Object.keys(e).forEach((function(t){var n;r=jo({},r,((n={})[t]=e[t],n))})),r},r.prototype.warnOnInvalidChildren=function(e,t){return!0},r.prototype.mapChildrenToProps=function(e,t){var r=this,n={};return i.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,a=o.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,r){return t[Do[r]||r]=e[r],t}),t)}(Vo(o,["children"]));switch(r.warnOnInvalidChildren(e,a),e.type){case So.LINK:case So.META:case So.NOSCRIPT:case So.SCRIPT:case So.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:i,nestedChildren:a});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(n,t)},r.prototype.render=function(){var t=this.props,r=t.children,n=Vo(t,["children"]),o=jo({},n);return r&&(o=this.mapChildrenToProps(r,o)),i.createElement(e,o)},Fo(r,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),r}(i.Component),t.propTypes={base:ho().object,bodyAttributes:ho().object,children:ho().oneOfType([ho().arrayOf(ho().node),ho().node]),defaultTitle:ho().string,defer:ho().bool,encodeSpecialCharacters:ho().bool,htmlAttributes:ho().object,link:ho().arrayOf(ho().object),meta:ho().arrayOf(ho().object),noscript:ho().arrayOf(ho().object),onChangeClientState:ho().func,script:ho().arrayOf(ho().object),style:ho().arrayOf(ho().object),title:ho().string,titleAttributes:ho().object,titleTemplate:ho().string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=ca({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},r}(mo()((function(e){return{baseTag:Wo([Bo,"target"],e),bodyAttributes:Go(xo,e),defer:Ko(e,"defer"),encode:Ko(e,"encodeSpecialCharacters"),htmlAttributes:Go(ko,e),linkTags:Yo(So.LINK,[Po,Bo],e),metaTags:Yo(So.META,["name",Eo,"http-equiv","property",To],e),noscriptTags:Yo(So.NOSCRIPT,[Oo],e),onChangeClientState:Ho(e),scriptTags:Yo(So.SCRIPT,["src",Oo],e),styleTags:Yo(So.STYLE,[_o],e),title:Uo(e),titleAttributes:Go("titleAttributes",e)}}),(function(e){ea&&Jo(ea),e.defer?ea=Zo((function(){ta(e,(function(){ea=null}))})):(ta(e),ea=null)}),ca)((function(){return null})));da.renderStatic=da.rewind;const ua=da;var Aa=r(72913);const ga=function(){var e=(0,Aa.V)({apiKey:"wqmnzLi6JNfC5thdN4Av0Zrm6DyR6lAk",page:!1});return i.createElement(ua,null,i.createElement("script",null,"".concat(e)))};var fa=r(4942);function pa(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function ha(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Sa=function(e){return ka[e]},Ea={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(xa,Sa)}},_a=(0,i.createContext)();function Ba(){return Ea}var Oa=function(){function e(){va(this,e),this.usedNamespaces={}}return Ca(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function Ta(){if(console&&console.warn){for(var e,t=arguments.length,r=new Array(t),n=0;n2&&void 0!==arguments[2]?arguments[2]:{},n=t.languages[0],o=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;var i=function(e,r){var n=t.services.backendConnector.state["".concat(e,"|").concat(r)];return-1===n||2===n};return!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e)||!t.hasResourceBundle(n,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!i(n,e)||o&&!i(a,e)))}function Ia(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.languages||!t.languages.length)return Na("i18n.languages were undefined or empty",t.languages),!0;var n=void 0!==t.options.ignoreJSONStructure;return n?t.hasLoadedNamespace(e,{precheck:function(t,n){if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):Ra(e,t,r)}function La(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ma(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=t.i18n,n=(0,i.useContext)(_a)||{},o=n.i18n,a=n.defaultNS,s=r||o||void 0;if(s&&!s.reportNamespaces&&(s.reportNamespaces=new Oa),!s){Na("You will need to pass in an i18next instance by using initReactI18next");var l=function(e){return Array.isArray(e)?e[e.length-1]:e},c=[l,{},!1];return c.t=l,c.i18n={},c.ready=!1,c}s.options.react&&void 0!==s.options.react.wait&&Na("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var d=Ma(Ma(Ma({},Ba()),s.options.react),t),u=d.useSuspense,A=d.keyPrefix,g=e||a||s.options&&s.options.defaultNS;g="string"==typeof g?[g]:g||["translation"],s.reportNamespaces.addUsedNamespaces&&s.reportNamespaces.addUsedNamespaces(g);var f=(s.isInitialized||s.initializedStoreOnce)&&g.every((function(e){return Ia(e,s,d)}));function p(){return s.getFixedT(null,"fallback"===d.nsMode?g:g[0],A)}var h=(0,i.useState)(p),b=ma(h,2),m=b[0],v=b[1],y=g.join(),w=Fa(y),C=(0,i.useRef)(!0);(0,i.useEffect)((function(){var e=d.bindI18n,t=d.bindI18nStore;function r(){C.current&&v(p)}return C.current=!0,f||u||Da(s,g,(function(){C.current&&v(p)})),f&&w&&w!==y&&C.current&&v(p),e&&s&&s.on(e,r),t&&s&&s.store.on(t,r),function(){C.current=!1,e&&s&&e.split(" ").forEach((function(e){return s.off(e,r)})),t&&s&&t.split(" ").forEach((function(e){return s.store.off(e,r)}))}}),[s,y]);var x=(0,i.useRef)(!0);(0,i.useEffect)((function(){C.current&&!x.current&&v(p),x.current=!1}),[s,A]);var k=[m,s,f];if(k.t=m,k.i18n=s,k.ready=f,f)return k;if(!f&&!u)return k;throw new Promise((function(e){Da(s,g,(function(){e()}))}))}function Va(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t=0||(o[r]=e[r]);return o}function Ha(e){return"number"==typeof e&&!isNaN(e)}function Ga(e){return"boolean"==typeof e}function Wa(e){return"string"==typeof e}function Ya(e){return"function"==typeof e}function Ka(e){return Wa(e)||Ya(e)?e:null}function Xa(e){return 0===e||e}var Qa=!("undefined"==typeof window||!window.document||!window.document.createElement);function Za(e){return(0,i.isValidElement)(e)||Wa(e)||Ya(e)||Ha(e)}var Ja={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},$a={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"};function ei(e){var t=e.enter,r=e.exit,n=e.appendPosition,o=void 0!==n&&n,a=e.collapse,s=void 0===a||a,l=e.collapseDuration,c=void 0===l?300:l;return function(e){var n=e.children,a=e.position,l=e.preventExitTransition,d=e.done,u=e.nodeRef,A=e.isIn,g=o?t+"--"+a:t,f=o?r+"--"+a:r,p=(0,i.useRef)(),h=(0,i.useRef)(0);function b(e){if(e.target===u.current){var t=u.current;t.dispatchEvent(new Event("d")),t.removeEventListener("animationend",b),t.removeEventListener("animationcancel",b),0===h.current&&(t.className=p.current)}}function m(){var e=u.current;e.removeEventListener("animationend",m),s?function(e,t,r){void 0===r&&(r=300);var n=e.scrollHeight,o=e.style;requestAnimationFrame((function(){o.minHeight="initial",o.height=n+"px",o.transition="all "+r+"ms",requestAnimationFrame((function(){o.height="0",o.padding="0",o.margin="0",setTimeout(t,r)}))}))}(e,d,c):d()}return(0,i.useLayoutEffect)((function(){!function(){var e=u.current;p.current=e.className,e.className+=" "+g,e.addEventListener("animationend",b),e.addEventListener("animationcancel",b)}()}),[]),(0,i.useEffect)((function(){A||(l?m():function(){h.current=1;var e=u.current;e.className+=" "+f,e.addEventListener("animationend",m)}())}),[A]),i.createElement(i.Fragment,null,n)}}var ti={list:new Map,emitQueue:new Map,on:function(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off:function(e,t){if(t){var r=this.list.get(e).filter((function(e){return e!==t}));return this.list.set(e,r),this}return this.list.delete(e),this},cancelEmit:function(e){var t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit:function(e){for(var t=this,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o=1?e.targetTouches[0].clientX:e.clientX}function oi(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function ai(e){var t=e.closeToast,r=e.theme,n=e.ariaLabel,o=void 0===n?"close":n;return(0,i.createElement)("button",{className:"Toastify__close-button Toastify__close-button--"+r,type:"button",onClick:function(e){e.stopPropagation(),t(e)},"aria-label":o},(0,i.createElement)("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},(0,i.createElement)("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function ii(e){var t,r,n=e.delay,o=e.isRunning,a=e.closeToast,s=e.type,l=e.hide,c=e.className,d=e.style,u=e.controlledProgress,A=e.progress,g=e.rtl,f=e.isIn,p=e.theme,h=qa({},d,{animationDuration:n+"ms",animationPlayState:o?"running":"paused",opacity:l?0:1});u&&(h.transform="scaleX("+A+")");var b=za("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated","Toastify__progress-bar-theme--"+p,"Toastify__progress-bar--"+s,((t={})["Toastify__progress-bar--rtl"]=g,t)),m=Ya(c)?c({rtl:g,type:s,defaultClassName:b}):za(b,c),v=((r={})[u&&A>=1?"onTransitionEnd":"onAnimationEnd"]=u&&A<1?null:function(){f&&a()},r);return(0,i.createElement)("div",Object.assign({role:"progressbar","aria-hidden":l?"true":"false","aria-label":"notification timer",className:m,style:h},v))}ii.defaultProps={type:$a.DEFAULT,hide:!1};var si=["theme","type"],li=function(e){var t=e.theme,r=e.type,n=Ua(e,si);return(0,i.createElement)("svg",Object.assign({viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":"var(--toastify-icon-color-"+r+")"},n))},ci={info:function(e){return(0,i.createElement)(li,Object.assign({},e),(0,i.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return(0,i.createElement)(li,Object.assign({},e),(0,i.createElement)("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return(0,i.createElement)(li,Object.assign({},e),(0,i.createElement)("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return(0,i.createElement)(li,Object.assign({},e),(0,i.createElement)("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return(0,i.createElement)("div",{className:"Toastify__spinner"})}},di=function(e){var t,r,n=function(e){var t=(0,i.useState)(!1),r=t[0],n=t[1],o=(0,i.useState)(!1),a=o[0],s=o[1],l=(0,i.useRef)(null),c=(0,i.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,d=(0,i.useRef)(e),u=e.autoClose,A=e.pauseOnHover,g=e.closeToast,f=e.onClick,p=e.closeOnClick;function h(t){if(e.draggable){c.didMove=!1,document.addEventListener("mousemove",y),document.addEventListener("mouseup",w),document.addEventListener("touchmove",y),document.addEventListener("touchend",w);var r=l.current;c.canCloseOnClick=!0,c.canDrag=!0,c.boundingRect=r.getBoundingClientRect(),r.style.transition="",c.x=ni(t.nativeEvent),c.y=oi(t.nativeEvent),"x"===e.draggableDirection?(c.start=c.x,c.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(c.start=c.y,c.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function b(){if(c.boundingRect){var t=c.boundingRect,r=t.top,n=t.bottom,o=t.left,a=t.right;e.pauseOnHover&&c.x>=o&&c.x<=a&&c.y>=r&&c.y<=n?v():m()}}function m(){n(!0)}function v(){n(!1)}function y(t){var n=l.current;c.canDrag&&n&&(c.didMove=!0,r&&v(),c.x=ni(t),c.y=oi(t),"x"===e.draggableDirection?c.delta=c.x-c.start:c.delta=c.y-c.start,c.start!==c.x&&(c.canCloseOnClick=!1),n.style.transform="translate"+e.draggableDirection+"("+c.delta+"px)",n.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)))}function w(){document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",w),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",w);var t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return s(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform="translate"+e.draggableDirection+"(0)",t.style.opacity="1"}}(0,i.useEffect)((function(){d.current=e})),(0,i.useEffect)((function(){return l.current&&l.current.addEventListener("d",m,{once:!0}),Ya(e.onOpen)&&e.onOpen((0,i.isValidElement)(e.children)&&e.children.props),function(){var e=d.current;Ya(e.onClose)&&e.onClose((0,i.isValidElement)(e.children)&&e.children.props)}}),[]),(0,i.useEffect)((function(){return e.pauseOnFocusLoss&&(document.hasFocus()||v(),window.addEventListener("focus",m),window.addEventListener("blur",v)),function(){e.pauseOnFocusLoss&&(window.removeEventListener("focus",m),window.removeEventListener("blur",v))}}),[e.pauseOnFocusLoss]);var C={onMouseDown:h,onTouchStart:h,onMouseUp:b,onTouchEnd:b};return u&&A&&(C.onMouseEnter=v,C.onMouseLeave=m),p&&(C.onClick=function(e){f&&f(e),c.canCloseOnClick&&g()}),{playToast:m,pauseToast:v,isRunning:r,preventExitTransition:a,toastRef:l,eventHandlers:C}}(e),o=n.isRunning,a=n.preventExitTransition,s=n.toastRef,l=n.eventHandlers,c=e.closeButton,d=e.children,u=e.autoClose,A=e.onClick,g=e.type,f=e.hideProgressBar,p=e.closeToast,h=e.transition,b=e.position,m=e.className,v=e.style,y=e.bodyClassName,w=e.bodyStyle,C=e.progressClassName,x=e.progressStyle,k=e.updateId,S=e.role,E=e.progress,_=e.rtl,B=e.toastId,O=e.deleteToast,T=e.isIn,P=e.isLoading,N=e.icon,D=e.theme,R=za("Toastify__toast","Toastify__toast-theme--"+D,"Toastify__toast--"+g,((t={})["Toastify__toast--rtl"]=_,t)),I=Ya(m)?m({rtl:_,position:b,type:g,defaultClassName:R}):za(R,m),L=!!E,M=ci[g],F={theme:D,type:g},j=M&&M(F);return!1===N?j=void 0:Ya(N)?j=N(F):(0,i.isValidElement)(N)?j=(0,i.cloneElement)(N,F):Wa(N)?j=N:P&&(j=ci.spinner()),(0,i.createElement)(h,{isIn:T,done:O,position:b,preventExitTransition:a,nodeRef:s},(0,i.createElement)("div",Object.assign({id:B,onClick:A,className:I},l,{style:v,ref:s}),(0,i.createElement)("div",Object.assign({},T&&{role:S},{className:Ya(y)?y({type:g}):za("Toastify__toast-body",y),style:w}),j&&(0,i.createElement)("div",{className:za("Toastify__toast-icon",(r={},r["Toastify--animate-icon Toastify__zoom-enter"]=!P,r))},j),(0,i.createElement)("div",null,d)),function(e){if(e){var t={closeToast:p,type:g,theme:D};return Ya(e)?e(t):(0,i.isValidElement)(e)?(0,i.cloneElement)(e,t):void 0}}(c),(u||L)&&(0,i.createElement)(ii,Object.assign({},k&&!L?{key:"pb-"+k}:{},{rtl:_,theme:D,delay:u,isRunning:o,isIn:T,closeToast:p,hide:f,type:g,style:x,className:C,controlledProgress:L,progress:E}))))},ui=function(e){var t=function(e){var t=(0,i.useReducer)((function(e){return e+1}),0),r=t[1],n=(0,i.useState)([]),o=n[0],a=n[1],s=(0,i.useRef)(null),l=(0,i.useRef)(new Map).current,c=function(e){return-1!==o.indexOf(e)},d=(0,i.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:c,getToast:function(e){return l.get(e)}}).current;function u(e){var t=e.containerId;!d.props.limit||t&&d.containerId!==t||(d.count-=d.queue.length,d.queue=[])}function A(e){a((function(t){return Xa(e)?t.filter((function(t){return t!==e})):[]}))}function g(){var e=d.queue.shift();p(e.toastContent,e.toastProps,e.staleId)}function f(e,t){var n=t.delay,o=t.staleId,a=Ua(t,ri);if(Za(e)&&!function(e){return!s.current||d.props.enableMultiContainer&&e.containerId!==d.props.containerId||l.has(e.toastId)&&null==e.updateId}(a)){var c=a.toastId,u=a.updateId,f=a.data,h=d.props,b=function(){return A(c)},m=null==u;m&&d.count++;var v,y,w={toastId:c,updateId:u,isLoading:a.isLoading,theme:a.theme||h.theme,icon:null!=a.icon?a.icon:h.icon,isIn:!1,key:a.key||d.toastKey++,type:a.type,closeToast:b,closeButton:a.closeButton,rtl:h.rtl,position:a.position||h.position,transition:a.transition||h.transition,className:Ka(a.className||h.toastClassName),bodyClassName:Ka(a.bodyClassName||h.bodyClassName),style:a.style||h.toastStyle,bodyStyle:a.bodyStyle||h.bodyStyle,onClick:a.onClick||h.onClick,pauseOnHover:Ga(a.pauseOnHover)?a.pauseOnHover:h.pauseOnHover,pauseOnFocusLoss:Ga(a.pauseOnFocusLoss)?a.pauseOnFocusLoss:h.pauseOnFocusLoss,draggable:Ga(a.draggable)?a.draggable:h.draggable,draggablePercent:a.draggablePercent||h.draggablePercent,draggableDirection:a.draggableDirection||h.draggableDirection,closeOnClick:Ga(a.closeOnClick)?a.closeOnClick:h.closeOnClick,progressClassName:Ka(a.progressClassName||h.progressClassName),progressStyle:a.progressStyle||h.progressStyle,autoClose:!a.isLoading&&(v=a.autoClose,y=h.autoClose,!1===v||Ha(v)&&v>0?v:y),hideProgressBar:Ga(a.hideProgressBar)?a.hideProgressBar:h.hideProgressBar,progress:a.progress,role:a.role||h.role,deleteToast:function(){l.delete(c);var e=d.queue.length;if(d.count=Xa(c)?d.count-1:d.count-d.displayedToast,d.count<0&&(d.count=0),e>0){var t=Xa(c)?1:d.props.limit;if(1===e||1===t)d.displayedToast++,g();else{var n=t>e?e:t;d.displayedToast=n;for(var o=0;o0&&d.count>h.limit&&m?d.queue.push({toastContent:C,toastProps:w,staleId:o}):Ha(n)&&n>0?setTimeout((function(){p(C,w,o)}),n):p(C,w,o)}}function p(e,t,r){var n=t.toastId;r&&l.delete(r),l.set(n,{content:e,props:t}),a((function(e){return[].concat(e,[n]).filter((function(e){return e!==r}))}))}return(0,i.useEffect)((function(){return d.containerId=e.containerId,ti.cancelEmit(3).on(0,f).on(1,(function(e){return s.current&&A(e)})).on(5,u).emit(2,d),function(){return ti.emit(3,d)}}),[]),(0,i.useEffect)((function(){d.isToastActive=c,d.displayedToast=o.length,ti.emit(4,o.length,e.containerId)}),[o]),(0,i.useEffect)((function(){d.props=e})),{getToastToRender:function(t){var r=new Map,n=Array.from(l.values());return e.newestOnTop&&n.reverse(),n.forEach((function(e){var t=e.props.position;r.has(t)||r.set(t,[]),r.get(t).push(e)})),Array.from(r,(function(e){return t(e[0],e[1])}))},containerRef:s,isToastActive:c}}(e),r=t.getToastToRender,n=t.containerRef,o=t.isToastActive,a=e.className,s=e.style,l=e.rtl,c=e.containerId;function d(e){var t,r=za("Toastify__toast-container","Toastify__toast-container--"+e,((t={})["Toastify__toast-container--rtl"]=l,t));return Ya(a)?a({position:e,rtl:l,defaultClassName:r}):za(r,Ka(a))}return(0,i.createElement)("div",{ref:n,className:"Toastify",id:c},r((function(e,t){var r=t.length?qa({},s):qa({},s,{pointerEvents:"none"});return(0,i.createElement)("div",{className:d(e),style:r,key:"container-"+e},t.map((function(e){var t=e.content,r=e.props;return(0,i.createElement)(di,Object.assign({},r,{isIn:o(r.toastId),key:"toast-"+r.key,closeButton:!0===r.closeButton?ai:r.closeButton}),t)})))})))};ui.defaultProps={position:Ja.TOP_RIGHT,transition:ei({enter:"Toastify--animate Toastify__bounce-enter",exit:"Toastify--animate Toastify__bounce-exit",appendPosition:!0}),rtl:!1,autoClose:5e3,hideProgressBar:!1,closeButton:ai,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,newestOnTop:!1,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};var Ai,gi,fi,pi=new Map,hi=[],bi=!1;function mi(){return Math.random().toString(36).substring(2,9)}function vi(e){return e&&(Wa(e.toastId)||Ha(e.toastId))?e.toastId:mi()}function yi(e,t){return pi.size>0?ti.emit(0,e,t):(hi.push({content:e,options:t}),bi&&Qa&&(bi=!1,gi=document.createElement("div"),document.body.appendChild(gi),(0,O.render)((0,i.createElement)(ui,Object.assign({},fi)),gi))),t.toastId}function wi(e,t){return qa({},t,{type:t&&t.type||e,toastId:vi(t)})}function Ci(e){return function(t,r){return yi(t,wi(e,r))}}function xi(e,t){return yi(e,wi($a.DEFAULT,t))}xi.loading=function(e,t){return yi(e,wi($a.DEFAULT,qa({isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1},t)))},xi.promise=function(e,t,r){var n,o=t.pending,a=t.error,i=t.success;o&&(n=Wa(o)?xi.loading(o,r):xi.loading(o.render,qa({},r,o)));var s={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},l=function(e,t,o){if(null!=t){var a=qa({type:e},s,r,{data:o}),i=Wa(t)?{render:t}:t;return n?xi.update(n,qa({},a,i)):xi(i.render,qa({},a,i)),o}xi.dismiss(n)},c=Ya(e)?e():e;return c.then((function(e){return l("success",i,e)})).catch((function(e){return l("error",a,e)})),c},xi.success=Ci($a.SUCCESS),xi.info=Ci($a.INFO),xi.error=Ci($a.ERROR),xi.warning=Ci($a.WARNING),xi.warn=xi.warning,xi.dark=function(e,t){return yi(e,wi($a.DEFAULT,qa({theme:"dark"},t)))},xi.dismiss=function(e){return ti.emit(1,e)},xi.clearWaitingQueue=function(e){return void 0===e&&(e={}),ti.emit(5,e)},xi.isActive=function(e){var t=!1;return pi.forEach((function(r){r.isToastActive&&r.isToastActive(e)&&(t=!0)})),t},xi.update=function(e,t){void 0===t&&(t={}),setTimeout((function(){var r=function(e,t){var r=t.containerId,n=pi.get(r||Ai);return n?n.getToast(e):null}(e,t);if(r){var n=r.props,o=r.content,a=qa({},n,t,{toastId:t.toastId||e,updateId:mi()});a.toastId!==e&&(a.staleId=e);var i=a.render||o;delete a.render,yi(i,a)}}),0)},xi.done=function(e){xi.update(e,{progress:1})},xi.onChange=function(e){return Ya(e)&&ti.on(4,e),function(){Ya(e)&&ti.off(4,e)}},xi.configure=function(e){void 0===e&&(e={}),bi=!0,fi=e},xi.POSITION=Ja,xi.TYPE=$a,ti.on(2,(function(e){Ai=e.containerId||e,pi.set(Ai,e),hi.forEach((function(e){ti.emit(0,e.content,e.options)})),hi=[]})).on(3,(function(e){pi.delete(e.containerId||e),0===pi.size&&ti.off(0).off(1).off(5),Qa&&gi&&document.body.removeChild(gi)}));var ki=r(94184);function Si(e){return e.split("-")[1]}function Ei(e){return"y"===e?"height":"width"}function _i(e){return e.split("-")[0]}function Bi(e){return["top","bottom"].includes(_i(e))?"x":"y"}function Oi(e,t,r){let{reference:n,floating:o}=e;const a=n.x+n.width/2-o.width/2,i=n.y+n.height/2-o.height/2,s=Bi(t),l=Ei(s),c=n[l]/2-o[l]/2,d="x"===s;let u;switch(_i(t)){case"top":u={x:a,y:n.y-o.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:i};break;case"left":u={x:n.x-o.width,y:i};break;default:u={x:n.x,y:n.y}}switch(Si(t)){case"start":u[s]-=c*(r&&d?-1:1);break;case"end":u[s]+=c*(r&&d?-1:1)}return u}function Ti(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Pi(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Ni(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:A=!1,padding:g=0}=t,f=Ti(g),p=s[A?"floating"===u?"reference":"floating":u],h=Pi(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(p)))||r?p:p.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),b="floating"===u?{...i.floating,x:n,y:o}:i.reference,m=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),v=await(null==a.isElement?void 0:a.isElement(m))&&await(null==a.getScale?void 0:a.getScale(m))||{x:1,y:1},y=Pi(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:m,strategy:l}):b);return{top:(h.top-y.top+f.top)/v.y,bottom:(y.bottom-h.bottom+f.bottom)/v.y,left:(h.left-y.left+f.left)/v.x,right:(y.right-h.right+f.right)/v.x}}const Di=Math.min,Ri=Math.max;function Ii(e,t,r){return Ri(e,Di(t,r))}const Li=(["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function Mi(e){return e.replace(/left|right|bottom|top/g,(e=>Li[e]))}const Fi={start:"end",end:"start"};function ji(e){return e.replace(/start|end/g,(e=>Fi[e]))}const Vi=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:o,rects:a,initialPlacement:i,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:f=!0,...p}=e,h=_i(n),b=_i(i)===i,m=await(null==s.isRTL?void 0:s.isRTL(l.floating)),v=u||(b||!f?[Mi(i)]:function(e){const t=Mi(e);return[ji(e),t,ji(t)]}(i));u||"none"===g||v.push(...function(e,t,r,n){const o=Si(e);let a=function(e,t,r){const n=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?a:i;default:return[]}}(_i(e),"start"===r,n);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(ji)))),a}(i,f,g,m));const y=[i,...v],w=await Ni(t,p),C=[];let x=(null==(r=o.flip)?void 0:r.overflows)||[];if(c&&C.push(w[h]),d){const{main:e,cross:t}=function(e,t,r){void 0===r&&(r=!1);const n=Si(e),o=Bi(e),a=Ei(o);let i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Mi(i)),{main:i,cross:Mi(i)}}(n,a,m);C.push(w[e],w[t])}if(x=[...x,{placement:n,overflows:C}],!C.every((e=>e<=0))){var k,S;const e=((null==(k=o.flip)?void 0:k.index)||0)+1,t=y[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let r=null==(S=x.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!r)switch(A){case"bestFit":{var E;const e=null==(E=x.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:E[0];e&&(r=e);break}case"initialPlacement":r=i}if(n!==r)return{reset:{placement:r}}}return{}}}},zi=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,o=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),i=_i(r),s=Si(r),l="x"===Bi(r),c=["left","top"].includes(i)?-1:1,d=a&&l?-1:1,u="function"==typeof t?t(e):t;let{mainAxis:A,crossAxis:g,alignmentAxis:f}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return s&&"number"==typeof f&&(g="end"===s?-1*f:f),l?{x:g*d,y:A*c}:{x:A*c,y:g*d}}(t,e);return{x:r+o.x,y:n+o.y,data:o}}}};const qi=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=e,c={x:r,y:n},d=await Ni(t,l),u=Bi(_i(o)),A=function(e){return"x"===e?"y":"x"}(u);let g=c[u],f=c[A];if(a){const e="y"===u?"bottom":"right";g=Ii(g+d["y"===u?"top":"left"],g,g-d[e])}if(i){const e="y"===A?"bottom":"right";f=Ii(f+d["y"===A?"top":"left"],f,f-d[e])}const p=s.fn({...t,[u]:g,[A]:f});return{...p,data:{x:p.x-r,y:p.y-n}}}}};function Ui(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Hi(e){return Ui(e).getComputedStyle(e)}function Gi(e){return e instanceof Ui(e).Node}function Wi(e){return Gi(e)?(e.nodeName||"").toLowerCase():""}function Yi(e){return e instanceof Ui(e).HTMLElement}function Ki(e){return e instanceof Ui(e).Element}function Xi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ui(e).ShadowRoot||e instanceof ShadowRoot)}function Qi(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Hi(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function Zi(e){return["table","td","th"].includes(Wi(e))}function Ji(e){const t=$i(),r=Hi(e);return"none"!==r.transform||"none"!==r.perspective||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||["transform","perspective","filter"].some((e=>(r.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(r.contain||"").includes(e)))}function $i(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function es(e){return["html","body","#document"].includes(Wi(e))}const ts=Math.min,rs=Math.max,ns=Math.round;function os(e){const t=Hi(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Yi(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,s=ns(r)!==a||ns(n)!==i;return s&&(r=a,n=i),{width:r,height:n,fallback:s}}function as(e){return Ki(e)?e:e.contextElement}const is={x:1,y:1};function ss(e){const t=as(e);if(!Yi(t))return is;const r=t.getBoundingClientRect(),{width:n,height:o,fallback:a}=os(t);let i=(a?ns(r.width):r.width)/n,s=(a?ns(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const ls={x:0,y:0};function cs(e,t,r){var n,o;if(void 0===t&&(t=!0),!$i())return ls;const a=e?Ui(e):window;return!r||t&&r!==a?ls:{x:(null==(n=a.visualViewport)?void 0:n.offsetLeft)||0,y:(null==(o=a.visualViewport)?void 0:o.offsetTop)||0}}function ds(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=as(e);let i=is;t&&(n?Ki(n)&&(i=ss(n)):i=ss(e));const s=cs(a,r,n);let l=(o.left+s.x)/i.x,c=(o.top+s.y)/i.y,d=o.width/i.x,u=o.height/i.y;if(a){const e=Ui(a),t=n&&Ki(n)?Ui(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=ss(r),t=r.getBoundingClientRect(),n=getComputedStyle(r);t.x+=(r.clientLeft+parseFloat(n.paddingLeft))*e.x,t.y+=(r.clientTop+parseFloat(n.paddingTop))*e.y,l*=e.x,c*=e.y,d*=e.x,u*=e.y,l+=t.x,c+=t.y,r=Ui(r).frameElement}}return Pi({width:d,height:u,x:l,y:c})}function us(e){return((Gi(e)?e.ownerDocument:e.document)||window.document).documentElement}function As(e){return Ki(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function gs(e){return ds(us(e)).left+As(e).scrollLeft}function fs(e){if("html"===Wi(e))return e;const t=e.assignedSlot||e.parentNode||Xi(e)&&e.host||us(e);return Xi(t)?t.host:t}function ps(e){const t=fs(e);return es(t)?t.ownerDocument.body:Yi(t)&&Qi(t)?t:ps(t)}function hs(e,t){var r;void 0===t&&(t=[]);const n=ps(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=Ui(n);return o?t.concat(a,a.visualViewport||[],Qi(n)?n:[]):t.concat(n,hs(n))}function bs(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=Ui(e),n=us(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const e=$i();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=us(e),r=As(e),n=e.ownerDocument.body,o=rs(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=rs(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+gs(e);const s=-r.scrollTop;return"rtl"===Hi(n).direction&&(i+=rs(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}(us(e));else if(Ki(t))n=function(e,t){const r=ds(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=Yi(e)?ss(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=cs(e);n={...t,x:t.x-r.x,y:t.y-r.y}}return Pi(n)}function ms(e,t){const r=fs(e);return!(r===t||!Ki(r)||es(r))&&("fixed"===Hi(r).position||ms(r,t))}function vs(e,t){return Yi(e)&&"fixed"!==Hi(e).position?t?t(e):e.offsetParent:null}function ys(e,t){const r=Ui(e);if(!Yi(e))return r;let n=vs(e,t);for(;n&&Zi(n)&&"static"===Hi(n).position;)n=vs(n,t);return n&&("html"===Wi(n)||"body"===Wi(n)&&"static"===Hi(n).position&&!Ji(n))?r:n||function(e){let t=fs(e);for(;Yi(t)&&!es(t);){if(Ji(t))return t;t=fs(t)}return null}(e)||r}function ws(e,t,r){const n=Yi(t),o=us(t),a="fixed"===r,i=ds(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(n||!n&&!a)if(("body"!==Wi(t)||Qi(o))&&(s=As(t)),Yi(t)){const e=ds(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=gs(o));return{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}const Cs={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a="clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=hs(e).filter((e=>Ki(e)&&"body"!==Wi(e))),o=null;const a="fixed"===Hi(e).position;let i=a?fs(e):e;for(;Ki(i)&&!es(i);){const t=Hi(i),r=Ji(i);r||"fixed"!==t.position||(o=null),(a?!r&&!o:!r&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Qi(i)&&!r&&ms(e,i))?n=n.filter((e=>e!==i)):o=t,i=fs(i)}return t.set(e,n),n}(t,this._c):[].concat(r),i=[...a,n],s=i[0],l=i.reduce(((e,r)=>{const n=bs(t,r,o);return e.top=rs(n.top,e.top),e.right=ts(n.right,e.right),e.bottom=ts(n.bottom,e.bottom),e.left=rs(n.left,e.left),e}),bs(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const o=Yi(r),a=us(r);if(r===a)return t;let i={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((o||!o&&"fixed"!==n)&&(("body"!==Wi(r)||Qi(a))&&(i=As(r)),Yi(r))){const e=ds(r);s=ss(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-i.scrollLeft*s.x+l.x,y:t.y*s.y-i.scrollTop*s.y+l.y}},isElement:Ki,getDimensions:function(e){return os(e)},getOffsetParent:ys,getDocumentElement:us,getScale:ss,async getElementRects(e){let{reference:t,floating:r,strategy:n}=e;const o=this.getOffsetParent||ys,a=this.getDimensions;return{reference:ws(t,await o(r),n),floating:{x:0,y:0,...await a(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===Hi(e).direction},xs=(e,t,r)=>{const n=new Map,o={platform:Cs,...r},a={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=a.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:u}=Oi(c,n,l),A=n,g={},f=0;for(let r=0;r{let n=null;return function(...o){const a=()=>{n=null,r||e.apply(this,o)};r&&!n&&(e.apply(this,o),n=setTimeout(a,t)),r||(n&&clearTimeout(n),n=setTimeout(a,t))}},Es={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},_s=(0,i.createContext)({getTooltipData:()=>Es});function Bs(e="DEFAULT_TOOLTIP_ID"){return(0,i.useContext)(_s).getTooltipData(e)}const Os="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,Ts=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:r=null,place:n="top",offset:o=10,strategy:a="absolute",middlewares:i=[zi(Number(o)),Vi(),qi({padding:5})]})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};if(null===t)return{tooltipStyles:{},tooltipArrowStyles:{},place:n};const s=i;return r?(s.push((e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e||{},{x:o,y:a,placement:i,rects:s,platform:l,elements:c}=t;if(null==r)return{};const d=Ti(n),u={x:o,y:a},A=Bi(i),g=Ei(A),f=await l.getDimensions(r),p="y"===A,h=p?"top":"left",b=p?"bottom":"right",m=p?"clientHeight":"clientWidth",v=s.reference[g]+s.reference[A]-u[A]-s.floating[g],y=u[A]-s.reference[A],w=await(null==l.getOffsetParent?void 0:l.getOffsetParent(r));let C=w?w[m]:0;C&&await(null==l.isElement?void 0:l.isElement(w))||(C=c.floating[m]||s.floating[g]);const x=v/2-y/2,k=d[h],S=C-f[g]-d[b],E=C/2-f[g]/2+x,_=Ii(k,E,S),B=null!=Si(i)&&E!=_&&s.reference[g]/2-(E{var o,a;const i={left:`${e}px`,top:`${t}px`},{x:s,y:l}=null!==(o=n.arrow)&&void 0!==o?o:{x:0,y:0};return{tooltipStyles:i,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=l?`${l}px`:"",right:"",bottom:"",[null!==(a={top:"bottom",right:"left",bottom:"top",left:"right"}[r.split("-")[0]])&&void 0!==a?a:"bottom"]:"-4px"},place:r}}))):xs(e,t,{placement:"bottom",strategy:a,middleware:s}).then((({x:e,y:t,placement:r})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:r})))};var Ps={tooltip:"styles-module_tooltip__mnnfp",fixed:"styles-module_fixed__7ciUi",arrow:"styles-module_arrow__K0L3T",noArrow:"styles-module_noArrow__T8y2L",clickable:"styles-module_clickable__Bv9o7",show:"styles-module_show__2NboJ",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};ks(".styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;left:0;opacity:0;padding:8px 16px;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease-out;visibility:hidden;width:max-content;will-change:opacity,visibility}.styles-module_fixed__7ciUi{position:fixed}.styles-module_arrow__K0L3T{background:inherit;height:8px;position:absolute;transform:rotate(45deg);width:8px}.styles-module_noArrow__T8y2L{display:none}.styles-module_clickable__Bv9o7{pointer-events:auto}.styles-module_show__2NboJ{opacity:var(--rt-opacity);visibility:visible}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}");const Ns=({id:e,className:t,classNameArrow:r,variant:n="dark",anchorId:o,anchorSelect:a,place:s="top",offset:l=10,events:c=["hover"],openOnClick:d=!1,positionStrategy:u="absolute",middlewares:A,wrapper:g,delayShow:f=0,delayHide:p=0,float:h=!1,hidden:b=!1,noArrow:m=!1,clickable:v=!1,closeOnEsc:y=!1,style:w,position:C,afterShow:x,afterHide:k,content:S,contentWrapperRef:E,isOpen:_,setIsOpen:B,activeAnchor:O,setActiveAnchor:T})=>{const P=(0,i.useRef)(null),N=(0,i.useRef)(null),D=(0,i.useRef)(null),R=(0,i.useRef)(null),[I,L]=(0,i.useState)(s),[M,F]=(0,i.useState)({}),[j,V]=(0,i.useState)({}),[z,q]=(0,i.useState)(!1),[U,H]=(0,i.useState)(!1),G=(0,i.useRef)(!1),W=(0,i.useRef)(null),{anchorRefs:Y,setActiveAnchor:K}=Bs(e),X=(0,i.useRef)(!1),[Q,Z]=(0,i.useState)([]),J=(0,i.useRef)(!1),$=d||c.includes("click");Os((()=>(J.current=!0,()=>{J.current=!1})),[]),(0,i.useEffect)((()=>{if(!z){const e=setTimeout((()=>{H(!1)}),150);return()=>{clearTimeout(e)}}return()=>null}),[z]);const ee=e=>{J.current&&(e&&H(!0),setTimeout((()=>{J.current&&(null==B||B(e),void 0===_&&q(e))}),10))};(0,i.useEffect)((()=>{if(void 0===_)return()=>null;_&&H(!0);const e=setTimeout((()=>{q(_)}),10);return()=>{clearTimeout(e)}}),[_]),(0,i.useEffect)((()=>{z!==G.current&&(G.current=z,z?null==x||x():null==k||k())}),[z]);const te=(e=p)=>{R.current&&clearTimeout(R.current),R.current=setTimeout((()=>{X.current||ee(!1)}),e)},re=e=>{var t;if(!e)return;const r=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!(null==r?void 0:r.isConnected))return T(null),void K({current:null});f?(D.current&&clearTimeout(D.current),D.current=setTimeout((()=>{ee(!0)}),f)):ee(!0),T(r),K({current:r}),R.current&&clearTimeout(R.current)},ne=()=>{v?te(p||100):p?te():ee(!1),D.current&&clearTimeout(D.current)},oe=({x:e,y:t})=>{Ts({place:s,offset:l,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:P.current,tooltipArrowReference:N.current,strategy:u,middlewares:A}).then((e=>{Object.keys(e.tooltipStyles).length&&F(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),L(e.place)}))},ae=e=>{if(!e)return;const t=e,r={x:t.clientX,y:t.clientY};oe(r),W.current=r},ie=e=>{re(e),p&&te()},se=e=>{var t;[document.querySelector(`[id='${o}']`),...Q].some((t=>null==t?void 0:t.contains(e.target)))||(null===(t=P.current)||void 0===t?void 0:t.contains(e.target))||ee(!1)},le=e=>{"Escape"===e.key&&ee(!1)},ce=Ss(re,50,!0),de=Ss(ne,50,!0);(0,i.useEffect)((()=>{var e,t;const r=new Set(Y);Q.forEach((e=>{r.add({current:e})}));const n=document.querySelector(`[id='${o}']`);n&&r.add({current:n}),y&&window.addEventListener("keydown",le);const a=[];$?(window.addEventListener("click",se),a.push({event:"click",listener:ie})):(a.push({event:"mouseenter",listener:ce},{event:"mouseleave",listener:de},{event:"focus",listener:ce},{event:"blur",listener:de}),h&&a.push({event:"mousemove",listener:ae}));const i=()=>{X.current=!0},s=()=>{X.current=!1,ne()};return v&&!$&&(null===(e=P.current)||void 0===e||e.addEventListener("mouseenter",i),null===(t=P.current)||void 0===t||t.addEventListener("mouseleave",s)),a.forEach((({event:e,listener:t})=>{r.forEach((r=>{var n;null===(n=r.current)||void 0===n||n.addEventListener(e,t)}))})),()=>{var e,t;$&&window.removeEventListener("click",se),y&&window.removeEventListener("keydown",le),v&&!$&&(null===(e=P.current)||void 0===e||e.removeEventListener("mouseenter",i),null===(t=P.current)||void 0===t||t.removeEventListener("mouseleave",s)),a.forEach((({event:e,listener:t})=>{r.forEach((r=>{var n;null===(n=r.current)||void 0===n||n.removeEventListener(e,t)}))}))}}),[U,Y,Q,y,c]),(0,i.useEffect)((()=>{let t=null!=a?a:"";!t&&e&&(t=`[data-tooltip-id='${e}']`);const r=new MutationObserver((r=>{const n=[];r.forEach((r=>{if("attributes"===r.type&&"data-tooltip-id"===r.attributeName&&r.target.getAttribute("data-tooltip-id")===e&&n.push(r.target),"childList"===r.type&&(O&&[...r.removedNodes].some((e=>{var t;return!!(null===(t=null==e?void 0:e.contains)||void 0===t?void 0:t.call(e,O))&&(H(!1),ee(!1),T(null),!0)})),t))try{const e=[...r.addedNodes].filter((e=>1===e.nodeType));n.push(...e.filter((e=>e.matches(t)))),n.push(...e.flatMap((e=>[...e.querySelectorAll(t)])))}catch(e){}})),n.length&&Z((e=>[...e,...n]))}));return r.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"]}),()=>{r.disconnect()}}),[e,a,O]);const ue=()=>{C?oe(C):h?W.current&&oe(W.current):Ts({place:s,offset:l,elementReference:O,tooltipReference:P.current,tooltipArrowReference:N.current,strategy:u,middlewares:A}).then((e=>{J.current&&(Object.keys(e.tooltipStyles).length&&F(e.tooltipStyles),Object.keys(e.tooltipArrowStyles).length&&V(e.tooltipArrowStyles),L(e.place))}))};(0,i.useEffect)((()=>{ue()}),[z,O,S,w,s,l,u,C]),(0,i.useEffect)((()=>{if(!(null==E?void 0:E.current))return()=>null;const e=new ResizeObserver((()=>{ue()}));return e.observe(E.current),()=>{e.disconnect()}}),[S,null==E?void 0:E.current]),(0,i.useEffect)((()=>{var e;const t=document.querySelector(`[id='${o}']`),r=[...Q,t];O&&r.includes(O)||T(null!==(e=Q[0])&&void 0!==e?e:t)}),[o,Q,O]),(0,i.useEffect)((()=>()=>{D.current&&clearTimeout(D.current),R.current&&clearTimeout(R.current)}),[]),(0,i.useEffect)((()=>{let t=a;if(!t&&e&&(t=`[data-tooltip-id='${e}']`),t)try{const e=Array.from(document.querySelectorAll(t));Z(e)}catch(t){Z([])}}),[e,a]);const Ae=!b&&S&&z&&Object.keys(M).length>0;return U?i.createElement(g,{id:e,role:"tooltip",className:ki("react-tooltip",Ps.tooltip,Ps[n],t,`react-tooltip__place-${I}`,{[Ps.show]:Ae,[Ps.fixed]:"fixed"===u,[Ps.clickable]:v}),style:{...w,...M},ref:P},S,i.createElement(g,{className:ki("react-tooltip-arrow",Ps.arrow,r,{[Ps.noArrow]:m}),style:j,ref:N})):null},Ds=({content:e})=>i.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Rs=({id:e,anchorId:t,anchorSelect:r,content:n,html:o,render:a,className:s,classNameArrow:l,variant:c="dark",place:d="top",offset:u=10,wrapper:A="div",children:g=null,events:f=["hover"],openOnClick:p=!1,positionStrategy:h="absolute",middlewares:b,delayShow:m=0,delayHide:v=0,float:y=!1,hidden:w=!1,noArrow:C=!1,clickable:x=!1,closeOnEsc:k=!1,style:S,position:E,isOpen:_,setIsOpen:B,afterShow:O,afterHide:T})=>{const[P,N]=(0,i.useState)(n),[D,R]=(0,i.useState)(o),[I,L]=(0,i.useState)(d),[M,F]=(0,i.useState)(c),[j,V]=(0,i.useState)(u),[z,q]=(0,i.useState)(m),[U,H]=(0,i.useState)(v),[G,W]=(0,i.useState)(y),[Y,K]=(0,i.useState)(w),[X,Q]=(0,i.useState)(A),[Z,J]=(0,i.useState)(f),[$,ee]=(0,i.useState)(h),[te,re]=(0,i.useState)(null),{anchorRefs:ne,activeAnchor:oe}=Bs(e),ae=e=>null==e?void 0:e.getAttributeNames().reduce(((t,r)=>{var n;return r.startsWith("data-tooltip-")&&(t[r.replace(/^data-tooltip-/,"")]=null!==(n=null==e?void 0:e.getAttribute(r))&&void 0!==n?n:null),t}),{}),ie=e=>{const t={place:e=>{var t;L(null!==(t=e)&&void 0!==t?t:d)},content:e=>{N(null!=e?e:n)},html:e=>{R(null!=e?e:o)},variant:e=>{var t;F(null!==(t=e)&&void 0!==t?t:c)},offset:e=>{V(null===e?u:Number(e))},wrapper:e=>{var t;Q(null!==(t=e)&&void 0!==t?t:A)},events:e=>{const t=null==e?void 0:e.split(" ");J(null!=t?t:f)},"position-strategy":e=>{var t;ee(null!==(t=e)&&void 0!==t?t:h)},"delay-show":e=>{q(null===e?m:Number(e))},"delay-hide":e=>{H(null===e?v:Number(e))},float:e=>{W(null===e?y:"true"===e)},hidden:e=>{K(null===e?w:"true"===e)}};Object.values(t).forEach((e=>e(null))),Object.entries(e).forEach((([e,r])=>{var n;null===(n=t[e])||void 0===n||n.call(t,r)}))};(0,i.useEffect)((()=>{N(n)}),[n]),(0,i.useEffect)((()=>{R(o)}),[o]),(0,i.useEffect)((()=>{L(d)}),[d]),(0,i.useEffect)((()=>{F(c)}),[c]),(0,i.useEffect)((()=>{V(u)}),[u]),(0,i.useEffect)((()=>{q(m)}),[m]),(0,i.useEffect)((()=>{H(v)}),[v]),(0,i.useEffect)((()=>{W(y)}),[y]),(0,i.useEffect)((()=>{K(w)}),[w]),(0,i.useEffect)((()=>{ee(h)}),[h]),(0,i.useEffect)((()=>{var n;const o=new Set(ne);let a=r;if(!a&&e&&(a=`[data-tooltip-id='${e}']`),a)try{document.querySelectorAll(a).forEach((e=>{o.add({current:e})}))}catch(n){console.warn(`[react-tooltip] "${a}" is not a valid CSS selector`)}const i=document.querySelector(`[id='${t}']`);if(i&&o.add({current:i}),!o.size)return()=>null;const s=null!==(n=null!=te?te:i)&&void 0!==n?n:oe.current,l=new MutationObserver((e=>{e.forEach((e=>{var t;if(!s||"attributes"!==e.type||!(null===(t=e.attributeName)||void 0===t?void 0:t.startsWith("data-tooltip-")))return;const r=ae(s);ie(r)}))})),c={attributes:!0,childList:!1,subtree:!1};if(s){const e=ae(s);ie(e),l.observe(s,c)}return()=>{l.disconnect()}}),[ne,oe,te,t,r]);let se=g;const le=(0,i.useRef)(null);if(a){const e=a({content:null!=P?P:null,activeAnchor:te});se=e?i.createElement("div",{ref:le,className:"react-tooltip-content-wrapper"},e):null}else P&&(se=P);D&&(se=i.createElement(Ds,{content:D}));const ce={id:e,anchorId:t,anchorSelect:r,className:s,classNameArrow:l,content:se,contentWrapperRef:le,place:I,variant:M,offset:j,wrapper:X,events:Z,openOnClick:p,positionStrategy:$,middlewares:b,delayShow:z,delayHide:U,float:G,hidden:Y,noArrow:C,clickable:x,closeOnEsc:k,style:S,position:E,isOpen:_,setIsOpen:B,afterShow:O,afterHide:T,activeAnchor:te,setActiveAnchor:e=>re(e)};return i.createElement(Ns,{...ce})};var Is=r(4293),Ls=function(e,t){return Ls=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Ls(e,t)},Ms=function(){return Ms=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function Ks(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o0&&Js[0]<4?1:+(Js[0]+Js[1])),!$s&&Tl&&(!(Js=Tl.match(/Edge\/(\d+)/))||Js[1]>=74)&&(Js=Tl.match(/Chrome\/(\d+)/))&&($s=+Js[1]);var Il=$s,Ll=!!Object.getOwnPropertySymbols&&!rl((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Il&&Il<41})),Ml=Ll&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Fl=Object,jl=Ml?function(e){return"symbol"==typeof e}:function(e){var t=Bl("Symbol");return Sl(t)&&Ol(t.prototype,Fl(e))},Vl=String,zl=function(e){try{return Vl(e)}catch(e){return"Object"}},ql=TypeError,Ul=function(e){if(Sl(e))return e;throw ql(zl(e)+" is not a function")},Hl=function(e,t){var r=e[t];return null==r?void 0:Ul(r)},Gl=TypeError,Wl=Object.defineProperty,Yl=function(e,t){try{Wl(tl,e,{value:t,configurable:!0,writable:!0})}catch(r){tl[e]=t}return t},Kl=tl["__core-js_shared__"]||Yl("__core-js_shared__",{}),Xl=Zs((function(e){(e.exports=function(e,t){return Kl[e]||(Kl[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.24.0",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),Ql=Object,Zl=function(e){return Ql(xl(e))},Jl=pl({}.hasOwnProperty),$l=Object.hasOwn||function(e,t){return Jl(Zl(e),t)},ec=0,tc=Math.random(),rc=pl(1..toString),nc=function(e){return"Symbol("+(void 0===e?"":e)+")_"+rc(++ec+tc,36)},oc=Xl("wks"),ac=tl.Symbol,ic=ac&&ac.for,sc=Ml?ac:ac&&ac.withoutSetter||nc,lc=function(e){if(!$l(oc,e)||!Ll&&"string"!=typeof oc[e]){var t="Symbol."+e;Ll&&$l(ac,e)?oc[e]=ac[e]:oc[e]=Ml&&ic?ic(t):sc(t)}return oc[e]},cc=TypeError,dc=lc("toPrimitive"),uc=function(e){var t=function(e,t){if(!El(e)||jl(e))return e;var r,n=Hl(e,dc);if(n){if(void 0===t&&(t="default"),r=il(n,e,t),!El(r)||jl(r))return r;throw cc("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&Sl(r=e.toString)&&!El(n=il(r,e)))return n;if(Sl(r=e.valueOf)&&!El(n=il(r,e)))return n;if("string"!==t&&Sl(r=e.toString)&&!El(n=il(r,e)))return n;throw Gl("Can't convert object to primitive value")}(e,t)}(e,"string");return jl(t)?t:t+""},Ac=tl.document,gc=El(Ac)&&El(Ac.createElement),fc=function(e){return gc?Ac.createElement(e):{}},pc=!nl&&!rl((function(){return 7!=Object.defineProperty(fc("div"),"a",{get:function(){return 7}}).a})),hc=Object.getOwnPropertyDescriptor,bc={f:nl?hc:function(e,t){if(e=kl(e),t=uc(t),pc)try{return hc(e,t)}catch(e){}if($l(e,t))return dl(!il(cl.f,e,t),e[t])}},mc=nl&&rl((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),vc=String,yc=TypeError,wc=function(e){if(El(e))return e;throw yc(vc(e)+" is not an object")},Cc=TypeError,xc=Object.defineProperty,kc=Object.getOwnPropertyDescriptor,Sc={f:nl?mc?function(e,t,r){if(wc(e),t=uc(t),wc(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=kc(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return xc(e,t,r)}:xc:function(e,t,r){if(wc(e),t=uc(t),wc(r),pc)try{return xc(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Cc("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},Ec=nl?function(e,t,r){return Sc.f(e,t,dl(1,r))}:function(e,t,r){return e[t]=r,e},_c=Function.prototype,Bc=nl&&Object.getOwnPropertyDescriptor,Oc=$l(_c,"name"),Tc={EXISTS:Oc,PROPER:Oc&&"something"===function(){}.name,CONFIGURABLE:Oc&&(!nl||nl&&Bc(_c,"name").configurable)},Pc=pl(Function.toString);Sl(Kl.inspectSource)||(Kl.inspectSource=function(e){return Pc(e)});var Nc,Dc,Rc,Ic=Kl.inspectSource,Lc=tl.WeakMap,Mc=Sl(Lc)&&/native code/.test(Ic(Lc)),Fc=Xl("keys"),jc=function(e){return Fc[e]||(Fc[e]=nc(e))},Vc={},zc=tl.TypeError,qc=tl.WeakMap;if(Mc||Kl.state){var Uc=Kl.state||(Kl.state=new qc),Hc=pl(Uc.get),Gc=pl(Uc.has),Wc=pl(Uc.set);Nc=function(e,t){if(Gc(Uc,e))throw new zc("Object already initialized");return t.facade=e,Wc(Uc,e,t),t},Dc=function(e){return Hc(Uc,e)||{}},Rc=function(e){return Gc(Uc,e)}}else{var Yc=jc("state");Vc[Yc]=!0,Nc=function(e,t){if($l(e,Yc))throw new zc("Object already initialized");return t.facade=e,Ec(e,Yc,t),t},Dc=function(e){return $l(e,Yc)?e[Yc]:{}},Rc=function(e){return $l(e,Yc)}}var Kc={set:Nc,get:Dc,has:Rc,enforce:function(e){return Rc(e)?Dc(e):Nc(e,{})},getterFor:function(e){return function(t){var r;if(!El(t)||(r=Dc(t)).type!==e)throw zc("Incompatible receiver, "+e+" required");return r}}},Xc=Zs((function(e){var t=Tc.CONFIGURABLE,r=Kc.enforce,n=Kc.get,o=Object.defineProperty,a=nl&&!rl((function(){return 8!==o((function(){}),"length",{value:8}).length})),i=String(String).split("String"),s=e.exports=function(e,n,s){"Symbol("===String(n).slice(0,7)&&(n="["+String(n).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),s&&s.getter&&(n="get "+n),s&&s.setter&&(n="set "+n),(!$l(e,"name")||t&&e.name!==n)&&(nl?o(e,"name",{value:n,configurable:!0}):e.name=n),a&&s&&$l(s,"arity")&&e.length!==s.arity&&o(e,"length",{value:s.arity});try{s&&$l(s,"constructor")&&s.constructor?nl&&o(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var l=r(e);return $l(l,"source")||(l.source=i.join("string"==typeof n?n:"")),e};Function.prototype.toString=s((function(){return Sl(this)&&n(this).source||Ic(this)}),"toString")})),Qc=function(e,t,r,n){n||(n={});var o=n.enumerable,a=void 0!==n.name?n.name:t;if(Sl(r)&&Xc(r,a,n),n.global)o?e[t]=r:Yl(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch(e){}o?e[t]=r:Sc.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Zc=Math.ceil,Jc=Math.floor,$c=Math.trunc||function(e){var t=+e;return(t>0?Jc:Zc)(t)},ed=function(e){var t=+e;return t!=t||0===t?0:$c(t)},td=Math.max,rd=Math.min,nd=function(e,t){var r=ed(e);return r<0?td(r+t,0):rd(r,t)},od=Math.min,ad=function(e){return e>0?od(ed(e),9007199254740991):0},id=function(e){return ad(e.length)},sd=function(e){return function(t,r,n){var o,a=kl(t),i=id(a),s=nd(n,i);if(e&&r!=r){for(;i>s;)if((o=a[s++])!=o)return!0}else for(;i>s;s++)if((e||s in a)&&a[s]===r)return e||s||0;return!e&&-1}},ld={includes:sd(!0),indexOf:sd(!1)},cd=ld.indexOf,dd=pl([].push),ud=function(e,t){var r,n=kl(e),o=0,a=[];for(r in n)!$l(Vc,r)&&$l(n,r)&&dd(a,r);for(;t.length>o;)$l(n,r=t[o++])&&(~cd(a,r)||dd(a,r));return a},Ad=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],gd=Ad.concat("length","prototype"),fd={f:Object.getOwnPropertyNames||function(e){return ud(e,gd)}},pd={f:Object.getOwnPropertySymbols},hd=pl([].concat),bd=Bl("Reflect","ownKeys")||function(e){var t=fd.f(wc(e)),r=pd.f;return r?hd(t,r(e)):t},md=function(e,t,r){for(var n=bd(t),o=Sc.f,a=bc.f,i=0;i1?arguments[1]:void 0,t.length)),n=Ld(e);return Ud?Ud(t,n,r):Hd(t,r,r+n.length)===n}});var Kd=function(e,t){return pl(tl[e].prototype[t])};Kd("String","startsWith");var Xd=Array.isArray||function(e){return"Array"==ml(e)},Qd=TypeError,Zd=function(e){if(e>9007199254740991)throw Qd("Maximum allowed index exceeded");return e},Jd=function(e,t,r){var n=uc(t);n in e?Sc.f(e,n,dl(0,r)):e[n]=r},$d=function(){},eu=[],tu=Bl("Reflect","construct"),ru=/^\s*(?:class|function)\b/,nu=pl(ru.exec),ou=!ru.exec($d),au=function(e){if(!Sl(e))return!1;try{return tu($d,eu,e),!0}catch(e){return!1}},iu=function(e){if(!Sl(e))return!1;switch(Rd(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ou||!!nu(ru,Ic(e))}catch(e){return!0}};iu.sham=!0;var su=!tu||rl((function(){var e;return au(au.call)||!au(Object)||!au((function(){e=!0}))||e}))?iu:au,lu=lc("species"),cu=Array,du=function(e,t){return new(function(e){var t;return Xd(e)&&(t=e.constructor,(su(t)&&(t===cu||Xd(t.prototype))||El(t)&&null===(t=t[lu]))&&(t=void 0)),void 0===t?cu:t}(e))(0===t?0:t)},uu=lc("species"),Au=lc("isConcatSpreadable"),gu=Il>=51||!rl((function(){var e=[];return e[Au]=!1,e.concat()[0]!==e})),fu=Il>=51||!rl((function(){var e=[];return(e.constructor={})[uu]=function(){return{foo:1}},1!==e.concat(Boolean).foo})),pu=function(e){if(!El(e))return!1;var t=e[Au];return void 0!==t?!!t:Xd(e)};_d({target:"Array",proto:!0,arity:1,forced:!gu||!fu},{concat:function(e){var t,r,n,o,a,i=Zl(this),s=du(i,0),l=0;for(t=-1,n=arguments.length;ti;)Sc.f(e,r=o[i++],n[r]);return e}},yu=Bl("document","documentElement"),wu=jc("IE_PROTO"),Cu=function(){},xu=function(e){return"