PHP Classes

File: public/plugins/tokenize2.min.js

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Messenger   public/plugins/tokenize2.min.js   Download  
File: public/plugins/tokenize2.min.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Melis Messenger
Exchange messages between Melis platform users
Author: By
Last change:
Date: 7 days ago
Size: 25,553 bytes
 

Contents

Class file image Download
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=function(b,c){return void 0===c&&(c="undefined"!=typeof window?require("jquery"):require("jquery")(b)),a(c),c}:a(jQuery)}(function(a){function d(c){var d=[];return this.filter("select").each(function(){var e=a(this),f=e.data("tokenize2"),g="object"==typeof c&&c;f||e.data("tokenize2",new b(this,g)),d.push(e.data("tokenize2"))}),d.length>1?d:d[0]}var b=function(c,d){this.control=!1,this.element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.options.tabIndex=-1===this.options.tabIndex?0:this.options.tabIndex,this.options.sortable=1!==this.options.tokensMaxItems&&this.options.sortable,this.bind(),this.trigger("tokenize:load")},c={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,ARROW_UP:38,ARROW_DOWN:40,CTRL:17,MAJ:16};b.VERSION="0.5-beta",b.DEBOUNCE=null,b.DEFAULTS={tokensMaxItems:0,tokensAllowCustom:!1,dropdownMaxItems:10,searchMinLength:0,searchFromStart:!0,searchHighlight:!0,displayNoResultsMessage:!1,noResultsMessageText:'No results mached "%s"',delimiter:",",dataSource:"select",debounce:0,placeholder:!1,sortable:!1,zIndexMargin:500,tabIndex:0},b.prototype.trigger=function(a,b,c,d){this.element.trigger(a,b,c,d)},b.prototype.bind=function(){this.element.on("tokenize:load",{},a.proxy(function(){this.init()},this)).on("tokenize:clear",{},a.proxy(function(){this.clear()},this)).on("tokenize:remap",{},a.proxy(function(){this.remap()},this)).on("tokenize:select",{},a.proxy(function(a,b){this.focus(b)},this)).on("tokenize:deselect",{},a.proxy(function(){this.blur()},this)).on("tokenize:search",{},a.proxy(function(a,b){this.find(b)},this)).on("tokenize:paste",{},a.proxy(function(){this.paste()},this)).on("tokenize:dropdown:up",{},a.proxy(function(){this.dropdownSelectionMove(-1)},this)).on("tokenize:dropdown:down",{},a.proxy(function(){this.dropdownSelectionMove(1)},this)).on("tokenize:dropdown:clear",{},a.proxy(function(){this.dropdownClear()},this)).on("tokenize:dropdown:show",{},a.proxy(function(){this.dropdownShow()},this)).on("tokenize:dropdown:hide",{},a.proxy(function(){this.dropdownHide()},this)).on("tokenize:dropdown:fill",{},a.proxy(function(a,b){this.dropdownFill(b)},this)).on("tokenize:dropdown:itemAdd",{},a.proxy(function(a,b){this.dropdownAddItem(b)},this)).on("tokenize:keypress",{},a.proxy(function(a,b){this.keypress(b)},this)).on("tokenize:keydown",{},a.proxy(function(a,b){this.keydown(b)},this)).on("tokenize:keyup",{},a.proxy(function(a,b){this.keyup(b)},this)).on("tokenize:tokens:reorder",{},a.proxy(function(){this.reorder()},this)).on("tokenize:tokens:add",{},a.proxy(function(a,b,c,d){this.tokenAdd(b,c,d)},this)).on("tokenize:tokens:remove",{},a.proxy(function(a,b){this.tokenRemove(b)},this))},b.prototype.init=function(){this.id=this.guid(),this.element.hide(),this.element.attr("multiple")||console.error("Attribute multiple is missing, tokenize2 can be buggy !"),this.dropdown=void 0,this.searchContainer=a('<li class="token-search" />'),this.input=a('<input autocomplete="off" />').on("keydown",{},a.proxy(function(a){this.trigger("tokenize:keydown",[a])},this)).on("keypress",{},a.proxy(function(a){this.trigger("tokenize:keypress",[a])},this)).on("keyup",{},a.proxy(function(a){this.trigger("tokenize:keyup",[a])},this)).on("focus",{},a.proxy(function(){this.input.val().length>0&&this.trigger("tokenize:search",[this.input.val()])},this)).on("paste",{},a.proxy(function(){this.options.tokensAllowCustom&&setTimeout(a.proxy(function(){this.trigger("tokenize:paste")},this),10)},this)),this.tokensContainer=a('<ul class="tokens-container form-control" />').addClass(this.element.attr("data-class")).attr("tabindex",this.options.tabIndex).append(this.searchContainer.append(this.input)),!1!==this.options.placeholder&&(this.placeholder=a('<li class="placeholder" />').html(this.options.placeholder),this.tokensContainer.prepend(this.placeholder),this.element.on("tokenize:tokens:add tokenize:remap tokenize:select tokenize:deselect tokenize:tokens:remove",a.proxy(function(){this.container.hasClass("focus")||a("li.token",this.tokensContainer).length>0||this.input.val().length>0?this.placeholder.hide():this.placeholder.show()},this))),this.container=a('<div class="tokenize" />').attr("id",this.id),this.container.append(this.tokensContainer).insertAfter(this.element),this.container.focusin(a.proxy(function(b){this.trigger("tokenize:select",[a(b.target)[0]===this.tokensContainer[0]])},this)).focusout(a.proxy(function(){this.trigger("tokenize:deselect")},this)),1===this.options.tokensMaxItems&&this.container.addClass("single"),this.options.sortable&&(void 0!==a.ui?(this.container.addClass("sortable"),this.tokensContainer.sortable({items:"li.token",cursor:"move",placeholder:"token shadow",forcePlaceholderSize:!0,update:a.proxy(function(){this.trigger("tokenize:tokens:reorder")},this),start:a.proxy(function(){this.searchContainer.hide()},this),stop:a.proxy(function(){this.searchContainer.show()},this)})):(this.options.sortable=!1,console.error("jQuery UI is not loaded, sortable option has been disabled"))),this.element.on("tokenize:tokens:add tokenize:tokens:remove",a.proxy(function(){this.options.tokensMaxItems>0&&a("li.token",this.tokensContainer).length>=this.options.tokensMaxItems?this.searchContainer.hide():this.searchContainer.show()},this)).on("tokenize:keydown tokenize:keyup tokenize:loaded",a.proxy(function(){this.scaleInput()},this)),this.trigger("tokenize:remap"),this.trigger("tokenize:tokens:reorder"),this.trigger("tokenize:loaded")},b.prototype.reorder=function(){if(this.options.sortable){var b,c;a.each(this.tokensContainer.sortable("toArray",{attribute:"data-value"}),a.proxy(function(d,e){c=a('option[value="'+e+'"]',this.element),void 0===b?c.prependTo(this.element):b.after(c),b=c},this))}},b.prototype.paste=function(){var b=new RegExp(this.escapeRegex(Array.isArray(this.options.delimiter)?this.options.delimiter.join("|"):this.options.delimiter),"ig");b.test(this.input.val())&&a.each(this.input.val().split(b),a.proxy(function(a,b){this.trigger("tokenize:tokens:add",[b,null,!0])},this))},b.prototype.tokenAdd=function(b,c,d){if(b=this.escape(b),c=c||b,d=d||!1,this.resetInput(),void 0===b||""===b)return this.trigger("tokenize:tokens:error:empty"),this;if(this.options.tokensMaxItems>0&&a("li.token",this.tokensContainer).length>=this.options.tokensMaxItems)return this.trigger("tokenize:tokens:error:max"),this;if(a('li.token[data-value="'+b+'"]',this.tokensContainer).length>0)return this.trigger("tokenize:tokens:error:duplicate",[b,c]),this;if(a('option[value="'+b+'"]',this.element).length)a('option[value="'+b+'"]',this.element).attr("selected","selected").prop("selected",!0);else if(d)this.element.append(a("<option selected />").val(b).html(c));else{if(!this.options.tokensAllowCustom)return this.trigger("tokenize:tokens:error:notokensAllowCustom"),this;this.element.append(a('<option selected data-type="custom" />').val(b).html(c))}return a('<li class="token" />').attr("data-value",b).append("<span>"+c+"</span>").prepend(a('<a class="dismiss" />').on("mousedown touchstart",{},a.proxy(function(a){a.preventDefault(),this.trigger("tokenize:tokens:remove",[b])},this))).insertBefore(this.searchContainer),this.trigger("tokenize:dropdown:hide"),this},b.prototype.tokenRemove=function(b){var c=a('option[value="'+b+'"]',this.element);return"custom"===c.attr("data-type")?c.remove():c.removeAttr("selected").prop("selected",!1),a('li.token[data-value="'+b+'"]',this.tokensContainer).remove(),this.trigger("tokenize:tokens:reorder"),this},b.prototype.remap=function(){return a("option:selected",this.element).each(a.proxy(function(b,c){this.trigger("tokenize:tokens:add",[a(c).val(),a(c).html(),!1])},this)),this},b.prototype.focus=function(a){a&&this.input.focus(),this.container.addClass("focus")},b.prototype.blur=function(){this.isDropdownOpen()&&this.trigger("tokenize:dropdown:hide"),this.container.removeClass("focus"),this.resetPending(),this.tokensContainer.attr("tabindex")||this.tokensContainer.attr("tabindex",this.options.tabIndex)},b.prototype.keydown=function(b){if("keydown"===b.type)switch(b.keyCode){case c.BACKSPACE:if(this.input.val().length<1){if(b.preventDefault(),a("li.token.pending-delete",this.tokensContainer).length>0)this.trigger("tokenize:tokens:remove",[a("li.token.pending-delete",this.tokensContainer).first().attr("data-value")]);else{var d=a("li.token:last",this.tokensContainer);d.length>0&&(this.trigger("tokenize:tokens:markForDelete",[d.attr("data-value")]),d.addClass("pending-delete"))}this.trigger("tokenize:dropdown:hide")}break;case c.TAB:b.shiftKey?this.tokensContainer.removeAttr("tabindex"):this.pressedDelimiter(b);break;case c.ENTER:this.pressedDelimiter(b);break;case c.ESCAPE:this.resetPending();break;case c.ARROW_UP:b.preventDefault(),this.trigger("tokenize:dropdown:up");break;case c.ARROW_DOWN:b.preventDefault(),this.trigger("tokenize:dropdown:down");break;case c.CTRL:this.control=!0;break;default:this.resetPending()}else b.preventDefault()},b.prototype.keyup=function(a){if("keyup"===a.type)switch(a.keyCode){case c.TAB:case c.ENTER:case c.ESCAPE:case c.ARROW_UP:case c.ARROW_DOWN:case c.MAJ:break;case c.CTRL:this.control=!1;break;case c.BACKSPACE:default:this.input.val().length>0?this.trigger("tokenize:search",[this.input.val()]):this.trigger("tokenize:dropdown:hide")}else a.preventDefault()},b.prototype.keypress=function(a){if("keypress"===a.type){var b=!1;Array.isArray(this.options.delimiter)?this.options.delimiter.indexOf(String.fromCharCode(a.which))>=0&&(b=!0):String.fromCharCode(a.which)===this.options.delimiter&&(b=!0),b&&this.pressedDelimiter(a)}else a.preventDefault()},b.prototype.pressedDelimiter=function(b){this.resetPending(),this.isDropdownOpen()&&a("li.active",this.dropdown).length>0&&!1===this.control?(b.preventDefault(),a("li.active a",this.dropdown).trigger("mousedown")):this.input.val().length>0&&(b.preventDefault(),this.trigger("tokenize:tokens:add",[this.input.val()]))},b.prototype.find=function(a){if(a.length<this.options.searchMinLength)return this.trigger("tokenize:dropdown:hide"),!1;this.lastSearchTerms=a,"select"===this.options.dataSource?this.dataSourceLocal(a):"function"==typeof this.options.dataSource?this.options.dataSource(a,this):this.dataSourceRemote(a)},b.prototype.dataSourceRemote=function(b){this.debounce(a.proxy(function(){void 0!==this.xhr&&this.xhr.abort(),this.xhr=a.ajax(this.options.dataSource,{data:{search:b},dataType:"json",success:a.proxy(function(b){var c=[];a.each(b,function(a,b){c.push(b)}),this.trigger("tokenize:dropdown:fill",[c])},this)})},this),this.options.debounce)},b.prototype.dataSourceLocal=function(b){var c=this.transliteration(b),d=[],e=(this.options.searchFromStart?"^":"")+this.escapeRegex(c),f=new RegExp(e,"i"),g=this;a("option",this.element).not(":selected, :disabled").each(function(){f.test(g.transliteration(a(this).html()))&&d.push({value:a(this).attr("value"),text:a(this).html()})}),this.trigger("tokenize:dropdown:fill",[d])},b.prototype.debounce=function(b,c){var d=arguments,e=a.proxy(function(){b.apply(this,d),this.debounceTimeout=void 0},this);void 0!==this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(e,c||0)},b.prototype.dropdownShow=function(){this.isDropdownOpen()||(a(".tokenize-dropdown").remove(),this.dropdown=a('<div class="tokenize-dropdown dropdown"><ul class="dropdown-menu" /></div>').attr("data-related",this.id),a("body").append(this.dropdown),this.dropdown.show(),this.dropdown.css("z-index",this.calculatezindex()+this.options.zIndexMargin),a(window).on("resize scroll",{},a.proxy(function(){this.dropdownMove()},this)).trigger("resize"),this.trigger("tokenize:dropdown:shown"))},b.prototype.calculatezindex=function(){var a=this.container,b=0;if(!isNaN(parseInt(a.css("z-index")))&&parseInt(a.css("z-index"))>0&&(b=parseInt(a.css("z-index"))),b<1)for(;a.length;)if(a=a.parent(),a.length>0){if(!isNaN(parseInt(a.css("z-index")))&&parseInt(a.css("z-index"))>0)return parseInt(a.css("z-index"));if(a.is("html"))break}return b},b.prototype.dropdownHide=function(){this.isDropdownOpen()&&(a(window).off("resize scroll"),this.dropdown.remove(),this.dropdown=void 0,this.trigger("tokenize:dropdown:hidden"))},b.prototype.dropdownClear=function(){this.dropdown.find(".dropdown-menu li").remove()},b.prototype.dropdownFill=function(b){b&&b.length>0?(this.trigger("tokenize:dropdown:show"),this.trigger("tokenize:dropdown:clear"),a.each(b,a.proxy(function(b,c){a("li.dropdown-item",this.dropdown).length<=this.options.dropdownMaxItems&&this.trigger("tokenize:dropdown:itemAdd",[c])},this)),a("li.active",this.dropdown).length<1&&a("li:first",this.dropdown).addClass("active"),a("li.dropdown-item",this.dropdown).length<1?this.trigger("tokenize:dropdown:hide"):this.trigger("tokenize:dropdown:filled")):this.options.displayNoResultsMessage?(this.trigger("tokenize:dropdown:show"),this.trigger("tokenize:dropdown:clear"),this.dropdown.find(".dropdown-menu").append(a('<li class="dropdown-item locked" />').html(this.options.noResultsMessageText.replace("%s",this.input.val())))):this.trigger("tokenize:dropdown:hide"),a(window).trigger("resize")},b.prototype.dropdownSelectionMove=function(b){if(a("li.active",this.dropdown).length>0)if(a("li.active",this.dropdown).is("li:"+(b>0?"last-child":"first-child")))a("li.active",this.dropdown).removeClass("active"),a("li:"+(b>0?"first-child":"last-child"),this.dropdown).addClass("active");else{var c=a("li.active",this.dropdown);c.removeClass("active"),b>0?c.next().addClass("active"):c.prev().addClass("active")}else a("li:first",this.dropdown).addClass("active")},b.prototype.dropdownAddItem=function(b){if(this.isDropdownOpen()){var c=a('<li class="dropdown-item" />').html(this.dropdownItemFormat(b)).on("mouseover",a.proxy(function(b){b.preventDefault(),b.target=this.fixTarget(b.target),a("li",this.dropdown).removeClass("active"),a(b.target).parent().addClass("active")},this)).on("mouseout",a.proxy(function(){a("li",this.dropdown).removeClass("active")},this)).on("mousedown touchstart",a.proxy(function(b){b.preventDefault(),b.target=this.fixTarget(b.target),this.trigger("tokenize:tokens:add",[a(b.target).attr("data-value"),a(b.target).attr("data-text"),!0])},this));a('li.token[data-value="'+c.find("a").attr("data-value")+'"]',this.tokensContainer).length<1&&(this.dropdown.find(".dropdown-menu").append(c),this.trigger("tokenize:dropdown:itemAdded",[b]))}},b.prototype.fixTarget=function(b){var c=a(b);if(!c.data("value")){var d=c.find("a");if(d.length)return d.get(0);var e=c.parents("[data-value]");if(e.length)return e.get(0)}return c.get(0)},b.prototype.dropdownItemFormat=function(b){if(b.hasOwnProperty("text")){var c="";if(this.options.searchHighlight){var d=new RegExp((this.options.searchFromStart?"^":"")+"("+this.escapeRegex(this.transliteration(this.lastSearchTerms))+")","gi");c=b.text.replace(d,'<span class="tokenize-highlight">$1</span>')}else c=b.text;return a("<a />").html(c).attr({"data-value":b.value,"data-text":b.text})}},b.prototype.dropdownMove=function(){var a=this.tokensContainer.offset(),b=this.tokensContainer.outerHeight(),c=this.tokensContainer.outerWidth();a.top+=b,this.dropdown.css({width:c}).offset(a)},b.prototype.isDropdownOpen=function(){return void 0!==this.dropdown},b.prototype.clear=function(){return a.each(a("li.token",this.tokensContainer),a.proxy(function(b,c){this.trigger("tokenize:tokens:remove",[a(c).attr("data-value")])},this)),this.trigger("tokenize:dropdown:hide"),this},b.prototype.resetPending=function(){var b=a("li.pending-delete:last",this.tokensContainer);b.length>0&&(this.trigger("tokenize:tokens:cancelDelete",[b.attr("data-value")]),b.removeClass("pending-delete"))},b.prototype.scaleInput=function(){this.ctx||(this.ctx=document.createElement("canvas").getContext("2d"));var a,b;this.ctx.font=this.input.css("font-style")+" "+this.input.css("font-variant")+" "+this.input.css("font-weight")+" "+Math.ceil(parseFloat(this.input.css("font-size")))+"px "+this.input.css("font-family"),a=Math.round(this.ctx.measureText(this.input.val()+"M").width)+Math.ceil(parseFloat(this.searchContainer.css("margin-left")))+Math.ceil(parseFloat(this.searchContainer.css("margin-right"))),b=this.tokensContainer.width()-(Math.ceil(parseFloat(this.tokensContainer.css("border-left-width")))+Math.ceil(parseFloat(this.tokensContainer.css("border-right-width"))+Math.ceil(parseFloat(this.tokensContainer.css("padding-left")))+Math.ceil(parseFloat(this.tokensContainer.css("padding-right"))))),a>=b&&(a=b),this.searchContainer.width(a),this.ctx.restore()},b.prototype.resetInput=function(){this.input.val(""),this.scaleInput()},b.prototype.escape=function(a){var b=document.createElement("div");return b.innerHTML=a,a=b.textContent||b.innerText||"",String(a).replace(/["]/g,function(){return'"'})},b.prototype.escapeRegex=function(a){return a.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},b.prototype.guid=function(){function a(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()},b.prototype.toArray=function(){var b=[];return a("option:selected",this.element).each(function(){b.push(a(this).val())}),b},b.prototype.transliteration=function(a){var b={"?":"A","?":"A","À":"A","Á":"A","Â":"A","?":"A","?":"A","?":"A","?":"A","Ã":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","Ä":"A","?":"A","?":"A","Å":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"A","?":"AA","Æ":"AE","?":"AE","?":"AE","?":"AO","?":"AU","?":"AV","?":"AV","?":"AY","?":"B","?":"B","?":"B","?":"B","?":"B","?":"B","?":"B","?":"B","?":"C","?":"C","?":"C","?":"C","?":"C","?":"C","Ç":"C","?":"C","?":"C","?":"C","?":"C","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"D","?":"DZ","?":"DZ","?":"Dz","?":"Dz","?":"E","?":"E","È":"E","É":"E","Ê":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","Ë":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"E","?":"F","?":"F","?":"F","?":"F","?":"F","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"G","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"H","?":"I","?":"I","Ì":"I","Í":"I","Î":"I","?":"I","?":"I","?":"I","?":"I","Ï":"I","?":"I","?":"I","?":"I","?":"I","?":"I","?":"I","?":"I","?":"I","?":"I","?":"J","?":"J","?":"J","?":"J","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"K","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"L","?":"LJ","?":"Lj","?":"M","?":"M","?":"M","?":"M","?":"M","?":"M","?":"M","?":"N","?":"N","?":"N","?":"N","Ñ":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"N","?":"NJ","?":"Nj","?":"O","?":"O","Ò":"O","Ó":"O","Ô":"O","?":"O","?":"O","?":"O","?":"O","Õ":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","Ö":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"O","Ø":"O","?":"O","?":"O","?":"O","?":"O","?":"O","?":"OI","?":"OO","?":"OU","?":"P","?":"P","?":"P","?":"P","?":"P","?":"P","?":"P","?":"P","?":"P","?":"Q","?":"Q","?":"Q","?":"Q","?":"Q","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"R","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"S","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"T","?":"TZ","?":"U","?":"U","Ù":"U","Ú":"U","Û":"U","?":"U","?":"U","?":"U","?":"U","?":"U","Ü":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"U","?":"V","?":"V","?":"V","?":"V","?":"V","?":"V","?":"V","?":"VY","?":"W","?":"W","?":"W","?":"W","?":"W","?":"W","?":"W","?":"W","?":"W","?":"X","?":"X","?":"X","?":"X","?":"Y","?":"Y","?":"Y","Ý":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Y","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"Z","?":"a","?":"a","?":"a","à":"a","á":"a","â":"a","?":"a","?":"a","?":"a","?":"a","ã":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","ä":"a","?":"a","?":"a","å":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"a","?":"aa","æ":"ae","?":"ae","?":"ae","?":"ao","?":"au","?":"av","?":"av","?":"ay","?":"b","?":"b","?":"b","?":"b","?":"b","?":"b","?":"b","?":"b","?":"c","?":"c","?":"c","?":"c","?":"c","?":"c","ç":"c","?":"c","?":"c","?":"c","?":"c","?":"c","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"d","?":"dz","?":"dz","?":"e","?":"e","è":"e","é":"e","ê":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","ë":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"e","?":"f","?":"f","?":"f","?":"f","?":"f","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"g","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"h","?":"hv","?":"i","?":"i","ì":"i","í":"i","î":"i","?":"i","?":"i","?":"i","ï":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"i","?":"j","?":"j","?":"j","?":"j","?":"j","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"k","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"l","?":"lj","?":"m","?":"m","?":"m","?":"m","?":"m","?":"m","?":"m","?":"n","?":"n","?":"n","?":"n","ñ":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"n","?":"nj","?":"o","?":"o","ò":"o","ó":"o","ô":"o","?":"o","?":"o","?":"o","?":"o","õ":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","ö":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"o","ø":"o","?":"o","?":"o","?":"o","?":"o","?":"o","?":"oi","?":"ou","?":"oo","?":"p","?":"p","?":"p","?":"p","?":"p","?":"p","?":"p","?":"p","?":"p","?":"q","?":"q","?":"q","?":"q","?":"q","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"r","?":"s","?":"s","ß":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"s","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"t","?":"tz","?":"u","?":"u","ù":"u","ú":"u","û":"u","?":"u","?":"u","?":"u","?":"u","?":"u","ü":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"u","?":"v","?":"v","?":"v","?":"v","?":"v","?":"v","?":"v","?":"vy","?":"w","?":"w","?":"w","?":"w","?":"w","?":"w","?":"w","?":"w","?":"w","?":"w","?":"x","?":"x","?":"x","?":"x","?":"y","?":"y","?":"y","ý":"y","?":"y","?":"y","?":"y","?":"y","ÿ":"y","?":"y","?":"y","?":"y","?":"y","?":"y","?":"y","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"z","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?","?":"?"},c=function(a){return b[a]||a};return a.replace(/[^\u0000-\u007E]/g,c)};var e=a.fn.tokenize2;a.fn.tokenize2=d,a.fn.tokenize2.Constructor=b,a.fn.tokenize2.noConflict=function(){return a.fn.tokenize2=e,this}});