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AAqD,SAAA,CAAiC,IAAApM,EAAAoM,SAAAC,cAAA,SAAsCrM,EAAAsM,MAAA,OAAAvD,EAAAqD,SAAAG,KAAAC,cAAA,oCAAAzD,EAAA0D,QAAAzM,EAAA0M,YAAAN,SAAAO,eAAA,6xBAA05BP,SAAAG,KAAAG,YAAA1M,EAAA,EAAkC,MAAAC,GAAS2M,QAAAC,MAAA,iCAAA5M,EAAA,CAAmD,EAAlmC","sources":["webpack://Novadoc/./node_modules/@kyvg/vue3-notification/dist/index.es.js"],"sourcesContent":["import { defineComponent as y, openBlock as a, createBlock as g, TransitionGroup as x, withCtx as $, renderSlot as T, createElementBlock as p, normalizeStyle as b, resolveDynamicComponent as k, Fragment as _, renderList as B, normalizeClass as D, createElementVNode as N, createCommentVNode as H } from \"vue\";\nfunction M(t) {\n  return { all: t = t || /* @__PURE__ */ new Map(), on: function(e, i) {\n    var s = t.get(e);\n    s ? s.push(i) : t.set(e, [i]);\n  }, off: function(e, i) {\n    var s = t.get(e);\n    s && (i ? s.splice(s.indexOf(i) >>> 0, 1) : t.set(e, []));\n  }, emit: function(e, i) {\n    var s = t.get(e);\n    s && s.slice().map(function(n) {\n      n(i);\n    }), (s = t.get(\"*\")) && s.slice().map(function(n) {\n      n(e, i);\n    });\n  } };\n}\nconst d = M(), C = /* @__PURE__ */ new Map(), w = {\n  x: [\"left\", \"center\", \"right\"],\n  y: [\"top\", \"bottom\"]\n}, R = ((t) => () => t++)(0), V = (t) => typeof t != \"string\" ? [] : t.split(/\\s+/gi).filter((e) => e), W = (t) => {\n  typeof t == \"string\" && (t = V(t));\n  let e = null, i = null;\n  return t.forEach((s) => {\n    w.y.indexOf(s) !== -1 && (i = s), w.x.indexOf(s) !== -1 && (e = s);\n  }), { x: e, y: i };\n};\nclass Y {\n  constructor(e, i, s) {\n    this.remaining = i, this.callback = e, this.notifyItem = s, this.resume();\n  }\n  pause() {\n    clearTimeout(this.notifyItem.timer), this.remaining -= Date.now() - this.start;\n  }\n  resume() {\n    this.start = Date.now(), clearTimeout(this.notifyItem.timer), this.notifyItem.timer = setTimeout(this.callback, this.remaining);\n  }\n}\nconst m = {\n  position: [\"top\", \"right\"],\n  cssAnimation: \"vn-fade\",\n  velocityAnimation: {\n    enter: (t) => ({\n      height: [t.clientHeight, 0],\n      opacity: [1, 0]\n    }),\n    leave: {\n      height: 0,\n      opacity: [0, 1]\n    }\n  }\n}, j = y({\n  name: \"velocity-group\",\n  emits: [\"after-leave\", \"leave\", \"enter\"],\n  methods: {\n    enter(t, e) {\n      this.$emit(\"enter\", t, e);\n    },\n    leave(t, e) {\n      this.$emit(\"leave\", t, e);\n    },\n    afterLeave() {\n      this.$emit(\"after-leave\");\n    }\n  }\n}), v = (t, e) => {\n  const i = t.__vccOpts || t;\n  for (const [s, n] of e)\n    i[s] = n;\n  return i;\n};\nfunction G(t, e, i, s, n, c) {\n  return a(), g(x, {\n    tag: \"span\",\n    css: !1,\n    onEnter: t.enter,\n    onLeave: t.leave,\n    onAfterLeave: t.afterLeave\n  }, {\n    default: $(() => [\n      T(t.$slots, \"default\")\n    ]),\n    _: 3\n  }, 8, [\"onEnter\", \"onLeave\", \"onAfterLeave\"]);\n}\nconst z = /* @__PURE__ */ v(j, [[\"render\", G]]), F = y({\n  name: \"css-group\",\n  inheritAttrs: !1,\n  props: {\n    name: { type: String, required: !0 }\n  }\n});\nfunction P(t, e, i, s, n, c) {\n  return a(), g(x, {\n    tag: \"span\",\n    name: t.name\n  }, {\n    default: $(() => [\n      T(t.$slots, \"default\")\n    ]),\n    _: 3\n  }, 8, [\"name\"]);\n}\nconst q = /* @__PURE__ */ v(F, [[\"render\", P]]), h = \"[-+]?[0-9]*.?[0-9]+\", L = [\n  {\n    name: \"px\",\n    regexp: new RegExp(`^${h}px$`)\n  },\n  {\n    name: \"%\",\n    regexp: new RegExp(`^${h}%$`)\n  },\n  /**\n   * Fallback option\n   * If no suffix specified, assigning \"px\"\n   */\n  {\n    name: \"px\",\n    regexp: new RegExp(`^${h}$`)\n  }\n], J = (t) => {\n  if (t === \"auto\")\n    return {\n      type: t,\n      value: 0\n    };\n  for (let e = 0; e < L.length; e++) {\n    const i = L[e];\n    if (i.regexp.test(t))\n      return {\n        type: i.name,\n        value: parseFloat(t)\n      };\n  }\n  return {\n    type: \"\",\n    value: t\n  };\n}, K = (t) => {\n  switch (typeof t) {\n    case \"number\":\n      return { type: \"px\", value: t };\n    case \"string\":\n      return J(t);\n    default:\n      return { type: \"\", value: t };\n  }\n}, f = {\n  IDLE: 0,\n  DESTROYED: 2\n}, Q = y({\n  name: \"notifications\",\n  components: {\n    VelocityGroup: z,\n    CssGroup: q\n  },\n  props: {\n    group: {\n      type: String,\n      default: \"\"\n    },\n    width: {\n      type: [Number, String],\n      default: 300\n    },\n    reverse: {\n      type: Boolean,\n      default: !1\n    },\n    position: {\n      type: [String, Array],\n      default: m.position\n    },\n    classes: {\n      type: String,\n      default: \"vue-notification\"\n    },\n    animationType: {\n      type: String,\n      default: \"css\"\n    },\n    animation: {\n      type: Object,\n      default: m.velocityAnimation\n    },\n    animationName: {\n      type: String,\n      default: m.cssAnimation\n    },\n    speed: {\n      type: Number,\n      default: 300\n    },\n    /* Todo */\n    cooldown: {\n      type: Number,\n      default: 0\n    },\n    duration: {\n      type: Number,\n      default: 3e3\n    },\n    delay: {\n      type: Number,\n      default: 0\n    },\n    max: {\n      type: Number,\n      default: 1 / 0\n    },\n    ignoreDuplicates: {\n      type: Boolean,\n      default: !1\n    },\n    closeOnClick: {\n      type: Boolean,\n      default: !0\n    },\n    pauseOnHover: {\n      type: Boolean,\n      default: !1\n    }\n  },\n  emits: [\"click\", \"destroy\", \"start\"],\n  data() {\n    return {\n      list: [],\n      velocity: C.get(\"velocity\"),\n      timerControl: null\n    };\n  },\n  computed: {\n    actualWidth() {\n      return K(this.width);\n    },\n    isVA() {\n      return this.animationType === \"velocity\";\n    },\n    componentName() {\n      return this.isVA ? \"velocity-group\" : \"css-group\";\n    },\n    styles() {\n      const { x: t, y: e } = W(this.position), i = this.actualWidth.value, s = this.actualWidth.type, n = {\n        width: i + s\n      };\n      return e && (n[e] = \"0px\"), t && (t === \"center\" ? n.left = `calc(50% - ${+i / 2}${s})` : n[t] = \"0px\"), n;\n    },\n    active() {\n      return this.list.filter((t) => t.state !== f.DESTROYED);\n    },\n    botToTop() {\n      return this.styles.hasOwnProperty(\"bottom\");\n    }\n  },\n  mounted() {\n    d.on(\"add\", this.addItem), d.on(\"close\", this.closeItem);\n  },\n  methods: {\n    destroyIfNecessary(t) {\n      this.$emit(\"click\", t), this.closeOnClick && this.destroy(t);\n    },\n    pauseTimeout() {\n      var t;\n      this.pauseOnHover && ((t = this.timerControl) == null || t.pause());\n    },\n    resumeTimeout() {\n      var t;\n      this.pauseOnHover && ((t = this.timerControl) == null || t.resume());\n    },\n    addItem(t = {}) {\n      if (t.group || (t.group = \"\"), t.data || (t.data = {}), this.group !== t.group)\n        return;\n      if (t.clean || t.clear) {\n        this.destroyAll();\n        return;\n      }\n      const e = typeof t.duration == \"number\" ? t.duration : this.duration, i = typeof t.speed == \"number\" ? t.speed : this.speed, s = typeof t.ignoreDuplicates == \"boolean\" ? t.ignoreDuplicates : this.ignoreDuplicates, { title: n, text: c, type: o, data: l, id: I } = t, r = {\n        id: I || R(),\n        title: n,\n        text: c,\n        type: o,\n        state: f.IDLE,\n        speed: i,\n        length: e + 2 * i,\n        data: l\n      };\n      e >= 0 && (this.timerControl = new Y(() => this.destroy(r), r.length, r));\n      const O = this.reverse ? !this.botToTop : this.botToTop;\n      let u = -1;\n      const S = this.active.some((E) => E.title === t.title && E.text === t.text);\n      (!s || !S) && (O ? (this.list.push(r), this.$emit(\"start\", r), this.active.length > this.max && (u = 0)) : (this.list.unshift(r), this.$emit(\"start\", r), this.active.length > this.max && (u = this.active.length - 1)), u !== -1 && this.destroy(this.active[u]));\n    },\n    closeItem(t) {\n      this.destroyById(t);\n    },\n    notifyClass(t) {\n      return [\n        \"vue-notification-template\",\n        this.classes,\n        t.type || \"\"\n      ];\n    },\n    notifyWrapperStyle(t) {\n      return this.isVA ? void 0 : { transition: `all ${t.speed}ms` };\n    },\n    destroy(t) {\n      clearTimeout(t.timer), t.state = f.DESTROYED, this.clean(), this.$emit(\"destroy\", t);\n    },\n    destroyById(t) {\n      const e = this.list.find((i) => i.id === t);\n      e && this.destroy(e);\n    },\n    destroyAll() {\n      this.active.forEach(this.destroy);\n    },\n    getAnimation(t, e) {\n      var s;\n      const i = (s = this.animation) == null ? void 0 : s[t];\n      return typeof i == \"function\" ? i.call(this, e) : i;\n    },\n    enter(t, e) {\n      if (!this.isVA)\n        return;\n      const i = this.getAnimation(\"enter\", t);\n      this.velocity(t, i, {\n        duration: this.speed,\n        complete: e\n      });\n    },\n    leave(t, e) {\n      if (!this.isVA)\n        return;\n      const i = this.getAnimation(\"leave\", t);\n      this.velocity(t, i, {\n        duration: this.speed,\n        complete: e\n      });\n    },\n    clean() {\n      this.list = this.list.filter((t) => t.state !== f.DESTROYED);\n    }\n  }\n});\nconst U = [\"data-id\"], X = [\"onClick\"], Z = [\"innerHTML\"], tt = [\"innerHTML\"];\nfunction et(t, e, i, s, n, c) {\n  return a(), p(\"div\", {\n    class: \"vue-notification-group\",\n    style: b(t.styles)\n  }, [\n    (a(), g(k(t.componentName), {\n      name: t.animationName,\n      onEnter: t.enter,\n      onLeave: t.leave,\n      onAfterLeave: t.clean\n    }, {\n      default: $(() => [\n        (a(!0), p(_, null, B(t.active, (o) => (a(), p(\"div\", {\n          key: o.id,\n          class: \"vue-notification-wrapper\",\n          style: b(t.notifyWrapperStyle(o)),\n          \"data-id\": o.id,\n          onMouseenter: e[0] || (e[0] = (...l) => t.pauseTimeout && t.pauseTimeout(...l)),\n          onMouseleave: e[1] || (e[1] = (...l) => t.resumeTimeout && t.resumeTimeout(...l))\n        }, [\n          T(t.$slots, \"body\", {\n            class: D([t.classes, o.type]),\n            item: o,\n            close: () => t.destroy(o)\n          }, () => [\n            N(\"div\", {\n              class: D(t.notifyClass(o)),\n              onClick: (l) => t.destroyIfNecessary(o)\n            }, [\n              o.title ? (a(), p(\"div\", {\n                key: 0,\n                class: \"notification-title\",\n                innerHTML: o.title\n              }, null, 8, Z)) : H(\"\", !0),\n              N(\"div\", {\n                class: \"notification-content\",\n                innerHTML: o.text\n              }, null, 8, tt)\n            ], 10, X)\n          ])\n        ], 44, U))), 128))\n      ]),\n      _: 3\n    }, 40, [\"name\", \"onEnter\", \"onLeave\", \"onAfterLeave\"]))\n  ], 4);\n}\nconst it = /* @__PURE__ */ v(Q, [[\"render\", et]]), A = (t) => {\n  typeof t == \"string\" && (t = { title: \"\", text: t }), typeof t == \"object\" && d.emit(\"add\", t);\n};\nA.close = (t) => {\n  d.emit(\"close\", t);\n};\nconst rt = () => ({ notify: A });\nfunction st(t, e = {}) {\n  Object.entries(e).forEach((s) => C.set(...s));\n  const i = e.name || \"notify\";\n  t.config.globalProperties[\"$\" + i] = A, t.component(e.componentName || \"Notifications\", it);\n}\nconst at = {\n  install: st\n};\nexport {\n  at as default,\n  A as notify,\n  rt as useNotification\n};\n(function(){var o;\"use strict\";try{if(typeof document!=\"undefined\"){var e=document.createElement(\"style\");e.nonce=(o=document.head.querySelector(\"meta[property=csp-nonce]\"))==null?void 0:o.content,e.appendChild(document.createTextNode(\".vue-notification-group{display:block;position:fixed;z-index:5000}.vue-notification-wrapper{display:block;overflow:hidden;width:100%;margin:0;padding:0}.notification-title{font-weight:600}.vue-notification-template{display:block;box-sizing:border-box;background:white;text-align:left}.vue-notification{display:block;box-sizing:border-box;text-align:left;font-size:12px;padding:10px;margin:0 5px 5px;color:#fff;background:#44A4FC;border-left:5px solid #187FE7}.vue-notification.warn{background:#ffb648;border-left-color:#f48a06}.vue-notification.error{background:#E54D42;border-left-color:#b82e24}.vue-notification.success{background:#68CD86;border-left-color:#42a85f}.vn-fade-enter-active,.vn-fade-leave-active,.vn-fade-move{transition:all .5s}.vn-fade-enter-from,.vn-fade-leave-to{opacity:0}\")),document.head.appendChild(e)}}catch(i){console.error(\"vite-plugin-css-injected-by-js\",i)}})();\n"],"names":["M","t","all","Map","on","e","i","s","get","push","set","off","splice","indexOf","emit","slice","map","n","d","C","w","x","y","R","V","split","filter","W","forEach","Y","constructor","this","remaining","callback","notifyItem","resume","pause","clearTimeout","timer","Date","now","start","setTimeout","m","position","cssAnimation","velocityAnimation","enter","height","clientHeight","opacity","leave","j","vue__WEBPACK_IMPORTED_MODULE_0__","pM","name","emits","methods","$emit","afterLeave","v","__vccOpts","G","c","uX","Wv","vue__WEBPACK_IMPORTED_MODULE_1__","F","tag","css","onEnter","onLeave","onAfterLeave","default","k6","RG","$slots","_","z","inheritAttrs","props","type","String","required","P","q","h","L","regexp","RegExp","J","value","length","test","parseFloat","K","f","IDLE","DESTROYED","Q","components","VelocityGroup","CssGroup","group","width","Number","reverse","Boolean","Array","classes","animationType","animation","Object","animationName","speed","cooldown","duration","delay","max","ignoreDuplicates","closeOnClick","pauseOnHover","data","list","velocity","timerControl","computed","actualWidth","isVA","componentName","styles","left","active","state","botToTop","hasOwnProperty","mounted","addItem","closeItem","destroyIfNecessary","destroy","pauseTimeout","resumeTimeout","clean","clear","destroyAll","title","text","o","l","id","I","r","O","u","S","some","E","unshift","destroyById","notifyClass","notifyWrapperStyle","transition","find","getAnimation","call","complete","U","X","Z","tt","et","CE","class","style","vue__WEBPACK_IMPORTED_MODULE_2__","Tr","$y","FK","pI","key","onMouseenter","onMouseleave","C4","item","close","Lk","onClick","innerHTML","Q3","it","A","rt","notify","st","entries","config","globalProperties","component","at","install","document","createElement","nonce","head","querySelector","content","appendChild","createTextNode","console","error"],"sourceRoot":""}