|
|
Строка 48: |
Строка 48: |
| == Облако слов == | | == Облако слов == |
| | | |
− | {{#widget:Iframe
| + | {{#widget:Iframe |
− | |url=<!DOCTYPE html> | + | |url=#outdated{display: table;width:100%;height:100%;text-align:center;text-transform:uppercase;z-index:1500;background-color:#f25648;color:#fff}* html #outdated{position:absolute}#outdated h6{font-size:25px;line-height:25px;margin:30px 0 10px}#outdated p{font-size:12px;line-height:12px;margin:0}#outdated #btnUpdateBrowser{display:block;position:relative;padding:10px 20px;margin:30px auto 0;width:230px;color:#fff;text-decoration:none;border:2px solid #fff;cursor:pointer}#outdated #btnUpdateBrowser:hover{color:#f25648;background-color:#fff}#outdated .content{display: table-cell;vertical-align: middle;padding: 0 30px;} |
− | <html>
| + | |
− | <head>
| + | |
− | <meta charset="utf-8">
| + | |
− | <meta name="robots" content="noindex">
| + | |
− | <meta name="viewport" content="width=device-width, initial-scale=1" />
| + | |
− | <title>Edit word art - WordArt.com</title>
| + | |
− | <style>
| + | |
− | #outdated{display: table;width:100%;height:100%;text-align:center;text-transform:uppercase;z-index:1500;background-color:#f25648;color:#fff}* html #outdated{position:absolute}#outdated h6{font-size:25px;line-height:25px;margin:30px 0 10px}#outdated p{font-size:12px;line-height:12px;margin:0}#outdated #btnUpdateBrowser{display:block;position:relative;padding:10px 20px;margin:30px auto 0;width:230px;color:#fff;text-decoration:none;border:2px solid #fff;cursor:pointer}#outdated #btnUpdateBrowser:hover{color:#f25648;background-color:#fff}#outdated .content{display: table-cell;vertical-align: middle;padding: 0 30px;}
| + | |
− | </style>
| + | |
− | <style>
| + | |
− | body {
| + | |
− | -webkit-font-smoothing: antialiased;
| + | |
− | -moz-osx-font-smoothing: grayscale;
| + | |
− | }
| + | |
− | html, body, #root {
| + | |
− | width: 100%;
| + | |
− | height: 100%;
| + | |
− | margin: 0;
| + | |
− | padding: 0;
| + | |
− | }
| + | |
− | #root > img.loader {
| + | |
− | position: absolute;
| + | |
− | top: 50%;
| + | |
− | left: 50%;
| + | |
− | width: 40%;
| + | |
− | /* height: 50%; */
| + | |
− | margin-top: -20%; /* Half the height */
| + | |
− | margin-left: -20%; /* Half the width */
| + | |
− | }
| + | |
− | </style>
| + | |
− | <link rel="stylesheet" href="/static/creator/bundle3_4ddd96518180909f5eb1d5c97dc3dd49.css" />
| + | |
− | <link rel="stylesheet" href="/static/creator/bundle4_65c5335604b5d32ac076ee3a6972db56.css" />
| + | |
− | </head>
| + | |
− |
| + | |
− | <body>
| + | |
− | <div id="root">
| + | |
− | <img class="loader" src="/static/creator/images/loading.svg" />
| + | |
− | </div>
| + | |
− |
| + | |
− | </body>
| + | |
− |
| + | |
− |
| + | |
− | <script src="https://cdn.paddle.com/paddle/paddle.js"></script>
| + | |
− | <script src="/static/js/paddle-integration.js" type="text/javascript" charset="utf-8"></script>
| + | |
− |
| + | |
− | | + | |
− |
| + | |
− |
| + | |
− |
| + | |
− | <script src="/edit/neo14baqy3k2/data.js"></script>
| + | |
− |
| + | |
− |
| + | |
− | <script>
| + | |
− | if (window.opener && window.opener.JUST_SIGNED_UP) {
| + | |
− | window.opener.location.reload();
| + | |
− | }
| + | |
− | var meta = window._wa_meta = {};
| + | |
− |
| + | |
− | meta.userEmail = 'et8687926@gmail.com';
| + | |
− | meta.redirectOnExitLink = '/my-word-art';
| + | |
− | meta.purgeCDNCacheLink = '/api/purge-cdn-cache';
| + | |
− | meta.cloudRow = [
| + | |
− | 'neo14baqy3k2',
| + | |
− | 'Word Art 60',
| + | |
− | '<div class="indicator"></div>',
| + | |
− | '<a href="/edit/neo14baqy3k2" target="_blank">Word Art 60</a>',
| + | |
− | '',
| + | |
− | '2020-11-18 04:44:30',
| + | |
− | 'Private'
| + | |
− | ];
| + | |
− | //DUPLICATE_CLOUD_LINK = "/edit/neo14baqy3k2/duplicate";
| + | |
− | //
| + | |
− |
| + | |
− | //prepare links
| + | |
− | meta.cloudId = 'neo14baqy3k2';
| + | |
− | meta.updateCloudLink = '/edit/neo14baqy3k2/update';
| + | |
− | //meta.deleteLink = '/edit/neo14baqy3k2/delete';
| + | |
− | meta.getZazzleLink = '/api/get-zazzle-link';
| + | |
− | meta.deleteBulkLink = '/api/clouds_bulk_delete';
| + | |
− | meta.sendEmailLink = '/api/send-cloud-email';
| + | |
− | meta.feedbackLink = '/api/send-feedback';
| + | |
− | meta.tutorialsLink = '/tutorials';
| + | |
− | meta.emojisLink = '/emojis';
| + | |
− | | + | |
− | // DUPLICATE_CLOUD_LINK = '/edit/neo14baqy3k2/duplicate';
| + | |
− | meta.imageDownloadLink = '/api/download';
| + | |
− | | + | |
− | meta.getTextFromUrlLink = '/api/get-text-from-url';
| + | |
− | meta.getImageFromUrlLink = '/api/get-image-from-url';
| + | |
− | //meta.sendErrorReportLink = '/api/report-bug';
| + | |
− | meta.redirectLink = '/static/creator/redirect.html';
| + | |
− | | + | |
− | meta.currencySigns = currencySigns; // defined in paddle-integration.js
| + | |
− | | + | |
− | meta.packs = [
| + | |
− | { "id": "L1", "desc": "1 HQ download", "amount": 1, "amountDesc": " HQ download for " , "price": 4.99, "currency": "USD"},
| + | |
− | { "id": "L5", "desc": "5 HQ downloads", "amount": 5, "amountDesc": " HQ downloads for " , "price": 9.99, "currency": "USD", "defaultChecked": true},
| + | |
− | { "id": "L25", "desc": "25 HQ downloads", "amount": 25, "amountDesc": " HQ downloads for " , "price": 33.99, "currency": "USD"},
| + | |
− | { "id": "L100", "desc": "100 HQ downloads", "amount": 100, "amountDesc": " HQ downloads for " , "price": 99.99, "currency": "USD"}
| + | |
− | ];
| + | |
− | | + | |
− | meta.plans = [
| + | |
− | { "id": "L0M1", "desc": "Unlimited plan for 1 month", "amount": 1, "amountDesc": " month for ", "price": 29.99, "currency": "USD"},
| + | |
− | { "id": "L0M3", "desc": "Unlimited plan for 3 months", "amount": 3, "amountDesc": " months for ", "price": 79.99, "currency": "USD"},
| + | |
− | { "id": "L0M12", "desc": "Unlimited plan for 12 months", "amount": 12, "amountDesc": " months for ", "price": 299.99, "currency": "USD"}
| + | |
− | ];
| + | |
− | | + | |
− |
| + | |
− | try {
| + | |
− | Paddle.Setup({
| + | |
− | vendor: 28284
| + | |
− |
| + | |
− | });
| + | |
− | | + | |
− | meta.purchase = function(item, successCallback) {
| + | |
− | Paddle.Checkout.open({
| + | |
− | referring_domain: 'creator',
| + | |
− | product: paddleMapping[item.id],
| + | |
− | email: 'et8687926@gmail.com',
| + | |
− | passthrough: 'FINIU-P-' + item.id,
| + | |
− | allowQuantity: false,
| + | |
− | //country: '',
| + | |
− | //message: item.descFull,
| + | |
− | title: item.desc,
| + | |
− |
| + | |
− | successCallback: (data) => successCallback(data.checkout.id)
| + | |
− | });
| + | |
− | }
| + | |
− | | + | |
− | // localize pricing
| + | |
− | jsonp(paddleProductsURL, function(data) { // defined in paddle-integration.js
| + | |
− | //return;
| + | |
− | if (data.success) {
| + | |
− | var packsAndPlans = meta.packs.concat(meta.plans);
| + | |
− | var products = data.response.products;
| + | |
− | for (var productIndex in products) {
| + | |
− | var product = products[productIndex];
| + | |
− | for (var i = 0; i < packsAndPlans.length; i++) {
| + | |
− | var packOrPlan = packsAndPlans[i];
| + | |
− | if (packOrPlan.paddleId == product.product_id) {
| + | |
− | packOrPlan.price = product.price.gross;
| + | |
− | packOrPlan.currency = product.currency;
| + | |
− | break;
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | }
| + | |
− | });
| + | |
− | | + | |
− | }
| + | |
− | catch (e) {
| + | |
− | // do nothing
| + | |
− | }
| + | |
− |
| + | |
− | | + | |
− |
| + | |
− | | + | |
− | function browserIsCompatible() {
| + | |
− | var isIE10 = false;
| + | |
− | /*@cc_on
| + | |
− | if (/^10/.test(@_jscript_version)) {
| + | |
− | isIE10 = true;
| + | |
− | }
| + | |
− | @*/
| + | |
− | if (isIE10) return false;
| + | |
− | | + | |
− | var blobSupport = false;
| + | |
− | try { blobSupport = !!new Blob(); } catch (e) {};
| + | |
− | | + | |
− | var mapSupport = false;
| + | |
− | try { mapSupport = !!((new Map).forEach); } catch (e) {};
| + | |
− | var elem = document.createElement('canvas');
| + | |
− | return (
| + | |
− | blobSupport &&
| + | |
− | 'ArrayBuffer' in window &&
| + | |
− | !!(elem.getContext && elem.getContext('2d')) &&
| + | |
− | typeof DataView !== 'undefined' && 'getFloat64' in DataView.prototype &&
| + | |
− | 'XMLHttpRequest' in window && 'withCredentials' in new XMLHttpRequest() &&
| + | |
− | typeof window.FileReader !== 'undefined' &&
| + | |
− | mapSupport
| + | |
− | );
| + | |
− | }
| + | |
− | | + | |
− | function addScript(script) {
| + | |
− | var newScript = document.createElement("script");
| + | |
− | newScript.async = false;
| + | |
− | newScript.defer = true;
| + | |
− | newScript.src = script;
| + | |
− | var scripts = document.getElementsByTagName('script');
| + | |
− | var lastScript = scripts[scripts.length - 1];
| + | |
− | lastScript.parentNode.insertBefore(newScript, lastScript);
| + | |
− | }
| + | |
− | | + | |
− | if (!browserIsCompatible()) {
| + | |
− | var root = document.getElementById('root');
| + | |
− | document.body.removeChild(root);
| + | |
− | document.write('<div id="outdated"><div class="content"><h6>Your browser is out-of-date!</h6><p>Update your browser to create word art. <a id="btnUpdateBrowser" href="http://outdatedbrowser.com/">Update my browser now </a></p></div></div>');
| + | |
− | //document.getElementById('root').innerHTML = '<div style="padding: 50px;font-size:30px;">Your browser is out of date<br/>Please <a href="http://outdatedbrowser.com">update it</a> to use WordArt.com!</div>';
| + | |
− | }
| + | |
− | else {
| + | |
− | window.addEventListener('load', function () {
| + | |
− | addScript('/static/creator/canvas-toBlob.js'); // for ie11
| + | |
− | addScript('/static/creator/bundle1_999a62bf37279dbc1368f53bccdf27c5.js');
| + | |
− | addScript('/static/creator/bundle2_cf4341ac951578ee8b3fcb8806ed3821.js');
| + | |
− | addScript('/static/creator/bundle3_c92f2fa2cdc2a5f09c5061125b1a7909.js');
| + | |
− | addScript('/static/creator/bundle4_0183885ba21d0131d237c81a973ec77a.js');
| + | |
− | });
| + | |
− | }
| + | |
− | </script>
| + | |
− |
| + | |
− | | + | |
− | <!-- Google Analytics -->
| + | |
− | <script>
| + | |
− | (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
| + | |
− | function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
| + | |
− | e=o.createElement(i);r=o.getElementsByTagName(i)[0];
| + | |
− | e.src='//www.google-analytics.com/analytics.js';
| + | |
− | r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
| + | |
− | ga('create','UA-7801940-1','auto');ga('send','pageview');
| + | |
− | </script>
| + | |
− | <!-- Yandex.Metrika counter -->
| + | |
− | <script type="text/javascript" >
| + | |
− | (function (d, w, c) {
| + | |
− | (w[c] = w[c] || []).push(function() {
| + | |
− | try {
| + | |
− | w.yaCounter6316660 = new Ya.Metrika({
| + | |
− | id:6316660,
| + | |
− | clickmap:true,
| + | |
− | trackLinks:true,
| + | |
− | accurateTrackBounce:true,
| + | |
− | webvisor:true
| + | |
− | });
| + | |
− | } catch(e) { }
| + | |
− | });
| + | |
− | | + | |
− | var scripts = d.getElementsByTagName("script"),
| + | |
− | n = scripts[scripts.length - 1],
| + | |
− | s = d.createElement("script"),
| + | |
− | f = function () { n.parentNode.insertAfter(s, n); };
| + | |
− | s.type = "text/javascript";
| + | |
− | s.async = true;
| + | |
− | s.src = "https://mc.yandex.ru/metrika/watch.js";
| + | |
− | | + | |
− | if (w.opera == "[object Opera]") {
| + | |
− | d.addEventListener("DOMContentLoaded", f, false);
| + | |
− | } else { f(); }
| + | |
− | })(document, window, "yandex_metrika_callbacks");
| + | |
− | </script>
| + | |
− | <noscript><div><img src="https://mc.yandex.ru/watch/6316660" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
| + | |
− | <!-- /Yandex.Metrika counter -->
| + | |
− | | + | |
− | | + | |
− | | + | |
− | </html>
| + | |
− | | + | |
− | | + | |
| |width=600 | | |width=600 |
| |height=400 | | |height=400 |