{"version":3,"file":"createPlugin.cjs","sources":["../../../../../../../../node_modules/tailwindcss/lib/util/createPlugin.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n    value: true\n});\nObject.defineProperty(exports, \"default\", {\n    enumerable: true,\n    get: function() {\n        return _default;\n    }\n});\nfunction createPlugin(plugin, config) {\n    return {\n        handler: plugin,\n        config\n    };\n}\ncreatePlugin.withOptions = function(pluginFunction, configFunction = ()=>({})) {\n    const optionsFunction = function(options) {\n        return {\n            __options: options,\n            handler: pluginFunction(options),\n            config: configFunction(options)\n        };\n    };\n    optionsFunction.__isOptionsFunction = true;\n    // Expose plugin dependencies so that `object-hash` returns a different\n    // value if anything here changes, to ensure a rebuild is triggered.\n    optionsFunction.__pluginFunction = pluginFunction;\n    optionsFunction.__configFunction = configFunction;\n    return optionsFunction;\n};\nconst _default = createPlugin;\n"],"names":[],"mappings":";;;;;AACA,CAAA,MAAM,CAAC,cAAc,CAAU,OAAA,EAAA,YAAY,EAAE;KACzC,KAAK,EAAE,IAAI;AACf,EAAC,CAAC,CAAC;AACH,CAAA,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;KACtC,UAAU,EAAE,IAAI;KAChB,GAAG,EAAE,WAAW;SACZ,OAAO,QAAQ,CAAC;MACnB;AACL,EAAC,CAAC,CAAC;AACH,CAAA,SAAS,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE;AACtC,KAAI,OAAO;SACH,OAAO,EAAE,MAAM;AACvB,SAAQ,MAAM;AACd,MAAK,CAAC;EACL;CACD,YAAY,CAAC,WAAW,GAAG,SAAS,cAAc,EAAE,cAAc,GAAG,KAAK,EAAE,CAAC,EAAE;AAC/E,KAAI,MAAM,eAAe,GAAG,SAAS,OAAO,EAAE;AAC9C,SAAQ,OAAO;aACH,SAAS,EAAE,OAAO;AAC9B,aAAY,OAAO,EAAE,cAAc,CAAC,OAAO,CAAC;AAC5C,aAAY,MAAM,EAAE,cAAc,CAAC,OAAO,CAAC;AAC3C,UAAS,CAAC;AACV,MAAK,CAAC;AACN,KAAI,eAAe,CAAC,mBAAmB,GAAG,IAAI,CAAC;AAC/C;AACA;AACA,KAAI,eAAe,CAAC,gBAAgB,GAAG,cAAc,CAAC;AACtD,KAAI,eAAe,CAAC,gBAAgB,GAAG,cAAc,CAAC;KAClD,OAAO,eAAe,CAAC;AAC3B,EAAC,CAAC;CACF,MAAM,QAAQ,GAAG,YAAY,CAAA;;;","x_google_ignoreList":[0]}