(function(){"use strict";function n(n,t){function f(t,u){var f=n.delete(t+i,u);return f.then(r),f}function e(n){var t=n.split("?");return t[0]+i+"&"+t[1]}function o(){var r=t.location.search,n,i;if(r.indexOf("ekit")!==-1){if(n=r.split("="),n.length===2)return n[1];for(i=0;i<n.length;i++)if(n[i].indexOf("ekit")!==-1&&i!==n.length-1)return n[i+1]}return null}function s(t,u){var o=t.indexOf("?")!==-1,f;return t=o&&i.length?e(t):t+i,f=n.get(t,u),f.then(r),f}function h(n){typeof n=="function"&&u.push(n)}function r(){for(var n=0,t=u.length;n<t;n++)u[n]()}function c(t,u){var f=n.post(t+i,u);return f.then(r),f}function l(t,u){var f=n.put(t+i,u);return f.then(r),f}var u=[],i=o();return i=i?"?ekit="+i:"",{"delete":f,ekit:i,get:s,onAjaxComplete:h,post:c,put:l}}angular.module("ftdnaHttp",[]).config(["$qProvider",function(n){n.errorOnUnhandledRejections(!1)}]).factory("ftdnaHttp",n);n.$inject=["$http","$window"]})()