/* @license Copyright (C) Exontrol. All rights reserved. */ !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(n="undefined"!=typeof globalThis?globalThis:n||self,t(n.exontrol||{}))}(this,function(n){"use strict";function t(n,t){return o.ToS(n,t)}function e(){return Math.min.apply(null,arguments)}function r(n,r){function i(n,r,o){function i(){return function(n){return null==n}(r)||l1&&s==t.charAt(0)&&s==t.charAt(o-1)){n="";for(var e,r=0,o=(t=t.substr(1,o-2)).length;r