PageSourceSearch

https://www.biarritz.fr/_assets/12f53fa8f50679bb24439162d0bd6569/a…/js/icheck.min.js?1701161283

js biarritz.fr collected 2026-10-02 10:01:57 UTC 5,040 bytes, 10 lines download raw bytes

1/*!
2 * iCheck v1.0.2, http://git.io/arlzeA
3 * ===================================
4 * Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
5 *
6 * (c) 2013 Damir Sultanov, http://fronteed.com
7 * MIT Licensed
8 */
9!function(e){var i="touchbegin.i touchend.i",t="addClass",a="removeClass",r=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);function n(e,i,t){var a=e[0],r=/er/.test(t)?"indeterminate":/bl/.test(t)?"disabled":"checked",n="update"==t?{checked:a.checked,disabled:a.disabled,indeterminate:"true"==e.attr("indeterminate")||"false"==e.attr("determinate")}:a[r];if(/^(ch|di|in)/.test(t)&&!n)s(e,r);else if(/^(un|en|de)/.test(t)&&n)d(e,r);else if("update"==t)for(var c in n)n[c]?s(e,c,!0):d(e,c,!0);else i&&"toggle"!=t||(i||e.trigger("ifClicked"),n?"radio"!==a.type&&d(e,r):s(e,r))}function s(i,r,n){var s=i[0],c=i.parent(),u="checked"==r,p="indeterminate"==r,f="disabled"==r,k=p?"determinate":u?"unchecked":"enabled",b=o(i,k+l(s.type)),y=o(i,r+l(s.type));if(!0!==s[r]){if(!n&&"checked"==r&&"radio"==s.type&&s.name){var g=i.closest("form"),v='input[name="'+s.name+'"]';(v=g.length?g.find(v):e(v)).each((function(){this!==s&&e(this).data("iCheck")&&d(e(this),r)}))}p?(s[r]=!0,s.checked&&d(i,"checked","force")):(n||(s[r]=!0),u&&s.indeterminate&&d(i,"indeterminate",!1)),h(i,u,r,n)}s.disabled&&o(i,"cursor",!0)&&c.find(".iCheck-helper").css("cursor","default"),c[t](y||o(i,r)||""),c.attr("role")&&!p&&c.attr("aria-"+(f?"disabled":"checked"),"true"),c[a](b||o(i,k)||"")}function d(e,i,r){var n=e[0],s=e.parent(),d="checked"==i,c="indeterminate"==i,u="disabled"==i,p=c?"determinate":d?"unchecked":"enabled",f=o(e,p+l(n.type)),k=o(e,i+l(n.type));!1!==n[i]&&(!c&&r&&"force"!=r||(n[i]=!1),h(e,d,p,r)),!n.disabled&&o(e,"cursor",!0)&&s.find(".iCheck-helper").css("cursor","pointer"),s[a](k||o(e,i)||""),s.attr("role")&&!c&&s.attr("aria-"+(u?"disabled":"checked"),"false"),s[t](f||o(e,p)||"")}function c(i,t){i.data("iCheck")&&(i.parent().html(i.attr("style",i.data("iCheck").s||"")),t&&i.trigger(t),i.off(".i").unwrap(),e('label[for="'+i[0].id+'"]').add(i.closest("label")).off(".i"))}function o(e,i,t){if(e.data("iCheck"))return e.data("iCheck").o[i+(t?"":"Class")]}function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}function h(e,i,t,a){a||(i&&e.trigger("ifToggled"),e.trigger("ifChanged").trigger("if"+l(t)))}e.fn.iCheck=function(o,l){var h='input[type="checkbox"], input[type="radio"]',u=e(),p=function(i){i.each((function(){var i=e(this);u=i.is(h)?u.add(i):u.add(i.find(h))}))};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(o))return o=o.toLowerCase(),p(this),u.each((function(){var i=e(this);"destroy"==o?c(i,"ifDestroyed"):n(i,!0,o),e.isFunction(l)&&l()}));if("object"!=typeof o&&o)return this;var f=e.extend({checkedClass:"checked",disabledClass:"disabled",indeterminateClass:"indeterminate",labelHover:!0},o),k=f.handle,b=f.hoverClass||"hover",y=f.focusClass||"focus",g=f.activeClass||"active",v=!!f.labelHover,C=f.labelHoverClass||"hover",m=0|(""+f.increaseArea).replace("%","");return"checkbox"!=k&&"radio"!=k||(h='input[type="'+k+'"]'),m<-50&&(m=-50),p(this),u.each((function(){var o=e(this);c(o);var l,h=this,u=h.id,p=-m+"%",k=100+2*m+"%",w={position:"absolute",top:p,left:p,display:"block",width:k,height:k,margin:0,padding:0,background:"#fff",border:0,opacity:0},x=r?{position:"absolute",visibility:"hidden"}:m?w:{position:"absolute",opacity:0},A="checkbox"==h.type?f.checkboxClass||"icheckbox":f.radioClass||"iradio",H=e('label[for="'+u+'"]').add(o.closest("label")),j=!!f.aria,D="iCheck-"+Math.random().toString(36).substr(2,6),P='<div class="'+A+'" '+(j?'role="'+h.type+'" ':"");j&&H.each((function(){P+='aria-labelledby="',this.id?P+=this.id:(this.id=D,P+=D),P+='"'})),P=o.wrap(P+"/>").trigger("ifCreated").parent().append(f.insert),l=e('<ins class="iCheck-helper"/>').css(w).appendTo(P),o.data("iCheck",{o:f,s:o.attr("style")}).css(x),f.inheritClass&&P[t](h.className||""),f.inheritID&&u&&P.attr("id","iCheck-"+u),"static"==P.css("position")&&P.css("position","relative"),n(o,!0,"update"),H.length&&H.on("click.i mouseover.i mouseout.i "+i,(function(i){var s=i.type,d=e(this);if(!h.disabled){if("click"==s){if(e(i.target).is("a"))return;n(o,!1,!0)}else v&&(/ut|nd/.test(s)?(P[a](b),d[a](C)):(P[t](b),d[t](C)));if(!r)return!1;i.stopPropagation()}})),o.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",(function(e){var i=e.type,r=e.keyCode;return"click"!=i&&("keydown"==i&&32==r?("radio"==h.type&&h.checked||(h.checked?d(o,"checked"):s(o,"checked")),!1):void("keyup"==i&&"radio"==h.type?!h.checked&&s(o,"checked"):/us|ur/.test(i)&&P["blur"==i?a:t](y)))})),l.on("click mousedown mouseup mouseover mouseout "+i,(function(e){var i=e.type,s=/wn|up/.test(i)?g:b;if(!h.disabled){if("click"==i?n(o,!1,!0):(/wn|er|in/.test(i)?P[t](s):P[a](s+" "+g),H.length&&v&&s==b&&H[/ut|nd/.test(i)?a:t](C)),!r)return!1;e.stopPropagation()}}))}))}}(window.jQuery||window.Zepto);
10//# sourceMappingURL=icheck.min.js.map

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.