vendor: 4,165 bytes, lines 1-11
1(function(){ 2 /* jQuery Easing Plugin */ 3 jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f==0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f==g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f==0){return a}if(f==g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k)==1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158;var j=0;var g=l;if(h==0){return e}if((h/=k/2)==2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;var i=j/4}else{var i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g==undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}}); 4 5 /* jQuery Easing Effects List 6 -------------------------- 7 def, jswing, easeInQuad, easeOutQuad, easeInOutQuad, easeInCubic, easeOutCubic, easeInOutCubic, easeInQuart, easeOutQuart, easeInOutQuart, easeInSine, easeOutSine 8 easeInOutSine, easeInExpo, easeOutExpo, easeInOutExpo, easeInQuint, easeOutQuint, easeInOutQuint, easeInCirc, easeOutCirc, easeInOutCirc, easeInElastic, easeOutElastic 9 easeInOutElastic, easeInBack, easeOutBack, easeInOutBack, easeInBounce, easeOutBounce, easeInOutBounce, 10 */ 11
12 /* jQuery Smarty Drop Menu Plugin */ 13 jQuery.fn.SmartyDropMenu = function(opt) { 14 var opt = jQuery.extend({ 15 dropMenuSubCategoryWidth: 180, /* 320[2], 480[3], 640[4], 800[5] px vs vs.. */ 16 numberOfColumns: 1, 17 extraLeftSpace: 0, /* Ana Link 'de border varsa sub category 'de bulunan boslugu duzenltebiliriz. */ 18 dropMenuEffect: 'show', 19 InEffect : 'easeInSine', 20 OutEffect : 'easeOutSine', 21 speedIn: 500, 22 speedOut: 20, 23 /* Html Selectors */ 24 dropMenuSubCategorySelector: '.dropMenuSubCategory', 25 thirdLevelCategoriesSelector: '.thirdLevelCategories', 26 thirdLevelCategoriesSelectorActive: 'thirdLevelCategoriesActive', 27 dropMenuColumnsSelector: '.dropMenuColumns', 28 dropMenuActiveLinkSelector: 'downMenuActiveLink', 29 dropMenuSubLinkSelector: 'dropMenuSubArrow', 30 byPassLineSelector: 'byPassLine', 31 /* Category Settings */ 32 showOrHideThirdLevelCategory: false, 33 countThirdLevelCategories: 3, 34 removeThirdLevelCategories: false 35 }, opt); 36 var delay = 1000, setTimeoutConst; 37 var el = jQuery(this); 38 jQuery(el).find(opt.dropMenuSubCategorySelector).css({'width':opt.dropMenuSubCategoryWidth+'px'}); 39 40 jQuery(el).find(opt.dropMenuSubCategorySelector).each(function(){ /* Alt Kategorisi Olan Linklere Asagi Ok Ekler. */ 41 if(jQuery(this).find('.dropMenuColumns').length > 0){ 42 jQuery(this).parent().find('> a').addClass(opt.dropMenuSubLinkSelector); 43 } 44 }); 45 dropMenuSubCategoryPosition = function (event) { /* Alt Kategorileri, Ana Basliklarin Bulundugu Yere Gore Konumlandir */ 46 // setTimeoutConst = setTimeout(function () { }, delay + 100); 47 48 //alert('left'); 49 var browserWidth = jQuery(window).width(); 50 var dropMenuSubCategoryLeftPosition = jQuery(event).offset().left; 51 var dropMenuSubCategoryOuterWidth = jQuery(opt.dropMenuSubCategorySelector).outerWidth(); 52 if((browserWidth - dropMenuSubCategoryLeftPosition) < dropMenuSubCategoryOuterWidth) { 53 jQuery(event).find(opt.dropMenuSubCategorySelector).css({'left':'-'+opt.extraLeftSpace+'px','right':'auto'}); 54 }else{ 55 jQuery(event).find(opt.dropMenuSubCategorySelector).css({'left':'-'+opt.extraLeftSpace+'px','right':'auto'}); 56 } 57 58 }, function () { 59 clearTimeout(setTimeoutConst); 60 } 61 62 CategoriesTripping = function (event) { 63 64 65 switch (event) { 66 67 //case "fade": jQuery(el).find(' > ul > li').hover(function () { 68 69 // dropMenuSubCategoryPosition(this); 70 // if(jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0){ 71 // jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true, true).fadeIn(opt.speedIn); 72 // } 73 // jQuery(this).find(' > a').addClass(opt.dropMenuActiveLinkSelector); 74 75 // jQuery(this).find(opt.dropMenuColumnsSelector).each(function(){ 76 // var thirdLevelCategoryLength = jQuery(this).find('.thirdLevelCategories li').length; 77 // if(thirdLevelCategoryLength > 0) { 78 // jQuery(this).find('> a').addClass('dropMenuColumnsTitleActive'); 79 // jQuery(this).hover(function(){ 80 // jQuery(this).find(opt.thirdLevelCategoriesSelector).addClass(opt.thirdLevelCategoriesSelectorActive); 81 // },function(){ 82 // jQuery(this).find(opt.thirdLevelCategoriesSelector).removeClass(opt.thirdLevelCategoriesSelectorActive); 83 // }); 84 // } else { 85 // jQuery(this).find('.thirdLevelCategories').remove(); 86 // jQuery(this).find('> a').removeClass('dropMenuColumnsTitleActive'); 87 // } 88 // }); 89 //},function(){ 90 // if(jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0){ 91 // jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true,true).fadeOut(opt.speedOut); 92 // } 93 // jQuery(this).find(' > a').removeClass(opt.dropMenuActiveLinkSelector); 94 //}); break 95 96 //case "show": jQuery(el).find(' > ul > li').hover(function () { 97 98 99 // dropMenuSubCategoryPosition(this); 100 // if(jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0){ 101 // jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true,true).animate({ 102 // height:"toggle" 103 // },opt.speedIn,opt.OutEffect); 104 // } 105 // jQuery(this).find(' > a').addClass(opt.dropMenuActiveLinkSelector); 106 107 // jQuery(this).find(opt.dropMenuColumnsSelector).each(function(){ 108 // var thirdLevelCategoryLength = jQuery(this).find('.thirdLevelCategories li').length; 109 // if(thirdLevelCategoryLength > 0) { 110 // jQuery(this).find('> a').addClass('dropMenuColumnsTitleActive'); 111 // jQuery(this).hover(function(){ 112 // jQuery(this).find(opt.thirdLevelCategoriesSelector).addClass(opt.thirdLevelCategoriesSelectorActive); 113 // },function(){ 114 // jQuery(this).find(opt.thirdLevelCategoriesSelector).removeClass(opt.thirdLevelCategoriesSelectorActive); 115 // }); 116 // } else { 117 // jQuery(this).find('.thirdLevelCategories').remove(); 118 // jQuery(this).find('> a').removeClass('dropMenuColumnsTitleActive'); 119 // } 120 // }); 121 122 123 //},function(){ 124 // if(jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0){ 125 // jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true,true).animate({ 126 // height:"toggle" 127 // },opt.speedOut,opt.InEffect); 128 // } 129 // jQuery(this).find(' > a').removeClass(opt.dropMenuActiveLinkSelector); 130 //}); break 131 132 /*Default Effect*/ 133 134 135 136 default: jQuery(el).find(' > ul > li').hover(function () { 137 138 139 // alert('burda'); 140 dropMenuSubCategoryPosition(this); 141 142 if (jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0) { 143 144 waitSeconds(350); 145 146 jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true, true).fadeIn(opt.speedIn); 147 } 148 jQuery(this).find(' > a').addClass(opt.dropMenuActiveLinkSelector); 149 150 151 152 }, function () { 153 clearTimeout(setTimeoutConst); 154 if(jQuery(this).find(opt.dropMenuSubCategorySelector + ' ' + opt.dropMenuColumnsSelector).length > 0){ 155 jQuery(this).find(opt.dropMenuSubCategorySelector).stop(true,true).fadeOut(opt.speedOut); 156 } 157 jQuery(this).find(' > a').removeClass(opt.dropMenuActiveLinkSelector); 158 }); 159 } 160 }; 161 function waitSeconds(iMilliSeconds) { 162 var counter= 0 163 , start = new Date().getTime() 164 , end = 0; 165 while (counter < iMilliSeconds) { 166 end = new Date().getTime(); 167 counter = end - start; 168 } 169 } 170
171 CategoriesTripping(opt.dropMenuEffect); 172 173 showOrHideThirdLevelCategory = function (event) { 174 175 if (event == true) { 176 177 jQuery(el).find(opt.thirdLevelCategoriesSelector).each(function () { 178 var thirdLevelCategoriesLi = jQuery(this).find('li').length; 179 if (thirdLevelCategoriesLi > opt.countThirdLevelCategories) { 180 jQuery(this).find('li::gt(' + (opt.countThirdLevelCategories - 1) + ')').remove(); 181 thirdLevelCategoriesLi = jQuery(this).find('li').length 182 jQuery(this).find('li:last-child').after('<li><a class="viewAll" href="' + jQuery(this).parent().find(' > a').attr('href') + '">Tümünü Görüntüle</a></li>'); 183 } 184 }); 185 } 186 187 }; 188 showOrHideThirdLevelCategory(opt.showOrHideThirdLevelCategory); 189 190 byPassControl = function(columns){ 191 jQuery('.dropMenuSubCategory').find('.dropMenuColumns:nth-child('+columns+'n)').after('<div class="_clear"></div>'); 192 } 193 byPassControl(opt.numberOfColumns); 194 195 removeThirdLevelCategories = function(event){ 196 if(event == true){ 197 jQuery(opt.thirdLevelCategoriesSelector).remove(); 198 } 199 }; 200 removeThirdLevelCategories(opt.removeThirdLevelCategories); 201 }; 202})();
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.