anchor/dist/anchor.umd.min.js

1 line
536 B
JavaScript
Raw Normal View History

2021-01-02 04:25:14 +00:00
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define("umd",n):(e="undefined"!=typeof globalThis?globalThis:e||self).umd=n()}(this,function(){"use strict";return function(e={}){const n=`_${Math.random().toString(36).slice(-6)}_`.toUpperCase(),t=e.global||{};return function(e,i){return!t[n]&&(t[n]=e.register||{},t[n].register=i,(e.mixins||[]).forEach(e=>Object.assign(t[n],e)),t[n])}(e||{},function(e,i){return!(!t[n]||t[n][e])&&(t[n][e]=i)}.bind(t[n]))}});