This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.PushResponder = { BannersParamsList: | |
[{"id":"2c83e96d-251c-4cdf-85e7-7c68ef2fb361","title":"Teamvoy Title","text":"Teamvoy Text","imageURL":"http://pushresponse.net//attachments/medium/banner.png","timeout":0,"position":5,"appear":"ontimeout","animation":"fadeInUp"}] | |
}; | |
var SCRIPT_URL = 'https://broker.pushresponse.net/pushresponse.js', | |
scriptElement = document.createElement('script'); | |
if (document.readyState === 'interactive' || document.readyState === 'complete') { | |
appendScript(); | |
} else { | |
document.addEventListener('DOMContentLoaded', appendScript); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var c="function"==typeof require&&require;if(!u&&c)return c(o,!0);if(i)return i(o,!0);var a=new Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(n){var r=t[o][1][n];return s(r?r:n)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(t,n,r){(function(n){"use strict";function define(t,n,e){t[n]||r(t,n,{writable:!0,configurable:!0,value:e})}var r=t(3)["default"];if(t(284),t(2),t(6),n._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");n._babelPolyfill=!0,define(String.prototype,"padLeft","".padStart),define(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.push-response-banner { | |
font-family: inherit; | |
line-height: 1.7em; | |
height: auto; | |
max-height: calc(100vh / 3); | |
box-sizing: border-box; max-height: calc(100vh / 3); | |
overflow: hidden; | |
position: fixed; | |
z-index: 10000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$titleFontSize: 1.5em; | |
$buttonsContainerHeight: 2em; | |
$padding: 1em; | |
.push-response-banner[data-template="default"] { | |
background: #FAFAFA; | |
font-size: 1em; | |
color: #777; | |
border: 1px solid #DDD; | |
padding: $padding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$titleFontSize: 1.5em; | |
$buttonsContainerHeight: 2em; | |
$padding: 1em; | |
.push-response-banner[data-template="red"] { | |
background: #FFE8E8; | |
font-size: 1em; | |
color: #000; | |
border: 1px solid red; | |
padding: $padding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SCRIPT_URL = 'http://localhost:5000/pushresponse.js'; | |
window.PushResponse = window.PushResponse || {}; | |
window.PushResponse.Banners = window.PushResponse.Banners || {}; | |
window.PushResponse.Banners['1e3020a2-5352-42a6-b419-9c97e7dab840'] = { | |
"id":"1e3020a2-5352-42a6-b419-9c97e7dab840","target_type":"web","client_id":null,"html":"%3Cdiv%20style=%22width:%20100%25;%20height:%2096px;%22%20data-size=%22%7B\u0026quot;width\u0026quot;:436,\u0026quot;height\u0026quot;:96%7D%22%20class=%22push-response_body%22%3E%3Cspan%20data-size=%22%7B\u0026quot;width\u0026quot;:53.55,\u0026quot;height\u0026quot;:40.85%7D%22%20style=%22width:%2012.282%25;%20height:%2042.552%25;%20left:%2058.257%25;%20top:%2037.5%25;%20box-sizing:%20border-box;%20padding:%206px%2014px;%20background-color:%20rgb(26,%20179,%20148);%20color:%20rgb(255,%20255,%20255);%20border-style:%20solid;%20position:%20absolute;%20flex-wrap:%20wrap;%20justify-content:%20center;%20align-items:%20center;%20display:%20flex;%20cursor:%20pointer;%22%20class=%22push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PUSHRESPONSE_SCRIPT_URL = 'http://localhost:5000/pushresponse.js', | |
CHECK_IF_SHOW_BANNER_IFRAME_URL = 'http://localhost:5000/check-if-show-banner'; | |
window.PushResponse = window.PushResponse || {}; | |
window.PushResponse.Banners = window.PushResponse.Banners || {}; | |
window.PushResponse.Banners['39debf17-03e0-4849-bc58-0c2b11b096a1'] = | |
{"id":"39debf17-03e0-4849-bc58-0c2b11b096a1","domain":"testing-f","target_type":"web","html":"%3Cdiv%20class=%22push-responder-banner%22%20data-template=%22default%22%20data-size=%22%7B\u0026quot;width\u0026quot;:609,\u0026quot;height\u0026quot;:88%7D%22%20style=%22width:%20100%25;%22%3E%3Cdiv%20class=%22hidden%20data-options%22%20data-banner-template-name=%22simple%22%3E%3C/div%3E%3Cstyle%3E.animated%7B-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both%7D.animated.infinite%7B-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite%7D.animated.hinge%7B-webkit-animation-duration:2s;animation-dura |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var PUSHRESPONSE_SCRIPT_URL = 'http://localhost:5000/pushresponse.js', | |
CHECK_IF_SHOW_BANNER_IFRAME_URL = 'http://localhost:5000/check-if-show-banner'; | |
window.PushResponse = window.PushResponse || {}; | |
window.PushResponse.Initialized = window.PushResponse.Initialized || {}; | |
window.PushResponse.Banners = window.PushResponse.Banners || {}; | |
window.PushResponse.Banners['7ddee156-b27c-42fd-9657-f7d07aa009f3'] = | |
{"id":"7ddee156-b27c-42fd-9657-f7d07aa009f3","domain":"testpostmessages","target_type":"web","html":"%3Cdiv%20class=%22push-responder-banner%22%20data-template=%22default%22%20data-size=%22%7B\u0026quot;width\u0026quot;:824,\u0026quot;height\u0026quot;:88%7D%22%20style=%22width:%20100%25;%22%3E%3Cdiv%20class=%22hidden%20data-options%22%20data-banner-template-name=%22simple%22%3E%3C/div%3E%3Cstyle%3E.animated%7B-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both%7D.animated.infinite%7B-webkit-animation-iteration-count:infinite;animation-iteration-co |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.SecretName.Instances['7ddee156-b27c-42fd-9657-f7d07aa009f3'] = | |
{"id":"7ddee156-b27c-42fd-9657-f7d07aa009f3","domain":"testpostmessages","target_type":"web","html":"%3Cdiv%20class=%22secret-name-instance%22%20data-template=%22default%22%20data-size=%22%7B"width":824,"height":88%7D%22%20style=%22width:%20100%25;%22%3E%3Cdiv%20class=%22hidden%20data-options%22%20data-instance-template-name=%22simple%22%3E%3C/div%3E%3Cstyle%3E.animated%7B-webkit-animation-duration:0.5s;animation-duration:0.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both%7D.animated.infinite%7B-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite%7D.animated.hinge%7B-webkit-animation-duration:2s;animation-duration:2s%7D@-webkit-keyframes%20fadeIn%7B0%25%7Bopacity:0%7D100%25%7Bopacity:1%7D%7D@keyframes%20fadeIn%7B0%25%7Bopacity:0%7D100%25%7Bopacity:1%7D%7D.fadeIn%7B-webkit-animation-name:fadeIn;animation-name:fadeIn%7D@-webkit-keyframes%20fadeInDown%7B0%25%7Bopacity:0;-webkit-transform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Anatoly Mironov (mirontoli) | |
* http://sharepointkunskap.wordpress.com | |
* http://www.bool.se | |
* | |
* http://stackoverflow.com/questions/3605495/generate-a-list-of-localized-language-names-with-links-to-google-translate/14800384#14800384 | |
* http://stackoverflow.com/questions/10997128/language-name-from-iso-639-1-code-in-javascript/14800499#14800499 | |
* | |
* using Phil Teare's answer on stackoverflow | |
* http://stackoverflow.com/questions/3217492/list-of-language-codes-in-yaml-or-json/4900304#4900304 |
OlderNewer