1const GoogleBtn = ` 2 <button type='button' id='loginWithGoogleBtn' class="gsi-material-button"> 3 <div class="gsi-material-button-state"></div> 4 <div class="gsi-material-button-content-wrapper"> 5 <div class="gsi-material-button-icon"> 6 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlns:xlink="http://www.w3.org/1999/xlink" style="display: block;"> 7 <path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path> 8 <path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path> 9 <path fill="#FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"></path> 10 <path fill="#34A853" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"></path> 11 <path fill="none" d="M0 0h48v48H0z"></path> 12 </svg> 13 </div> 14 <span class="gsi-material-button-contents">Continue with Google</span> 15 <span style="display: none;">Continue with Google</span> 16 </div> 17 </button> 18`; 19 20const GoogleBtnCSS = ` 21<style> 22.gsi-material-button { 23 -moz-user-select: none; 24 -webkit-user-select: none; 25 -ms-user-select: none; 26 -webkit-appearance: none; 27 background-color: #131314; 28 background-image: none; 29 border: 1px solid #747775; 30 -webkit-border-radius: 20px; 31 border-radius: 20px; 32 -webkit-box-sizing: border-box; 33 box-sizing: border-box; 34 color: #e3e3e3; 35 cursor: pointer; 36 font-family: 'Roboto', arial, sans-serif; 37 font-size: 14px; 38 height: 40px; 39 letter-spacing: 0.25px; 40 outline: none; 41 overflow: hidden; 42 padding: 0 12px; 43 position: relative; 44 text-align: center; 45 -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s; 46 transition: background-color .218s, border-color .218s, box-shadow .218s; 47 vertical-align: middle; 48 white-space: nowrap; 49 width: auto; 50 max-width: 400px; 51 min-width: min-content; 52 border-color: #8e918f; 53 } 54 55 .gsi-material-button .gsi-material-button-icon { 56 height: 20px; 57 margin-right: 12px; 58 min-width: 20px; 59 width: 20px; 60 } 61 62 .gsi-material-button .gsi-material-button-content-wrapper { 63 -webkit-align-items: center; 64 align-items: center; 65 display: flex; 66 -webkit-flex-direction: row; 67 flex-direction: row; 68 -webkit-flex-wrap: nowrap; 69 flex-wrap: nowrap; 70 height: 100%; 71 justify-content: center; 72 position: relative; 73 width: 100%; 74 } 75 76 .gsi-material-button .gsi-material-button-contents { 77 -webkit-flex-grow: 0; 78 flex-grow: 0; 79 font-family: 'Roboto', arial, sans-serif; 80 font-weight: 500; 81 overflow: hidden; 82 text-overflow: ellipsis; 83 vertical-align: top; 84 } 85 86 .gsi-material-button .gsi-material-button-state { 87 -webkit-transition: opacity .218s; 88 transition: opacity .218s; 89 bottom: 0; 90 left: 0; 91 opacity: 0; 92 position: absolute; 93 right: 0; 94 top: 0; 95 } 96 97 .gsi-material-button:disabled { 98 cursor: default; 99 background-color: #13131461; 100 border-color: #8e918f1f; 101 } 102 103 .gsi-material-button:disabled .gsi-material-button-state { 104 background-color: #e3e3e31f; 105 } 106 107 .gsi-material-button:disabled .gsi-material-button-contents { 108 opacity: 38%; 109 } 110 111 .gsi-material-button:disabled .gsi-material-button-icon { 112 opacity: 38%; 113 } 114 115 .gsi-material-button:not(:disabled):active .gsi-material-button-state, 116 .gsi-material-button:not(:disabled):focus .gsi-material-button-state { 117 background-color: white; 118 opacity: 12%; 119 } 120 121 .gsi-material-button:not(:disabled):hover { 122 -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); 123 box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15); 124 } 125 126 .gsi-material-button:not(:disabled):hover .gsi-material-button-state { 127 background-color: white; 128 opacity: 8%; 129 } 130 131</style> 132`; 133 134export { GoogleBtn, GoogleBtnCSS };
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.