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NC,GAAA,EAGJH,GAAA,KACHI,GAAA,CACAH,GAAA,KAAK,CAAC,CAAE,mBAAAI,KAAyBA,EAAmBD,EAAIT,CAAO,CAAC,CACtE,EACSW,GAAA,CACJ,GAAAA,EAAM,SAAW,IACb,gBAAS,OAAO/E,EAAU,MAC3B,CACNoE,EAAQ,KAAK,EACb,MAAMY,EAAQD,EAAM,OACdE,EAAK,SAAS,cAAc,IAAI,EACtCA,EAAG,UAAY,mCACT,MAAAzJ,EAAI,SAAS,cAAc,GAAG,EACpCA,EAAE,UAAY,yBACR,MAAA0J,EAAQ,SAAS,cAAc,OAAO,EACtCA,EAAA,UAAY,cAAcF,CAAK,GAC/B,MAAAG,EAAU/F,EAAe,SAAS,EACxCgG,GAAaD,CAAO,EACZA,EAAA,OAAOD,EAAOD,EAAIzJ,CAAC,EAC5B,CAEF,CACD,CAAC","names":["SingleEventTarget","callback","stack","i","l","event","Deque","capacity","getCapacity","isArray","len","ret","front","j","item","argsLength","length","index","size","oldCapacity","moveItemsCount","arrayMove","src","srcIndex","dst","dstIndex","pow2AtLeast","n","deque","EventAttributes","HTMLAttributes","StyleAttributes","SVGAttributes","HelperTypes","classnames_1","classListFromObject","record","key","value","isTruthy","v","isUnique","a","emptyArray","classnamesToArray","classnames","list","__createBinding","this","o","m","k","k2","desc","__exportStar","exports","p","require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","setAttributes_1","tsx_dom_types_1","transferKnownProperties","source","target","eventAttributeName","setAttributes","element","attrs","name","finalValue","finalName","useCapture","eventName","utils","applyChild","child","applyChildren","children","createDomElement","tag","options","applyTsxTag","finalTag","finalAttrs","createElement_1","utils_1","createElement","createRef","jsxRuntime","jsx","props","defineCustomElement_1","jsx_runtime_1","defineCustomElement","constructor","types","sortPlaylistsPriority","lists","kindToIndex","kind","b","kindA","kindB","diff","makeAlertBubble","type","message","duration","AlertBuilder","alertBubble","showAlert","alert","getElementById","spinningAlert","xhr","text","translateError","done","failure","alertElement","makeAlertBubbleFromXhrError","e","makeErrorText","alertBubbleFromXhrError","LOGIN_PAGE","wrapRequestFailure","wrapRequest","request","queueSong","button","requests","always","queueTranslateError","onQueueButtonClick","sources","promises","description","SingleTimeout","f","ms","time","createFasIcon","icon","_RecencyCalc","state","resourceId","playerSong","delta","RecencyCalc","recencyToClass","createQueueButton","recency","makeSource","timeout","reset","_a","queueFinished","_b","recencyCls","cl","Link","url","h","createTextLink","updateUrlAfterResourceChange","resource","urlFromFfmpegResource","secondsFromMicroSeconds","secondsToDuration","urlFromSpotifyResource","urlFromResource","priority","urlFromUnregisteredResource","createAlsoInHoverText","containingLists","hoverText","playlist","toPrioritySortedLists","playlists","lookup","filterMap","id","makeListResourceSource","sub","ResourcePlayResource","makeUrlResourceSource","UrlResourceSource","createWebsocketBaseUrl","wsShouldReconnect","RECONNECT_DELAYS_MS","ReconnectDelay","Updater","updater","json","delay","call","socket","meRequest","Main","printWelcomeMessage","setUpFavicons","me","onDOMContentLoaded","jqXHR","error","h2","small","loading","emptyElement"],"ignoreList":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],"sources":["../../src/app/single-event-target.ts","../../node_modules/double-ended-queue/js/deque.js","../../node_modules/tsx-dom-types/dist/EventAttributes.js","../../node_modules/tsx-dom-types/dist/HTMLAttributes.js","../../node_modules/tsx-dom-types/dist/StyleAttributes.js","../../node_modules/tsx-dom-types/dist/SVGAttributes.js","../../node_modules/tsx-dom-types/dist/HelperTypes.js","../../node_modules/tsx-dom-types/dist/classnames.js","../../node_modules/tsx-dom-types/dist/index.js","../../node_modules/tsx-dom/dist/setAttributes.js","../../node_modules/tsx-dom/dist/utils.js","../../node_modules/tsx-dom/dist/createElement.js","../../node_modules/tsx-dom/dist/jsx-runtime.js","../../node_modules/tsx-dom/dist/defineCustomElement.js","../../node_modules/tsx-dom/dist/types.js","../../node_modules/tsx-dom/dist/index.js","../../src/app/main/functions.tsx","../../src/app/main/updater.ts","../../src/app/main/index.ts"],"sourcesContent":["export class SingleEventTarget