summaryrefslogtreecommitdiff
path: root/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js')
-rw-r--r--assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js b/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js
new file mode 100644
index 0000000..3e1d944
--- /dev/null
+++ b/assets/outbox/Release v0.54.0 · hyprwm_Hyprland_files/54195-705a8bfd0247e553.js
@@ -0,0 +1,3 @@
+performance.mark("js-parse-end:54195-705a8bfd0247e553.js");
+"use strict";(globalThis.webpackChunk_github_ui_github_ui=globalThis.webpackChunk_github_ui_github_ui||[]).push([["54195"],{55150(e,t,n){n.d(t,{Bu:()=>u,YV:()=>o,o:()=>a});let i=null;function l(e){return e instanceof HTMLSelectElement||(s(e)?e.checked!==e.defaultChecked:e.value!==e.defaultValue)}function r(e){return e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement}function s(e){return e instanceof HTMLInputElement&&/checkbox|radio/.test(e.type)}function o(e,t){var n,s,o,a,u,c;let h,d=null!=(n=null==t?void 0:t.scope)?n:document,f=null!=(s=null==t?void 0:t.selector)?s:".js-session-resumable",p=null!=(o=null==t?void 0:t.fields)?o:d.querySelectorAll(f),m=null!=(a=null==t?void 0:t.keyPrefix)?a:"session-resume:",g=null!=(u=null==t?void 0:t.storageFilter)?u:l;try{h=null!=(c=null==t?void 0:t.storage)?c:sessionStorage}catch(e){return}let b=`${m}${e}`,v=[];for(let e of p)r(e)&&v.push(e);let y=v.filter(e=>!!e.id&&g(e)&&e.form!==i).map(e=>e instanceof HTMLSelectElement?[e.id,Array.from(e.selectedOptions).map(e=>e.value)]:[e.id,e.value]);if(y.length)try{let e=h.getItem(b);if(null!==e){let t=JSON.parse(e).filter(function(e){return!y.some(t=>t[0]===e[0])});y=y.concat(t)}h.setItem(b,JSON.stringify(y))}catch(e){}}function a(e,t){var n,i;let l,o,a=null!=(n=null==t?void 0:t.keyPrefix)?n:"session-resume:";try{l=null!=(i=null==t?void 0:t.storage)?i:sessionStorage}catch(e){return}let u=`${a}${e}`;try{o=l.getItem(u)}catch(e){}if(!o)return;let c=[],h=[];for(let[e,t]of JSON.parse(o)){let n=new CustomEvent("session:resume",{bubbles:!0,cancelable:!0,detail:{targetId:e,targetValue:t}});if(document.dispatchEvent(n)){let n=document.getElementById(e);if(r(n))if(n instanceof HTMLSelectElement){for(let e of n.options)e.selected=t.includes(e.value);c.push(n)}else s(n)?(n.checked=!n.defaultChecked,c.push(n)):n.value===n.defaultValue&&(n.value=t,c.push(n));else h.push([e,t])}}if(0===h.length)try{l.removeItem(u)}catch(e){}else l.setItem(u,JSON.stringify(h));setTimeout(function(){for(let e of c)e.dispatchEvent(new CustomEvent("change",{bubbles:!0,cancelable:!0}))},0)}function u(e){i=e.target,setTimeout(function(){e.defaultPrevented&&(i=null)},0)}},97088(e,t,n){n.d(t,{s:()=>r});let i=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","scid"];var l=n(36301);class r{constructor(e){this.options=e,this.eventBatch=[],this.idleCallbackId=null,this.waitTimerId=null,this.onVisibilityChange=()=>{"hidden"===document.visibilityState&&this.flushBatch()},this.boundFlush=()=>this.flushBatch(),"u">typeof document&&document.addEventListener("visibilitychange",this.onVisibilityChange),"u">typeof window&&window.addEventListener("pagehide",this.boundFlush)}get collectorUrl(){return this.options.collectorUrl}get clientId(){return this.options.clientId?this.options.clientId:(0,l.y)()}get maxBatchSize(){return this.options.maxBatchSize??10}get idleTimeout(){return this.options.idleTimeout??1e3}createEvent(e){return{page:location.href,title:document.title,context:{...this.options.baseContext,...function(){let e={};try{for(let[t,n]of new URLSearchParams(window.location.search)){let l=t.toLowerCase();i.includes(l)&&(e[l]=n)}return e}catch(e){return{}}}(),...e}}}sendPageView(e){let t=this.createEvent(e);this.send({page_views:[t]})}sendEvent(e,t){let n={...this.createEvent(t),type:e};this.send({events:[n]})}sendBatchedEvent(e,t){let n={...this.createEvent(t),type:e};this.eventBatch.push(n),this.eventBatch.length>=this.maxBatchSize?this.flushBatch():this.scheduleFlush()}flushBatch(){if(0===this.eventBatch.length)return;this.cancelScheduledFlush();let e=this.eventBatch;this.eventBatch=[],this.send({events:e})}destroy(){this.flushBatch(),"u">typeof document&&document.removeEventListener("visibilitychange",this.onVisibilityChange),"u">typeof window&&window.removeEventListener("pagehide",this.boundFlush)}scheduleFlush(){null===this.idleCallbackId&&null===this.waitTimerId&&(this.waitTimerId=setTimeout(()=>{this.waitTimerId=null,"function"==typeof requestIdleCallback?this.idleCallbackId=requestIdleCallback(this.boundFlush):this.boundFlush()},this.idleTimeout))}cancelScheduledFlush(){null!==this.idleCallbackId&&("function"==typeof cancelIdleCallback&&cancelIdleCallback(this.idleCallbackId),this.idleCallbackId=null),null!==this.waitTimerId&&(clearTimeout(this.waitTimerId),this.waitTimerId=null)}send({page_views:e,events:t}){let n=JSON.stringify({client_id:this.clientId,page_views:e,events:t,request_context:{referrer:function(){let e;try{e=window.top.document.referrer}catch(t){if(window.parent)try{e=window.parent.document.referrer}catch(e){}}return""===e&&(e=document.referrer),e}(),user_agent:navigator.userAgent,screen_resolution:function(){try{return`${screen.width}x${screen.height}`}catch(e){return"unknown"}}(),browser_resolution:function(){let e=0,t=0;try{return"number"==typeof window.innerWidth?(t=window.innerWidth,e=window.innerHeight):null!=document.documentElement&&null!=document.documentElement.clientWidth?(t=document.documentElement.clientWidth,e=document.documentElement.clientHeight):null!=document.body&&null!=document.body.clientWidth&&(t=document.body.clientWidth,e=document.body.clientHeight),`${t}x${e}`}catch(e){return"unknown"}}(),browser_languages:navigator.languages?navigator.languages.join(","):navigator.language||"",pixel_ratio:window.devicePixelRatio,timestamp:Date.now(),tz_seconds:-60*new Date().getTimezoneOffset()}});try{if(navigator.sendBeacon)return void navigator.sendBeacon(this.collectorUrl,n)}catch{}fetch(this.collectorUrl,{method:"POST",cache:"no-cache",headers:{"Content-Type":"application/json"},body:n,keepalive:!1})}}},70837(e,t,n){n.d(t,{O:()=>i});function i(e="ha"){let t,n={};for(let i of Array.from(document.head.querySelectorAll(`meta[name^="${e}-"]`))){let{name:l,content:r}=i,s=l.replace(`${e}-`,"").replace(/-/g,"_");"url"===s?t=r:n[s]=r}if(!t)throw Error(`AnalyticsClient ${e}-url meta tag not found`);return{collectorUrl:t,...Object.keys(n).length>0?{baseContext:n}:{}}}},85498(e,t,n){n.d(t,{TemplateInstance:()=>v,xr:()=>m});let i=new Map;function l(e){if(i.has(e))return i.get(e);let t=e.length,n=0,l=0,r=0,s=[];for(let i=0;i<t;i+=1){let t=e[i],o=e[i+1],a=e[i-1];"{"===t&&"{"===o&&"\\"!==a?(1===(r+=1)&&(l=i),i+=1):"}"===t&&"}"===o&&"\\"!==a&&r&&0==(r-=1)&&(l>n&&(s.push(Object.freeze({type:"string",start:n,end:l,value:e.slice(n,l)})),n=l),s.push(Object.freeze({type:"part",start:l,end:i+2,value:e.slice(n+2,i).trim()})),i+=1,n=i+1)}return n<t&&s.push(Object.freeze({type:"string",start:n,end:t,value:e.slice(n,t)})),i.set(e,Object.freeze(s)),i.get(e)}let r=new WeakMap,s=new WeakMap;class o{constructor(e,t){this.expression=t,r.set(this,e),e.updateParent("")}get attributeName(){return r.get(this).attr.name}get attributeNamespace(){return r.get(this).attr.namespaceURI}get value(){return s.get(this)}set value(e){s.set(this,e||""),r.get(this).updateParent(e)}get element(){return r.get(this).element}get booleanValue(){return r.get(this).booleanValue}set booleanValue(e){r.get(this).booleanValue=e}}class a{constructor(e,t){this.element=e,this.attr=t,this.partList=[]}get booleanValue(){return this.element.hasAttributeNS(this.attr.namespaceURI,this.attr.name)}set booleanValue(e){if(1!==this.partList.length)throw new DOMException("Operation not supported","NotSupportedError");this.partList[0].value=e?"":null}append(e){this.partList.push(e)}updateParent(e){if(1===this.partList.length&&null===e)this.element.removeAttributeNS(this.attr.namespaceURI,this.attr.name);else{let e=this.partList.map(e=>"string"==typeof e?e:e.value).join("");this.element.setAttributeNS(this.attr.namespaceURI,this.attr.name,e)}}}let u=new WeakMap;class c{constructor(e,t){this.expression=t,u.set(this,[e]),e.textContent=""}get value(){return u.get(this).map(e=>e.textContent).join("")}set value(e){this.replace(e)}get previousSibling(){return u.get(this)[0].previousSibling}get nextSibling(){return u.get(this)[u.get(this).length-1].nextSibling}replace(...e){var t,n;let i=e.map(e=>"string"==typeof e?new Text(e):e);i.length||i.push(new Text(""));let l=u.get(this)[0];for(let e of i)null==(t=l.parentNode)||t.insertBefore(e,l);for(let e of u.get(this))null==(n=e.parentNode)||n.removeChild(e);u.set(this,i)}}class h extends c{constructor(e){var t;super(e,null!=(t=e.getAttribute("expression"))?t:""),this.template=e}get directive(){var e;return null!=(e=this.template.getAttribute("directive"))?e:""}}function d(e){return{processCallback(t,n,i){var l;if("object"==typeof i&&i){for(let t of n)if(t.expression in i){let n=null!=(l=i[t.expression])?l:"";e(t,n,i)}}}}}function f(e,t){e.value=t instanceof Node?t:String(t)}let p=d(f),m=d((e,t)=>{"boolean"==typeof t&&e instanceof o&&"boolean"==typeof e.element[e.attributeName]&&(e.booleanValue=t,1)||f(e,t)}),g=new WeakMap,b=new WeakMap;class v extends(globalThis.DocumentFragment||EventTarget){constructor(e,t,n=p){var i,r;super(),Object.getPrototypeOf(this)!==v.prototype&&Object.setPrototypeOf(this,v.prototype),this.appendChild(e.content.cloneNode(!0)),b.set(this,Array.from(function* e(t){let n,i=t.ownerDocument.createTreeWalker(t,NodeFilter.SHOW_TEXT|NodeFilter.SHOW_ELEMENT,null);for(;n=i.nextNode();)if(n instanceof HTMLTemplateElement)if(n.hasAttribute("directive"))yield new h(n);else for(let t of e(n.content))yield t;else if(n instanceof Element&&n.hasAttributes())for(let e=0;e<n.attributes.length;e+=1){let t=n.attributes.item(e);if(t&&t.value.includes("{{")){let e=new a(n,t);for(let n of l(t.value))if("string"===n.type)e.append(n.value);else{let t=new o(e,n.value);e.append(t),yield t}}}else if(n instanceof Text&&n.textContent&&n.textContent.includes("{{")){let e=l(n.textContent);for(let t=0;t<e.length;t+=1){let i=e[t];i.end<n.textContent.length&&n.splitText(i.end),"part"===i.type&&(yield new c(n,i.value));break}}}(this))),g.set(this,n),null==(r=(i=g.get(this)).createCallback)||r.call(i,this,b.get(this),t),g.get(this).processCallback(this,b.get(this),t)}update(e){g.get(this).processCallback(this,b.get(this),e)}}},77783(e,t,n){let i;function l(e){return new Promise((t,n)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>n(e.error)})}function r(e,t){let n;return(i,r)=>(()=>{if(n)return n;let i=indexedDB.open(e);return i.onupgradeneeded=()=>i.result.createObjectStore(t),(n=l(i)).then(e=>{e.onclose=()=>n=void 0},()=>{}),n})().then(e=>r(e.transaction(t,i).objectStore(t)))}function s(){return i||(i=r("keyval-store","keyval")),i}function o(e,t=s()){return t("readonly",t=>l(t.get(e)))}function a(e,t,n=s()){return n("readwrite",n=>(n.put(t,e),l(n.transaction)))}function u(e,t=s()){return t("readwrite",t=>(t.delete(e),l(t.transaction)))}function c(e=s()){return e("readwrite",e=>(e.clear(),l(e.transaction)))}function h(e=s()){return e("readonly",t=>{if(t.getAll&&t.getAllKeys)return Promise.all([l(t.getAllKeys()),l(t.getAll())]).then(([e,t])=>e.map((e,n)=>[e,t[n]]));let n=[];return e("readonly",e=>{var t;return(t=e=>n.push([e.key,e.value]),e.openCursor().onsuccess=function(){this.result&&(t(this.result),this.result.continue())},l(e.transaction)).then(()=>n)})})}n.d(t,{IU:()=>c,Jt:()=>o,hZ:()=>a,jO:()=>h,y$:()=>r,yH:()=>u})}}]);
+//# sourceMappingURL=54195-705a8bfd0247e553-9e94185683f5c771.js.map \ No newline at end of file