diff --git a/hidePodcasts.js b/hidePodcasts.js index 8d0665e..d5ecc65 100644 --- a/hidePodcasts.js +++ b/hidePodcasts.js @@ -1,3 +1,3 @@ -!async function(){for(;!Spicetify.React||!Spicetify.ReactDOM;)await new Promise(e=>setTimeout(e,10));(()=>{var F=Object.create,r=Object.defineProperty,T=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,U=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty,e=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},t=(e,t,s)=>{s=null!=e?F(U(e)):{};var i=!t&&e&&e.__esModule?s:r(s,"default",{value:e,enumerable:!0}),o=e,n=void 0,a=void 0;if(o&&"object"==typeof o||"function"==typeof o)for(let e of l(o))z.call(i,e)||e===n||r(i,e,{get:()=>o[e],enumerable:!(a=T(o,e))||a.enumerable});return i},s=e({"external-global-plugin:react"(e,t){t.exports=Spicetify.React}}),e=e({"node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"(e,t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}}),V={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}},i=class{constructor(e){this.init(e,1{this.observers[e]||(this.observers[e]=new Map);var t=this.observers[e].get(s)||0;this.observers[e].set(s,t+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(i){for(var e=arguments.length,o=new Array(1{var[t,s]=e;for(let e=0;e{var[t,s]=e;for(let e=0;e{s=e,i=t});return e.resolve=s,e.reject=i,e}function g(e){return null==e?"":""+e}function J(e,t,s){e.forEach(e=>{t[e]&&(s[e]=t[e])})}var H=/###/g;function a(e,t,s){function i(e){return e&&-1":">",'"':""","'":"'","/":"/"};function Q(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>B[e]):e}var $=[" ",",","?","!",";"],q=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){var t=this.regExpMap.get(e);return void 0!==t||(t=new RegExp(e),this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,t),this.regExpQueue.push(e)),t}}(20);function G(e,t,s){t=t||"",s=s||"";var i=$.filter(e=>t.indexOf(e)<0&&s.indexOf(e)<0);if(0===i.length)return 1;var o,i=q.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`);let n=!i.test(e);return n||0<(o=e.indexOf(s))&&!i.test(e.substring(0,o))&&(n=!0),n}function f(e,t,s){var n=2t[e]&&0{this.processors[e]&&(t=this.processors[e].process(t,s,i,o))}),t}},n={},P=class extends o{constructor(e){var t=1{s=k&&s!==u?s:O;this.options.missingKeyHandler?this.options.missingKeyHandler(e,r,t,s,C,i):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,r,t,s,C,i),this.emit("missingKey",e,r,t,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&m?t.forEach(t=>{var e=this.pluralResolver.getSuffixes(t,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(this.options.pluralSeparator+"zero")<0&&e.push(this.options.pluralSeparator+"zero"),e.forEach(e=>{N([t],a+e,i["defaultValue"+e]||L)})}):N(t,a,L))}u=this.extendTranslation(u,s,i,h,o),t&&u===a&&this.options.appendNamespaceToMissingKey&&(u=r+":"+a),(t||e)&&this.options.parseMissingKeyHandler&&(u="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?r+":"+a:a,e?u:void 0):this.options.parseMissingKeyHandler(u))}return e?(h.res=u,h.usedParams=this.getUsedParamsDetails(i),h):u}extendTranslation(s,i,o,n,a){var r=this;if(this.i18nFormat&&this.i18nFormat.parse)s=this.i18nFormat.parse(s,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});var l="string"==typeof s&&(o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o:this.options).interpolation.skipOnVariables;let e,t=(l&&(h=s.match(this.interpolator.nestingRegexp),e=h&&h.length),o.replace&&"string"!=typeof o.replace?o.replace:o);this.options.interpolation.defaultVariables&&(t={...this.options.interpolation.defaultVariables,...t}),s=this.interpolator.interpolate(s,t,o.lng||this.language,o),l&&(l=(h=s.match(this.interpolator.nestingRegexp))&&h.length,e{if(!this.isValidLookup(p)){t=this.extractFromKey(t,d);const r=t.key;i=r;let e=t.namespaces;this.options.fallbackNS&&(e=e.concat(this.options.fallbackNS));const l=void 0!==d.count&&"string"!=typeof d.count,h=l&&!d.ordinal&&0===d.count&&this.pluralResolver.shouldUseIntlApi(),u=void 0!==d.context&&("string"==typeof d.context||"number"==typeof d.context)&&""!==d.context,s=d.lngs||this.languageUtils.toResolveHierarchy(d.lng||this.language,d.fallbackLng);e.forEach(a=>{this.isValidLookup(p)||(o=a,!n[s[0]+"-"+a]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(n[s[0]+"-"+a]=!0,this.logger.warn(`key "${i}" for languages "${s.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),s.forEach(t=>{if(!this.isValidLookup(p)){c=t;var e,s=[r];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,r,t,a,d);else{let e;l&&(e=this.pluralResolver.getSuffix(t,d.count,d));var i,o=this.options.pluralSeparator+"zero",n=this.options.pluralSeparator+"ordinal"+this.options.pluralSeparator;l&&(s.push(r+e),d.ordinal&&0===e.indexOf(n)&&s.push(r+e.replace(n,this.options.pluralSeparator)),h)&&s.push(r+o),u&&(i=""+r+this.options.contextSeparator+d.context,s.push(i),l)&&(s.push(i+e),d.ordinal&&0===e.indexOf(n)&&s.push(i+e.replace(n,this.options.pluralSeparator)),h)&&s.push(i+o)}for(;e=s.pop();)this.isValidLookup(p)||(g=e,p=this.getResource(t,a,e,d))}}))})}}),{res:p,usedKey:i,exactUsedKey:g,usedLng:c,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,s){var i=3e.toLowerCase()):2===e.length?(e[0]=e[0].toLowerCase(),e[1]=e[1].toUpperCase(),-1{s||(e=this.formatLanguageCode(e),this.options.supportedLngs&&!this.isSupportedCode(e))||(s=e)}),!s&&this.options.supportedLngs&&e.forEach(e=>{if(!s){const t=this.getLanguagePartFromCode(e);if(this.isSupportedCode(t))return s=t;s=this.options.supportedLngs.find(e=>e===t||!(e.indexOf("-")<0&&t.indexOf("-")<0)&&(0{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn("rejecting language code not found in supportedLngs: "+e))};return"string"==typeof e&&(-1{s.indexOf(e)<0&&i(this.formatLanguageCode(e))}),s}},X=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_={1:function(e){return Number(1{t.lngs.forEach(e=>{s[e]={numbers:t.nr,plurals:_[t.fc]}})}),s}var ee=class{constructor(e){var t=1""+t+e)}getSuffixes(t){let s=1k[e]-k[t]).map(e=>""+this.options.prepend+(s.ordinal?"ordinal"+this.options.prepend:"")+e):e.numbers.map(e=>this.getSuffix(t,e,s)):[]}getSuffix(e,t){var s=2this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return"v1"===this.options.compatibilityJSON?1===s?"":"number"==typeof s?"_plural_"+s.toString():i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&t.toString()?this.options.prepend+t.toString():t.toString()}shouldUseIntlApi(){return!W.includes(this.options.compatibilityJSON)}};function w(e,t,s,i,o){var n,a,r,l=3e),this.init(e)}init(){var e=0e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,this.prefix+"(.+?)"+this.suffix),this.regexpUnescape=e(this.regexpUnescape,""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix),this.nestingRegexp=e(this.nestingRegexp,this.nestingPrefix+"(.+?)"+this.nestingSuffix)}interpolate(i,s,o,n){let a,r,l;const h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function t(e){return e.replace(/\$/g,"$$$$")}const u=e=>{var t;return e.indexOf(this.formatSeparator)<0?(t=w(s,h,e,this.options.keySeparator,this.options.ignoreJSONStructure),this.alwaysFormat?this.format(t,void 0,o,{...n,...s,interpolationkey:e}):t):(e=(t=e.split(this.formatSeparator)).shift().trim(),t=t.join(this.formatSeparator).trim(),this.format(w(s,h,e,this.options.keySeparator,this.options.ignoreJSONStructure),t,o,{...n,...s,interpolationkey:e}))},d=(this.resetRegExp(),n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler),p=(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n:this.options).interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>t(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?t(this.escape(e)):t(e)}].forEach(e=>{for(l=0;a=e.regex.exec(i);){var t=a[1].trim();if(void 0===(r=u(t)))if("function"==typeof d){var s=d(i,a,n);r="string"==typeof s?s:""}else{if(!n||!Object.prototype.hasOwnProperty.call(n,t)){if(p){r=a[0];continue}this.logger.warn(`missed to pass in variable ${t} for interpolating `+i)}r=""}else"string"==typeof r||this.useRawValueToEscape||(r=g(r));s=e.safeValue(r);if(i=i.replace(a[0],s),p?(e.regex.lastIndex+=r.length,e.regex.lastIndex-=a[0].length):e.regex.lastIndex=0,++l>=this.maxReplaces)break}}),i}nest(s,i){let o=2e.trim()),n[1]=h.shift(),e=h,t=!0),(a=i(l.call(this,n[1].trim(),r),r))&&n[0]===s&&"string"!=typeof a)return a;(a="string"!=typeof a?g(a):a)||(this.logger.warn(`missed to resolve ${n[1]} for nesting `+s),a=""),t&&(a=e.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()}),a.trim())),s=s.replace(n[0],a),this.regexp.lastIndex=0}return s}};function se(e){let t=e.toLowerCase().trim();const s={};return-1{var t;e&&([e,...t]=e.split(":"),t=t.join(":").trim().replace(/^'+|'+$/g,""),e=e.trim(),s[e]||(s[e]=t),"false"===t&&(s[e]=!1),"true"===t&&(s[e]=!0),isNaN(t)||(s[e]=parseInt(t,10)))})),{formatName:t,formatOptions:s}}function L(n){const a={};return function(e,t,s){var i=t+JSON.stringify(s);let o=a[i];return o||(o=n(m(t),s),a[i]=o),o(e)}}var ie=class{constructor(){var e=0{const s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)}),currency:L((e,t)=>{const s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)}),datetime:L((e,t)=>{const s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)}),relativetime:L((e,t)=>{const s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")}),list:L((e,t)=>{const s=new Intl.ListFormat(e,{...t});return e=>s.format(e)})},this.init(e)}init(e){var t=(1{var{formatName:s,formatOptions:i}=se(s);if(this.formats[s]){let e=t;try{var o=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},n=o.locale||o.lng||r.locale||r.lng||a;e=this.formats[s](t,n,{...i,...r,...o})}catch(e){this.logger.warn(e)}return e}return this.logger.warn("there was no format function for "+s),t},e)}};function oe(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var ne=class extends o{constructor(e,t,s){var i=3{let i=!0;t.forEach(e=>{var t=s+"|"+e;!o.reload&&this.store.hasResourceBundle(s,e)?this.state[t]=2:this.state[t]<0||(1===this.state[t]?void 0===a[t]&&(a[t]=!0):(this.state[t]=1,i=!1,void 0===a[t]&&(a[t]=!0),void 0===n[t]&&(n[t]=!0),void 0===l[e]&&(l[e]=!0)))}),i||(r[s]=!0)}),(Object.keys(n).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(n),pending:Object.keys(a),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(l)}}loaded(e,t,s){var i=e.split("|");const o=i[0],n=i[1],a=(t&&this.emit("failedLoading",o,n,t),s&&this.store.addResourceBundle(o,n,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,{});this.queue.forEach(s=>{K(s.loaded,[o],n),oe(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach(t=>{a[t]||(a[t]={});var e=s.loaded[t];e.length&&e.forEach(e=>{void 0===a[t][e]&&(a[t][e]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(i,o,n){let a=3=this.maxParallelReads)this.waitingReads.push({lng:i,ns:o,fcName:n,tried:a,wait:r,callback:l});else{this.readingCalls++;const s=(e,t)=>{var s;this.readingCalls--,0{this.read.call(this,i,o,n,a+1,2*r,l)},r):l(e,t)};var e=this.backend[n].bind(this.backend);if(2!==e.length)return e(i,o,s);try{var t=e(i,o);t&&"function"==typeof t.then?t.then(e=>s(null,e)).catch(s):s(null,t)}catch(e){s(e)}}}prepareLoading(e,t){var s=2{this.loadOne(e)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(s){let i=1{e&&this.logger.warn(`${i}loading namespace ${n} for language ${o} failed`,e),!e&&t&&this.logger.log(`${i}loaded namespace ${n} for language `+o,t),this.loaded(s,e,t)})}saveMissing(t,s,i,o,n){var a=5{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(s))this.logger.warn(`did not save key "${i}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=i&&""!==i){if(this.backend&&this.backend.create){a={...a,isUpdate:n},n=this.backend.create.bind(this.backend);if(n.length<6)try{let e;(e=5===n.length?n(t,s,i,o,a):n(t,s,i,o))&&"function"==typeof e.then?e.then(e=>r(null,e)).catch(r):r(null,e)}catch(e){r(e)}else n(t,s,i,o,r,a)}t&&t[0]&&this.store.addResource(t[0],s,i,o)}}};function O(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const s=e[3]||e[2];Object.keys(s).forEach(e=>{t[e]=s[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function C(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function N(){}function ae(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(e=>{"function"==typeof t[e]&&(t[e]=t[e].bind(t))})}var R=class extends o{constructor(){let e=0{this.init(e,t)},0)}}init(){var o=this;let e=0{e.init&&e.init(this)})}this.format=this.options.interpolation.format,s=s||N,!this.options.fallbackLng||this.services.languageDetector||this.options.lng||0<(n=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng)).length&&"dev"!==n[0]&&(this.options.lng=n[0]),this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return o.store[e](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return o.store[e](...arguments),o}});const r=u();t=()=>{var e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),r.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?t():setTimeout(t,0),r}loadResources(e){let t=1{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&i.indexOf(e)<0&&i.push(e)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>o(e)),this.options.preload&&this.options.preload.forEach(e=>o(e)),this.services.backendConnector.load(i,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,s){const i=u();return e=e||this.languages,t=t||this.options.ns,s=s||N,this.services.backendConnector.reload(e,t,e=>{i.resolve(),s(e)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(e.type)return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&b.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this;throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()")}setResolvedLanguage(e){if(e&&this.languages&&!(-1<["cimode","dev"].indexOf(e)))for(let e=0;e{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)}),r=(e,t)=>{t?(a(t),this.translator.changeLanguage(t),this.isLanguageChangingTo=void 0,this.emit("languageChanged",t),this.logger.log("languageChanged",t)):this.isLanguageChangingTo=void 0,n.resolve(function(){return o.t(...arguments)}),i&&i(e,function(){return o.t(...arguments)})};var e=e=>{const t="string"==typeof(e=s||e||!this.services.languageDetector?e:[])?e:this.services.languageUtils.getBestMatchFromCodes(e);t&&(this.language||a(t),this.translator.language||this.translator.changeLanguage(t),this.services.languageDetector)&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(t),this.loadResources(t,e=>{r(e,t)})};return s||!this.services.languageDetector||this.services.languageDetector.async?!s&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(e):this.services.languageDetector.detect(e):e(s):e(this.services.languageDetector.detect()),n}getFixedT(e,t,l){var h=this;function u(e,t){let s;if("object"!=typeof t){for(var i=arguments.length,o=new Array(2""+s.keyPrefix+a+e):s.keyPrefix?""+s.keyPrefix+a+e:e,h.t(r,s)}return"string"==typeof e?u.lng=e:u.lngs=e,u.ns=t,u.keyPrefix=l,u}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){var t=1{e=this.services.backendConnector.state[e+"|"+t];return-1===e||2===e};if(t.precheck){t=t.precheck(this,n);if(void 0!==t)return t}return!!this.hasResourceBundle(s,e)||!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!n(s,e)||i&&!n(o,e)))}loadNamespaces(e,t){const s=u();return this.options.ns?((e="string"==typeof e?[e]:e).forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=u(),i=this.options.preload||[];e=(e="string"==typeof e?[e]:e).filter(e=>i.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return e.length?(this.options.preload=i.concat(e),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}dir(e){var t;return!(e=e||this.resolvedLanguage||(this.languages&&0{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},s&&(o.store=new y(this.store.data,i),o.services.resourceStore=o.store),o.translator=new P(o.services,i),o.translator.on("*",function(e){for(var t=arguments.length,s=new Array(1",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},he=e=>le[e],M={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(re,he)};var o={type:"3rdParty",init(e){!function(e){var t=0{if(e)for(const t in e)void 0===s[t]&&(s[t]=e[t])}),s}var j=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ge=function(e,t,s,i){var o=4{s=s||{},s.path=s.path||"/",t=encodeURIComponent(t);let i=e+"="+t;if(0{if(null===D)try{D="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){D=!1}return D},ye={name:"localStorage",lookup(e){e=e.lookupLocalStorage;if(e&&ve())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(e,t){t=t.lookupLocalStorage;t&&ve()&&window.localStorage.setItem(t,e)}},E=null,be=()=>{if(null===E)try{E="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){E=!1}return E},xe={name:"sessionStorage",lookup(e){e=e.lookupSessionStorage;if(e&&be())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(e,t){t=t.lookupSessionStorage;t&&be()&&window.sessionStorage.setItem(t,e)}},Se={name:"navigator",lookup(e){var t=[];if("undefined"!=typeof navigator){var{languages:s,userLanguage:i,language:o}=navigator;if(s)for(let e=0;ee}}var e=class{constructor(e){var t=1e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=s,this.addDetector(fe),this.addDetector(me),this.addDetector(ye),this.addDetector(xe),this.addDetector(Se),this.addDetector(ke),this.addDetector(we),this.addDetector(Le)}addDetector(e){return this.detectors[e.name]=e,this}detect(e){e=e||this.options.order;let s=[];return e.forEach(t=>{if(this.detectors[t]){let e=this.detectors[t].lookup(this.options);(e=e&&"string"==typeof e?[e]:e)&&(s=s.concat(e))}}),s=s.map(e=>this.options.convertDetectedLanguage(e)),this.services.languageUtils.getBestMatchFromCodes?s:0{this.detectors[e]&&this.detectors[e].cacheUserLanguage(t,this.options)})}},I=(e.type="languageDetector",(t,e)=>{t=localStorage.getItem(t);if(!t)return e;try{return JSON.parse(t)}catch(e){return t}}),Ce=t=>{var e=document.querySelector(".main-yourLibraryX-filters");return e?Array.from(e.querySelectorAll("button")).find(e=>{return console.debug("=== btn ===",e),e.querySelector("span")?.innerText===t}):null},t={ca:{translation:{menu:{title:"Amagar podcasts",enabled:"Activat",aggressiveMode:"Mode agressiu"},search:{}}},da:{translation:{menu:{title:"Gem podcasts",enabled:"Aktiveret",aggressiveMode:"Aggressiv indstilling",hideAudiobooks:"Gem lydbøger"},search:{}}},en:{translation:{menu:{title:"Hide podcasts",enabled:"Enabled",aggressiveMode:"Aggressive mode",hideAudiobooks:"Hide audiobooks"},search:{}}},fr:{translation:{menu:{title:"Masquer les podcasts",enabled:"Activé",aggressiveMode:"Mode agressif",hideAudiobooks:"Masquer les livres audio"},search:{}}},de:{translation:{menu:{title:"Podcasts verstecken",enabled:"Aktiviert",aggressiveMode:"Aggressiver Modus"},search:{}}},it:{translation:{menu:{title:"Nascondi podcast",enabled:"Attivato",aggressiveMode:"Modalità aggressiva"},search:{}}},"pt-BR":{translation:{menu:{title:"Esconder podcasts",enabled:"Habilitado",aggressiveMode:"Modo agressivo"},search:{}}},"pl-PL":{translation:{menu:{title:"Schowaj podcasty",enabled:"Włączony",aggressiveMode:"Tryb agresywny"},search:{}}},ru:{translation:{menu:{title:"Скрытие подкастов",enabled:"Включено",aggressiveMode:"Агрессивный режим"},search:{}}},tr:{translation:{menu:{title:"Podcast'leri gizle",enabled:"Etkin",aggressiveMode:"Agresif mod"},search:{}}},"zh-CN":{translation:{menu:{title:"隐藏播客",enabled:"启用",aggressiveMode:"增强模式"},search:{}}}},Ne=(A.use(o).use(e).init({resources:t,detection:{order:["navigator","htmlTag"]},fallbackLng:"en",interpolation:{escapeValue:!1}}),"HidePodcastsEnabled"),Pe="HidePodcastsAggressiveMode",Re="HidePodcastsHideAudioBooks";var Ae=async function(){var e=A["t"];let{Player:t,Menu:s,Platform:i,Locale:o}=Spicetify,n=document.querySelector(".main-view-container__scroll-node-child");for(;!(t&&s&&i&&o&&n);)await new Promise(e=>setTimeout(e,100)),t=Spicetify.Player,s=Spicetify.Menu,i=Spicetify.Platform,o=Spicetify.Locale,n=document.querySelector(".main-view-container__scroll-node-child");console.debug("HidePodcasts: Loaded");let a=I(Ne,!0),r=I(Pe,!1),l=I(Re,!1);var h=new s.Item(e("menu.enabled"),a,e=>{a=!a,localStorage.setItem(Ne,a),e.setState(a),p()}),u=new s.Item(e("menu.aggressiveMode"),r,e=>{r=!r,localStorage.setItem(Pe,r),e.setState(r),location.reload()}),d=new s.Item(e("menu.hideAudiobooks"),l,e=>{l=!l,localStorage.setItem(Re,l),e.setState(l),p()});function p(){({podcasts:e,audiobooks:t}={podcasts:a,audiobooks:l}),document.body.classList.toggle("hide-podcasts-enabled",e),document.body.classList.toggle("hide-audiobooks-enabled",t);var e=o,t=(console.debug("=== Tagging podcasts ==="),console.debug("=== (Most of this is done via CSS) ==="),e=e.get("search.title.shows")||"Podcasts",e=Ce(e),console.debug("=== podcastsFilterChip ===",e),e&&e.classList.add("podcast-item"),o);console.debug("=== Tagging audiobooks ==="),console.debug("=== (Most of this is done via CSS) ==="),t=t.get("shared.library.filter.book")||"Audiobooks",(t=Ce(t))&&t.classList.add("audiobook-item")}function g(t){const s=new MutationObserver(function(){var e;n&&(e=(e=>{switch(e){case"/search":return"#searchPage .search-searchBrowse-browseAllWrapper";case"/":return".main-shelf-shelf";default:return"section"}})(t),e=n.querySelector(e))&&(console.debug(t,e),p(),r||s.disconnect())});s.observe(n,{childList:!0,subtree:!0})}new s.SubMenu(e("menu.title"),[h,u,d]).register(),g(i.History.location.pathname),i.History.listen(({pathname:e})=>{console.debug("HidePodcasts: Page changed",e),g(e)})};(async()=>{await Ae()})()})();(async()=>{var e;document.getElementById("hidePodcasts")||((e=document.createElement("style")).id="hidePodcasts",e.textContent=String.raw` +!async function(){for(;!Spicetify.React||!Spicetify.ReactDOM;)await new Promise(e=>setTimeout(e,10));(()=>{var F=Object.create,r=Object.defineProperty,T=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,U=Object.getPrototypeOf,z=Object.prototype.hasOwnProperty,e=(e,t)=>function(){return t||(0,e[l(e)[0]])((t={exports:{}}).exports,t),t.exports},t=(e,t,s)=>{s=null!=e?F(U(e)):{};var i=!t&&e&&e.__esModule?s:r(s,"default",{value:e,enumerable:!0}),o=e,n=void 0,a=void 0;if(o&&"object"==typeof o||"function"==typeof o)for(let e of l(o))z.call(i,e)||e===n||r(i,e,{get:()=>o[e],enumerable:!(a=T(o,e))||a.enumerable});return i},s=e({"external-global-plugin:react"(e,t){t.exports=Spicetify.React}}),e=e({"node_modules/.pnpm/void-elements@3.1.0/node_modules/void-elements/index.js"(e,t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}}}),V={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}},i=class{constructor(e){this.init(e,1{this.observers[e]||(this.observers[e]=new Map);var t=this.observers[e].get(s)||0;this.observers[e].set(s,t+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(i){for(var e=arguments.length,o=new Array(1{var[t,s]=e;for(let e=0;e{var[t,s]=e;for(let e=0;e{s=e,i=t});return e.resolve=s,e.reject=i,e}function g(e){return null==e?"":""+e}function J(e,t,s){e.forEach(e=>{t[e]&&(s[e]=t[e])})}var H=/###/g;function a(e,t,s){function i(e){return e&&-1":">",'"':""","'":"'","/":"/"};function Q(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,e=>B[e]):e}var $=[" ",",","?","!",";"],q=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){var t=this.regExpMap.get(e);return void 0!==t||(t=new RegExp(e),this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,t),this.regExpQueue.push(e)),t}}(20);function G(e,t,s){t=t||"",s=s||"";var i=$.filter(e=>t.indexOf(e)<0&&s.indexOf(e)<0);if(0===i.length)return 1;var o,i=q.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`);let n=!i.test(e);return n||0<(o=e.indexOf(s))&&!i.test(e.substring(0,o))&&(n=!0),n}function f(e,t,s){var n=2t[e]&&0{this.processors[e]&&(t=this.processors[e].process(t,s,i,o))}),t}},n={},P=class extends o{constructor(e){var t=1{s=k&&s!==u?s:O;this.options.missingKeyHandler?this.options.missingKeyHandler(e,r,t,s,C,i):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,r,t,s,C,i),this.emit("missingKey",e,r,t,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&m?t.forEach(t=>{var e=this.pluralResolver.getSuffixes(t,i);w&&i[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(this.options.pluralSeparator+"zero")<0&&e.push(this.options.pluralSeparator+"zero"),e.forEach(e=>{N([t],a+e,i["defaultValue"+e]||L)})}):N(t,a,L))}u=this.extendTranslation(u,s,i,h,o),t&&u===a&&this.options.appendNamespaceToMissingKey&&(u=r+":"+a),(t||e)&&this.options.parseMissingKeyHandler&&(u="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?r+":"+a:a,e?u:void 0):this.options.parseMissingKeyHandler(u))}return e?(h.res=u,h.usedParams=this.getUsedParamsDetails(i),h):u}extendTranslation(s,i,o,n,a){var r=this;if(this.i18nFormat&&this.i18nFormat.parse)s=this.i18nFormat.parse(s,{...this.options.interpolation.defaultVariables,...o},o.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init({...o,interpolation:{...this.options.interpolation,...o.interpolation}});var l="string"==typeof s&&(o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o:this.options).interpolation.skipOnVariables;let e,t=(l&&(h=s.match(this.interpolator.nestingRegexp),e=h&&h.length),o.replace&&"string"!=typeof o.replace?o.replace:o);this.options.interpolation.defaultVariables&&(t={...this.options.interpolation.defaultVariables,...t}),s=this.interpolator.interpolate(s,t,o.lng||this.language,o),l&&(l=(h=s.match(this.interpolator.nestingRegexp))&&h.length,e{if(!this.isValidLookup(p)){t=this.extractFromKey(t,d);const r=t.key;i=r;let e=t.namespaces;this.options.fallbackNS&&(e=e.concat(this.options.fallbackNS));const l=void 0!==d.count&&"string"!=typeof d.count,h=l&&!d.ordinal&&0===d.count&&this.pluralResolver.shouldUseIntlApi(),u=void 0!==d.context&&("string"==typeof d.context||"number"==typeof d.context)&&""!==d.context,s=d.lngs||this.languageUtils.toResolveHierarchy(d.lng||this.language,d.fallbackLng);e.forEach(a=>{this.isValidLookup(p)||(o=a,!n[s[0]+"-"+a]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(n[s[0]+"-"+a]=!0,this.logger.warn(`key "${i}" for languages "${s.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),s.forEach(t=>{if(!this.isValidLookup(p)){c=t;var e,s=[r];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(s,r,t,a,d);else{let e;l&&(e=this.pluralResolver.getSuffix(t,d.count,d));var i,o=this.options.pluralSeparator+"zero",n=this.options.pluralSeparator+"ordinal"+this.options.pluralSeparator;l&&(s.push(r+e),d.ordinal&&0===e.indexOf(n)&&s.push(r+e.replace(n,this.options.pluralSeparator)),h)&&s.push(r+o),u&&(i=""+r+this.options.contextSeparator+d.context,s.push(i),l)&&(s.push(i+e),d.ordinal&&0===e.indexOf(n)&&s.push(i+e.replace(n,this.options.pluralSeparator)),h)&&s.push(i+o)}for(;e=s.pop();)this.isValidLookup(p)||(g=e,p=this.getResource(t,a,e,d))}}))})}}),{res:p,usedKey:i,exactUsedKey:g,usedLng:c,usedNS:o}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,s){var i=3e.toLowerCase()):2===e.length?(e[0]=e[0].toLowerCase(),e[1]=e[1].toUpperCase(),-1{s||(e=this.formatLanguageCode(e),this.options.supportedLngs&&!this.isSupportedCode(e))||(s=e)}),!s&&this.options.supportedLngs&&e.forEach(e=>{if(!s){const t=this.getLanguagePartFromCode(e);if(this.isSupportedCode(t))return s=t;s=this.options.supportedLngs.find(e=>e===t||!(e.indexOf("-")<0&&t.indexOf("-")<0)&&(0{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn("rejecting language code not found in supportedLngs: "+e))};return"string"==typeof e&&(-1{s.indexOf(e)<0&&i(this.formatLanguageCode(e))}),s}},X=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],_={1:function(e){return Number(1{t.lngs.forEach(e=>{s[e]={numbers:t.nr,plurals:_[t.fc]}})}),s}var ee=class{constructor(e){var t=1""+t+e)}getSuffixes(t){let s=1k[e]-k[t]).map(e=>""+this.options.prepend+(s.ordinal?"ordinal"+this.options.prepend:"")+e):e.numbers.map(e=>this.getSuffix(t,e,s)):[]}getSuffix(e,t){var s=2this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return"v1"===this.options.compatibilityJSON?1===s?"":"number"==typeof s?"_plural_"+s.toString():i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&t.toString()?this.options.prepend+t.toString():t.toString()}shouldUseIntlApi(){return!W.includes(this.options.compatibilityJSON)}};function w(e,t,s,i,o){var n,a,r,l=3e),this.init(e)}init(){var e=0e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,this.prefix+"(.+?)"+this.suffix),this.regexpUnescape=e(this.regexpUnescape,""+this.prefix+this.unescapePrefix+"(.+?)"+this.unescapeSuffix+this.suffix),this.nestingRegexp=e(this.nestingRegexp,this.nestingPrefix+"(.+?)"+this.nestingSuffix)}interpolate(i,s,o,n){let a,r,l;const h=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function t(e){return e.replace(/\$/g,"$$$$")}const u=e=>{var t;return e.indexOf(this.formatSeparator)<0?(t=w(s,h,e,this.options.keySeparator,this.options.ignoreJSONStructure),this.alwaysFormat?this.format(t,void 0,o,{...n,...s,interpolationkey:e}):t):(e=(t=e.split(this.formatSeparator)).shift().trim(),t=t.join(this.formatSeparator).trim(),this.format(w(s,h,e,this.options.keySeparator,this.options.ignoreJSONStructure),t,o,{...n,...s,interpolationkey:e}))},d=(this.resetRegExp(),n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler),p=(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n:this.options).interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>t(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?t(this.escape(e)):t(e)}].forEach(e=>{for(l=0;a=e.regex.exec(i);){var t=a[1].trim();if(void 0===(r=u(t)))if("function"==typeof d){var s=d(i,a,n);r="string"==typeof s?s:""}else{if(!n||!Object.prototype.hasOwnProperty.call(n,t)){if(p){r=a[0];continue}this.logger.warn(`missed to pass in variable ${t} for interpolating `+i)}r=""}else"string"==typeof r||this.useRawValueToEscape||(r=g(r));s=e.safeValue(r);if(i=i.replace(a[0],s),p?(e.regex.lastIndex+=r.length,e.regex.lastIndex-=a[0].length):e.regex.lastIndex=0,++l>=this.maxReplaces)break}}),i}nest(s,i){let o=2e.trim()),n[1]=h.shift(),e=h,t=!0),(a=i(l.call(this,n[1].trim(),r),r))&&n[0]===s&&"string"!=typeof a)return a;(a="string"!=typeof a?g(a):a)||(this.logger.warn(`missed to resolve ${n[1]} for nesting `+s),a=""),t&&(a=e.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:n[1].trim()}),a.trim())),s=s.replace(n[0],a),this.regexp.lastIndex=0}return s}};function se(e){let t=e.toLowerCase().trim();const s={};return-1{var t;e&&([e,...t]=e.split(":"),t=t.join(":").trim().replace(/^'+|'+$/g,""),e=e.trim(),s[e]||(s[e]=t),"false"===t&&(s[e]=!1),"true"===t&&(s[e]=!0),isNaN(t)||(s[e]=parseInt(t,10)))})),{formatName:t,formatOptions:s}}function L(n){const a={};return function(e,t,s){var i=t+JSON.stringify(s);let o=a[i];return o||(o=n(m(t),s),a[i]=o),o(e)}}var ie=class{constructor(){var e=0{const s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)}),currency:L((e,t)=>{const s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)}),datetime:L((e,t)=>{const s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)}),relativetime:L((e,t)=>{const s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")}),list:L((e,t)=>{const s=new Intl.ListFormat(e,{...t});return e=>s.format(e)})},this.init(e)}init(e){var t=(1{var{formatName:s,formatOptions:i}=se(s);if(this.formats[s]){let e=t;try{var o=r&&r.formatParams&&r.formatParams[r.interpolationkey]||{},n=o.locale||o.lng||r.locale||r.lng||a;e=this.formats[s](t,n,{...i,...r,...o})}catch(e){this.logger.warn(e)}return e}return this.logger.warn("there was no format function for "+s),t},e)}};function oe(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}var ne=class extends o{constructor(e,t,s){var i=3{let i=!0;t.forEach(e=>{var t=s+"|"+e;!o.reload&&this.store.hasResourceBundle(s,e)?this.state[t]=2:this.state[t]<0||(1===this.state[t]?void 0===a[t]&&(a[t]=!0):(this.state[t]=1,i=!1,void 0===a[t]&&(a[t]=!0),void 0===n[t]&&(n[t]=!0),void 0===l[e]&&(l[e]=!0)))}),i||(r[s]=!0)}),(Object.keys(n).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(n),pending:Object.keys(a),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(l)}}loaded(e,t,s){var i=e.split("|");const o=i[0],n=i[1],a=(t&&this.emit("failedLoading",o,n,t),s&&this.store.addResourceBundle(o,n,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,{});this.queue.forEach(s=>{K(s.loaded,[o],n),oe(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach(t=>{a[t]||(a[t]={});var e=s.loaded[t];e.length&&e.forEach(e=>{void 0===a[t][e]&&(a[t][e]=!0)})}),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(i,o,n){let a=3=this.maxParallelReads)this.waitingReads.push({lng:i,ns:o,fcName:n,tried:a,wait:r,callback:l});else{this.readingCalls++;const s=(e,t)=>{var s;this.readingCalls--,0{this.read.call(this,i,o,n,a+1,2*r,l)},r):l(e,t)};var e=this.backend[n].bind(this.backend);if(2!==e.length)return e(i,o,s);try{var t=e(i,o);t&&"function"==typeof t.then?t.then(e=>s(null,e)).catch(s):s(null,t)}catch(e){s(e)}}}prepareLoading(e,t){var s=2{this.loadOne(e)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(s){let i=1{e&&this.logger.warn(`${i}loading namespace ${n} for language ${o} failed`,e),!e&&t&&this.logger.log(`${i}loaded namespace ${n} for language `+o,t),this.loaded(s,e,t)})}saveMissing(t,s,i,o,n){var a=5{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(s))this.logger.warn(`did not save key "${i}" as the namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=i&&""!==i){if(this.backend&&this.backend.create){a={...a,isUpdate:n},n=this.backend.create.bind(this.backend);if(n.length<6)try{let e;(e=5===n.length?n(t,s,i,o,a):n(t,s,i,o))&&"function"==typeof e.then?e.then(e=>r(null,e)).catch(r):r(null,e)}catch(e){r(e)}else n(t,s,i,o,r,a)}t&&t[0]&&this.store.addResource(t[0],s,i,o)}}};function O(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const s=e[3]||e[2];Object.keys(s).forEach(e=>{t[e]=s[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function C(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function N(){}function ae(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(e=>{"function"==typeof t[e]&&(t[e]=t[e].bind(t))})}var R=class extends o{constructor(){let e=0{this.init(e,t)},0)}}init(){var o=this;let e=0{e.init&&e.init(this)})}this.format=this.options.interpolation.format,s=s||N,!this.options.fallbackLng||this.services.languageDetector||this.options.lng||0<(n=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng)).length&&"dev"!==n[0]&&(this.options.lng=n[0]),this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return o.store[e](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return o.store[e](...arguments),o}});const r=u();t=()=>{var e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),r.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?t():setTimeout(t,0),r}loadResources(e){let t=1{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&i.indexOf(e)<0&&i.push(e)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>o(e)),this.options.preload&&this.options.preload.forEach(e=>o(e)),this.services.backendConnector.load(i,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)})}else t(null)}reloadResources(e,t,s){const i=u();return e=e||this.languages,t=t||this.options.ns,s=s||N,this.services.backendConnector.reload(e,t,e=>{i.resolve(),s(e)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(e.type)return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&b.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this;throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()")}setResolvedLanguage(e){if(e&&this.languages&&!(-1<["cimode","dev"].indexOf(e)))for(let e=0;e{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)}),r=(e,t)=>{t?(a(t),this.translator.changeLanguage(t),this.isLanguageChangingTo=void 0,this.emit("languageChanged",t),this.logger.log("languageChanged",t)):this.isLanguageChangingTo=void 0,n.resolve(function(){return o.t(...arguments)}),i&&i(e,function(){return o.t(...arguments)})};var e=e=>{const t="string"==typeof(e=s||e||!this.services.languageDetector?e:[])?e:this.services.languageUtils.getBestMatchFromCodes(e);t&&(this.language||a(t),this.translator.language||this.translator.changeLanguage(t),this.services.languageDetector)&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(t),this.loadResources(t,e=>{r(e,t)})};return s||!this.services.languageDetector||this.services.languageDetector.async?!s&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(e):this.services.languageDetector.detect(e):e(s):e(this.services.languageDetector.detect()),n}getFixedT(e,t,l){var h=this;function u(e,t){let s;if("object"!=typeof t){for(var i=arguments.length,o=new Array(2""+s.keyPrefix+a+e):s.keyPrefix?""+s.keyPrefix+a+e:e,h.t(r,s)}return"string"==typeof e?u.lng=e:u.lngs=e,u.ns=t,u.keyPrefix=l,u}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){var t=1{e=this.services.backendConnector.state[e+"|"+t];return-1===e||2===e};if(t.precheck){t=t.precheck(this,n);if(void 0!==t)return t}return!!this.hasResourceBundle(s,e)||!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!n(s,e)||i&&!n(o,e)))}loadNamespaces(e,t){const s=u();return this.options.ns?((e="string"==typeof e?[e]:e).forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=u(),i=this.options.preload||[];e=(e="string"==typeof e?[e]:e).filter(e=>i.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return e.length?(this.options.preload=i.concat(e),this.loadResources(e=>{s.resolve(),t&&t(e)}),s):(t&&t(),Promise.resolve())}dir(e){var t;return!(e=e||this.resolvedLanguage||(this.languages&&0{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},s&&(o.store=new y(this.store.data,i),o.services.resourceStore=o.store),o.translator=new P(o.services,i),o.translator.on("*",function(e){for(var t=arguments.length,s=new Array(1",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},he=e=>le[e],M={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(re,he)};var o={type:"3rdParty",init(e){!function(e){var t=0{if(e)for(const t in e)void 0===s[t]&&(s[t]=e[t])}),s}var j=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ge=function(e,t,s,i){var o=4{s=s||{},s.path=s.path||"/",t=encodeURIComponent(t);let i=e+"="+t;if(0{if(null===E)try{E="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){E=!1}return E},ye={name:"localStorage",lookup(e){e=e.lookupLocalStorage;if(e&&ve())return window.localStorage.getItem(e)||void 0},cacheUserLanguage(e,t){t=t.lookupLocalStorage;t&&ve()&&window.localStorage.setItem(t,e)}},D=null,be=()=>{if(null===D)try{D="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){D=!1}return D},xe={name:"sessionStorage",lookup(e){e=e.lookupSessionStorage;if(e&&be())return window.sessionStorage.getItem(e)||void 0},cacheUserLanguage(e,t){t=t.lookupSessionStorage;t&&be()&&window.sessionStorage.setItem(t,e)}},Se={name:"navigator",lookup(e){var t=[];if("undefined"!=typeof navigator){var{languages:s,userLanguage:i,language:o}=navigator;if(s)for(let e=0;ee}}var e=class{constructor(e){var t=1e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=s,this.addDetector(fe),this.addDetector(me),this.addDetector(ye),this.addDetector(xe),this.addDetector(Se),this.addDetector(ke),this.addDetector(we),this.addDetector(Le)}addDetector(e){return this.detectors[e.name]=e,this}detect(e){e=e||this.options.order;let s=[];return e.forEach(t=>{if(this.detectors[t]){let e=this.detectors[t].lookup(this.options);(e=e&&"string"==typeof e?[e]:e)&&(s=s.concat(e))}}),s=s.map(e=>this.options.convertDetectedLanguage(e)),this.services.languageUtils.getBestMatchFromCodes?s:0{this.detectors[e]&&this.detectors[e].cacheUserLanguage(t,this.options)})}},I=(e.type="languageDetector",(t,e)=>{t=localStorage.getItem(t);if(!t)return e;try{return JSON.parse(t)}catch(e){return t}}),Ce=t=>{let s=[];return[".main-yourLibraryX-filters",".main-home-filterChipsContainer .search-searchCategory-catergoryGrid",".search-searchCategory-SearchCategory .search-searchCategory-catergoryGrid"].forEach(e=>{var e=document.querySelector(e);e&&(e=Array.from(e.querySelectorAll("button")).filter(e=>{return console.log("=== btn ===",e),(e.querySelector("span")?.innerText)?.includes(t)}),s=s.concat(e))}),s},t={ca:{translation:{menu:{title:"Amagar podcasts",enabled:"Activat",aggressiveMode:"Mode agressiu"},search:{}}},da:{translation:{menu:{title:"Gem podcasts",enabled:"Aktiveret",aggressiveMode:"Aggressiv indstilling",hideAudiobooks:"Gem lydbøger"},search:{}}},en:{translation:{menu:{title:"Hide podcasts",enabled:"Enabled",aggressiveMode:"Aggressive mode",hideAudiobooks:"Hide audiobooks"},search:{}}},fr:{translation:{menu:{title:"Masquer les podcasts",enabled:"Activé",aggressiveMode:"Mode agressif",hideAudiobooks:"Masquer les livres audio"},search:{}}},de:{translation:{menu:{title:"Podcasts verstecken",enabled:"Aktiviert",aggressiveMode:"Aggressiver Modus"},search:{}}},it:{translation:{menu:{title:"Nascondi podcast",enabled:"Attivato",aggressiveMode:"Modalità aggressiva"},search:{}}},"pt-BR":{translation:{menu:{title:"Esconder podcasts",enabled:"Habilitado",aggressiveMode:"Modo agressivo"},search:{}}},"pl-PL":{translation:{menu:{title:"Schowaj podcasty",enabled:"Włączony",aggressiveMode:"Tryb agresywny"},search:{}}},ru:{translation:{menu:{title:"Скрытие подкастов",enabled:"Включено",aggressiveMode:"Агрессивный режим"},search:{}}},tr:{translation:{menu:{title:"Podcast'leri gizle",enabled:"Etkin",aggressiveMode:"Agresif mod"},search:{}}},"zh-CN":{translation:{menu:{title:"隐藏播客",enabled:"启用",aggressiveMode:"增强模式"},search:{}}}},Ne=(A.use(o).use(e).init({resources:t,detection:{order:["navigator","htmlTag"]},fallbackLng:"en",interpolation:{escapeValue:!1}}),"HidePodcastsEnabled"),Pe="HidePodcastsAggressiveMode",Re="HidePodcastsHideAudioBooks";var Ae=async function(){var e=A["t"];let{Player:t,Menu:s,Platform:i,Locale:o}=Spicetify,n=document.querySelector(".main-view-container__scroll-node-child");for(;!(t&&s&&i&&o&&n);)await new Promise(e=>setTimeout(e,100)),t=Spicetify.Player,s=Spicetify.Menu,i=Spicetify.Platform,o=Spicetify.Locale,n=document.querySelector(".main-view-container__scroll-node-child");console.debug("HidePodcasts: Loaded");let a=I(Ne,!0),r=I(Pe,!1),l=I(Re,!1);var h=new s.Item(e("menu.enabled"),a,e=>{a=!a,localStorage.setItem(Ne,a),e.setState(a),p()}),u=new s.Item(e("menu.aggressiveMode"),r,e=>{r=!r,localStorage.setItem(Pe,r),e.setState(r),location.reload()}),d=new s.Item(e("menu.hideAudiobooks"),l,e=>{l=!l,localStorage.setItem(Re,l),e.setState(l),p()});function p(){({podcasts:e,audiobooks:t}={podcasts:a,audiobooks:l}),document.body.classList.toggle("hide-podcasts-enabled",e),document.body.classList.toggle("hide-audiobooks-enabled",t);var e=o,t=(console.debug("=== Tagging podcasts ==="),console.debug("=== (Most of this is done via CSS) ==="),e=e.get("search.title.shows")||"Podcasts",e=Ce(e),console.debug("=== podcastChips ===",e),e.forEach(e=>{e.classList.add("podcast-item")}),o);console.debug("=== Tagging audiobooks ==="),console.debug("=== (Most of this is done via CSS) ==="),t=t.get("shared.library.filter.book")||"Audiobooks",t=Ce(t),console.debug("=== audiobookChips ===",t),t.forEach(e=>{e.classList.add("audiobook-item")})}function g(t){const s=new MutationObserver(function(){var e;n&&(e=(e=>{switch(e){case"/search":return"#searchPage .search-searchBrowse-browseAllWrapper";case"/":return".main-shelf-shelf";default:return"section"}})(t),e=n.querySelector(e))&&(console.debug(t,e),p(),r||s.disconnect())});s.observe(n,{childList:!0,subtree:!0})}new s.SubMenu(e("menu.title"),[h,u,d]).register(),g(i.History.location.pathname),i.History.listen(({pathname:e})=>{console.debug("HidePodcasts: Page changed",e),g(e)})};(async()=>{await Ae()})()})();(async()=>{var e;document.getElementById("hidePodcasts")||((e=document.createElement("style")).id="hidePodcasts",e.textContent=String.raw` .hide-podcasts-enabled .podcast-item{display:none!important}.hide-podcasts-enabled .queue-tabBar-header a[href="/collection/podcasts"]{display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href^="/episode/"]),.hide-podcasts-enabled .main-shelf-shelf:has(a[href^="/show/"]){visibility:hidden;height:0;min-height:unset;margin:0}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu4i"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu9e"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnuk0"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnuk1"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnuk2"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnujZ"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnuk3"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu3L"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu3N"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu4z"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu4B"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu4x"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu4y"]){display:none!important}.hide-podcasts-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnu3P"]){display:none!important}.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5DAB3zgCauRwnvdEQjJ"],.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5DArNBzkmxXHCqFLx2J"],.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5IMCbQBLjfX9OdDrA5X"],.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5IMCbQBLl5gxKLgufp8"],.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5IMCbQBLyUJhSxhaPc6"],.hide-podcasts-enabled .x-categoryCard-CategoryCard[href="/genre/podcasts-web"]{display:none!important}.hide-podcasts-enabled .main-yourLibraryX-listItem:has(#listrow-title-spotify\:collection\:your-episodes){display:none!important}.hide-audiobooks-enabled .audiobook-item{display:none!important}.hide-audiobooks-enabled .main-shelf-shelf:has(a[href*="0JQ5DAnM3wGh0gz1MXnue2"]){display:none!important}.hide-audiobooks-enabled .x-categoryCard-CategoryCard[href="/genre/0JQ5DAqbMKFETqK4t8f1n3"]{display:none!important} `.trim(),document.head.appendChild(e))})()}(); \ No newline at end of file