{"version":3,"names":["document","querySelector","match","cookie","indexOf","documentElement","setAttribute"],"sources":["theme-23-inline-common-head_tag.js"],"sourcesContent":["\n  // Error pages (404) carry no theme meta tag, so they would always render\n  // light. There, follow the saved theme choice (theme_ids cookie) instead.\n  (function () {\n    if (document.querySelector('meta[name=\"discourse_theme_id\"]')) {\n      return;\n    }\n    var match = document.cookie.match(/(?:^|; )theme_ids=([0-9]+)/);\n    if (match && [\"24\", \"27\"].indexOf(match[1]) !== -1) {\n      document.documentElement.setAttribute(\"data-finary-color-mode\", \"dark\");\n    }\n  })();\n"],"mappings":"AACE;AACA;AACA,CAAC,YAAY;EACX,IAAIA,QAAQ,CAACC,aAAa,CAAC,iCAAiC,CAAC,EAAE;IAC7D;EACF;EACA,IAAIC,KAAK,GAAGF,QAAQ,CAACG,MAAM,CAACD,KAAK,CAAC,4BAA4B,CAAC;EAC/D,IAAIA,KAAK,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAACE,OAAO,CAACF,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE;IAClDF,QAAQ,CAACK,eAAe,CAACC,YAAY,CAAC,wBAAwB,EAAE,MAAM,CAAC;EACzE;AACF,CAAC,EAAE,CAAC","ignoreList":[]}