var Ziggy = { namedRoutes: {"dashboard":{"uri":"\/","methods":["GET","HEAD"],"domain":null},"downloader.list":{"uri":"modules","methods":["GET","HEAD"],"domain":null},"downloader.list.remote":{"uri":"modules\/list","methods":["GET","HEAD"],"domain":null},"downloader.checksums":{"uri":"modules\/checksums","methods":["GET","HEAD"],"domain":null},"downloader.installer":{"uri":"i\/{password?}","methods":["GET","HEAD"],"domain":null},"downloader.command":{"uri":"modules\/command\/{com}","methods":["GET","HEAD"],"domain":null},"downloader.get":{"uri":"modules\/download","methods":["GET","HEAD"],"domain":null},"downloader.download":{"uri":"modules\/download","methods":["POST"],"domain":null},"tools.settings":{"uri":"tools\/settings","methods":["GET","HEAD"],"domain":null},"update-module-settings":{"uri":"tools\/update-module-settings","methods":["POST"],"domain":null},"tools.update":{"uri":"tools\/update","methods":["GET","HEAD"],"domain":null},"tools.update.post":{"uri":"tools\/update","methods":["POST"],"domain":null},"tools.migrate":{"uri":"tools\/migrate","methods":["GET","HEAD"],"domain":null},"layouts.scripts":{"uri":"layouts\/scripts","methods":["GET","HEAD"],"domain":null},"layouts.theme.css":{"uri":"layouts\/theme.css","methods":["GET","HEAD"],"domain":null},"layouts.theme":{"uri":"layouts\/theme","methods":["GET","HEAD"],"domain":null},"search.results":{"uri":"search","methods":["GET","HEAD"],"domain":null},"search.settings":{"uri":"search\/settings","methods":["GET","HEAD"],"domain":null},"crm.index":{"uri":"crm","methods":["GET","HEAD"],"domain":null},"crm.sources.index":{"uri":"crm\/sources","methods":["GET","HEAD"],"domain":null},"crm.sources.create":{"uri":"crm\/sources\/create","methods":["GET","HEAD"],"domain":null},"crm.sources.store":{"uri":"crm\/sources\/store","methods":["POST"],"domain":null},"crm.sources.edit":{"uri":"crm\/sources\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sources.update":{"uri":"crm\/sources\/update\/{id}","methods":["POST"],"domain":null},"crm.sources.destroy":{"uri":"crm\/sources\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sources.toggle-active":{"uri":"crm\/sources\/toggle-active","methods":["POST"],"domain":null},"crm.mediums.create":{"uri":"crm\/mediums\/create","methods":["GET","HEAD"],"domain":null},"crm.mediums.store":{"uri":"crm\/mediums\/store","methods":["POST"],"domain":null},"crm.mediums.edit":{"uri":"crm\/mediums\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.mediums.update":{"uri":"crm\/mediums\/update\/{id}","methods":["POST"],"domain":null},"crm.mediums.destroy":{"uri":"crm\/mediums\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.mediums.toggle-active":{"uri":"crm\/mediums\/toggle-active","methods":["POST"],"domain":null},"crm.campaigns.create":{"uri":"crm\/campaigns\/create","methods":["GET","HEAD"],"domain":null},"crm.campaigns.store":{"uri":"crm\/campaigns\/store","methods":["POST"],"domain":null},"crm.campaigns.edit":{"uri":"crm\/campaigns\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.campaigns.update":{"uri":"crm\/campaigns\/update\/{id}","methods":["POST"],"domain":null},"crm.campaigns.destroy":{"uri":"crm\/campaigns\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.campaigns.toggle-active":{"uri":"crm\/campaigns\/toggle-active","methods":["POST"],"domain":null},"crm.board.index":{"uri":"crm\/board","methods":["GET","HEAD"],"domain":null},"crm.board.create":{"uri":"crm\/board\/create","methods":["GET","HEAD"],"domain":null},"crm.board.store":{"uri":"crm\/board\/store","methods":["POST"],"domain":null},"crm.board.edit":{"uri":"crm\/board\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.update":{"uri":"crm\/board\/update\/{id}","methods":["POST"],"domain":null},"crm.board.destroy":{"uri":"crm\/board\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.close":{"uri":"crm\/board\/close","methods":["GET","HEAD"],"domain":null},"crm.board.show":{"uri":"crm\/board\/show\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.actions":{"uri":"crm\/board\/actions\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.select-stages":{"uri":"crm\/board\/select-stages\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.sync-stages":{"uri":"crm\/board\/sync-stages\/{id}","methods":["POST"],"domain":null},"crm.board.add-client":{"uri":"crm\/board\/add-client\/{id}","methods":["GET","HEAD"],"domain":null},"crm.board.add-lead":{"uri":"crm\/board\/add-lead\/{id}","methods":["GET","HEAD"],"domain":null},"crm.stage.index":{"uri":"crm\/stage","methods":["GET","HEAD"],"domain":null},"crm.stage.create":{"uri":"crm\/stage\/create","methods":["GET","HEAD"],"domain":null},"crm.stage.store":{"uri":"crm\/stage\/store","methods":["POST"],"domain":null},"crm.stage.edit":{"uri":"crm\/stage\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.stage.update":{"uri":"crm\/stage\/update\/{id}","methods":["POST"],"domain":null},"crm.stage.destroy":{"uri":"crm\/stage\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.group.index":{"uri":"crm\/group","methods":["GET","HEAD"],"domain":null},"crm.group.create":{"uri":"crm\/group\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.group.store":{"uri":"crm\/group\/store","methods":["POST"],"domain":null},"crm.group.edit":{"uri":"crm\/group\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.group.update":{"uri":"crm\/group\/update\/{id}","methods":["POST"],"domain":null},"crm.group.destroy":{"uri":"crm\/group\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.index":{"uri":"crm\/categories","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.create":{"uri":"crm\/categories\/doc\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.store":{"uri":"crm\/categories\/doc\/store","methods":["POST"],"domain":null},"crm.categories.doc.edit":{"uri":"crm\/categories\/doc\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.update":{"uri":"crm\/categories\/doc\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.doc.destroy":{"uri":"crm\/categories\/doc\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.doc.toggle-active":{"uri":"crm\/categories\/doc\/toggle-active","methods":["POST"],"domain":null},"crm.categories.sale.create":{"uri":"crm\/categories\/sale\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.store":{"uri":"crm\/categories\/sale\/store","methods":["POST"],"domain":null},"crm.categories.sale.edit":{"uri":"crm\/categories\/sale\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.update":{"uri":"crm\/categories\/sale\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.sale.destroy":{"uri":"crm\/categories\/sale\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.sale.toggle-active":{"uri":"crm\/categories\/sale\/toggle-active","methods":["POST"],"domain":null},"crm.categories.ticket.create":{"uri":"crm\/categories\/ticket\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.store":{"uri":"crm\/categories\/ticket\/store","methods":["POST"],"domain":null},"crm.categories.ticket.edit":{"uri":"crm\/categories\/ticket\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.update":{"uri":"crm\/categories\/ticket\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.ticket.destroy":{"uri":"crm\/categories\/ticket\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket.toggle-active":{"uri":"crm\/categories\/ticket\/toggle-active","methods":["POST"],"domain":null},"crm.categories.ticket-status.create":{"uri":"crm\/categories\/ticket-status\/create\/{scope?}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.store":{"uri":"crm\/categories\/ticket-status\/store","methods":["POST"],"domain":null},"crm.categories.ticket-status.edit":{"uri":"crm\/categories\/ticket-status\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.update":{"uri":"crm\/categories\/ticket-status\/update\/{id}","methods":["POST"],"domain":null},"crm.categories.ticket-status.destroy":{"uri":"crm\/categories\/ticket-status\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.categories.ticket-status.toggle-active":{"uri":"crm\/categories\/ticket-status\/toggle-active","methods":["POST"],"domain":null},"crm.lead.index":{"uri":"crm\/lead","methods":["GET","HEAD"],"domain":null},"crm.lead.create":{"uri":"crm\/lead\/create","methods":["GET","HEAD"],"domain":null},"crm.lead.store":{"uri":"crm\/lead\/store","methods":["POST"],"domain":null},"crm.lead.edit":{"uri":"crm\/lead\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.lead.update":{"uri":"crm\/lead\/update\/{id}","methods":["POST"],"domain":null},"crm.lead.destroy":{"uri":"crm\/lead\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.index":{"uri":"crm\/client","methods":["GET","HEAD"],"domain":null},"crm.client.create":{"uri":"crm\/client\/create","methods":["GET","HEAD"],"domain":null},"crm.client.store":{"uri":"crm\/client\/store","methods":["POST"],"domain":null},"crm.client.edit":{"uri":"crm\/client\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.update":{"uri":"crm\/client\/update\/{id}","methods":["POST"],"domain":null},"crm.client.destroy":{"uri":"crm\/client\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.client.logo":{"uri":"crm\/client\/logo\/{id}","methods":["GET","HEAD"],"domain":null},"crm.logo.edit":{"uri":"crm\/logo\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.logo.update":{"uri":"crm\/logo\/update\/{scope}\/{id}","methods":["POST"],"domain":null},"crm.info.edit":{"uri":"crm\/info\/edit\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.info.update":{"uri":"crm\/info\/update","methods":["POST"],"domain":null},"crm.contact.index":{"uri":"crm\/contact","methods":["GET","HEAD"],"domain":null},"crm.contact.create":{"uri":"crm\/contact\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.contact.store":{"uri":"crm\/contact\/store","methods":["POST"],"domain":null},"crm.contact.edit":{"uri":"crm\/contact\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.contact.update":{"uri":"crm\/contact\/update\/{id}","methods":["POST"],"domain":null},"crm.contact.destroy":{"uri":"crm\/contact\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.index":{"uri":"crm\/address","methods":["GET","HEAD"],"domain":null},"crm.address.create":{"uri":"crm\/address\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.store":{"uri":"crm\/address\/store","methods":["POST"],"domain":null},"crm.address.edit":{"uri":"crm\/address\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.address.update":{"uri":"crm\/address\/update\/{id}","methods":["POST"],"domain":null},"crm.address.destroy":{"uri":"crm\/address\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.index":{"uri":"crm\/fiscal","methods":["GET","HEAD"],"domain":null},"crm.fiscal.create":{"uri":"crm\/fiscal\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.store":{"uri":"crm\/fiscal\/store","methods":["POST"],"domain":null},"crm.fiscal.edit":{"uri":"crm\/fiscal\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.fiscal.update":{"uri":"crm\/fiscal\/update\/{id}","methods":["POST"],"domain":null},"crm.fiscal.destroy":{"uri":"crm\/fiscal\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.index":{"uri":"crm\/bank","methods":["GET","HEAD"],"domain":null},"crm.bank.create":{"uri":"crm\/bank\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.store":{"uri":"crm\/bank\/store","methods":["POST"],"domain":null},"crm.bank.edit":{"uri":"crm\/bank\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.bank.update":{"uri":"crm\/bank\/update\/{id}","methods":["POST"],"domain":null},"crm.bank.destroy":{"uri":"crm\/bank\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.create":{"uri":"crm\/doc\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.store":{"uri":"crm\/doc\/store","methods":["POST"],"domain":null},"crm.doc.edit":{"uri":"crm\/doc\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.doc.update":{"uri":"crm\/doc\/update\/{id}","methods":["POST"],"domain":null},"crm.doc.destroy":{"uri":"crm\/doc\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.create":{"uri":"crm\/attr\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.store":{"uri":"crm\/attr\/store","methods":["POST"],"domain":null},"crm.attr.edit":{"uri":"crm\/attr\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.attr.update":{"uri":"crm\/attr\/update\/{id}","methods":["POST"],"domain":null},"crm.attr.destroy":{"uri":"crm\/attr\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.index":{"uri":"crm\/interaction","methods":["GET","HEAD"],"domain":null},"crm.interaction.create":{"uri":"crm\/interaction\/create","methods":["GET","HEAD"],"domain":null},"crm.interaction.store":{"uri":"crm\/interaction\/store","methods":["POST"],"domain":null},"crm.interaction.edit":{"uri":"crm\/interaction\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.update":{"uri":"crm\/interaction\/update\/{id}","methods":["POST"],"domain":null},"crm.interaction.destroy":{"uri":"crm\/interaction\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.interaction.state.form":{"uri":"crm\/interaction\/state\/{id}\/{state}","methods":["GET","HEAD"],"domain":null},"crm.interaction.state.set":{"uri":"crm\/interaction\/state\/{id}","methods":["POST"],"domain":null},"crm.sale.index":{"uri":"crm\/sale","methods":["GET","HEAD"],"domain":null},"crm.sale.create":{"uri":"crm\/sale\/create\/{scope?}\/{id?}","methods":["GET","HEAD"],"domain":null},"crm.sale.store":{"uri":"crm\/sale\/store","methods":["POST"],"domain":null},"crm.sale.edit":{"uri":"crm\/sale\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sale.update":{"uri":"crm\/sale\/update\/{id}","methods":["POST"],"domain":null},"crm.sale.destroy":{"uri":"crm\/sale\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users":{"uri":"crm\/sale\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.sale.users.add":{"uri":"crm\/sale\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.sale.users.add.post":{"uri":"crm\/sale\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.sale.users.remove":{"uri":"crm\/sale\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users.edit":{"uri":"crm\/sale\/{id}\/users\/edit\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.users.update":{"uri":"crm\/sale\/{id}\/users\/update\/{user_id}","methods":["POST"],"domain":null},"crm.sale.users.destroy":{"uri":"crm\/sale\/{id}\/users\/destroy\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.external":{"uri":"crm\/sale\/{id}\/external","methods":["GET","HEAD"],"domain":null},"crm.sale.external.create":{"uri":"crm\/sale\/{id}\/external\/create","methods":["GET","HEAD"],"domain":null},"crm.sale.external.store":{"uri":"crm\/sale\/{id}\/external\/store","methods":["POST"],"domain":null},"crm.sale.external.edit":{"uri":"crm\/sale\/{id}\/external\/edit\/{ext_id}","methods":["GET","HEAD"],"domain":null},"crm.sale.external.update":{"uri":"crm\/sale\/{id}\/external\/update\/{ext_id}","methods":["POST"],"domain":null},"crm.sale.external.destroy":{"uri":"crm\/sale\/{id}\/external\/destroy\/{ext_id}","methods":["GET","HEAD"],"domain":null},"crm.renewals.index":{"uri":"crm\/sale\/renewals","methods":["GET","HEAD"],"domain":null},"crm.transaction.create":{"uri":"crm\/transaction\/create\/{scope}\/{id}","methods":["GET","HEAD"],"domain":null},"crm.transaction.store":{"uri":"crm\/transaction\/store","methods":["POST"],"domain":null},"crm.transaction.edit":{"uri":"crm\/transaction\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.transaction.update":{"uri":"crm\/transaction\/update\/{id}","methods":["POST"],"domain":null},"crm.transaction.destroy":{"uri":"crm\/transaction\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.index":{"uri":"crm\/department","methods":["GET","HEAD"],"domain":null},"crm.department.create":{"uri":"crm\/department\/create","methods":["GET","HEAD"],"domain":null},"crm.department.store":{"uri":"crm\/department\/store","methods":["POST"],"domain":null},"crm.department.edit":{"uri":"crm\/department\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.update":{"uri":"crm\/department\/update\/{id}","methods":["POST"],"domain":null},"crm.department.destroy":{"uri":"crm\/department\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.department.users":{"uri":"crm\/department\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.department.users.add":{"uri":"crm\/department\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.department.users.add.post":{"uri":"crm\/department\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.department.users.remove":{"uri":"crm\/department\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.department.accesses":{"uri":"crm\/department\/{id}\/accesses","methods":["GET","HEAD"],"domain":null},"crm.department.accesses.update":{"uri":"crm\/department\/{id}\/accesses\/update","methods":["POST"],"domain":null},"crm.team.index":{"uri":"crm\/team","methods":["GET","HEAD"],"domain":null},"crm.team.create":{"uri":"crm\/team\/create","methods":["GET","HEAD"],"domain":null},"crm.team.store":{"uri":"crm\/team\/store","methods":["POST"],"domain":null},"crm.team.edit":{"uri":"crm\/team\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.team.update":{"uri":"crm\/team\/update\/{id}","methods":["POST"],"domain":null},"crm.team.destroy":{"uri":"crm\/team\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.team.users":{"uri":"crm\/team\/{id}\/users","methods":["GET","HEAD"],"domain":null},"crm.team.users.add":{"uri":"crm\/team\/{id}\/users\/add","methods":["GET","HEAD"],"domain":null},"crm.team.users.add.post":{"uri":"crm\/team\/{id}\/users\/add","methods":["POST"],"domain":null},"crm.team.users.remove":{"uri":"crm\/team\/{id}\/users\/remove\/{user_id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.index":{"uri":"crm\/ticket","methods":["GET","HEAD"],"domain":null},"crm.ticket.create":{"uri":"crm\/ticket\/create\/{scope?}\/{id?}","methods":["GET","HEAD"],"domain":null},"crm.ticket.store":{"uri":"crm\/ticket\/store","methods":["POST"],"domain":null},"crm.ticket.edit":{"uri":"crm\/ticket\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.update":{"uri":"crm\/ticket\/update\/{id}","methods":["POST"],"domain":null},"crm.ticket.destroy":{"uri":"crm\/ticket\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.set-solved":{"uri":"crm\/ticket\/set-solved\/{id}","methods":["GET","HEAD"],"domain":null},"crm.ticket.img-upload":{"uri":"crm\/ticket\/upload-img","methods":["POST"],"domain":null},"crm.ticket.set-served":{"uri":"crm\/ticket\/set-served\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.index":{"uri":"crm\/outlays","methods":["GET","HEAD"],"domain":null},"crm.outlay.create":{"uri":"crm\/outlay\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.create-recurring":{"uri":"crm\/outlay\/create-recurring","methods":["GET","HEAD"],"domain":null},"crm.outlay.store":{"uri":"crm\/outlay\/store","methods":["POST"],"domain":null},"crm.outlay.edit":{"uri":"crm\/outlay\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.update":{"uri":"crm\/outlay\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.destroy":{"uri":"crm\/outlay\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.index":{"uri":"crm\/outlay\/category","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.create":{"uri":"crm\/outlay\/category\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.store":{"uri":"crm\/outlay\/category\/store","methods":["POST"],"domain":null},"crm.outlay.category.edit":{"uri":"crm\/outlay\/category\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.update":{"uri":"crm\/outlay\/category\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.category.destroy":{"uri":"crm\/outlay\/category\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.category.toggle-active":{"uri":"crm\/outlay\/category\/toggle-active","methods":["POST"],"domain":null},"crm.outlay.recurring.index":{"uri":"crm\/outlay\/recurring","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.create":{"uri":"crm\/outlay\/recurring\/create","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.store":{"uri":"crm\/outlay\/recurring\/store","methods":["POST"],"domain":null},"crm.outlay.recurring.edit":{"uri":"crm\/outlay\/recurring\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.update":{"uri":"crm\/outlay\/recurring\/update\/{id}","methods":["POST"],"domain":null},"crm.outlay.recurring.destroy":{"uri":"crm\/outlay\/recurring\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.outlay.recurring.toggle-active":{"uri":"crm\/outlay\/recurring\/toggle-active","methods":["POST"],"domain":null},"crm.reports.balance":{"uri":"crm\/reports\/balance","methods":["GET","HEAD"],"domain":null},"crm.reports.pending-transactions":{"uri":"crm\/reports\/pending-transactions","methods":["GET","HEAD"],"domain":null},"crm.followup.store":{"uri":"crm\/followup\/store","methods":["POST"],"domain":null},"crm.followup.edit":{"uri":"crm\/followup\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"crm.followup.update":{"uri":"crm\/followup\/update\/{id}","methods":["POST"],"domain":null},"crm.followup.destroy":{"uri":"crm\/followup\/destroy\/{id}","methods":["GET","HEAD"],"domain":null},"crm.settings":{"uri":"crm\/settings","methods":["GET","HEAD"],"domain":null},"wde.index":{"uri":"wde","methods":["GET","HEAD"],"domain":null},"wde.settings":{"uri":"wde\/settings","methods":["GET","HEAD"],"domain":null},"login":{"uri":"auth\/login","methods":["GET","HEAD"],"domain":null},"authenticate":{"uri":"auth\/authenticate","methods":["POST"],"domain":null},"logout":{"uri":"auth\/logout","methods":["GET","HEAD"],"domain":null},"forgot":{"uri":"auth\/forgot","methods":["GET","HEAD"],"domain":null},"reset-msg":{"uri":"auth\/reset-msg","methods":["POST"],"domain":null},"reset-form":{"uri":"auth\/reset-form","methods":["GET","HEAD"],"domain":null},"reset-password":{"uri":"auth\/reset-password","methods":["POST"],"domain":null},"users.index":{"uri":"users","methods":["GET","HEAD"],"domain":null},"users.create":{"uri":"users\/create","methods":["GET","HEAD"],"domain":null},"users.register":{"uri":"users\/register","methods":["POST"],"domain":null},"users.mass-update":{"uri":"users\/mass-update","methods":["POST"],"domain":null},"user.edit":{"uri":"user\/edit\/{id}","methods":["GET","HEAD"],"domain":null},"user.update":{"uri":"user\/update\/{id}","methods":["POST"],"domain":null},"users.logs":{"uri":"users\/logs","methods":["GET","HEAD"],"domain":null},"user.settings":{"uri":"user\/settings","methods":["GET","HEAD"],"domain":null},"roles.index":{"uri":"roles","methods":["GET","HEAD"],"domain":null},"roles.create":{"uri":"roles\/create","methods":["GET","HEAD"],"domain":null},"roles.store":{"uri":"roles\/store","methods":["POST"],"domain":null},"roles.mass-update":{"uri":"roles\/mass-update","methods":["POST"],"domain":null},"users.switch":{"uri":"users\/switch\/{id}","methods":["GET","HEAD"],"domain":null},"users.settings":{"uri":"users\/settings","methods":["GET","HEAD"],"domain":null},"user.notifications.ok":{"uri":"users\/notifications\/ok\/{id}","methods":["GET","HEAD"],"domain":null},"user.notifications.all-ok":{"uri":"users\/notifications\/all-ok","methods":["GET","HEAD"],"domain":null}}, baseUrl: 'https://intranetwde.com/', baseProtocol: 'https', baseDomain: 'intranetwde.com', basePort: false, defaultParameters: [] }; !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("route",[],t):"object"==typeof exports?exports.route=t():e.route=t()}(this,function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";r.r(t);var n=function(){function e(e,t){for(var r=0;r3&&void 0!==arguments[3]?arguments[3]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var a=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return a.name=e,a.absolute=n,a.ziggy=o||Ziggy,a.template=a.name?new i(e,n,a.ziggy).construct():"",a.urlParams=a.normalizeParams(r),a.queryParams=a.normalizeParams(r),a}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,String),u(t,[{key:"normalizeParams",value:function(e){return void 0===e?{}:((e="object"!==(void 0===e?"undefined":a(e))?[e]:e).hasOwnProperty("id")&&-1==this.template.indexOf("{id}")&&(e=[e.id]),this.numericParamIndices=Array.isArray(e),o({},e))}},{key:"with",value:function(e){return this.urlParams=this.normalizeParams(e),this}},{key:"withQuery",value:function(e){return o(this.queryParams,e),this}},{key:"hydrateUrl",value:function(){var e=this,t=this.urlParams,r=0,n=this.template.match(/{([^}]+)}/gi),i=!1;return n&&n.length!=Object.keys(t).length&&(i=!0),this.template.replace(/{([^}]+)}/gi,function(n,o){var a=e.trimParam(n),u=e.numericParamIndices?r:a,s=e.ziggy.defaultParameters[a];if(s&&i&&(e.numericParamIndices?(t=Object.values(t)).splice(u,0,s):t[u]=s),r++,t[u]&&void 0!==t[u])return delete e.queryParams[u],t[u].id||encodeURIComponent(t[u]);if(-1===n.indexOf("?"))throw new Error("Ziggy Error: '"+a+"' key is required for route '"+e.name+"'");return""})}},{key:"matchUrl",value:function(){var e=window.location.hostname+(window.location.port?":"+window.location.port:"")+window.location.pathname,t=this.template.replace(/(\/\{[^\}]*\?\})/g,"/").replace(/(\{[^\}]*\})/gi,"[^/?]+").replace(/\/?$/,"").split("://")[1],r=this.template.replace(/(\{[^\}]*\})/gi,"[^/?]+").split("://")[1],n=e.replace(/\/?$/,"/"),i=new RegExp("^"+r+"/$").test(n),o=new RegExp("^"+t+"/$").test(n);return i||o}},{key:"constructQuery",value:function(){if(0===Object.keys(this.queryParams).length)return"";var e="?";return Object.keys(this.queryParams).forEach(function(t,r){void 0!==this.queryParams[t]&&null!==this.queryParams[t]&&(e=0===r?e:e+"&",e+=t+"="+encodeURIComponent(this.queryParams[t]))}.bind(this)),e}},{key:"current",value:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=Object.keys(this.ziggy.namedRoutes).filter(function(r){return-1!==e.ziggy.namedRoutes[r].methods.indexOf("GET")&&new t(r,void 0,void 0,e.ziggy).matchUrl()})[0];return r?new RegExp(r.replace("*",".*").replace(".","."),"i").test(n):n}},{key:"extractParams",value:function(e,t,r){var n=this,i=e.split(r);return t.split(r).reduce(function(e,t,r){return 0===t.indexOf("{")&&-1!==t.indexOf("}")&&i[r]?o(e,(a={},u=n.trimParam(t),s=i[r],u in a?Object.defineProperty(a,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[u]=s,a)):e;var a,u,s},{})}},{key:"parse",value:function(){this.return=this.hydrateUrl()+this.constructQuery()}},{key:"url",value:function(){return this.parse(),this.return}},{key:"toString",value:function(){return this.url()}},{key:"trimParam",value:function(e){return e.replace(/{|}|\?/g,"")}},{key:"valueOf",value:function(){return this.url()}},{key:"params",get:function(){var e=this.ziggy.namedRoutes[this.current()];return o(this.extractParams(window.location.hostname,e.domain||"","."),this.extractParams(window.location.pathname.slice(1),e.uri,"/"))}}]),t}();function c(e,t,r,n){return new s(e,t,r,n)}}]).default}); (function($) { $("form:not(.confirm)").submit(function(){ if (typeof Admin != "undefined") { show_loading(); } else { $(":input[type='submit']").val("Espere..."); $("button[type='submit']").text("Espere..."); } $(":input[type='submit']").attr("disabled", true); $("button[type='submit']").attr("disabled", true); }); })(jQuery);