Files
Testing/tbb/wp-content/plugins/squirrly-seo/view/assets/js/sqbootstrap.min.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

43 lines
20 KiB
JavaScript

if("undefined"===typeof jQuery)throw Error("Bootstrap's JavaScript requires jQuery");if("undefined"===typeof SQ_DEBUG)var SQ_DEBUG=!1;
+function(c){var g=c.fn.jquery.split(" ")[0].split(".");if(2>g[0]&&9>g[1]||1==g[0]&&9==g[1]&&1>g[2]||3<g[0])throw Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4");c.fn.emulateTransitionEnd||(c.fn.emulateTransitionEnd=function(g){var b=!1,a=this;c(this).one(c.support.transition.end,function(){b=!0});setTimeout(function(){b||c(a).trigger(c.support.transition.end)},g);return this})}(jQuery);
+function(c){function g(a){return this.each(function(){var b=c(this),d=b.data("bs.sqtab");d||b.data("bs.sqtab",d=new m(this));if("string"==typeof a)d[a]()})}function t(a,b){this.isInit=!0;this.itemsArray=[];this.$element=c(a);this.$element.hide();this.multiple=(this.isSelect="SELECT"===a.tagName)&&a.hasAttribute("multiple");this.objectItems=b&&b.itemValue;this.placeholderText=a.hasAttribute("placeholder")?this.$element.attr("placeholder"):"";this.inputSize=Math.max(1,this.placeholderText.length);
this.$container=c('<div class="sq-bootstrap-tagsinput sq-input-group sq-input-group-lg"></div>');this.$input=c('<input type="text" placeholder="'+this.placeholderText+'"/>').appendTo(this.$container);this.$element.before(this.$container);this.build(b);this.isInit=!1}function b(a,b){if("function"!==typeof a[b]){var c=a[b];a[b]=function(a){return a[c]}}}function a(a,b){if("function"!==typeof a[b]){var c=a[b];a[b]=function(){return c}}}function d(a){return a?(a=q.text(a).html(),a=a.replace(/[\"]/g,"&quot;")):
""}function f(a){var b=0;if(document.selection)a.focus(),b=document.selection.createRange(),b.moveStart("character",-a.value.length),b=b.text.length;else if(a.selectionStart||"0"==a.selectionStart)b=a.selectionStart;return b}function n(a,b){var d=!1;c.each(b,function(b,c){if("number"===typeof c&&a.which===c)return d=!0,!1;if(a.which===c.which){var h=!c.hasOwnProperty("altKey")||a.altKey===c.altKey,f=!c.hasOwnProperty("shiftKey")||a.shiftKey===c.shiftKey,g=!c.hasOwnProperty("ctrlKey")||a.ctrlKey===
c.ctrlKey;if(h&&f&&g)return d=!0,!1}});return d}var m=function(a){this.element=c(a)};m.VERSION="1.0.0";m.TRANSITION_DURATION=150;m.prototype.show=function(){var a=this.element,b=a.closest("ul:not(.dropdown-menu)"),d=a.data("target");d||(d=(d=a.attr("href"))&&d.replace(/.*(?=#[^\s]*$)/,""));if(!a.parent("li").hasClass("active")){var e=b.find(".active:last a"),l=c.Event("hide.bs.sqtab",{relatedTarget:a[0]}),f=c.Event("show.bs.sqtab",{relatedTarget:e[0]});e.trigger(l);a.trigger(f);f.isDefaultPrevented()||
l.isDefaultPrevented()||(d=c(document).find(d),this.activate(a,b),this.activate(d,d.parent(),function(){e.trigger({type:"hidden.bs.sqtab",relatedTarget:a[0]});a.trigger({type:"shown.bs.sqtab",relatedTarget:e[0]})}))}};m.prototype.activate=function(a,b,d){function e(){l.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="sqtab"]').attr("aria-expanded",!1);a.addClass("active").find('[data-toggle="sqtab"]').attr("aria-expanded",!0);f?(a[0].offsetWidth,
a.addClass("in")):a.removeClass("fade");a.parent(".dropdown-menu").length&&a.closest("li.dropdown").addClass("active").end().find('[data-toggle="sqtab"]').attr("aria-expanded",!0);d&&d()}var l=b.find(".active"),f=d&&c.support.transition&&(l.length&&l.hasClass("fade")||!!b.find("> .fade").length);l.length&&f?l.one("bsTransitionEnd",e).emulateTransitionEnd(m.TRANSITION_DURATION):e();l.removeClass("in")};var k=c.fn.sqtab;c.fn.sqtab=g;c.fn.sqtab.Constructor=m;c.fn.sqtab.noConflict=function(){c.fn.sqtab=
k;return this};c(document).on("click.bs.sqtab.data-api",'[data-toggle="sqtab"]',function(a){a.preventDefault();g.call(c(this),"show")});var p={tagClass:function(a){return"label label-info"},focusClass:"focus",itemValue:function(a){return a?a.toString():a},itemText:function(a){return this.itemValue(a)},itemTitle:function(a){return null},freeInput:!0,addOnBlur:!0,maxTags:void 0,maxChars:void 0,confirmKeys:[13,44],delimiter:",",delimiterRegex:null,cancelConfirmKeysOnEmpty:!1,onTagExists:function(a,b){b.hide().fadeIn()},
trimValue:!1,allowDuplicates:!1,triggerChange:!0};t.prototype={constructor:t,add:function(a,b,f){var e=this;if(!(e.options.maxTags&&e.itemsArray.length>=e.options.maxTags||!1!==a&&!a)){"string"===typeof a&&e.options.trimValue&&(a=c.trim(a));if("object"===typeof a&&!e.objectItems)throw"Can't add objects when itemValue option is not set";if(!a.toString().match(/^\s*$/)){e.isSelect&&!e.multiple&&0<e.itemsArray.length&&e.remove(e.itemsArray[0]);if("string"===typeof a&&"INPUT"===this.$element[0].tagName){var l=
a.split(e.options.delimiterRegex?e.options.delimiterRegex:e.options.delimiter);if(1<l.length){for(a=0;a<l.length;a++)this.add(l[a],!0);b||e.pushVal(e.options.triggerChange);return}}var g=e.options.itemValue(a),l=e.options.itemText(a),r=e.options.tagClass(a),k=e.options.itemTitle(a),m=c.grep(e.itemsArray,function(a){return e.options.itemValue(a)===g})[0];if(m&&!e.options.allowDuplicates)e.options.onTagExists&&(b=c(".sq-tag",e.$container).filter(function(){return c(this).data("item")===m}),e.options.onTagExists(a,
b));else if(!(e.items().toString().length+a.length+1>e.options.maxInputLength)){var n=c.Event("beforeItemAdd",{item:a,cancel:!1,options:f});e.$element.trigger(n);n.cancel||(e.itemsArray.push(a),r=c('<span class="sq-tag '+d(r)+(null!==k?'" title="'+k:"")+'">'+d(l)+'<span data-role="remove"></span></span>'),r.data("item",a),e.findInputWrapper().before(r),r.after(" "),r=c('option[value="'+encodeURIComponent(g)+'"]',e.$element).length||c('option[value="'+d(g)+'"]',e.$element).length,e.isSelect&&!r&&(l=
c("<option selected>"+d(l)+"</option>"),l.data("item",a),l.attr("value",g),e.$element.append(l)),b||e.pushVal(e.options.triggerChange),e.options.maxTags!==e.itemsArray.length&&e.items().toString().length!==e.options.maxInputLength||e.$container.addClass("sq-bootstrap-tagsinput-max"),c(".typeahead, .twitter-typeahead",e.$container).length&&e.$input.typeahead("val",""),this.isInit?e.$element.trigger(c.Event("itemAddedOnInit",{item:a,options:f})):e.$element.trigger(c.Event("itemAdded",{item:a,options:f})))}}}},
remove:function(a,b,d){var e=this;e.objectItems&&(a="object"===typeof a?c.grep(e.itemsArray,function(b){return e.options.itemValue(b)==e.options.itemValue(a)}):c.grep(e.itemsArray,function(b){return e.options.itemValue(b)==a}),a=a[a.length-1]);if(a){var l=c.Event("beforeItemRemove",{item:a,cancel:!1,options:d});e.$element.trigger(l);if(l.cancel)return;c(".sq-tag",e.$container).filter(function(){return c(this).data("item")===a}).remove();c("option",e.$element).filter(function(){return c(this).data("item")===
a}).remove();-1!==c.inArray(a,e.itemsArray)&&e.itemsArray.splice(c.inArray(a,e.itemsArray),1)}b||e.pushVal(e.options.triggerChange);e.options.maxTags>e.itemsArray.length&&e.$container.removeClass("sq-bootstrap-tagsinput-max");e.$element.trigger(c.Event("itemRemoved",{item:a,options:d}))},removeAll:function(){c(".sq-tag",this.$container).remove();for(c("option",this.$element).remove();0<this.itemsArray.length;)this.itemsArray.pop();this.pushVal(this.options.triggerChange)},refresh:function(){var a=
this;c(".sq-tag",a.$container).each(function(){var b=c(this),f=b.data("item"),e=a.options.itemValue(f),l=a.options.itemText(f),g=a.options.tagClass(f);b.attr("class",null);b.addClass("tag "+d(g));b.contents().filter(function(){return 3==this.nodeType})[0].nodeValue=d(l);a.isSelect&&c("option",a.$element).filter(function(){return c(this).data("item")===f}).attr("value",e)})},items:function(){return this.itemsArray},pushVal:function(){var a=this,b=c.map(a.items(),function(b){return a.options.itemValue(b).toString()});
a.$element.val(b,!0);a.options.triggerChange&&a.$element.trigger("change")},build:function(d){var h=this;h.options=c.extend({},p,d);h.objectItems&&(h.options.freeInput=!1);b(h.options,"itemValue");b(h.options,"itemText");a(h.options,"tagClass");if(h.options.typeahead){var g=h.options.typeahead||{};a(g,"source");h.$input.typeahead(c.extend({},g,{source:function(a,b){function e(a){for(var c=[],f=0;f<a.length;f++){var l=h.options.itemText(a[f]);d[l]=a[f];c.push(l)}b(c)}var d=this.map={},f=g.source(a);
c.isFunction(f.success)?f.success(e):c.isFunction(f.then)?f.then(e):c.when(f).then(e)},updater:function(a){h.add(this.map[a]);return this.map[a]},matcher:function(a){return-1!==a.toLowerCase().indexOf(this.query.trim().toLowerCase())},sorter:function(a){return a.sort()},highlighter:function(a){return a.replace(new RegExp("("+this.query+")","gi"),"<strong>$1</strong>")}}))}if(h.options.typeaheadjs){var e=h.options.typeaheadjs;c.isArray(e)||(e=[null,e]);c.fn.typeahead.apply(h.$input,e).on("typeahead:selected",
c.proxy(function(a,b,c){var d=0;e.some(function(a,b){return a.name===c?(d=b,!0):!1});e[d].valueKey?h.add(b[e[d].valueKey]):h.add(b);h.$input.typeahead("val","")},h))}h.$container.on("click",c.proxy(function(a){h.$element.attr("disabled")||h.$input.removeAttr("disabled");h.$input.focus()},h));if(h.options.addOnBlur&&h.options.freeInput)h.$input.on("focusout",c.proxy(function(a){0===c(".typeahead, .twitter-typeahead",h.$container).length&&(h.add(h.$input.val()),h.$input.val(""))},h));h.$container.on({focusin:function(){h.$container.addClass(h.options.focusClass)},
focusout:function(){h.$container.removeClass(h.options.focusClass)}});h.$container.on("keydown","input",c.proxy(function(a){var b=c(a.target),d=h.findInputWrapper();if(h.$element.attr("disabled"))h.$input.attr("disabled","disabled");else{switch(a.which){case 8:0===f(b[0])&&(d=d.prev(),d.length&&h.remove(d.data("item")));break;case 46:0===f(b[0])&&(d=d.next(),d.length&&h.remove(d.data("item")));break;case 37:a=d.prev();0===b.val().length&&a[0]&&(a.before(d),b.focus());break;case 39:a=d.next(),0===
b.val().length&&a[0]&&(a.after(d),b.focus())}d=b.val().length;Math.ceil(d/5);b.attr("size",Math.max(this.inputSize,b.val().length))}},h));h.$container.on("keypress","input",c.proxy(function(a){var b=c(a.target);if(h.$element.attr("disabled"))h.$input.attr("disabled","disabled");else{var d=b.val(),e=h.options.maxChars&&d.length>=h.options.maxChars;h.options.freeInput&&(n(a,h.options.confirmKeys)||e)&&(0!==d.length&&(h.add(e?d.substr(0,h.options.maxChars):d),b.val("")),!1===h.options.cancelConfirmKeysOnEmpty&&
a.preventDefault());a=b.val().length;Math.ceil(a/5);b.attr("size",Math.max(this.inputSize,b.val().length))}},h));h.$container.on("click","[data-role=remove]",c.proxy(function(a){h.$element.attr("disabled")||h.remove(c(a.target).closest(".sq-tag").data("item"))},h));h.options.itemValue===p.itemValue&&("INPUT"===h.$element[0].tagName?h.add(h.$element.val()):c("option",h.$element).each(function(){h.add(c(this).attr("value"),!0)}))},destroy:function(){this.$container.off("keypress","input");this.$container.off("click",
"[role=remove]");this.$container.remove();this.$element.removeData("tagsinput");this.$element.show()},focus:function(){this.$input.focus()},input:function(){return this.$input},findInputWrapper:function(){for(var a=this.$input[0],b=this.$container[0];a&&a.parentNode!==b;)a=a.parentNode;return c(a)}};c.fn.sqtagsinput=function(a,b,d){var e=[];this.each(function(){var f=c(this).data("tagsinput");f?a||b?void 0!==f[a]&&(f=3===f[a].length&&void 0!==d?f[a](b,null,d):f[a](b),void 0!==f&&e.push(f)):e.push(f):
(f=new t(this,a),c(this).data("tagsinput",f),e.push(f),"SELECT"===this.tagName&&c("option",c(this)).attr("selected","selected"),c(this).val(c(this).val()))});return"string"==typeof a?1<e.length?e:e[0]:e};c.fn.sqtagsinput.Constructor=t;var q=c("<div></div>")}(jQuery);
+function(c){var g=function(b,a){this.inState=this.$element=this.hoverState=this.timeout=this.enabled=this.options=this.type=null;this.init("tooltip",b,a)};g.VERSION="3.4.0";g.TRANSITION_DURATION=150;g.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="sq-tooltip" role="tooltip"><div class="sq-tooltip-arrow"></div><div class="sq-tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};g.prototype.init=function(b,
a,d){this.enabled=!0;this.type=b;this.$element=c(a);this.options=this.getOptions(d);this.$viewport=this.options.viewport&&c(document).find(c.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport);this.inState={click:!1,hover:!1,focus:!1};if(this.$element[0]instanceof document.constructor&&!this.options.selector)throw Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");
b=this.options.trigger.split(" ");for(a=b.length;a--;)if(d=b[a],"click"==d)this.$element.on("click."+this.type,this.options.selector,c.proxy(this.toggle,this));else if("manual"!=d){var f="hover"==d?"mouseleave":"focusout";this.$element.on(("hover"==d?"mouseenter":"focusin")+"."+this.type,this.options.selector,c.proxy(this.enter,this));this.$element.on(f+"."+this.type,this.options.selector,c.proxy(this.leave,this))}this.options.selector?this._options=c.extend({},this.options,{trigger:"manual",selector:""}):
this.fixTitle()};g.prototype.getDefaults=function(){return g.DEFAULTS};g.prototype.getOptions=function(b){b=c.extend({},this.getDefaults(),this.$element.data(),b);b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay});return b};g.prototype.getDelegateOptions=function(){var b={},a=this.getDefaults();this._options&&c.each(this._options,function(c,f){a[c]!=f&&(b[c]=f)});return b};g.prototype.enter=function(b){var a=b instanceof this.constructor?b:c(b.currentTarget).data("bs."+this.type);
a||(a=new this.constructor(b.currentTarget,this.getDelegateOptions()),c(b.currentTarget).data("bs."+this.type,a));b instanceof c.Event&&(a.inState["focusin"==b.type?"focus":"hover"]=!0);if(a.tip().hasClass("in")||"in"==a.hoverState)a.hoverState="in";else{clearTimeout(a.timeout);a.hoverState="in";if(!a.options.delay||!a.options.delay.show)return a.show();a.timeout=setTimeout(function(){"in"==a.hoverState&&a.show()},a.options.delay.show)}};g.prototype.isInStateTrue=function(){for(var b in this.inState)if(this.inState[b])return!0;
return!1};g.prototype.leave=function(b){var a=b instanceof this.constructor?b:c(b.currentTarget).data("bs."+this.type);a||(a=new this.constructor(b.currentTarget,this.getDelegateOptions()),c(b.currentTarget).data("bs."+this.type,a));b instanceof c.Event&&(a.inState["focusout"==b.type?"focus":"hover"]=!1);if(!a.isInStateTrue()){clearTimeout(a.timeout);a.hoverState="out";if(!a.options.delay||!a.options.delay.hide)return a.hide();a.timeout=setTimeout(function(){"out"==a.hoverState&&a.hide()},a.options.delay.hide)}};
g.prototype.show=function(){var b=c.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var a=c.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(!b.isDefaultPrevented()&&a){var d=this,b=this.tip(),a=this.getUID(this.type);this.setContent();b.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&b.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,b[0],this.$element[0]):
this.options.placement,f=/\s?auto?\s?/i,n=f.test(a);n&&(a=a.replace(f,"")||"top");b.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this);this.options.container?b.appendTo(c(document).find(this.options.container)):b.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),m=b[0].offsetWidth,k=b[0].offsetHeight;if(n){var n=a,p=this.getPosition(this.$viewport),a="bottom"==a&&f.bottom+k>p.bottom?"top":"top"==a&&f.top-k<p.top?"bottom":
"right"==a&&f.right+m>p.width?"left":"left"==a&&f.left-m<p.left?"right":a;b.removeClass(n).addClass(a)}f=this.getCalculatedOffset(a,f,m,k);this.applyPlacement(f,a);a=function(){var a=d.hoverState;d.$element.trigger("shown.bs."+d.type);d.hoverState=null;"out"==a&&d.leave(d)};c.support.transition&&this.$tip.hasClass("fade")?b.one("bsTransitionEnd",a).emulateTransitionEnd(g.TRANSITION_DURATION):a()}}};g.prototype.applyPlacement=function(b,a){var d=this.tip(),f=d[0].offsetWidth,g=d[0].offsetHeight,m=
parseInt(d.css("margin-top"),10),k=parseInt(d.css("margin-left"),10);isNaN(m)&&(m=0);isNaN(k)&&(k=0);b.top+=m;b.left+=k;c.offset.setOffset(d[0],c.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0);d.addClass("in");var k=d[0].offsetWidth,p=d[0].offsetHeight;"top"==a&&p!=g&&(b.top=b.top+g-p);var q=this.getViewportAdjustedDelta(a,b,k,p);q.left?b.left+=q.left:b.top+=q.top;f=(m=/top|bottom/.test(a))?2*q.left-f+k:2*q.top-g+p;g=m?"offsetWidth":"offsetHeight";d.offset(b);
this.replaceArrow(f,d[0][g],m)};g.prototype.replaceArrow=function(b,a,c){this.arrow().css(c?"left":"top",50*(1-b/a)+"%").css(c?"top":"left","")};g.prototype.setContent=function(){var b=this.tip(),a=this.getTitle();b.find(".sq-tooltip-inner")[this.options.html?"html":"text"](a);b.removeClass("fade in top bottom left right")};g.prototype.hide=function(b){function a(){"in"!=d.hoverState&&f.detach();d.$element&&d.$element.removeAttr("aria-describedby").trigger("hidden.bs."+d.type);b&&b()}var d=this,f=
c(this.$tip),n=c.Event("hide.bs."+this.type);this.$element.trigger(n);if(!n.isDefaultPrevented())return f.removeClass("in"),c.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",a).emulateTransitionEnd(g.TRANSITION_DURATION):a(),this.hoverState=null,this};g.prototype.fixTitle=function(){var b=this.$element;(b.attr("title")||"string"!=typeof b.attr("data-original-title"))&&b.attr("data-original-title",b.attr("title")||"").attr("title","")};g.prototype.hasContent=function(){return this.getTitle()};
g.prototype.getPosition=function(b){b=b||this.$element;var a=b[0],d="BODY"==a.tagName,f=a.getBoundingClientRect();null==f.width&&(f=c.extend({},f,{width:f.right-f.left,height:f.bottom-f.top}));a=window.SVGElement&&a instanceof window.SVGElement;a=d?{top:0,left:0}:a?null:b.offset();b={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()};d=d?{width:c(window).width(),height:c(window).height()}:null;return c.extend({},f,b,d,a)};g.prototype.getCalculatedOffset=function(b,
a,c,f){return"bottom"==b?{top:a.top+a.height,left:a.left+a.width/2-c/2}:"top"==b?{top:a.top-f,left:a.left+a.width/2-c/2}:"left"==b?{top:a.top+a.height/2-f/2,left:a.left-c}:{top:a.top+a.height/2-f/2,left:a.left+a.width}};g.prototype.getViewportAdjustedDelta=function(b,a,c,f){var g={top:0,left:0};if(!this.$viewport)return g;var m=this.options.viewport&&this.options.viewport.padding||0,k=this.getPosition(this.$viewport);/right|left/.test(b)?(c=a.top-m-k.scroll,a=a.top+m-k.scroll+f,c<k.top?g.top=k.top-
c:a>k.top+k.height&&(g.top=k.top+k.height-a)):(f=a.left-m,a=a.left+m+c,f<k.left?g.left=k.left-f:a>k.right&&(g.left=k.left+k.width-a));return g};g.prototype.getTitle=function(){var b=this.$element,a=this.options;return b.attr("data-original-title")||("function"==typeof a.title?a.title.call(b[0]):a.title)};g.prototype.getUID=function(b){do b+=~~(1E6*Math.random());while(document.getElementById(b));return b};g.prototype.tip=function(){if(!this.$tip&&(this.$tip=c(this.options.template),1!=this.$tip.length))throw Error(this.type+
" `template` option must consist of exactly 1 top-level element!");return this.$tip};g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".sq-tooltip-arrow")};g.prototype.enable=function(){this.enabled=!0};g.prototype.disable=function(){this.enabled=!1};g.prototype.toggleEnabled=function(){this.enabled=!this.enabled};g.prototype.toggle=function(b){var a=this;b&&(a=c(b.currentTarget).data("bs."+this.type),a||(a=new this.constructor(b.currentTarget,this.getDelegateOptions()),
c(b.currentTarget).data("bs."+this.type,a)));b?(a.inState.click=!a.inState.click,a.isInStateTrue()?a.enter(a):a.leave(a)):a.tip().hasClass("in")?a.leave(a):a.enter(a)};g.prototype.destroy=function(){var b=this;clearTimeout(this.timeout);this.hide(function(){b.$element.off("."+b.type).removeData("bs."+b.type);b.$tip&&b.$tip.detach();b.$tip=null;b.$arrow=null;b.$viewport=null;b.$element=null})};var t=c.fn.sqtooltip;c.fn.sqtooltip=function(b){return this.each(function(){var a=c(this),d=a.data("bs.tooltip"),
f="object"==typeof b&&b;if(d||!/destroy|hide/.test(b))if(d||a.data("bs.tooltip",d=new g(this,f)),"string"==typeof b)d[b]()})};c.fn.sqtooltip.Constructor=g;c.fn.sqtooltip.noConflict=function(){c.fn.sqtooltip=t;return this}}(jQuery);