Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/formcraft3/assets/js/vendor/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/formcraft3/assets/js/vendor/textAngular-sanitize.min.js
! function(e, t) {
    "use strict";

    function r() {
        this.$get = ["$$sanitizeUri", function(e) {
            return function(t) {
                var r = [];
                return a(t, u(r, function(t, r) {
                    return !/^unsafe/.test(e(t, r))
                })), r.join("")
            }
        }]
    }

    function n(e) {
        var r = [],
            n = u(r, t.noop);
        return n.chars(e), r.join("")
    }

    function i(e) {
        var t, r = {},
            n = e.split(",");
        for (t = 0; t < n.length; t++) r[n[t]] = !0;
        return r
    }

    function a(e, r) {
        function n(e, n, a, o) {
            if (n = t.lowercase(n), A[n])
                for (; u.last() && D[u.last()];) i("", u.last());
            C[n] && u.last() == n && i("", n), o = w[n] || !!o, o || u.push(n);
            var l = {};
            a.replace(g, function(e, t, r, n, i) {
                var a = r || n || i || "";
                l[t] = s(a)
            }), r.start && r.start(n, l, o)
        }

        function i(e, n) {
            var i, a = 0;
            if (n = t.lowercase(n))
                for (a = u.length - 1; a >= 0 && u[a] != n; a--);
            if (a >= 0) {
                for (i = u.length - 1; i >= a; i--) r.end && r.end(u[i]);
                u.length = a
            }
        }
        "string" != typeof e && (e = null === e || "undefined" == typeof e ? "" : "" + e);
        var a, o, l, c, u = [],
            v = e;
        for (u.last = function() {
                return u[u.length - 1]
            }; e;) {
            if (c = "", o = !0, u.last() && T[u.last()] ? (e = e.replace(new RegExp("([^]*)<\\s*\\/\\s*" + u.last() + "[^>]*>", "i"), function(e, t) {
                    return t = t.replace(b, "$1").replace(k, "$1"), r.chars && r.chars(s(t)), ""
                }), i("", u.last())) : (0 === e.indexOf("<!--") ? (a = e.indexOf("--", 4), a >= 0 && e.lastIndexOf("-->", a) === a && (r.comment && r.comment(e.substring(4, a)), e = e.substring(a + 3), o = !1)) : x.test(e) ? (l = e.match(x), l && (e = e.replace(l[0], ""), o = !1)) : m.test(e) ? (l = e.match(p), l && (e = e.substring(l[0].length), l[0].replace(p, i), o = !1)) : d.test(e) && (l = e.match(f), l ? (l[4] && (e = e.substring(l[0].length), l[0].replace(f, n)), o = !1) : (c += "<", e = e.substring(1))), o && (a = e.indexOf("<"), c += 0 > a ? e : e.substring(0, a), e = 0 > a ? "" : e.substring(a), r.chars && r.chars(s(c)))), e == v) throw h("badparse", "The sanitizer was unable to parse the following block of html: {0}", e);
            v = e
        }
        i()
    }

    function s(e) {
        if (!e) return "";
        var t = L.exec(e),
            r = t[1],
            n = t[3],
            i = t[2];
        return i && (P.innerHTML = i.replace(/</g, "&lt;"), i = "textContent" in P ? P.textContent : P.innerText), r + i + n
    }

    function o(e) {
        return e.replace(/&/g, "&").replace(v, function(e) {
            var t = e.charCodeAt(0),
                r = e.charCodeAt(1);
            return "&#" + (1024 * (t - 55296) + (r - 56320) + 65536) + ";"
        }).replace(y, function(e) {
            var t = e.charCodeAt(0);
            return 159 >= t || 173 == t || t >= 1536 && 1540 >= t || 1807 == t || 6068 == t || 6069 == t || t >= 8204 && 8207 >= t || t >= 8232 && 8239 >= t || t >= 8288 && 8303 >= t || 65279 == t || t >= 65520 && 65535 >= t ? "&#" + t + ";" : e
        }).replace(/</g, "&lt;").replace(/>/g, "&gt;")
    }

    function l(e) {
        var r = "",
            n = e.split(";");
        return t.forEach(n, function(e) {
            var n = e.split(":");
            if (2 == n.length) {
                var i = M(t.lowercase(n[0])),
                    e = M(t.lowercase(n[1]));
                (("color" === i || "background-color" === i) && (e.match(/^rgb\([0-9%,\. ]*\)$/i) || e.match(/^rgba\([0-9%,\. ]*\)$/i) || e.match(/^hsl\([0-9%,\. ]*\)$/i) || e.match(/^hsla\([0-9%,\. ]*\)$/i) || e.match(/^#[0-9a-f]{3,6}$/i) || e.match(/^[a-z]*$/i)) || "text-align" === i && ("left" === e || "right" === e || "center" === e || "justify" === e) || "font-size" === i || "font-weight" === i || "float" === i && ("left" === e || "right" === e || "none" === e) || ("width" === i || "height" === i) && e.match(/[0-9\.]*(px|em|rem|%)/) || "direction" === i && e.match(/^ltr|rtl|initial|inherit$/)) && (r += i + ": " + e + ";")
            }
        }), r
    }

    function c(e, t, r, n) {
        return "img" === e && t["ta-insert-video"] && ("ta-insert-video" === r || "allowfullscreen" === r || "frameborder" === r || "contenteditable" === r && "false" === n) ? !0 : !1
    }

    function u(e, r) {
        var n = !1,
            i = t.bind(e, e.push);
        return {
            start: function(e, a, s) {
                e = t.lowercase(e), !n && T[e] && (n = e), n || E[e] !== !0 || (i("<"), i(e), t.forEach(a, function(n, s) {
                    var u = t.lowercase(s),
                        h = "img" === e && "src" === u || "background" === u;
                    ("style" === u && "" !== (n = l(n)) || c(e, a, u, n) || O[u] === !0 && (F[u] !== !0 || r(n, h))) && (i(" "), i(s), i('="'), i(o(n)), i('"'))
                }), i(s ? "/>" : ">"))
            },
            end: function(e) {
                e = t.lowercase(e), n || E[e] !== !0 || (i("</"), i(e), i(">")), e == n && (n = !1)
            },
            chars: function(e) {
                n || i(o(e))
            }
        }
    }
    var h = t.$$minErr("$sanitize"),
        f = /^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,
        p = /^<\/\s*([\w:-]+)[^>]*>/,
        g = /([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,
        d = /^</,
        m = /^<\//,
        b = /<!--(.*?)-->/g,
        x = /<!DOCTYPE([^>]*?)>/i,
        k = /<!\[CDATA\[(.*?)]]>/g,
        v = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g,
        y = /([^\#-~| |!])/g,
        w = i("area,br,col,hr,img,wbr"),
        $ = i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),
        z = i("rp,rt"),
        C = t.extend({}, z, $),
        A = t.extend({}, $, i("address,article,aside,blockquote,caption,center,del,dir,div,iframe,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul,tr,tbody,thead,td,th")),
        D = t.extend({}, z, i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),
        S = i("animate,animateColor,animateMotion,animateTransform,circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,set,stop,svg,switch,text,title,tspan,use"),
        T = i("script,style"),
        E = t.extend({}, w, A, D, C, S),
        F = i("background,cite,href,longdesc,src,usemap,xlink:href"),
        j = i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,id,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width"),
        q = i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,attributeName,attributeType,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan"),
        O = t.extend({}, F, q, j),
        P = document.createElement("pre"),
        L = /^(\s*)([\s\S]*?)(\s*)$/,
        M = function() {
            return String.prototype.trim ? function(e) {
                return t.isString(e) ? e.trim() : e
            } : function(e) {
                return t.isString(e) ? e.replace(/^\s\s*/, "").replace(/\s\s*$/, "") : e
            }
        }();
    t.module("ngSanitize", []).provider("$sanitize", r), t.module("ngSanitize").filter("linky", ["$sanitize", function(e) {
        var r = /((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"”’]/,
            i = /^mailto:/;
        return function(a, s) {
            function o(e) {
                e && p.push(n(e))
            }

            function l(e, r) {
                p.push("<a "), t.isDefined(s) && p.push('target="', s, '" '), p.push('href="', e.replace(/"/g, "&quot;"), '">'), o(r), p.push("</a>")
            }
            if (!a) return a;
            for (var c, u, h, f = a, p = []; c = f.match(r);) u = c[0], c[2] || c[4] || (u = (c[3] ? "http://" : "mailto:") + u), h = c.index, o(f.substr(0, h)), l(u, c[0].replace(i, "")), f = f.substring(h + c[0].length);
            return o(f), e(p.join(""))
        }
    }])
}(window, window.angular);

Log In ‹ Affy Pharma Pvt Ltd — WordPress

Powered by WordPress

← Go to Affy Pharma Pvt Ltd