-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
1 lines (1 loc) · 1.25 KB
/
index.js
1
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.VueHintCss=t():e.VueHintCss=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t){"use strict";function r(e,t,r){if(e.setAttribute("aria-label",t.value),!r){var n=!0,o=!1,i=void 0;try{for(var a,u=Object.keys(t.modifiers)[Symbol.iterator]();!(n=(a=u.next()).done);n=!0){var l=a.value;"no_animate"===l&&(l="no-animate"),e.classList.add("hint--"+l)}}catch(f){o=!0,i=f}finally{try{!n&&u["return"]&&u["return"]()}finally{if(o)throw i}}}}function n(e,t){e.removeAttribute("aria-label");var r=!0,n=!1,o=void 0;try{for(var i,a=Object.keys(t.modifiers)[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var u=i.value;"no_animate"===u&&(u="no-animate"),e.classList.remove("hint--"+u)}}catch(l){n=!0,o=l}finally{try{!r&&a["return"]&&a["return"]()}finally{if(n)throw o}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={bind:function(e,t){t.value&&r(e,t)},update:function(e,t){t.value?t.oldValue?r(e,t,!0):r(e,t):n(e,t)}}}])});