var e,o;"function"==typeof(e=globalThis.define)&&(o=e,e=null),function(o,n,t,r,i){var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},f="function"==typeof u[r]&&u[r],l=f.cache||{},c="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function s(e,n){if(!l[e]){if(!o[e]){var t="function"==typeof u[r]&&u[r];if(!n&&t)return t(e,!0);if(f)return f(e,!0);if(c&&"string"==typeof e)return c(e);var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}a.resolve=function(n){var t=o[e][1][n];return null!=t?t:n},a.cache={};var d=l[e]=new s.Module(e);o[e][0].call(d.exports,a,d,d.exports,this)}return l[e].exports;function a(e){var o=a.resolve(e);return!1===o?{}:s(o)}}s.isParcelRequire=!0,s.Module=function(e){this.id=e,this.bundle=s,this.exports={}},s.modules=o,s.cache=l,s.parent=f,s.register=function(e,n){o[e]=[function(e,o){o.exports=n},{}]},Object.defineProperty(s,"root",{get:function(){return u[r]}}),u[r]=s;for(var d=0;d<n.length;d++)s(n[d]);if(t){var a=s(t);"object"==typeof exports&&"undefined"!=typeof module?module.exports=a:"function"==typeof e&&e.amd?e(function(){return a}):i&&(this[i]=a)}}({"2R4p8":[function(e,o,n){var t=e("@parcel/transformer-js/src/esmodule-helpers.js");t.defineInteropFlag(n),t.export(n,"config",()=>r);let r={matches:["https://*.xiaohongshu.com/*"],run_at:"document_idle"},i=()=>document.cookie.includes("a1="),u=()=>document.cookie;chrome.runtime.onMessage.addListener((e,o,n)=>{if("GET_XIAOHONGSHU_COOKIE"===e.type){console.log("[Xiaohongshu CS] Received cookie request");let e=u(),o=i();return console.log("[Xiaohongshu CS] Cookie length:",e.length,"Has a1:",o),n({cookie:e,hasA1:o}),!0}})},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,o,n){n.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},n.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.exportAll=function(e,o){return Object.keys(e).forEach(function(n){"default"===n||"__esModule"===n||o.hasOwnProperty(n)||Object.defineProperty(o,n,{enumerable:!0,get:function(){return e[n]}})}),o},n.export=function(e,o,n){Object.defineProperty(e,o,{enumerable:!0,get:n})}},{}]},["2R4p8"],"2R4p8","parcelRequiref116"),globalThis.define=o;