{"version":3,"sources":["jsdelivr-header.js","/npm/vue3-directive-shepherd@2.0.1/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,aACA,IAAI,gBAAmB,MAAQ,KAAK,iBAAoB,SAAU,GAC9D,OAAQ,GAAO,EAAI,WAAc,EAAM,CAAE,QAAW,EACxD,EACA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,YAAc,gBAAgB,QAAQ,gBACtC,cAAgB,gBAAgB,QAAQ,gBAC9C,QAAQ,QAAU,CACd,OAAA,CAAQ,EAAK,GACT,MAAM,OAAE,EAAM,QAAE,GAAY,EAC5B,OAAO,QAAQ,GAAS,SAAQ,EAAE,EAAK,MACnC,MAAM,EAAe,IAAI,cAAc,QAAQ,KAAK,QAC9B,IAAX,GACP,OAAO,eAAe,EAAc,aAAc,CAC9C,YAAY,EACZ,cAAc,EACd,UAAU,EACV,MAAO,CAAC,EAAO,KACX,EAAO,KAAK,GAAO,KAAK,EAAG,IAIvC,EAAI,OAAO,iBAAiB,GAAO,EACnC,EAAI,QAAQ,EAAK,EAAa,IAElC,EAAI,UAAU,YAAa,YAAY,QAC3C","file":"/npm/vue3-directive-shepherd@2.0.1/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/vue3-directive-shepherd@2.0.1/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\r\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n    return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst tour_step_1 = __importDefault(require(\"./tour-step\"));\r\nconst shepherd_js_1 = __importDefault(require(\"shepherd.js\"));\r\nexports.default = {\r\n    install(app, options) {\r\n        const { router, tourMap } = options;\r\n        Object.entries(tourMap).forEach(([key, options]) => {\r\n            const shepherdTour = new shepherd_js_1.default.Tour(options);\r\n            if (typeof router !== \"undefined\") {\r\n                Object.defineProperty(shepherdTour, \"routerPush\", {\r\n                    enumerable: false,\r\n                    configurable: false,\r\n                    writable: false,\r\n                    value: (route, cb) => {\r\n                        router.push(route).then(cb);\r\n                    },\r\n                });\r\n            }\r\n            app.config.globalProperties[key] = shepherdTour;\r\n            app.provide(key, shepherdTour);\r\n        });\r\n        app.directive(\"tour-step\", tour_step_1.default);\r\n    },\r\n};\r\n"]}