TouchDevelop/tokensigner.html

107 строки
29 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=320, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<title>TouchDevelop login</title>
</head>
<body id='root'>
<div style='font-size: 14px; color:#444; font-family: sans-serif; line-height: 1.5em; width: 310px; margin: 2em auto;'>
<svg style='width:100%;margin-bottom:1.5em' viewBox="0 0 2200 480" preserveAspectRatio="xMinYMin" xmlns="http://www.w3.org/2000/svg"><path fill="rgba(0,0,0,0.5)" d="M 123.068,183.634L 107.205,183.634L 107.205,123.831C 107.205,118.935 107.522,112.939 108.155,105.843L 107.907,105.843C 106.999,109.886 106.186,112.788 105.47,114.548L 78.7846,183.634L 68.5812,183.634L 41.8336,115.064C 41.0763,113.042 40.2845,109.969 39.4583,105.843L 39.2105,105.843C 39.596,109.542 39.7888,115.58 39.7888,123.955L 39.7888,183.634L 23.9261,183.634L 23.9261,91.2171L 47.2038,91.2171L 70.4401,152.774C 72.2164,157.491 73.3731,161.011 73.9101,163.335L 74.2199,163.335C 75.7346,158.481 76.967,154.871 77.9171,152.505L 101.587,91.2171L 123.068,91.2171L 123.068,183.634 Z M 146.759,103.1C 144.239,103.1 142.084,102.299 140.294,100.697C 138.504,99.0948 137.609,97.0559 137.609,94.5805C 137.609,92.1188 138.504,90.0627 140.294,88.4124C 142.084,86.7622 144.239,85.937 146.759,85.937C 149.375,85.937 151.588,86.7622 153.399,88.4124C 155.21,90.0627 156.115,92.1188 156.115,94.5805C 156.115,96.9184 155.21,98.9229 153.399,100.594C 151.588,102.265 149.375,103.1 146.759,103.1 Z M 154.793,183.635L 140.252,183.635L 140.252,117.623L 154.793,117.623L 154.793,183.635 Z M 219.566,180.499C 214.278,183.47 208.02,184.955 200.791,184.955C 190.987,184.955 183.073,181.912 177.048,175.827C 171.024,169.741 168.012,161.858 168.012,152.176C 168.012,141.367 171.245,132.685 177.709,126.132C 184.174,119.579 192.818,116.303 203.641,116.303C 209.659,116.303 214.967,117.362 219.566,119.479L 219.566,133.466C 215.049,129.945 210.23,128.185 205.108,128.185C 198.898,128.185 193.806,130.303 189.834,134.538C 185.861,138.774 183.875,144.317 183.875,151.165C 183.875,157.931 185.747,163.274 189.493,167.194C 193.238,171.113 198.264,173.073 204.571,173.073C 209.872,173.073 214.87,171.312 219.566,167.792L 219.566,180.499 Z M 269.798,132.146C 267.953,130.385 265.302,129.505 261.846,129.505C 257.33,129.505 253.56,131.513 250.538,135.529C 247.515,139.544 246.004,145.004 246.004,151.908L 246.004,183.635L 231.463,183.635L 231.463,117.623L 246.004,117.623L 246.004,130.99L 246.273,130.99C 247.76,126.369 250.049,122.766 253.14,120.181C 256.232,117.595 259.677,116.303 263.478,116.303C 266.246,116.303 268.352,116.722 269.798,117.561L 269.798,132.146 Z M 307.7,184.955C 297.386,184.955 289.152,181.892 282.997,175.765C 276.842,169.638 273.764,161.514 273.764,151.392C 273.764,140.376 276.973,131.774 283.389,125.585C 289.806,119.397 298.453,116.302 309.331,116.302C 319.783,116.302 327.924,119.311 333.755,125.328C 339.587,131.344 342.502,139.696 342.502,150.381C 342.502,160.833 339.36,169.208 333.074,175.507C 326.788,181.806 318.33,184.955 307.7,184.955 Z M 308.464,128.185C 302.653,128.185 298.061,130.206 294.687,134.25C 291.314,138.293 289.627,143.87 289.627,150.979C 289.627,157.828 291.334,163.222 294.749,167.163C 298.164,171.103 302.736,173.073 308.464,173.073C 314.302,173.073 318.791,171.137 321.931,167.266C 325.07,163.394 326.64,157.883 326.64,150.732C 326.64,143.539 325.07,137.983 321.931,134.064C 318.791,130.144 314.302,128.185 308.464,128.185 Z M 350.434,181.139L 350.434,166.471C 355.97,170.872 362.077,173.073 368.755,173.073C 377.691,173.073 382.16,170.714 382.16,165.997C 382.16,164.498 381.778,163.226 381.013,162.181C 380.249,161.135 379.216,160.207 377.915,159.396C 376.614,158.584 375.079,157.859 373.309,157.219L 367.392,155.043C 364.707,153.984 362.287,152.856 360.132,151.66C 357.977,150.463 356.183,149.109 354.751,147.596C 353.319,146.084 352.242,144.365 351.519,142.439C 350.796,140.514 350.434,138.272 350.434,135.714C 350.434,132.551 351.192,129.763 352.706,127.349C 354.221,124.936 356.255,122.907 358.81,121.264C 361.364,119.62 364.263,118.382 367.505,117.55C 370.748,116.718 374.104,116.302 377.574,116.302C 383.716,116.302 389.21,117.3 394.057,119.294L 394.057,133.466C 389.526,129.945 384.322,128.185 378.442,128.185C 376.597,128.185 374.931,128.357 373.443,128.7C 371.956,129.044 370.686,129.519 369.633,130.124C 368.579,130.729 367.76,131.458 367.175,132.31C 366.59,133.163 366.297,134.105 366.297,135.137C 366.297,136.539 366.596,137.732 367.195,138.716C 367.794,139.699 368.683,140.565 369.86,141.315C 371.037,142.064 372.445,142.749 374.084,143.367L 379.764,145.389C 382.573,146.531 385.099,147.7 387.344,148.896C 389.588,150.092 391.502,151.45 393.086,152.97C 394.669,154.489 395.888,156.24 396.742,158.22C 397.595,160.2 398.022,162.559 398.022,165.296C 398.022,168.624 397.237,171.525 395.668,174.001C 394.098,176.476 392.005,178.526 389.389,180.148C 386.773,181.771 383.75,182.978 380.321,183.769C 376.893,184.559 373.278,184.955 369.478,184.955C 362.152,184.955 355.805,183.683 350.434,181.139 Z M 438.568,184.955C 428.254,184.955 420.02,181.891 413.865,175.765C 407.71,169.638 404.632,161.514 404.632,151.392C 404.632,140.376 407.841,131.774 414.257,125.585C 420.674,119.397 429.321,116.302 440.199,116.302C 450.651,116.302 458.792,119.311 464.623,125.327C 470.455,131.344 473.371,139.695 473.371,150.381C 473.371,160.833 470.228,169.208 463.942,175.507C 457.656,181.806 449.198,184.955 438.568,184.955 Z M 439.332,128.185C 433.521,128.185 428.929,130.206 425.555,134.249C 422.182,138.293 420.495,143.869 420.495,150.979C 420.495,157.828 422.202,163.222 425.617,167.162C 429.032,171.103 433.604,173.073 439.332,173.073C 445.17,173.073 449.659,171.137 452.799,167.266C 455.938,163.394 457.508,157.883 457.508,150.732C 457.508,143.539 455.938,137.983 452.799,134.064C 449.659,130.144 445.17,128.185 439.332,128.185 Z M 520.298,97.8189C 518.191,96.9387 515.789,96.4987 513.09,96.4987C 505.516,96.4987 501.73,100.576 501.73,108.731L 501.73,117.623L 517.654,117.623L 517.654,129.505L 501.792,129.505L 501.792,183.635L 487.251,183.635L 487.251,129.505L 475.354,129.505L 475.354,117.623L 487.251,117.623L 487.251,106.978C 487.251,100.061 489.554,94.6042 494.16,90.609C 498.766,86.6139 504.525,84.6164 511.437,84.6164C 515.169,84.6164 518.123,85.0084 520.298,85.7922L 520.298,97.8189 Z M 561.938,182.686C 559.047,184.198 555.246,184.955 550.537,184.955C 537.869,184.955 531.535,178.842 531.535,166.616L 531.535,129.505L 520.96,129.505L 520.96,117.622L 531.535,117.622L 531.535,102.13L 546.076,97.8188L 546.076,117.622L 561.938,117.622L 561.938,129.505L 546.076,129.505L 546.076,162.263C 546.076,166.141 546.788,168.912 548.213,170.576C 549.638,172.241 552.01,173.073 555.329,173.073C 557.876,173.073 560.079,172.192 561.938,170.432L 561.938,182.686 Z M 678.265,183.634L 660.316,183.634L 645.528,158.364C 644.316,156.04 643.129,154.056 641.965,152.413C 640.802,150.769 639.621,149.422 638.423,148.37C 637.225,147.318 635.917,146.551 634.498,146.07C 633.08,145.588 631.49,145.348 629.727,145.348L 624.068,145.348L 624.068,183.634L 608.205,183.634L 608.205,91.2175L 638.072,91.2175C 642.34,91.2175 646.265,91.7263 649.845,92.744C 653.424,93.7617 656.543,95.302 659.201,97.3649C 661.858,99.4278 663.938,102 665.438,105.08C 666.939,108.161 667.69,111.757 667.69,115.869C 667.69,119.101 667.225,122.065 666.296,124.76C 665.366,127.455 664.044,129.855 662.33,131.96C 660.616,134.064 658.547,135.858 656.123,137.344C 653.7,138.829 650.981,139.977 647.965,140.789L 647.965,141.036C 649.521,141.999 650.878,143.058 652.034,144.213C 653.19,145.368 654.289,146.554 655.328,147.771C 656.368,148.989 657.397,150.371 658.416,151.918L 661.803,157.312L 678.265,183.634 Z M 624.068,103.1L 624.068,133.465L 636.233,133.465C 638.478,133.465 640.554,133.098 642.461,132.362C 644.368,131.626 646.017,130.56 647.408,129.164C 648.798,127.768 649.883,126.073 650.661,124.079C 651.439,122.085 651.828,119.85 651.828,117.375C 651.828,112.892 650.495,109.392 647.831,106.875C 645.167,104.358 641.342,103.1 636.357,103.1L 624.068,103.1 Z M 739.733,154.589L 693.467,154.589C 693.646,160.503 695.581,165.062 699.271,168.266C 702.961,171.47 708.035,173.072 714.494,173.072C 721.736,173.072 728.387,170.872 734.446,166.471L 734.446,179.034C 728.222,182.981 720.001,184.955 709.784,184.955C 699.746,184.955 691.873,181.977 686.166,176.022C 680.458,170.068 677.604,161.685 677.604,150.876C 677.604,140.672 680.744,132.358 687.023,125.936C 693.302,119.513 701.102,116.302 710.425,116.302C 719.747,116.302 726.962,119.18 732.071,124.935C 737.179,130.691 739.733,138.678 739.733,148.896L 739.733,154.589 Z M 723.871,144.027C 723.829,139.021 722.569,135.129 720.091,132.351C 717.612,129.573 714.191,128.184 709.826,128.184C 705.543,128.184 701.918,129.646 698.951,132.568C 695.984,135.49 694.156,139.31 693.467,144.027L 723.871,144.027 Z M 745.021,181.138L 745.021,166.471C 750.557,170.872 756.664,173.072 763.342,173.072C 772.279,173.072 776.747,170.714 776.747,165.997C 776.747,164.498 776.365,163.226 775.601,162.18C 774.836,161.135 773.804,160.207 772.502,159.396C 771.201,158.584 769.666,157.859 767.896,157.219L 761.979,155.043C 759.294,153.984 756.874,152.856 754.719,151.66C 752.564,150.463 750.77,149.109 749.338,147.596C 747.906,146.083 746.829,144.364 746.106,142.439C 745.383,140.513 745.021,138.272 745.021,135.714C 745.021,132.551 745.779,129.762 747.294,127.349C 748.808,124.935 750.843,122.907 753.397,121.263C 755.951,119.62 758.85,118.382 762.093,117.55C 765.335,116.718 768.692,116.302 772.162,116.302C 778.303,116.302 783.797,117.299 788.644,119.293L 788.644,133.465C 784.114,129.945 778.909,128.184 773.029,128.184C 771.184,128.184 769.518,128.356 768.031,128.7C 766.543,129.044 765.273,129.518 764.22,130.123C 763.167,130.728 762.347,131.457 761.762,132.31C 761.177,133.163 760.884,134.105 760.884,135.136C 760.884,136.539 761.184,137.732 761.783,138.715C 762.382,139.699 763.27,140.565 764.447,141.315C 765.624,142.064 767.032,142.748 768.671,143.367L 774.351,145.389C 777.16,146.53 779.687,147.699 781.931,148.896C 784.176,150.092 786.09,151.45 787.673,152.97C 789.257,154.489 790.475,156.239 791.329,158.22C 792.183,160.2 792.61,162.559 792.61,165.295C 792.61,168.624 791.825,171.525 790.255,174.001C 788.685,176.476 786.592,178.525 783.976,180.148C 781.36,181.771 778.337,182.978 774.909,183.769C 771.48,184.559 767.865,184.955 764.065,184.955C 756.74,184.955 750.392,183.683 745.021,181.138 Z M 861.348,154.589L 815.082,154.589C 815.261,160.503 817.196,165.062 820.886,168.266C 824.576,171.47 829.651,173.072 836.109,173.072C 843.351,173.072 850.002,170.872 856.061,166.471L 856.061,179.034C 849.837,182.981 841.616,184.955 831.399,184.955C 821.361,184.955 813.488,181.977 807.781,176.022C 802.073,170.068 799.219,161.685 799.219,150.876C 799.219,140.672 802.359,132.358 808.638,125.936C 814.917,119.513 822.717,116.302 832.04,116.302C 841.362,116.302 848.577,119.18 853.686,124.935C 858.794,130.691 861.348,138.677 861.348,148.896L 861.348,154.589 Z M 845.486,144.027C 845.444,139.021 844.184,135.129 841.706,132.351C 839.227,129.573 835.806,128.184 831.44,128.184C 827.158,128.184 823.533,129.645 820.566,132.568C 817.599,135.49 815.771,139.31 815.082,144.027L 845.486,144.027 Z M 922.156,183.634L 907.615,183.634L 907.615,172.557L 907.367,172.557C 902.81,180.822 896.138,184.955 887.353,184.955C 880.881,184.955 875.81,183.205 872.141,179.705C 868.471,176.205 866.636,171.567 866.636,165.79C 866.636,153.413 873.797,146.2 888.117,144.151L 907.677,141.387C 907.677,132.585 903.243,128.184 894.375,128.184C 886.554,128.184 879.511,130.887 873.246,136.291L 873.246,122.718C 880.172,118.441 888.172,116.302 897.246,116.302C 913.853,116.302 922.156,124.485 922.156,140.85L 922.156,183.634 Z M 907.677,150.628L 893.983,152.547C 889.728,153.097 886.53,154.128 884.389,155.641C 882.248,157.154 881.177,159.808 881.177,163.604C 881.177,166.382 882.165,168.654 884.141,170.422C 886.117,172.189 888.758,173.072 892.062,173.072C 896.565,173.072 900.293,171.484 903.247,168.307C 906.2,165.13 907.677,161.135 907.677,156.322L 907.677,150.628 Z M 975.032,132.145C 973.187,130.385 970.536,129.504 967.08,129.504C 962.563,129.504 958.794,131.512 955.772,135.528C 952.749,139.544 951.238,145.003 951.238,151.907L 951.238,183.634L 936.697,183.634L 936.697,117.622L 951.238,117.622L 951.238,130.99L 951.506,130.99C 952.994,126.369 955.283,122.766 958.374,120.18C 961.465,117.595 964.911,116.302 968.712,116.302C 971.479,116.302 973.586,116.721 975.032,117.56L 975.032,132.145 Z M 1030.55,180.499C 1025.26,183.469 1019.01,184.955 1011.78,184.955C 1001.97,184.955 994.059,181.912 988.035,175.826C 982.01,169.741 978.998,161.857 978.998,152.175C 978.998,141.366 982.231,132.685 988.696,126.132C 995.16,119.578 1003.8,116.302 1014.63,116.302C 1020.64,116.302 1025.95,117.361 1030.55,119.479L 1030.55,133.465C 1026.04,129.944 1021.22,128.184 1016.09,128.184C 1009.88,128.184 1004.79,130.302 1000.82,134.538C 996.847,138.774 994.861,144.316 994.861,151.165C 994.861,157.931 996.734,163.274 1000.48,167.193C 1004.22,171.113 1009.25,173.072 1015.56,173.072C 1020.86,173.072 1025.86,171.312 1030.55,167.791L 1030.55,180.499 Z M 1100.61,183.634L 1086.07,183.634L 1086.07,147.699C 1086.07,134.689 1081.65,128.184 1072.81,128.184C 1068.36,128.184 1064.62,130.068 1061.57,133.836C 1058.52,137.605 1056.99,142.418 1056.99,148.276L 1056.99,183.634L 1042.45,183.634L 1042.45,85.9361L 1056.99,85.9361L 1056.99,128.824L 1057.24,128.824C 1062.22,120.476 1069.36,116.302 1078.64,116.302C 1093.29,116.302 1100.61,125.234 1100.61,143.099L 1100.61,183.634 Z"></path><path fill="rgba(90,204,19,1)" d="M 79.2551,407.646C 73.0826,410.476 67.2875,411.891 61.8697,411.891C 42.4088,411.891 32.6784,400.409 32.6784,377.446L 32.6784,290.281L 9.43052,290.281L 9.43052,279.931L 32.6784,279.931L 32.6784,245.162L 39.1474,243.06C 41.3846,242.467 43.5409,241.82 45.6164,241.12L 45.6164,279.931L 79.2551,279.931L 79.2551,290.281L 45.6164,290.281L 45.6164,376.031C 45.6164,385.006 47.0045,391.501 49.7808,395.517C 52.5571,399.533 57.274,401.541 63.9317,401.541C 68.6756,401.541 73.7834,399.978 79.2551,396.852L 79.2551,407.646 Z M 156.963,411.891C 137.799,411.891 122.644,405.733 111.499,393.415C 100.353,381.098 94.7804,365.088 94.7804,345.386C 94.7804,324.066 100.609,307.396 112.267,295.375C 123.924,283.355 139.282,277.344 158.338,277.344C 177.071,277.344 191.862,283.314 202.711,295.254C 213.56,307.194 218.985,323.729 218.985,344.86C 218.985,364.832 213.452,380.997 202.388,393.355C 191.323,405.712 176.181,411.891 156.963,411.891 Z M 157.813,287.694C 142.557,287.694 130.393,292.801 121.323,303.016C 112.253,313.232 107.718,327.435 107.718,345.628C 107.718,362.474 112.146,376.004 121,386.219C 129.854,396.434 141.964,401.541 157.327,401.541C 172.933,401.541 184.955,396.515 193.392,386.462C 201.828,376.408 206.047,362.46 206.047,344.618C 206.047,326.263 201.848,312.187 193.452,302.39C 185.056,292.593 173.176,287.694 157.813,287.694 Z M 335.426,409.304L 335.426,385.33L 334.941,385.33C 325.912,403.037 312.017,411.891 293.257,411.891C 262.718,411.891 247.448,392.728 247.448,354.402L 247.448,279.932L 260.386,279.932L 260.386,351.652C 260.386,369.118 263.223,381.799 268.897,389.696C 274.571,397.593 283.499,401.541 295.682,401.541C 307.515,401.541 317.098,397.128 324.429,388.301C 331.761,379.474 335.426,367.716 335.426,353.027L 335.426,279.932L 348.364,279.932L 348.364,409.304L 335.426,409.304 Z M 474.631,403.28C 464.82,409.021 453.108,411.891 439.496,411.891C 421.491,411.891 406.976,405.901 395.952,393.921C 384.928,381.94 379.415,366.261 379.415,346.882C 379.415,326.506 385.615,309.822 398.014,296.831C 410.413,283.84 426.356,277.344 445.844,277.344C 455.898,277.344 465.669,279.312 475.156,283.247L 475.156,296.305C 465.749,290.564 455.44,287.694 444.227,287.694C 428.809,287.694 416.309,293.118 406.727,303.966C 397.145,314.815 392.353,328.864 392.353,346.114C 392.353,362.797 396.74,376.206 405.514,386.34C 414.287,396.474 425.857,401.541 440.224,401.541C 453.404,401.541 464.873,398.078 474.631,391.151L 474.631,403.28 Z M 591.598,409.304L 591.598,331.923C 591.598,316.641 588.862,305.449 583.391,298.347C 577.919,291.245 569.388,287.694 557.798,287.694C 546.881,287.694 537.279,292.02 528.991,300.672C 520.702,309.323 516.558,321.721 516.558,337.866L 516.558,409.304L 503.62,409.304L 503.62,217.833L 516.558,217.833L 516.558,303.623L 517.084,303.623C 527.272,286.104 542.097,277.344 561.558,277.344C 575.547,277.344 586.207,281.832 593.539,290.807C 600.871,299.782 604.536,312.652 604.536,329.416L 604.536,409.304L 591.598,409.304 Z M 757.204,409.304L 728.74,409.304L 728.74,386.825L 728.255,386.825C 718.902,403.536 704.509,411.891 685.075,411.891C 669.307,411.891 656.685,406.137 647.211,394.628C 637.737,383.119 633,367.46 633,347.65C 633,326.384 638.236,309.35 648.707,296.548C 659.179,283.745 673.134,277.344 690.573,277.344C 707.851,277.344 720.412,284.311 728.255,298.246L 728.74,298.246L 728.74,217.833L 757.204,217.833L 757.204,409.304 Z M 729.145,350.076L 729.145,333.298C 729.145,324.188 726.24,316.466 720.432,310.132C 714.623,303.798 707.231,300.631 698.255,300.631C 687.635,300.631 679.28,304.674 673.188,312.76C 667.096,320.846 664.051,332.071 664.051,346.437C 664.051,359.455 666.975,369.737 672.824,377.284C 678.673,384.831 686.53,388.604 696.396,388.604C 706.126,388.604 714.017,384.952 720.068,377.648C 726.119,370.344 729.145,361.153 729.145,350.076 Z M 909.872,352.38L 819.306,352.38C 819.657,363.97 823.444,372.904 830.667,379.184C 837.891,385.464 847.824,388.604 860.465,388.604C 874.643,388.604 887.662,384.292 899.522,375.667L 899.522,400.288C 887.338,408.023 871.247,411.891 851.247,411.891C 831.597,411.891 816.186,406.056 805.014,394.386C 793.841,382.715 788.255,366.287 788.255,345.103C 788.255,325.104 794.401,308.811 806.692,296.224C 818.983,283.637 834.252,277.344 852.5,277.344C 870.748,277.344 884.872,282.984 894.872,294.263C 904.872,305.543 909.872,321.196 909.872,341.222L 909.872,352.38 Z M 878.821,331.68C 878.74,321.87 876.274,314.242 871.422,308.798C 866.57,303.353 859.872,300.631 851.328,300.631C 842.945,300.631 835.849,303.495 830.041,309.222C 824.232,314.95 820.654,322.436 819.306,331.68L 878.821,331.68 Z M 1047.01,279.931L 995.991,409.304L 963.646,409.304L 915.047,279.931L 946.907,279.931L 976.705,370.411C 978.969,377.068 980.371,382.877 980.91,387.836L 981.314,387.836C 982.096,381.61 983.309,375.963 984.953,370.896L 1016.21,279.931L 1047.01,279.931 Z M 1178.98,352.38L 1088.42,352.38C 1088.77,363.969 1092.55,372.904 1099.78,379.184C 1107,385.464 1116.93,388.604 1129.58,388.604C 1143.75,388.604 1156.77,384.292 1168.63,375.667L 1168.63,400.288C 1156.45,408.023 1140.36,411.891 1120.36,411.891C 1100.71,411.891 1085.3,406.056 1074.12,394.385C 1062.95,382.715 1057.37,366.287 1057.37,345.103C 1057.37,325.104 1063.51,308.811 1075.8,296.224C 1088.09,283.637 1103.36,277.344 1121.61,277.344C 1139.86,277.344 1153.98,282.984 1163.98,294.263C 1173.98,305.543 1178.98,321.196 1178.98,341.221L 1178.98,352.38 Z M 1147.93,331.68C 1147.85,321.87 1145.38,314.242 1140.53,308.798C 1135.68,303.353 1128.98,300.631 1120.44,300.631C 1112.06,300.631 1104.96,303.495 1099.15,309.222C 1093.34,314.95 1089.76,322.436 1088.42,331.68L 1147.93,331.68 Z M 1230.73,409.304L 1202.27,409.304L 1202.27,217.833L 1230.73,217.833L 1230.73,409.304 Z M 1328.21,411.891C 1308.03,411.891 1291.91,405.887 1279.86,393.88C 1267.81,381.873 1261.79,365.95 1261.79,346.113C 1261.79,324.524 1268.07,307.666 1280.63,295.537C 1293.19,283.408 1310.11,277.344 1331.41,277.344C 1351.87,277.344 1367.8,283.24 1379.22,295.031C 1390.63,306.823 1396.34,323.19 1396.34,344.132C 1396.34,364.616 1390.19,381.03 1377.88,393.375C 1365.58,405.719 1349.02,411.891 1328.21,411.891 Z M 1329.71,300.631C 1318.34,300.631 1309.35,304.593 1302.74,312.517C 1296.14,320.441 1292.84,331.37 1292.84,345.305C 1292.84,358.727 1296.18,369.299 1302.86,377.021C 1309.55,384.743 1318.5,388.604 1329.71,388.604C 1341.14,388.604 1349.93,384.81 1356.07,377.223C 1362.22,369.636 1365.29,358.835 1365.29,344.82C 1365.29,330.723 1362.22,319.835 1356.07,312.153C 1349.93,304.472 1341.14,300.631 1329.71,300.631 Z M 1453.79,389.736L 1453.27,389.736L 1453.27,468.815L 1424.8,468.815L 1424.8,279.931L 1453.27,279.931L 1453.27,303.016L 1453.79,303.016C 1463.98,285.901 1478.89,277.344 1498.51,277.344C 1515.22,277.344 1528.25,283.091 1537.59,294.587C 1546.93,306.082 1551.6,321.519 1551.6,340.898C 1551.6,362.379 1546.33,379.582 1535.79,392.505C 1525.25,405.429 1510.85,411.891 1492.61,411.891C 1475.81,411.891 1462.88,404.506 1453.79,389.736 Z M 1453.02,339.16L 1453.02,355.048C 1453.02,364.401 1456.06,372.331 1462.14,378.84C 1468.22,385.35 1475.95,388.604 1485.33,388.604C 1496.3,388.604 1504.91,384.413 1511.16,376.031C 1517.42,367.648 1520.54,355.951 1520.54,340.938C 1520.54,328.325 1517.63,318.453 1511.81,311.324C 1505.99,304.195 1498.09,300.631 1488.12,300.631C 1477.58,300.631 1469.1,304.303 1462.67,311.648C 1456.24,318.992 1453.02,328.163 1453.02,339.16 Z "></path><path fill="rgba(90,204,19,1)" d="M 2010.73,226.554C 1953.37,226.554 1906.61,179.796 1906.61,122.425C 1906.61,65.0614 1953.37,18.3036 2010.73,18.3036C 2068.1,18.3036 2114.86,65.0614 2114.86,122.425C 2114.86,179.796 2068.1,226.554 2010.73,226.554 Z M 2010.73,214.601C 2061.52,214.601 2102.34,173.212 2102.34,122.426C 2102.34,71.6464 2061.52,30.8186 2010.73,30.8186C 1959.95,30.8186 1919.13,71.6464 1919.13,122.426C 1919.13,173.212 1959.95,214.601 2010.73,214.601 Z M 1966.29,171.64L 1969.04,153.983L 1983.95,168.874L 1966.29,171.64 Z M 1992.53,166.239L 1971.47,145.187L 2024.96,91.7001L 2046.01,112.758L 1992.53,166.239 Z M 1787.69,450.736C 1730.32,450.736 1684.14,403.978 1684.14,346.608C 1684.14,289.239 1730.32,242.486 1787.69,242.486C 1845.06,242.486 1891.81,289.239 1891.81,346.608C 1891.81,403.978 1845.06,450.736 1787.69,450.736 Z M 1787.69,438.785C 1838.48,438.785 1879.87,397.394 1879.87,346.608C 1879.87,295.822 1838.48,255.001 1787.69,255.001C 1736.9,255.001 1696.08,295.822 1696.08,346.608C 1696.08,397.394 1736.9,438.785 1787.69,438.785 Z M 1828.92,346.707L 1766.79,393.393L 1766.79,300.009L 1828.92,346.707 Z M 2010.73,450.168C 1953.37,450.168 1906.61,403.41 1906.61,346.04C 1906.61,288.671 1953.37,241.913 2010.73,241.913C 2068.1,241.913 2114.86,288.671 2114.86,346.04C 2114.86,403.41 2068.1,450.168 2010.73,450.168 Z M 2010.73,437.649C 2061.52,437.649 2102.34,396.826 2102.34,346.04C 2102.34,295.254 2061.52,253.865 2010.73,253.865C 1959.95,253.865 1919.13,295.254 1919.13,346.04C 1919.13,396.826 1959.95,437.649 2010.73,437.649 Z M 1998.14,376.172C 1995.95,376.172 1994.12,375.477 1992.61,374.059C 1991.07,372.658 1990.33,370.96 1990.33,368.993C 1990.33,367.013 1991.07,365.302 1992.61,363.862C 1994.12,362.442 1995.95,361.73 1998.14,361.73C 2000.34,361.73 2002.22,362.442 2003.77,363.862C 2005.3,365.302 2006.06,367.013 2006.06,368.993C 2006.06,370.96 2005.3,372.658 2003.77,374.059C 2002.22,375.477 2000.34,376.172 1998.14,376.172 Z M 1998.14,332.82C 1995.95,332.82 1994.12,332.127 1992.61,330.721C 1991.07,329.301 1990.33,327.631 1990.33,325.663C 1990.33,323.662 1991.07,321.944 1992.61,320.526C 1994.12,319.086 1995.95,318.379 1998.14,318.379C 2000.34,318.379 2002.22,319.086 2003.77,320.526C 2005.3,321.944 2006.06,323.662 2006.06,325.663C 2006.06,327.631 2005.3,329.301 2003.77,330.721C 2002.22,332.127 2000.34,332.82 1998.14,332.82 Z M 2023.17,392.845L 2012.56,392.845C 2023.76,379.301 2029.37,363.46 2029.37,345.326C 2029.37,327.042 2023.74,311.003 2012.51,297.255L 2023.23,297.255C 2034.7,310.515 2040.45,326.574 2040.45,345.433C 2040.45,364.226 2034.68,380.028 2023.17,392.845 Z M 1787.69,226.554C 1730.32,226.554 1684.14,179.796 1684.14,122.426C 1684.14,65.0618 1730.32,18.3039 1787.69,18.3039C 1845.06,18.3039 1891.81,65.0618 1891.81,122.426C 1891.81,179.796 1845.06,226.554 1787.69,226.554 Z M 1787.69,214.6C 1838.48,214.6 1879.87,173.212 1879.87,122.426C 1879.87,71.6461 1838.48,30.8183 1787.69,30.8183C 1736.91,30.8183 1696.08,71.6461 1696.08,122.426C 1696.08,173.212 1736.91,214.6 1787.69,214.6 Z M 1790.54,137.792C 1771.01,137.792 1754.69,122.048 1754.69,102.517C 1754.69,82.9636 1771.01,67.2356 1790.54,67.2356C 1810.08,67.2356 1825.81,82.9636 1825.81,102.517C 1825.81,122.048 1810.08,137.792 1790.54,137.792 Z M 1790.54,128.685C 1791.55,128.685 1792.54,128.63 1793.52,128.523L 1800.78,103.653L 1780.3,103.653L 1787.01,128.459C 1788.17,128.608 1789.34,128.685 1790.54,128.685 Z M 1816.71,102.517C 1816.71,87.871 1805.18,76.3404 1790.54,76.3404C 1775.91,76.3404 1763.79,87.871 1763.79,102.517C 1763.79,113.508 1770.64,122.764 1780.26,126.681L 1772.9,101.374L 1772.9,100.806L 1772.9,100.238C 1773.01,99.8292 1773.2,99.4387 1773.47,99.1023C 1773.74,98.634 1774.14,98.2368 1774.6,97.9596C 1774.94,97.7026 1775.33,97.5048 1775.74,97.3916L 1776.31,97.3916L 1804.76,97.3916L 1805.33,97.3916L 1805.9,97.9596L 1806.47,97.9596L 1807.04,98.5276L 1807.61,99.1023C 1807.87,99.4319 1808.06,99.8224 1808.17,100.238C 1808.24,100.615 1808.24,100.997 1808.17,101.374L 1800.82,126.645C 1810.23,122.708 1816.71,113.475 1816.71,102.517 Z M 1773.06,147.789L 1773.15,141.529L 1807.65,141.581L 1807.61,145.094L 1773.06,147.789 Z M 1773.06,150.338L 1807.61,147.539L 1807.58,152.358L 1773.06,155.112L 1773.06,150.338 Z M 1773.18,157.609L 1807.61,154.894L 1807.58,159.133L 1773.6,161.755L 1773.18,157.609 Z M 1774.28,164.159L 1774.33,164.285L 1779.83,163.723L 1801.68,161.939L 1807.14,161.59L 1807.03,162.19L 1806.29,164.291C 1805.92,165.182 1805.47,166.238 1804.81,167.347C 1804.17,168.438 1803.34,169.585 1802.06,170.676C 1800.79,171.771 1799.06,172.828 1797.16,173.607C 1795.29,174.393 1793.23,174.922 1791.45,175.12C 1789.66,175.318 1788.17,175.213 1786.64,174.868C 1785.13,174.518 1783.57,173.938 1782.23,173.245C 1780.88,172.571 1779.78,171.771 1778.76,170.86C 1777.74,169.949 1776.79,168.892 1776.06,167.763C 1775.36,166.654 1774.84,165.482 1774.33,164.285L 1774.28,164.291L 1774.28,164.159 Z M 2050.56,108.202L 2030.08,87.1506L 2034.06,83.1679L 2035.64,81.6763C 2041.06,76.2347 2050.14,77.1262 2055.57,82.5542C 2061.01,87.9958 2061.62,97.0484 2056.18,102.49C 2055.82,102.85 2055.97,102.807 2055.11,103.653L 2050.56,108.202 Z "></path></svg>
<div style='color:#f00' id='error'>
</div>
<div id='consent' style='display:none; text-align:center'>
The website which sent you here wants to use
<div style='margin: 0.5em 0; word-break:break-all; text-align:center; font-weight:bold; font-size:1.3em' id='website'></div>
under your TouchDevelop user name.
<div id='btn' style='margin:1.5em; text-align:center; '>
<button style='font-family:inherit; font-size:inherit; border: none; background: #999; color: white; cursor:pointer; padding: 1em; ' id='nope'
onclick='window.close();window.location="https://www.touchdevelop.com"'>
No! Get me out
</button>
<button style='font-family:inherit; font-size:inherit; border: none; background: rgba(90,204,19,1); color: white; cursor:pointer; padding: 1em; ' id='agree'>
Yes, allow
</div>
</div>
</div>
<script type="text/javascript">
(function(){
function elt(n) { return document.getElementById(n) }
var qs = {}
var suff = document.URL.replace(/.*?/, "")
suff.replace(/#.*/, "").replace(/([^?&=]*)=([^?&=]*)/g, function (m, k, v) {
qs[decodeURIComponent(k)] = decodeURIComponent(v)
return ""
})
if (!qs.client_id || !qs.state || !qs.redirect_uri || qs.response_type != "token") {
elt('error').textContent = "wrong oauth parameters: " + JSON.stringify(qs)
return
}
if (qs.client_id.length > 200) {
elt('error').textContent = "too long client_id"
return
}
var atok = window.localStorage["access_token"]
var userid = window.localStorage["userid"]
if (!atok) {
var m = /#.*access_token=([A-Za-z0-9%]+).*&id=([a-z]+).*&state=foobar/.exec(window.location.href)
if (m) {
atok = m[1]
userid = m[2]
} else {
//var pp = window.location.href.replace(/.*:\/\/[^\/]*/, "")
var url = "https://www.touchdevelop.com/oauth/dialog?response_type=token&client_id=webapp" +
"&redirect_uri=" + encodeURIComponent(window.location.href) +
"&state=foobar"
window.location.href = url
//"/login?path=" + encodeURIComponent(pp)
return
}
}
function agree() {
elt('btn').innerHTML = "working...";
var client = new XMLHttpRequest()
client.onreadystatechange = function () {
if (client.readyState == 4)
if (client.status == 200) {
var tok = JSON.parse(client.responseText)
window.location = qs.redirect_uri +
"#state=" + encodeURIComponent(qs.state) +
"&access_token=" + encodeURIComponent(tok.jwt)
"&userid=" + encodeURIComponent(userid)
} else {
elt('error').textContent = "JWT error: " + client.status + ", " + client.responseText
}
}
client.open("GET", "https://touchdevelopuserauth.azurewebsites.net/api/sign_token?access_token=" + atok
+ "&aud=" + encodeURIComponent(qs.client_id))
client.send()
}
function q(s) { return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;") }
elt("website").innerHTML = q(qs.client_id);
elt("agree").onclick = agree;
elt("consent").style.display = "block";
})();
</script>
</body>
</html>