1/// store the _GET variables in QueryString object 2var QueryString=getQueryString(); 3function getQueryString(){for(var e={},n=window.location.search.substring(1),o=n.split("&"),t=0;t<o.length;t++){var r=o[t].split("=");if("undefined"==typeof e[r[0]])e[r[0]]=decodeURIComponent(r[1]);else if("string"==typeof e[r[0]]){var i=[e[r[0]],decodeURIComponent(r[1])];e[r[0]]=i}else e[r[0]].push(decodeURIComponent(r[1]))}return e} 4$(window).on('hashchange', function(e){QueryString=getQueryString();}); 5 6/// initialize the datepicker 7jQuery(function($){ 8 if(!$.datepicker) 9 return; 10 $.datepicker.regional['he'] = { 11 closeText: tl('ס××ר'), 12 prevText: tl('<××§×××'), 13 nextText: tl('×××>'), 14 currentText: tl('××××'), 15 monthNames: [tl('×× ××ר'),tl('פ×ר××ר'),tl('×רץ'),tl('×פר××'),tl('×××'),tl('××× ×'), 16 tl('××××'),tl('××××ס×'),tl('ספ×××ר'),tl('×××§×××ר'),tl('× ××××ר'),tl('×צ××ר')], 17 monthNamesShort: [tl('×× ×'),tl('פ×ר'),tl('×רץ'),tl('×פר'),tl('×××'),tl('××× ×'), 18 tl('××××'),tl('×××'),tl('ספ×'),tl('×××§'),tl('× ××'),tl('×צ×')], 19 dayNames: [tl('ר×ש××'),tl('×©× ×'),tl('ש××ש×'),tl('ר×××¢×'),tl('×××ש×'),tl('ש×ש×'),tl('ש×ת')], 20 dayNamesShort: [tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('ש×ת')], 21 dayNamesMin: [tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('×\''),tl('ש×ת')], 22 weekHeader: 'Wk', 23 dateFormat: 'dd/mm/yy', 24 firstDay: 0, 25 isRTL: true, 26 showMonthAfterYear: false, 27 yearSuffix: ''}; 28 $.datepicker.setDefaults($.datepicker.regional['he']); 29}); 30 31 32//color picker translation 33if($.spectrum) { 34(function ( $ ) { 35 var localization = $.spectrum.localization["he"] = { 36 cancelText: "×××××", 37 chooseText: "××ר צ××¢", 38 clearText: "××פ×ס", 39 noColorSelectedText: "×× × ××ר צ××¢", 40 togglePaletteMoreText: "×¢×× ×¦××¢××", 41 togglePaletteLessText: "פ××ת צ××¢××" 42 }; 43 $.extend($.fn.spectrum.defaults, localization); 44})( jQuery ); 45} 46 47// extend the $.addClass and $.removeClass 48// and create $.setClass(className, remove::bool) 49$.fn.setClass=function(className,add){ 50 if(add) 51 return this.addClass(className); 52 else 53 return this.removeClass(className); 54} 55 56 57 58 59function createDropZone(elem,url) { 60 61 var $elem=$('#'+elem); 62 var zone = new FileDrop(elem,{iframe: {url: url},dragOverClass:''}); 63 var input_id='fnd_input_'+$elem.find('form').attr('target'); 64 $elem.find('input[type="file"]').attr('id',input_id).before('<label for="'+input_id+'">'+tl('×§×××¥')+'</label>'); 65 $elem.on('dragover dragenter',function(e){ 66 $elem.addClass('over'); 67 }); 68 $elem.on('dragleave dragend dragexit drop',function(e){ 69 $elem.removeClass('over'); 70 }); 71 72 73 return zone; 74} 75 76function createDropZone2(elem) { 77 var $elem=$('#'+elem); 78 var zone = new FileDrop(elem,{iframe: "",dragOverClass:''}); 79 var input_id='fnd_input_'+$elem.find('form').attr('target'); 80 $elem.find('input[type="file"]').attr('id',input_id).before('<label for="'+input_id+'">'+tl('×§×××¥')+'</label>'); 81 $elem.on('dragover dragenter',function(e){ 82 $elem.addClass('over'); 83 }); 84 $elem.on('dragleave dragend dragexit drop',function(e){ 85 $elem.removeClass('over'); 86 }); 87 88 89 return zone; 90 91} 92 93 94 95function select_all_text_in_element(el) { 96 if (typeof window.getSelection != "undefined" && typeof document.createRange != "undefined") { 97 var range = document.createRange(); 98 range.selectNodeContents(el); 99 var sel = window.getSelection(); 100 sel.removeAllRanges(); 101 sel.addRange(range); 102 } else if (typeof document.selection != "undefined" && typeof document.body.createTextRange != "undefined") { 103 var textRange = document.body.createTextRange(); 104 textRange.moveToElementText(el); 105 textRange.select(); 106 } 107} 108 109 110var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
110+/=",encode:function(r){var t,e,o,a,h,c,n,d="",C=0;for(r=Base64._utf8_encode(r);C<r.length;)a=(t=r.charCodeAt(C++))>>2,h=(3&t)<<4|(e=r.charCodeAt(C++))>>4,c=(15&e)<<2|(o=r.charCodeAt(C++))>>6,n=63&o,isNaN(e)?c=n=64:isNaN(o)&&(n=64),d=d+this._keyStr.charAt(a)+this._keyStr.charAt(h)+this._keyStr.charAt(c)+this._keyStr.charAt(n);return d},decode:function(r){var t,e,o,a,h,c,n="",d=0;for(r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");d<r.length;)t=this._keyStr.indexOf(r.charAt(d++))<<2|(a=this._keyStr.indexOf(r.charAt(d++)))>>4,e=(15&a)<<4|(h=this._keyStr.indexOf(r.charAt(d++)))>>2,o=(3&h)<<6|(c=this._keyStr.indexOf(r.charAt(d++))),n+=String.fromCharCode(t),64!=h&&(n+=String.fromCharCode(e)),64!=c&&(n+=String.fromCharCode(o));return n=Base64._utf8_decode(n)},_utf8_encode:function(r){r=r.replace(/\r\n/g,"\n");for(var t="",e=0;e<r.length;e++){var o=r.charCodeAt(e);o<128?t+=String.fromCharCode(o):(127<o&&o<2048?t+=String.fromCharCode(o>>6|192):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128)),t+=String.fromCharCode(63&o|128))}return t},_utf8_decode:function(r){for(var t="",e=0,o=c1=c2=0;e<r.length;)(o=r.charCodeAt(e))<128?(t+=String.fromCharCode(o),e++):191<o&&o<224?(c2=r.charCodeAt(e+1),t+=String.fromCharCode((31&o)<<6|63&c2),e+=2):(c2=r.charCodeAt(e+1),c3=r.charCodeAt(e+2),t+=String.fromCharCode((15&o)<<12|(63&c2)<<6|63&c3),e+=3);return t}}; 111 112 113
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.