<!doctype html>
<html lang="{{language}}" ng-controller="appController" dir="{{documentDir}}">
<head>

        <script src="/api/config/?iid=&" ></script>

    <meta name="fragment" content="!" />
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="google-site-verification" content="MITgL3SjCFLkdRuyjDB5eetk9gBFkhefCEdMtoTCzQE" />
<meta name="google-site-verification" content="zyhLrbsVm6Qa_Hw_iZm8KWBf6453uyT7fHbL0E4Zu00" />


<meta name="description" content="Bamboo Cloud - Live streaming, Hybrid events, Online Courses, Video and more, all in a single easy to use platform">

<script>
    window.prerenderReady = false;
    // function getCookie
    function getCookie(name) {
        var value = "; " + document.cookie;
        var parts = value.split("; " + name + "=");
        if (parts.length == 2) return parts.pop().split(";").shift();
    }

    function setCookie(cname, cvalue, exdays) {
        var d = new Date();
        d.setTime(d.getTime() + (exdays*24*60*60*1000));
        var expires = "expires=" + d.toUTCString();

        if(window.location.protocol === 'http:') {
            document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/;";
        } else {
            document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/; Secure; SameSite=None;";
        }
    }

    function getParameterByName(name) {
        name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
        var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
            results = regex.exec(location.search);
        return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
    }

    // set static cdn
    var pvpStaticCdn = '//cdn.bamboo-video.com';

    var pvpTheme = "";

        // reset the cookie
    setCookie('pvptheme', '', -1);

    
    setCookie('debugEnabled', '');

        // set theme cookie
    setCookie('version', 'v2.10', 5);
    
    // read version cookie
    var pvpVersion = "v2.10";
    if(!pvpVersion) {
        // if version not set then we set cache breaker to expire every hour
        pvpVersion = parseInt(Date.now() / 1000 / 60 / 60);
    }

    // read the basepath cookie (planted by .htaccess)
    var basepath = getCookie('basepath');
    if(!basepath) {
        basepath = '/';
    }
    // document.write('<base href="'+basepath+'" />');

    // get token from url if exists (used for redirects)
    var tokenParam = getParameterByName('token');
    var payaplToken = false;
    if(tokenParam.includes("EC-")) {
        payaplToken = true;
    }
    var forceRedirect = false;
    if(tokenParam && tokenParam.length && !payaplToken) {
        forceRedirect = true;
        // set token cookie
        setCookie('token', tokenParam, 12);
        // redirect to home - to relevant page
        var redirect = removeParam('token', document.location.href);
        document.location = redirect;
    }

    function removeParam(key, sourceURL) {
        var rtn = sourceURL.split("?")[0],
            param,
            params_arr = [],
            queryString = (sourceURL.indexOf("?") !== -1) ? sourceURL.split("?")[1] : "";
        if (queryString !== "") {
            params_arr = queryString.split("&");
            for (var i = params_arr.length - 1; i >= 0; i -= 1) {
                param = params_arr[i].split("=")[0];
                if (param === key) {
                    params_arr.splice(i, 1);
                }
            }
            rtn = rtn + "?" + params_arr.join("&");
        }
        return rtn;
    }

</script>

<base href="/" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
    [ng-cloak], .ng-cloak {
        display: none;
    }
</style>

<link rel="shortcut icon" href="/favicon.ico"/>
<!-- Latest compiled and minified CSS -->


<style>
            </style>


    <title ng-bind="$state.current.pageTitle">Bamboo Cloud - Grow your online business</title>

<!-- intercom -->
<!-- end intercom -->

<!-- Stripe -->
<!-- end Stripe -->

<!-- Hotjar Tracking Code for https://*.bamboo-video.com -->
<!--<script>-->
<!--    (function(h,o,t,j,a,r){-->
<!--        h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};-->
<!--        h._hjSettings={hjid:2179399,hjsv:6};-->
<!--        a=o.getElementsByTagName('head')[0];-->
<!--        r=o.createElement('script');r.async=1;-->
<!--        r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;-->
<!--        a.appendChild(r);-->
<!--    })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');-->
<!--</script>-->

<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
            new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
        j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
        'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-NSV7RRW');</script>
<!-- End Google Tag Manager -->

        
    
</head>
<body ng-class="{'is-touch': isTouch, 'mobile': isTouch}" data-route="{{$state.current.name}}" class="">


<!--This page is loaded before any other page and usually being used to load outside widget and applications-->

<script>
    var allContentSpinnerOpts = {
        lines: 11, // The number of lines to draw
        length: 5, // The length of each line
        width: 5, // The line thickness
        radius: 10, // The radius of the inner circle
        corners: 0.5, // Corner roundness (0..1)
        rotate: 9, // The rotation offset
        direction: 1, // 1: clockwise, -1: counterclockwise
        color: '#000', // #rgb or #rrggbb or array of colors
        speed: 1, // Rounds per second
        trail: 66, // Afterglow percentage
        shadow: false, // Whether to render a shadow
        hwaccel: true, // Whether to use hardware acceleration
        className: 'spinner', // The CSS class to assign to the spinner
        zIndex: 2e9, // The z-index (defaults to 2000000000)
        top: '50%', // Top position relative to parent
        left: '50%' // Left position relative to parent
    };
</script>
<div ng-cloak ui-view="root"></div>
<!--Add analytics and branch.io only in production -->

<script>
    // css files
    var cssFilesToMinify = [
        "css/bootstrap/dist/css/bootstrap.min.css",
        "css/fonts/bamboo-font-bundle.css",
        "css/pvp.css",
        "vendor/font-awesome/css/font-awesome.min.css",
        "vendor/angularjs-slider/dist/rzslider.min.css",
        "vendor/ui-carousel/dist/ui-carousel.min.css",
        "vendor/angular-cropper/ngCropper.all.css",
        "vendor/tables/ng-grid.min.css",
        "vendor/jquery-ui-1.10.4.all/css/ui-lightness/jquery-ui-1.10.4.custom.css",
        "vendor/ng-table/ng-table.css",
        "vendor/select2/select2-bootstrap.css",
        "vendor/select2/select2.css",
        "vendor/ui-modules/select.min.css",
        "vendor/jsoneditor/jsoneditor.min.css",
        "vendor/xeditable/css/xeditable.min.css",
        "vendor/flag-icon-css-master/css/flag-icon.min.css",
        "vendor/angular-ui-tree/angular-ui-tree.min.css",
        'vendor/spectrum/spectrum.css',
        "vendor/angular-daterangepicker/daterangepicker-bs3.css",
        "vendor/ui-calendar/fullcalendar.min.css",
    ];

</script>


<link rel="stylesheet" href="//cdn.bamboo-video.com/min/v-v2.10/?f=css/bootstrap/dist/css/bootstrap.min.css,css/fonts/bamboo-font-bundle.css,css/pvp.css,vendor/font-awesome/css/font-awesome.min.css,vendor/angularjs-slider/dist/rzslider.min.css,vendor/ui-carousel/dist/ui-carousel.min.css,vendor/angular-cropper/ngCropper.all.css,vendor/tables/ng-grid.min.css,vendor/jquery-ui-1.10.4.all/css/ui-lightness/jquery-ui-1.10.4.custom.css,vendor/ng-table/ng-table.css,vendor/select2/select2-bootstrap.css,vendor/select2/select2.css,vendor/ui-modules/select.min.css,vendor/jsoneditor/jsoneditor.min.css,vendor/xeditable/css/xeditable.min.css,vendor/flag-icon-css-master/css/flag-icon.min.css,vendor/angular-ui-tree/angular-ui-tree.min.css,vendor/spectrum/spectrum.css,vendor/angular-daterangepicker/daterangepicker-bs3.css,vendor/ui-calendar/fullcalendar.min.css" async />
<script src="//cdn.bamboo-video.com/min/v-v2.10/?f=vendor/jquery-ui-1.10.4.all/js/jquery.min.js,vendor/angular/angular.min.js,vendor/jquery-ui-1.10.4.all/js/jquery-ui-1.10.4.custom.js,app/base/localConfig.js,app/base/pvpHelper.js,app/base/run.js" async></script>

</body>
</html>
