yourails_sep_academy_web 0.98.1 → 0.98.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.html +1 -1
- package/dist/js/155.5946de43f2edf56e9856.js +1 -0
- package/dist/js/{40.51c07061804fe893d46d.js → 40.6ecd37d3cdd128f47696.js} +1 -1
- package/dist/js/{528.bdf1a2179dc45e6e6e92.js → 528.b8c934e71c3a357886fe.js} +1 -1
- package/dist/js/{index.7440281b8894e8034e24.js → index.5dfb3800d20f676a01e1.js} +1 -1
- package/dist/manifest.json +4 -4
- package/package.json +1 -1
- package/dist/js/155.3b235bf7306cc5abd0c0.js +0 -1
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Title</title><script id="jsonModule" type="application/json">{"moduleID":"hdSN1ZyN8qGK","__v":0,"article":[[{"options":{"style":"p"},"articleItemID":"vdLQREIC8dNp","capture":"Introduction to Custom Properties in CSS","divs":["Custom properties, also known as CSS variables, have revolutionized the way developers approach styling in web design.","They allow for greater flexibility and maintainability in CSS, enabling dynamic styling that can be easily manipulated through JavaScript.","This article explores how custom properties work, their implementation, and how they can be accessed and modified using JavaScript."],"_id":"67932efd2cc099fe8df966e8"},{"options":{"style":"p"},"articleItemID":"vsZOW2hbAkTT","capture":"Understanding Custom Properties","divs":["Custom properties are defined using the syntax --property-name and can be assigned values just like regular CSS properties.","They can be utilized throughout a stylesheet, allowing for consistent styling and easy updates.","Fallback values can be set to ensure that if a custom property is not defined, a default style will be applied."],"_id":"67932efd2cc099fe8df966e9"},{"options":{"style":"p"},"articleItemID":"sd0MKqv4GkwE","capture":"Setting Up Custom Properties","divs":["To set up custom properties, developers typically define them at the top of their CSS file.","For example, one might define --color and --bg-color to control text and background colors respectively.","If these properties are not defined in the stylesheet, fallback values like black or transparent can be used."],"_id":"67932efd2cc099fe8df966ea"},{"options":{"style":"p"},"articleItemID":"bwxVFnvL2dDm","capture":"Using Custom Properties for Advanced Styling","divs":["Custom properties allow for advanced styling techniques, enabling developers to apply different styles to individual elements without cluttering the stylesheet.","For instance, an element can have inline styles that reference custom properties, making it easy to change styles dynamically.","This capability is particularly useful in responsive design and theming."],"_id":"67932efd2cc099fe8df966eb"},{"options":{"style":"p"},"articleItemID":"vzDYnhfKrtSa","capture":"Accessing Custom Properties with JavaScript","divs":["JavaScript provides a straightforward way to access and manipulate custom properties.","To access an inline custom property, developers can use the getPropertyValue method on the element's style object.","For example, console.log(element.style.getPropertyValue('--color')) retrieves the value of the custom property defined inline."],"_id":"67932efd2cc099fe8df966ec"},{"options":{"style":"p"},"articleItemID":"G2FGNbMJC8dN","capture":"Accessing Custom Properties from Stylesheets","divs":["In addition to inline styles, developers can also access custom properties defined in stylesheets.","Using document.styleSheets, one can access the first stylesheet and its rules to retrieve custom property values.","For instance, accessing the first rule and calling getPropertyValue on a defined custom property allows for dynamic styling based on stylesheet definitions."],"_id":"67932efd2cc099fe8df966ed"},{"options":{"style":"p"},"articleItemID":"ADsllWNWQ6Ck","capture":"Best Practices for Using Custom Properties","divs":["When using custom properties, it's essential to follow best practices to maintain code readability and efficiency.","Define custom properties at the root level to ensure they are accessible throughout the stylesheet.","Utilize meaningful names for custom properties to enhance clarity and maintainability."],"_id":"67932efd2cc099fe8df966ee"},{"options":{"style":"p"},"articleItemID":"iDu8ARUOwpZa","capture":"Common Use Cases for Custom Properties","divs":["Custom properties can be particularly useful in theming applications, allowing for easy color and style changes across an entire site.","They are also beneficial in responsive design, where different styles may be needed for various screen sizes.","Additionally, custom properties can simplify complex animations and transitions by allowing dynamic value changes."],"_id":"67932efd2cc099fe8df966ef"},{"options":{"style":"p"},"articleItemID":"Ft0b0qVWNzb1","capture":"Conclusion","divs":["Custom properties in CSS provide developers with powerful tools for styling and customization.","By leveraging JavaScript, these properties can be dynamically accessed and modified, enhancing the interactivity of web applications.","As web design continues to evolve, understanding and utilizing custom properties will be essential for creating modern, responsive, and maintainable websites."],"_id":"67932efd2cc099fe8df966f0"}]],"capture":"Javascript Tutorial - Explore custom properties in CSS","captureChannel":"LinkedIn Learning","capturePlaylist":"JavaScript","channelID":"UCikzJG7RbnNZhKLqqaXRM6A","contentID":"FjZdIvHVteU","contentType":"ytID","creatorID":"aBpOdEr8M6gN","dateCreated":1737699057698,"dateDeactivated":null,"dateUpdated":1737699069902,"description":" Introduction to Custom Properties in CSS. Setting Colors with Custom Properties. Usage of Fallbacks. Inline Custom Properties. Accessing Custom Properties with JavaScript. Example of Accessing Properties. Using getPropertyValue for Custom Properties. Accessing Custom Properties in Style Sheets. Retrieving Custom Property Values.","duration":"PT4M21S","index":0,"ipClient":"::ffff:127.0.0.1","isActive":true,"language":"en","objections":[],"organizationID":"1___oooOOOooo000","passRate":0.75,"playlistID":"PL26pr4T7OzVPAbOKjv3h5n8DRicIU4Kwx","questionNumber":6,"questions":[{"questionID":"zD9qTzyL3XEC","capture":"What do custom properties introduce to CSS?","isActive":true,"options":[{"optionID":"X1vLKCjFVTFw","label":"Custom properties introduce a new level of configuration and customization to CSS.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966bc"},{"optionID":"B7GVwwHV5Kdt","label":"They allow manipulation using JavaScript, opening up new possibilities.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966bd"},{"optionID":"Kh743wiE2vqX","label":"Custom properties remove the need for JavaScript in CSS.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966be"},{"optionID":"fXxkwhn1UrhY","label":"They limit the customization options available in CSS.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966bf"}],"multi":false,"_id":"67932efd2cc099fe8df966bb"},{"questionID":"pUQrJILUAkNw","capture":"How are colors set using custom properties?","isActive":true,"options":[{"optionID":"PESZxefFNZdY","label":"Colors are set using custom properties with a fallback value.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c1"},{"optionID":"QftzBIpoQuCU","label":"The color uses a custom property with a fallback of black.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c2"},{"optionID":"y9yuyxhQLqps","label":"Colors are set without any fallback values.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c3"},{"optionID":"S3Hfh5VDfgpe","label":"Custom properties do not allow setting background colors.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c4"}],"multi":false,"_id":"67932efd2cc099fe8df966c0"},{"questionID":"RUtUXhr92TZ7","capture":"Why are fallbacks used in the style sheet?","isActive":true,"options":[{"optionID":"XBJqir3uoT8d","label":"Fallbacks are used because there are no custom properties defined in the main style sheet.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c6"},{"optionID":"kxz6wW4Nrx17","label":"The colors are defined inline on one of the elements.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c7"},{"optionID":"jS68uF6PLQCt","label":"Fallbacks are used to define colors in the main style sheet.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c8"},{"optionID":"lSoPvq9VjD8A","label":"Fallbacks are unnecessary when custom properties are defined.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c9"}],"multi":false,"_id":"67932efd2cc099fe8df966c5"},{"questionID":"JKdmWnBmFr4G","capture":"How are custom properties used inline?","isActive":true,"options":[{"optionID":"vEdQXPk6a4ry","label":"Custom properties are defined in the style attribute of an element.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966cb"},{"optionID":"g4WjTFv4Zc2N","label":"They allow styling to be defined in the style sheet and used inline as needed.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966cc"},{"optionID":"Tyv6Ev4kCzJf","label":"Inline custom properties override all style sheet settings.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966cd"},{"optionID":"TxKa9oK9uBMA","label":"Custom properties cannot be used inline.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966ce"}],"multi":false,"_id":"67932efd2cc099fe8df966ca"},{"questionID":"qqNdKk7SrpfY","capture":"How can you access custom properties using JavaScript?","isActive":true,"options":[{"optionID":"L2hqW9ctoef3","label":"The answer is the same way we've been doing it so far.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d0"},{"optionID":"V2grPhelJJGN","label":"Here's an example of how to access the inline custom properties for that element.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d1"},{"optionID":"sJZw5tyE0iux","label":"You need a special library to access custom properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d2"},{"optionID":"jh7sFQ57DXm5","label":"Custom properties cannot be accessed using JavaScript.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d3"}],"multi":false,"_id":"67932efd2cc099fe8df966cf"},{"questionID":"t5MzfvPok4KS","capture":"What steps are involved in accessing custom properties?","isActive":true,"options":[{"optionID":"oNgyQlj8ANin","label":"We first grab the element itself.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d5"},{"optionID":"DnOkl36BdB7m","label":"Use console.log to log the element's style and call getPropertyValue for the property value.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d6"},{"optionID":"MoBLbzVGkH7Q","label":"We need to write a complex algorithm to access properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d7"},{"optionID":"PGTWcKUppJS8","label":"Custom properties are accessed by directly modifying the HTML.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d8"}],"multi":false,"_id":"67932efd2cc099fe8df966d4"},{"questionID":"vFftVDUbWXlT","capture":"Why is getPropertyValue used for custom properties?","isActive":true,"options":[{"optionID":"Gc9EOX6hw19K","label":"The custom property name starts with two dashes.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966da"},{"optionID":"Kp1zKF1aeFh5","label":"Two dashes as a JavaScript property name does not work.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966db"},{"optionID":"GnG8EEmTVvZY","label":"getPropertyValue is used because it is faster than other methods.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966dc"},{"optionID":"EwH4XFnJACS0","label":"getPropertyValue is the only method to access any CSS property.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966dd"}],"multi":false,"_id":"67932efd2cc099fe8df966d9"},{"questionID":"RIMKLtvpznJg","capture":"How can you access custom properties in style sheets?","isActive":true,"options":[{"optionID":"c9DKiMkj7BVZ","label":"Say document.styleSheets[0] to get the first style sheet.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966df"},{"optionID":"kGDOh61D9WJV","label":"Grab the CSS rules on the first element from that.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e0"},{"optionID":"FC08KM1Wsq6W","label":"Custom properties in style sheets are accessed by editing the HTML directly.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e1"},{"optionID":"psnIezIVlVQY","label":"You cannot access custom properties in style sheets using JavaScript.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e2"}],"multi":false,"_id":"67932efd2cc099fe8df966de"},{"questionID":"ZTVqYTmxt9Dl","capture":"What should be kept in mind when retrieving custom property values in CSS?","isActive":true,"options":[{"optionID":"pchi7Rw1VFm3","label":"Custom properties behave exactly the same way as any other CSS property.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e4"},{"optionID":"FQlbGc3I5UDN","label":"There are no JavaScript defined property names for these.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e5"},{"optionID":"aCoLfD5wfhJY","label":"Camel case property names are applicable for custom properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e6"},{"optionID":"gxWb18z8nJaE","label":"Custom properties do not start with dash dash.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e7"}],"multi":false,"_id":"67932efd2cc099fe8df966e3"}],"summary":[{"summaryItemID":"g84SxJEa0uvO","capture":"Introduction to Custom Properties in CSS","text":"Custom properties introduce a new level of configuration and customization to CSS. Being able to hook into and manipulate these custom properties using JavaScript opens up a whole new dimension of possibilities.","_id":"67932efd2cc099fe8df966b2"},{"summaryItemID":"I3gfb4B0NPMw","capture":"Setting Colors with Custom Properties","text":"In this example, I've used custom properties to set the color and background color of each of the link items. I'm setting up the color to use the custom property color, with a fallback value of black if color is not defined, and the same for background color with a custom property called BG color and a fallback of transparent.","_id":"67932efd2cc099fe8df966b3"},{"summaryItemID":"tDi0oRLqv6rb","capture":"Usage of Fallbacks","text":"I'm using these fallbacks because in the main style sheet, there are no custom properties defined for color and BG color. Although these colors are not defined in the style sheet, they are defined inline on one of the elements.","_id":"67932efd2cc099fe8df966b4"},{"summaryItemID":"WiwCJC9vmZXG","capture":"Inline Custom Properties","text":"We have the element with a style attribute where color and BG color are defined. This allows us to define how the styling happens in our style sheet and use custom properties only where necessary inline in the elements.","_id":"67932efd2cc099fe8df966b5"},{"summaryItemID":"PVQiHHLu4xZI","capture":"Accessing Custom Properties with JavaScript","text":"This raises the question of how to access custom properties using JavaScript. The answer is the same way we've been doing it so far. Here's an example of how to access the inline custom properties for that element.","_id":"67932efd2cc099fe8df966b6"},{"summaryItemID":"vwkodgDpO5gQ","capture":"Example of Accessing Properties","text":"We first grab the element itself, then use console.log to log the element's style and call getPropertyValue for the property value. Running this in the browser shows the value for that property, which is the value of the custom property defined inline.","_id":"67932efd2cc099fe8df966b7"},{"summaryItemID":"z47ied0e7Map","capture":"Using getPropertyValue for Custom Properties","text":"You'll notice I'm using getPropertyValue here because the custom property name starts with two dashes, and as we've learned, two dashes as a JavaScript property name does not work. If we try to say listItemstyle.--color, it simply wouldn't work. It would be a syntax error, so here we have to use getPropertyValue. This also means we can't do some of the traversing we've been doing previously because the custom properties are just different.","_id":"67932efd2cc099fe8df966b8"},{"summaryItemID":"vrwS5aFyTVpn","capture":"Accessing Custom Properties in Style Sheets","text":"In my style sheet, I've defined some custom properties at the very top. This is the first rule. If I say document.styleSheets[0], I get the first style sheet. Then I can grab the CSS rules on the first element from that. I'll say console.log(styleSheet). That gives me the current style sheet, and then I'll say cssRules. I want the first rule, which has index number zero, and I want to know about the custom properties like max width and white space.","_id":"67932efd2cc099fe8df966b9"},{"summaryItemID":"OhVUE0sNnLjR","capture":"Retrieving Custom Property Values","text":"I have max width and white space. So here I have style.getPropertyValue and --max=width. Back in the browser, it shows 70 VW. Custom properties behave exactly the same way as any other CSS property. The only thing to keep in mind is that there are no JavaScript defined property names for these. These camel case property names are not applicable because the custom properties always start with dash dash. Therefore, you have to use getPropertyValue to access the property value.","_id":"67932efd2cc099fe8df966ba"}],"tags":["Advanced","Controlling CSS with JavaScript","CSS","Front-End Web","Javascript","JavaScript","modify custom CSS","Morten Rand-Hendriksen","Open Source","Technology","Web Development","@linkedinlearning","JavaScript @linkedinlearning","Professional learning and testing"],"thumbnails":{"default":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/default.jpg","width":120,"height":90,"_id":"67932efd2cc099fe8df9664c"},"medium":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/mqdefault.jpg","width":320,"height":180,"_id":"67932efd2cc099fe8df9664d"},"high":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/hqdefault.jpg","width":480,"height":360,"_id":"67932efd2cc099fe8df9664e"},"standard":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/sddefault.jpg","width":640,"height":480,"_id":"67932efd2cc099fe8df9664f"},"maxres":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/maxresdefault.jpg","width":1280,"height":720,"_id":"67932efd2cc099fe8df96650"}}}</script><script defer="defer" src="js/vendors.3c01802e1fa16657dca8.js"></script><script defer="defer" src="js/index.7440281b8894e8034e24.js"></script></head><body><div id="root"></div></body></html>
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Title</title><script id="jsonModule" type="application/json">{"moduleID":"hdSN1ZyN8qGK","__v":0,"article":[[{"options":{"style":"p"},"articleItemID":"vdLQREIC8dNp","capture":"Introduction to Custom Properties in CSS","divs":["Custom properties, also known as CSS variables, have revolutionized the way developers approach styling in web design.","They allow for greater flexibility and maintainability in CSS, enabling dynamic styling that can be easily manipulated through JavaScript.","This article explores how custom properties work, their implementation, and how they can be accessed and modified using JavaScript."],"_id":"67932efd2cc099fe8df966e8"},{"options":{"style":"p"},"articleItemID":"vsZOW2hbAkTT","capture":"Understanding Custom Properties","divs":["Custom properties are defined using the syntax --property-name and can be assigned values just like regular CSS properties.","They can be utilized throughout a stylesheet, allowing for consistent styling and easy updates.","Fallback values can be set to ensure that if a custom property is not defined, a default style will be applied."],"_id":"67932efd2cc099fe8df966e9"},{"options":{"style":"p"},"articleItemID":"sd0MKqv4GkwE","capture":"Setting Up Custom Properties","divs":["To set up custom properties, developers typically define them at the top of their CSS file.","For example, one might define --color and --bg-color to control text and background colors respectively.","If these properties are not defined in the stylesheet, fallback values like black or transparent can be used."],"_id":"67932efd2cc099fe8df966ea"},{"options":{"style":"p"},"articleItemID":"bwxVFnvL2dDm","capture":"Using Custom Properties for Advanced Styling","divs":["Custom properties allow for advanced styling techniques, enabling developers to apply different styles to individual elements without cluttering the stylesheet.","For instance, an element can have inline styles that reference custom properties, making it easy to change styles dynamically.","This capability is particularly useful in responsive design and theming."],"_id":"67932efd2cc099fe8df966eb"},{"options":{"style":"p"},"articleItemID":"vzDYnhfKrtSa","capture":"Accessing Custom Properties with JavaScript","divs":["JavaScript provides a straightforward way to access and manipulate custom properties.","To access an inline custom property, developers can use the getPropertyValue method on the element's style object.","For example, console.log(element.style.getPropertyValue('--color')) retrieves the value of the custom property defined inline."],"_id":"67932efd2cc099fe8df966ec"},{"options":{"style":"p"},"articleItemID":"G2FGNbMJC8dN","capture":"Accessing Custom Properties from Stylesheets","divs":["In addition to inline styles, developers can also access custom properties defined in stylesheets.","Using document.styleSheets, one can access the first stylesheet and its rules to retrieve custom property values.","For instance, accessing the first rule and calling getPropertyValue on a defined custom property allows for dynamic styling based on stylesheet definitions."],"_id":"67932efd2cc099fe8df966ed"},{"options":{"style":"p"},"articleItemID":"ADsllWNWQ6Ck","capture":"Best Practices for Using Custom Properties","divs":["When using custom properties, it's essential to follow best practices to maintain code readability and efficiency.","Define custom properties at the root level to ensure they are accessible throughout the stylesheet.","Utilize meaningful names for custom properties to enhance clarity and maintainability."],"_id":"67932efd2cc099fe8df966ee"},{"options":{"style":"p"},"articleItemID":"iDu8ARUOwpZa","capture":"Common Use Cases for Custom Properties","divs":["Custom properties can be particularly useful in theming applications, allowing for easy color and style changes across an entire site.","They are also beneficial in responsive design, where different styles may be needed for various screen sizes.","Additionally, custom properties can simplify complex animations and transitions by allowing dynamic value changes."],"_id":"67932efd2cc099fe8df966ef"},{"options":{"style":"p"},"articleItemID":"Ft0b0qVWNzb1","capture":"Conclusion","divs":["Custom properties in CSS provide developers with powerful tools for styling and customization.","By leveraging JavaScript, these properties can be dynamically accessed and modified, enhancing the interactivity of web applications.","As web design continues to evolve, understanding and utilizing custom properties will be essential for creating modern, responsive, and maintainable websites."],"_id":"67932efd2cc099fe8df966f0"}]],"capture":"Javascript Tutorial - Explore custom properties in CSS","captureChannel":"LinkedIn Learning","capturePlaylist":"JavaScript","channelID":"UCikzJG7RbnNZhKLqqaXRM6A","contentID":"FjZdIvHVteU","contentType":"ytID","creatorID":"aBpOdEr8M6gN","dateCreated":1737699057698,"dateDeactivated":null,"dateUpdated":1737699069902,"description":" Introduction to Custom Properties in CSS. Setting Colors with Custom Properties. Usage of Fallbacks. Inline Custom Properties. Accessing Custom Properties with JavaScript. Example of Accessing Properties. Using getPropertyValue for Custom Properties. Accessing Custom Properties in Style Sheets. Retrieving Custom Property Values.","duration":"PT4M21S","index":0,"ipClient":"::ffff:127.0.0.1","isActive":true,"language":"en","objections":[],"organizationID":"1___oooOOOooo000","passRate":0.75,"playlistID":"PL26pr4T7OzVPAbOKjv3h5n8DRicIU4Kwx","questionNumber":6,"questions":[{"questionID":"zD9qTzyL3XEC","capture":"What do custom properties introduce to CSS?","isActive":true,"options":[{"optionID":"X1vLKCjFVTFw","label":"Custom properties introduce a new level of configuration and customization to CSS.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966bc"},{"optionID":"B7GVwwHV5Kdt","label":"They allow manipulation using JavaScript, opening up new possibilities.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966bd"},{"optionID":"Kh743wiE2vqX","label":"Custom properties remove the need for JavaScript in CSS.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966be"},{"optionID":"fXxkwhn1UrhY","label":"They limit the customization options available in CSS.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966bf"}],"multi":false,"_id":"67932efd2cc099fe8df966bb"},{"questionID":"pUQrJILUAkNw","capture":"How are colors set using custom properties?","isActive":true,"options":[{"optionID":"PESZxefFNZdY","label":"Colors are set using custom properties with a fallback value.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c1"},{"optionID":"QftzBIpoQuCU","label":"The color uses a custom property with a fallback of black.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c2"},{"optionID":"y9yuyxhQLqps","label":"Colors are set without any fallback values.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c3"},{"optionID":"S3Hfh5VDfgpe","label":"Custom properties do not allow setting background colors.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c4"}],"multi":false,"_id":"67932efd2cc099fe8df966c0"},{"questionID":"RUtUXhr92TZ7","capture":"Why are fallbacks used in the style sheet?","isActive":true,"options":[{"optionID":"XBJqir3uoT8d","label":"Fallbacks are used because there are no custom properties defined in the main style sheet.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c6"},{"optionID":"kxz6wW4Nrx17","label":"The colors are defined inline on one of the elements.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966c7"},{"optionID":"jS68uF6PLQCt","label":"Fallbacks are used to define colors in the main style sheet.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c8"},{"optionID":"lSoPvq9VjD8A","label":"Fallbacks are unnecessary when custom properties are defined.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966c9"}],"multi":false,"_id":"67932efd2cc099fe8df966c5"},{"questionID":"JKdmWnBmFr4G","capture":"How are custom properties used inline?","isActive":true,"options":[{"optionID":"vEdQXPk6a4ry","label":"Custom properties are defined in the style attribute of an element.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966cb"},{"optionID":"g4WjTFv4Zc2N","label":"They allow styling to be defined in the style sheet and used inline as needed.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966cc"},{"optionID":"Tyv6Ev4kCzJf","label":"Inline custom properties override all style sheet settings.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966cd"},{"optionID":"TxKa9oK9uBMA","label":"Custom properties cannot be used inline.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966ce"}],"multi":false,"_id":"67932efd2cc099fe8df966ca"},{"questionID":"qqNdKk7SrpfY","capture":"How can you access custom properties using JavaScript?","isActive":true,"options":[{"optionID":"L2hqW9ctoef3","label":"The answer is the same way we've been doing it so far.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d0"},{"optionID":"V2grPhelJJGN","label":"Here's an example of how to access the inline custom properties for that element.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d1"},{"optionID":"sJZw5tyE0iux","label":"You need a special library to access custom properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d2"},{"optionID":"jh7sFQ57DXm5","label":"Custom properties cannot be accessed using JavaScript.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d3"}],"multi":false,"_id":"67932efd2cc099fe8df966cf"},{"questionID":"t5MzfvPok4KS","capture":"What steps are involved in accessing custom properties?","isActive":true,"options":[{"optionID":"oNgyQlj8ANin","label":"We first grab the element itself.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d5"},{"optionID":"DnOkl36BdB7m","label":"Use console.log to log the element's style and call getPropertyValue for the property value.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966d6"},{"optionID":"MoBLbzVGkH7Q","label":"We need to write a complex algorithm to access properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d7"},{"optionID":"PGTWcKUppJS8","label":"Custom properties are accessed by directly modifying the HTML.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966d8"}],"multi":false,"_id":"67932efd2cc099fe8df966d4"},{"questionID":"vFftVDUbWXlT","capture":"Why is getPropertyValue used for custom properties?","isActive":true,"options":[{"optionID":"Gc9EOX6hw19K","label":"The custom property name starts with two dashes.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966da"},{"optionID":"Kp1zKF1aeFh5","label":"Two dashes as a JavaScript property name does not work.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966db"},{"optionID":"GnG8EEmTVvZY","label":"getPropertyValue is used because it is faster than other methods.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966dc"},{"optionID":"EwH4XFnJACS0","label":"getPropertyValue is the only method to access any CSS property.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966dd"}],"multi":false,"_id":"67932efd2cc099fe8df966d9"},{"questionID":"RIMKLtvpznJg","capture":"How can you access custom properties in style sheets?","isActive":true,"options":[{"optionID":"c9DKiMkj7BVZ","label":"Say document.styleSheets[0] to get the first style sheet.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966df"},{"optionID":"kGDOh61D9WJV","label":"Grab the CSS rules on the first element from that.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e0"},{"optionID":"FC08KM1Wsq6W","label":"Custom properties in style sheets are accessed by editing the HTML directly.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e1"},{"optionID":"psnIezIVlVQY","label":"You cannot access custom properties in style sheets using JavaScript.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e2"}],"multi":false,"_id":"67932efd2cc099fe8df966de"},{"questionID":"ZTVqYTmxt9Dl","capture":"What should be kept in mind when retrieving custom property values in CSS?","isActive":true,"options":[{"optionID":"pchi7Rw1VFm3","label":"Custom properties behave exactly the same way as any other CSS property.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e4"},{"optionID":"FQlbGc3I5UDN","label":"There are no JavaScript defined property names for these.","status":true,"answer":null,"_id":"67932efd2cc099fe8df966e5"},{"optionID":"aCoLfD5wfhJY","label":"Camel case property names are applicable for custom properties.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e6"},{"optionID":"gxWb18z8nJaE","label":"Custom properties do not start with dash dash.","status":false,"answer":null,"_id":"67932efd2cc099fe8df966e7"}],"multi":false,"_id":"67932efd2cc099fe8df966e3"}],"summary":[{"summaryItemID":"g84SxJEa0uvO","capture":"Introduction to Custom Properties in CSS","text":"Custom properties introduce a new level of configuration and customization to CSS. Being able to hook into and manipulate these custom properties using JavaScript opens up a whole new dimension of possibilities.","_id":"67932efd2cc099fe8df966b2"},{"summaryItemID":"I3gfb4B0NPMw","capture":"Setting Colors with Custom Properties","text":"In this example, I've used custom properties to set the color and background color of each of the link items. I'm setting up the color to use the custom property color, with a fallback value of black if color is not defined, and the same for background color with a custom property called BG color and a fallback of transparent.","_id":"67932efd2cc099fe8df966b3"},{"summaryItemID":"tDi0oRLqv6rb","capture":"Usage of Fallbacks","text":"I'm using these fallbacks because in the main style sheet, there are no custom properties defined for color and BG color. Although these colors are not defined in the style sheet, they are defined inline on one of the elements.","_id":"67932efd2cc099fe8df966b4"},{"summaryItemID":"WiwCJC9vmZXG","capture":"Inline Custom Properties","text":"We have the element with a style attribute where color and BG color are defined. This allows us to define how the styling happens in our style sheet and use custom properties only where necessary inline in the elements.","_id":"67932efd2cc099fe8df966b5"},{"summaryItemID":"PVQiHHLu4xZI","capture":"Accessing Custom Properties with JavaScript","text":"This raises the question of how to access custom properties using JavaScript. The answer is the same way we've been doing it so far. Here's an example of how to access the inline custom properties for that element.","_id":"67932efd2cc099fe8df966b6"},{"summaryItemID":"vwkodgDpO5gQ","capture":"Example of Accessing Properties","text":"We first grab the element itself, then use console.log to log the element's style and call getPropertyValue for the property value. Running this in the browser shows the value for that property, which is the value of the custom property defined inline.","_id":"67932efd2cc099fe8df966b7"},{"summaryItemID":"z47ied0e7Map","capture":"Using getPropertyValue for Custom Properties","text":"You'll notice I'm using getPropertyValue here because the custom property name starts with two dashes, and as we've learned, two dashes as a JavaScript property name does not work. If we try to say listItemstyle.--color, it simply wouldn't work. It would be a syntax error, so here we have to use getPropertyValue. This also means we can't do some of the traversing we've been doing previously because the custom properties are just different.","_id":"67932efd2cc099fe8df966b8"},{"summaryItemID":"vrwS5aFyTVpn","capture":"Accessing Custom Properties in Style Sheets","text":"In my style sheet, I've defined some custom properties at the very top. This is the first rule. If I say document.styleSheets[0], I get the first style sheet. Then I can grab the CSS rules on the first element from that. I'll say console.log(styleSheet). That gives me the current style sheet, and then I'll say cssRules. I want the first rule, which has index number zero, and I want to know about the custom properties like max width and white space.","_id":"67932efd2cc099fe8df966b9"},{"summaryItemID":"OhVUE0sNnLjR","capture":"Retrieving Custom Property Values","text":"I have max width and white space. So here I have style.getPropertyValue and --max=width. Back in the browser, it shows 70 VW. Custom properties behave exactly the same way as any other CSS property. The only thing to keep in mind is that there are no JavaScript defined property names for these. These camel case property names are not applicable because the custom properties always start with dash dash. Therefore, you have to use getPropertyValue to access the property value.","_id":"67932efd2cc099fe8df966ba"}],"tags":["Advanced","Controlling CSS with JavaScript","CSS","Front-End Web","Javascript","JavaScript","modify custom CSS","Morten Rand-Hendriksen","Open Source","Technology","Web Development","@linkedinlearning","JavaScript @linkedinlearning","Professional learning and testing"],"thumbnails":{"default":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/default.jpg","width":120,"height":90,"_id":"67932efd2cc099fe8df9664c"},"medium":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/mqdefault.jpg","width":320,"height":180,"_id":"67932efd2cc099fe8df9664d"},"high":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/hqdefault.jpg","width":480,"height":360,"_id":"67932efd2cc099fe8df9664e"},"standard":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/sddefault.jpg","width":640,"height":480,"_id":"67932efd2cc099fe8df9664f"},"maxres":{"url":"https://i.ytimg.com/vi/FjZdIvHVteU/maxresdefault.jpg","width":1280,"height":720,"_id":"67932efd2cc099fe8df96650"}}}</script><script defer="defer" src="js/vendors.3c01802e1fa16657dca8.js"></script><script defer="defer" src="js/index.5dfb3800d20f676a01e1.js"></script></head><body><div id="root"></div></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkyourails_sep_academy_web=self.webpackChunkyourails_sep_academy_web||[]).push([[155],{37155:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var n=a(97500),s=a.n(n),o=a(96363),l=a(19952);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var i=function(e){var t,a=e.classAdded,n=(e.storeStateSlice,e.isDisplaying),l=e.isVisible;return o.createElement("div",{className:s()("YouRailsAboutBody",(t={},r(t,a,!!a),r(t,"YouRailsAboutBody_display_none",!1===n),r(t,"YouRailsAboutBody_visible_none",!1===l),t))},o.createElement("header",null,o.createElement("div",{className:"container topbar"},o.createElement("div",{className:"brand"},o.createElement("img",{className:"brand-logo",src:"https://yourails.com/images/youRailsLogos/2026-05-22_logos/yourails_05_cycle.svg",alt:"YouRails logo"}),o.createElement("div",null,"YouRails")),o.createElement("nav",{className:"nav"},o.createElement("a",{href:"/"},"Home"),o.createElement("a",{href:"/#tools"},"Explore")),o.createElement("div",{className:"actions"},o.createElement("a",{className:"btn btn-primary",href:"#start"},"Create a video")))),o.createElement("main",null,o.createElement("section",{className:"hero",id:"hero"},o.createElement("div",{className:"container hero-grid"},o.createElement("div",null,o.createElement("h1",null,"About YouRails"),o.createElement("p",null,"YouRails is an AI‑powered platform that turns practical questions into short, structured educational videos. It’s built for people who want fast, clear answers in a format that’s easy to watch, share, and reuse."),o.createElement("p",{className:"hero-note"},"Short, browser‑based learning videos, generated on demand and designed for instant use."),o.createElement("div",{className:"hero-actions"},o.createElement("a",{className:"btn btn-primary",href:"#start"},"Try YouRails Free"),o.createElement("a",{className:"btn btn-secondary",href:"../"},"Back to homepage"))))),o.createElement("section",{className:"section",id:"mission"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"Mission & Vision"),o.createElement("p",{className:"section-lead"},"YouRails exists because learning today should be fast, focused, and frictionless. Instead of long lectures or scattered tutorials, we deliver short, structured videos that answer a specific task or question."),o.createElement("p",null,"Our vision is simple: turn any practical request into a clear, short, and reusable video explanation, so users can learn, create, and share knowledge in minutes, not hours."))),o.createElement("section",{className:"section",id:"how-it-works"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"How YouRails Works"),o.createElement("p",{className:"section-lead"},"The platform connects search, AI generation, and editing in one workflow, so you can move from a question to a finished video in seconds."),o.createElement("div",{className:"tools"},o.createElement("div",{className:"tool-card"},o.createElement("h3",null,"Search"),o.createElement("p",null,"Start by searching for an existing video or a themed collection. YouRails surfaces relevant short‑form answers from our library, so you can quickly find what you’re looking for.")),o.createElement("div",{className:"tool-card"},o.createElement("h3",null,"Generate"),o.createElement("p",null,"If no video exists yet, create a new educational clip instantly. YouRails uses AI to generate a short, focused video tailored to your query, optimized for on‑screen explanation and quick comprehension.")),o.createElement("div",{className:"tool-card"},o.createElement("h3",null,"Edit & Reuse"),o.createElement("p",null,"All content stays editable, so you can tweak the structure, narration, or visuals, and save it as part of your own collection. You keep full ownership and can reuse, share, or embed videos wherever you need them."))))),o.createElement("section",{className:"section",id:"for-whom"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"Who YouRails Is For"),o.createElement("p",{className:"section-lead"},"YouRails is built for anyone who wants answers in video form, from casual learners to professionals and creators."),o.createElement("div",{className:"panel-grid"},o.createElement("div",{className:"panel"},o.createElement("h3",null,"Quick learners"),o.createElement("p",null,"Users who want to solve a specific task fast, without watching long‑form content. YouRails gives them short, step‑by‑step explanations they can watch and apply immediately.")),o.createElement("div",{className:"panel"},o.createElement("h3",null,"Students & lifelong learners"),o.createElement("p",null,"People who prefer structured micro‑content that’s easy to follow and revisit later. YouRails turns complex topics into focused, thematic blocks of learning.")),o.createElement("div",{className:"panel"},o.createElement("h3",null,"Professionals & teams"),o.createElement("p",null,"Users who need practical knowledge on demand, from workflows and tools to best practices. Teams can create internal training clips and share them across the organization.")),o.createElement("div",{className:"panel"},o.createElement("h3",null,"Creators & educators"),o.createElement("p",null,"Teachers, coaches, and content creators who want to build editable, reusable video content in a single environment. YouRails simplifies the process from idea to structured lesson."))))),o.createElement("section",{className:"section",id:"technology"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"Technology & Approach"),o.createElement("p",{className:"section-lead"},"YouRails sits at the intersection of AI, microlearning, and short‑form video, built to feel fast, clean, and browser‑native."),o.createElement("p",null,"The platform is designed as a browser‑based workflow, so there’s no heavy app to install—just sign in, describe what you need, and get a short, structured video you can watch, edit, and reuse. Content is modular, so users can build playlists, collections, and reusable learning paths."))),o.createElement("section",{className:"section",id:"team"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"The Team Behind YouRails"),o.createElement("p",{className:"section-lead"},"YouRails is built by a small multidisciplinary team at UserTo Inc., a product company focused on AI‑driven solutions in media, tech, and education."),o.createElement("p",null,"The team includes programmers, designers, and marketers working together to develop both the product and its future business model. Our goal is to refine the AI video generation technology, validate real user workflows, and scale YouRails into a trusted platform for everyday learning."))),o.createElement("section",{className:"section",id:"future"},o.createElement("div",{className:"container"},o.createElement("div",{className:"section-title"},"What’s Next"),o.createElement("p",{className:"section-lead"},"YouRails is currently in active development, with a working prototype and early user feedback shaping the roadmap."),o.createElement("p",null,"We’re exploring ways to improve video quality, deepen AI understanding of user needs, and expand content types—from step‑by‑step tutorials to onboarding, training, and product walkthroughs. If you’re interested in learning more, testing the product, or partnering on the journey, we’d love to hear from you.")))),o.createElement("footer",{className:"site-footer"},o.createElement("div",{className:"container footer-inner"},o.createElement("div",{className:"footer-grid"},o.createElement("div",{className:"footer-brand-wrap"},o.createElement("div",{className:"footer-brand"},"Made by UserTo"),o.createElement("p",{className:"footer-desc"},o.createElement("a",{href:"https://userto.com/",target:"_blank",rel:"noopener noreferrer"},"AI solutions for learning, media, and growth."))),o.createElement("div",{className:"footer-contact"},o.createElement("h3",null,"Contact us"),o.createElement("div",{className:"contact-item"},o.createElement("span",{className:"contact-label"},"Email:"),o.createElement("a",{href:"mailto:contact@yourails.com"},"contact@yourails.com")),o.createElement("div",{className:"contact-item"},o.createElement("span",{className:"contact-label"},"Linkedin:"),o.createElement("a",{href:"https://www.linkedin.com/in/romanches/",target:"_blank",rel:"noopener noreferrer"},"https://www.linkedin.com/in/romanches/")))),o.createElement("div",{className:"footer-bottom"},"©2026 YouRails"))))},c=(0,l.withStoreStateSelectedYrl)([],o.memo(i));function m(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var d=function(e){var t,a=e.classAdded,n=(e.storeStateSlice,e.isDisplaying),l=e.isVisible;return o.createElement("div",{className:s()("YouRailsAbout",(t={},m(t,a,!!a),m(t,"YouRailsAbout_display_none",!1===n),m(t,"YouRailsAbout_visible_none",!1===l),t))},o.createElement(c,null))},u=(0,l.withStoreStateSelectedYrl)([],o.memo(d))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkyourails_sep_academy_web=self.webpackChunkyourails_sep_academy_web||[]).push([[40],{22040:(e,a,t)=>{t.r(a),t.d(a,{YouRailsHome:()=>u,default:()=>u});var l=t(97500),n=t.n(l),s=t(96363),r=t(19952);function c(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var i=function(e){var a,t=e.classAdded,l=(e.storeStateSlice,e.isDisplaying),r=e.isVisible;return s.createElement("div",{className:n()("YouRailsHomeBody",(a={},c(a,t,!!t),c(a,"YouRailsHomeBody_display_none",!1===l),c(a,"YouRailsHomeBody_visible_none",!1===r),a))},s.createElement("header",null,s.createElement("div",{className:"container topbar"},s.createElement("div",{className:"brand"},s.createElement("img",{className:"brand-logo",src:"https://yourails.com/images/youRailsLogos/2026-05-22_logos/yourails_05_cycle.svg",alt:"YouRails logo"}),s.createElement("div",null,"YouRails")),s.createElement("nav",{className:"nav"},s.createElement("a",{href:"#tools"},"Explore"),s.createElement("a",{href:"
|
|
1
|
+
"use strict";(self.webpackChunkyourails_sep_academy_web=self.webpackChunkyourails_sep_academy_web||[]).push([[40],{22040:(e,a,t)=>{t.r(a),t.d(a,{YouRailsHome:()=>u,default:()=>u});var l=t(97500),n=t.n(l),s=t(96363),r=t(19952);function c(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var i=function(e){var a,t=e.classAdded,l=(e.storeStateSlice,e.isDisplaying),r=e.isVisible;return s.createElement("div",{className:n()("YouRailsHomeBody",(a={},c(a,t,!!t),c(a,"YouRailsHomeBody_display_none",!1===l),c(a,"YouRailsHomeBody_visible_none",!1===r),a))},s.createElement("header",null,s.createElement("div",{className:"container topbar"},s.createElement("div",{className:"brand"},s.createElement("img",{className:"brand-logo",src:"https://yourails.com/images/youRailsLogos/2026-05-22_logos/yourails_05_cycle.svg",alt:"YouRails logo"}),s.createElement("div",null,"YouRails")),s.createElement("nav",{className:"nav"},s.createElement("a",{href:"#tools"},"Explore"),s.createElement("a",{href:"/about"},"About YouRails")),s.createElement("div",{className:"actions"},s.createElement("a",{className:"btn btn-primary",href:"#hero"},"Create a video")))),s.createElement("main",null,s.createElement("section",{className:"hero",id:"hero"},s.createElement("div",{className:"container hero-grid"},s.createElement("div",null,s.createElement("div",{className:"eyebrow"},s.createElement("span",{className:"pill"}),"Future of video learning"),s.createElement("h1",null,"AI educational content, made simple"),s.createElement("p",null,"YouRails is an AI-powered platform for structured short-form educational videos. It helps users turn practical needs into clear, fast, and editable learning content in minutes."),s.createElement("div",{className:"hero-actions"},s.createElement("a",{className:"btn btn-primary",href:"#tools"},"Create a video"),s.createElement("a",{className:"btn btn-secondary",href:"#teams"},"Explore YouRails")),s.createElement("div",{className:"hero-note"},"Short, structured, browser-based learning videos designed for instant use.")),s.createElement("div",{className:"preview",id:"YouRails product preview"},s.createElement("div",{className:"preview-frame"},s.createElement("div",{className:"video-bars"},s.createElement("div",{className:"sidebar"},s.createElement("div",{className:"tool"}),s.createElement("div",{className:"tool"}),s.createElement("div",{className:"tool"}),s.createElement("div",{className:"tool"}),s.createElement("div",{className:"tool"}),s.createElement("div",{className:"tool"})),s.createElement("div",{className:"timeline"},s.createElement("div",{className:"clip"}),s.createElement("div",{className:"clip"}),s.createElement("div",{className:"clip"}),s.createElement("div",{className:"clip"})),s.createElement("div",{className:"inspector"},s.createElement("div",{className:"line w92"}),s.createElement("div",{className:"line w80"}),s.createElement("div",{className:"line w60"}),s.createElement("div",{className:"line w80"}),s.createElement("div",{className:"line w60"}))))))),s.createElement("section",{className:"section",id:"tools"},s.createElement("div",{className:"container"},s.createElement("div",{className:"eyebrow"},s.createElement("span",{className:"pill"}),"Produce like a pro"),s.createElement("h2",{className:"section-title"},"A platform that connects search, generation, and learning."),s.createElement("p",{className:"section-lead"},"From searching an existing video to generating a new one instantly, YouRails combines content discovery and AI creation in a single workflow."),s.createElement("div",{className:"tools"},s.createElement("div",{className:"tool-card"},s.createElement("h3",null,"Search"),s.createElement("span",null,"Find existing videos from the library by entering a text query and exploring themed collections.")),s.createElement("div",{className:"tool-card"},s.createElement("h3",null,"Generate"),s.createElement("span",null,"Create a new short educational video instantly when the library does not yet contain a relevant answer.")),s.createElement("div",{className:"tool-card"},s.createElement("h3",null,"Edit"),s.createElement("span",null,"All generated content remains editable, so users can refine the result and reuse it as needed."))))),s.createElement("section",{className:"section",id:"teams"},s.createElement("div",{className:"container"},s.createElement("div",{className:"eyebrow"},s.createElement("span",{className:"pill"}),"Real teams creating on YouRails"),s.createElement("h2",{className:"section-title"},"A business built for learning, access, and scale."),s.createElement("p",{className:"section-lead"},"YouRails serves the growing need for AI-driven education and microlearning, where users expect immediate, task-based content delivery."),s.createElement("div",{className:"rating-row"},s.createElement("div",null,"EdTech"),s.createElement("div",null,"Microlearning"),s.createElement("div",null,"AI learning"),s.createElement("div",null,"Short-form video knowledge")),s.createElement("div",{className:"testimonials",id:"reviews"},s.createElement("div",{className:"quote"},s.createElement("p",null,"YouRails brings practical knowledge into a short video format that is easy to search, watch, and reuse."),s.createElement("div",{className:"author"},"Structured learning experience")),s.createElement("div",{className:"quote"},s.createElement("p",null,"The platform is built for instant answers, with AI helping turn text requests into useful visual explanations."),s.createElement("div",{className:"author"},"On-demand content workflow")),s.createElement("div",{className:"quote"},s.createElement("p",null,"Users keep full authorship of the content they create and can save it, organize it, and share it freely."),s.createElement("div",{className:"author"},"Editable and user-owned output"))))),s.createElement("section",{className:"section",id:"storytellers"},s.createElement("div",{className:"container"},s.createElement("div",{className:"eyebrow"},s.createElement("span",{className:"pill"}),"Made for any type of storyteller"),s.createElement("h2",{className:"section-title"},"Built for users who want answers in video form."),s.createElement("p",{className:"section-lead"},"YouRails is designed for people who need practical knowledge quickly, with learning content organized into short, focused videos and thematic collections."),s.createElement("div",{className:"panel-grid"},s.createElement("div",{className:"panel"},s.createElement("h3",null,"Quick learners"),s.createElement("p",null,"Get fast access to short video explanations that solve a specific task without wasting time.")),s.createElement("div",{className:"panel"},s.createElement("h3",null,"Students"),s.createElement("p",null,"Learn through structured micro-content that is easy to follow and easier to revisit later.")),s.createElement("div",{className:"panel"},s.createElement("h3",null,"Professionals"),s.createElement("p",null,"Use AI-generated learning modules to understand practical topics and workflows on demand.")),s.createElement("div",{className:"panel"},s.createElement("h3",null,"Creators"),s.createElement("p",null,"Build, edit, and organize content in a format designed for reuse, sharing, and playlist curation."))))),s.createElement("section",{className:"section",id:"story"},s.createElement("div",{className:"container"},s.createElement("div",{className:"eyebrow"},s.createElement("span",{className:"pill"}),"Meet the YouRails Team"),s.createElement("h2",{className:"section-title"},"Built by a small team with one clear goal."),s.createElement("p",{className:"section-lead"},"We are a team of three people—programmers, designers, and marketers—working through UserTo Inc. to build an AI-powered platform for practical educational content.")))),s.createElement("footer",{className:"site-footer"},s.createElement("div",{className:"container footer-inner"},s.createElement("div",{className:"footer-grid"},s.createElement("div",{className:"footer-brand-wrap"},s.createElement("div",{className:"footer-brand"},"Made by UserTo"),s.createElement("p",{className:"footer-desc"},s.createElement("a",{href:"https://userto.com/",target:"_blank",rel:"noopener noreferrer"},"AI solutions for learning, media, and growth."))),s.createElement("div",{className:"footer-contact"},s.createElement("h3",null,"Contact us"),s.createElement("div",{className:"contact-item"},s.createElement("span",{className:"contact-label"},"Email:"),s.createElement("a",{href:"mailto:contact@yourails.com"},"contact@yourails.com")),s.createElement("div",{className:"contact-item"},s.createElement("span",{className:"contact-label"},"Linkedin:"),s.createElement("a",{href:"https://www.linkedin.com/in/romanches/",target:"_blank",rel:"noopener noreferrer"},"https://www.linkedin.com/in/romanches/")))),s.createElement("div",{className:"footer-bottom"},"©2026 YouRails"))))},o=(0,r.withStoreStateSelectedYrl)([],s.memo(i));function m(e,a,t){return a in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}var d=function(e){var a,t=e.classAdded,l=(e.storeStateSlice,e.isDisplaying),r=e.isVisible;return s.createElement("div",{className:n()("YouRailsHome",(a={},m(a,t,!!t),m(a,"YouRailsHome_display_none",!1===l),m(a,"YouRailsHome_visible_none",!1===r),a))},s.createElement(o,null))},u=(0,r.withStoreStateSelectedYrl)([],s.memo(d))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkyourails_sep_academy_web=self.webpackChunkyourails_sep_academy_web||[]).push([[528],{10528:(e,t,n)=>{n.d(t,{H:()=>I});var s=n(96363),a=n(83621),o=n(75522),r=n(19952),l=n(83970),i=n(85863),c=n(10594),u=n(4545),d=n(82932),m=n(80870),p=n(51504),E=n(51985),_=n(29263),v=n(37988),A=function(e){var t,a,o=e.classAdded,l=e.storeStateSlice,i=l.language,c=l.screenActive,u=void 0===c?"QrCodeModal":c,d=l.isSendBccInputVisible,m=e.handleEvents,p=r.DICTIONARY.Link_to_URL[i],E=location.pathname,_=location.search,A="".concat(r.SERVERS_MAIN.remote).concat(E).concat(_),h=(0,r.getMediaSizeCrossBrowser)(n.g),N=h.width,T=h.height,g={qRCodeSvgProps:{value:A,size:Math.min(N,T)/2},inputSendBccProps:{inputProps:{classAdded:"Input_search",type:"email",placeholder:null===(t=r.SCREENS_DICT[u])||void 0===t?void 0:t.placeholder,handleEvents:m,typeEvent:"ONCHANGE_INPUT_SEARCH",typeEventOnEnter:"CLICK_ON_SEND_BCC_CONFIRM",storeFormProp:null===(a=r.SCREENS_DICT[u])||void 0===a?void 0:a.storeFormProp},buttonSubmitProps:{icon:"MdOutlineEmail",classAdded:"Button_MdSearch",handleEvents:m,action:{typeEvent:"CLICK_ON_SEND_BCC_CONFIRM"},isDisplaying:!0}},buttonIsSendBccVisibleProps:{icon:"MdOutlineEmail",classAdded:"Button_MdSearch",handleEvents:m,action:{typeEvent:"TOGGLE_IS_SEND_BCC_INPUT_VISIBLE"},isDisplaying:!d}};return s.createElement("div",{className:(0,r.getClasses)("QrCodeModalBody",o)},s.createElement("h2",null,p),s.createElement("div",{className:"_qRCodeSVG"},s.createElement(v.h,g.qRCodeSvgProps)),d&&s.createElement("div",{className:"_inputSendBcc"},s.createElement(r.InputGroupYrl,g.inputSendBccProps)),s.createElement("div",{className:"_buttonIsSendBccVisible"},s.createElement(r.ButtonYrl,g.buttonIsSendBccVisibleProps)))},h=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["language","isSendBccInputVisible"],s.memo(A))),N={ConfirmationYesNoBodyYrl:r.ConfirmationYesNoBodyYrl,EmalInputs:p.b,QuestionScores:E.c,AcademyAboutBody:_.I,QrCodeModalBody:h},T=function(e){var t=e.storeStateSlice,n=t.modalFrames,a=t.isConfetti,o=e.handleEvents,l=(0,u.A)(),i=l.width,c=l.height;return s.createElement(s.Fragment,null,n.map(function(e){var t=e.childName,n=e.isActive,l=e.childProps,u=N[t],m=JSON.stringify({childName:t,childProps:l});if(!u)return null;var p={typeEvent:"SET_MODAL_FRAMES",data:[{childName:t,isActive:!1,childProps:l}]},E=n?"ModalFrames_display":"",_={buttonCloseProps:{icon:"MdClose",classAdded:"Button_MdClose",handleEvents:o,action:p},childProps:l,confettiProps:{width:i,height:c,run:!0,opacity:a?1:0}};return s.createElement("div",{key:m,id:"modalFrames",className:"ModalFrames ".concat(E," ModalFrames_").concat(t),onClick:function(e){return o(e,p)}},s.createElement("div",{className:"__content"},s.createElement("span",{className:"_close"},s.createElement(r.ButtonYrl,_.buttonCloseProps)),s.createElement("div",{className:"_inner",onClick:function(e){return o(e,{typeEvent:"STOP_PROPAGATION"})}},s.createElement(u,_.childProps))),a?s.createElement(d.A,_.confettiProps):null)}))},g=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["modalFrames","isConfetti"],s.memo(T))),y=n(36586),C=n(20656),b=function(e){var t,n,u=e.classAdded,d=e.contentID,m=void 0===d?"":d,p=e.moduleCapture,E=void 0===p?"":p,_=e.moduleID,v=void 0===_?"":_,A=e.documentID,h=void 0===A?"":A,N=e.isButtonAddCourse,T=e.isButtonAuthUser,b=(e.isButtonBack,e.isButtonSideMenuLeft),I=e.isButtonsShare,S=e.isButtonThemeToggle,P=e.isLogoGroup,f=e.isPageActionsGroup,O=e.isSeachGroup,D=e.isSelectLanguage,F=e.storeStateSlice,L=F.authAwsCognitoUserData,B=L.sub,M=L.email,Y=F.isSideNavLeftVisible,w=F.isMobileSearchInput,R=F.language,k=F.profiles,Q=F.screenActive,G=e.handleEvents,j=r.YOURAILS_ORGANIZATION.brand,x=(0,r.getTagLine)(),U="".concat(r.SERVERS_MAIN.remote,"/images/logoYouRails.png"),V=(0,a.Zp)(),W=r.DICTIONARY.createCourseQuiz[R],H=r.DICTIONARY["Toggle site theme"][R],q=r.DICTIONARY.Show_QR_code[R],K=(0,r.getArrayItemByProp)({arr:k,propName:"userID",propValue:B}),z=(null==K?void 0:K.nameFirst)||M&&M[0],Z=(null==K?void 0:K.nameLast)||M&&M[1],J=z&&Z?[z,Z]:[],$={selectLanguageProps:{LANGUAGES:r.LANGUAGES_APP,language:R,mode:null,typeEvent:"SELECT_LANGUAGE_APP",classAdded:"SelectLanguage__AppLanguage",languagesSelected:[{value:R}]},buttonLeftSideNavigationMenuProps:{icon:"MdMenu",classAdded:"Button_MdMenu",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonLeftSideNavigationAvatarProps:{classAdded:"Button_buttonLeftSideNavigationAvatar",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonLeftSideNavigationUnAuthorizedProps:{icon:"FaUserCircle",classAdded:"Button_buttonLeftSideNavigationAvatar",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonBackProps:{icon:"MdForward",classAdded:"Button_MdBackward3",handleEvents:G,action:{typeEvent:"GO_BACK_FROM_CERTIFICATE",data:{history:V,moduleCapture:E}},tooltipText:r.DICTIONARY.backToCourse[R],tooltipPosition:"bottom"},buttonAddCourseProps:{icon:"MdQueue",classAdded:"Button_AddCourse",tooltipText:W,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"CREATE_COURSE",data:{contentComponentName:"searchFormSep"}},isDisplaying:!1},buttonQrCodeModalToggleProps:{icon:"MdQrCode2",classAdded:"Button_QrCodeModalToggle",tooltipText:q,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"SET_QR_CODE_MODAL",data:{isActive:!0}}},buttonThemeToggleProps:{icon:"CgDarkMode",classAdded:"Button_ThemeToggle",tooltipText:H,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"TOGGLE_THEME"}},pageActionsProps:{moduleCapture:E,documentID:h,moduleID:v,contentID:m},avatarPlusInfoProps:{classProps:{_link:"_logoGroup"},typeEvent:"GO_SCREEN",capture:j,text:x,imgSrc:U,pathname:"/",isTitle:Q===r.ScreensEnumType.AcademyMatrix||Q===r.ScreensEnumType.ModulesPresent||Q===r.ScreensEnumType.TagsCloud},abInCircleProps:{classAdded:"",text:J},inputGroupProps:{inputProps:{classAdded:"Input_search",type:"text",placeholder:null===(t=r.SCREENS_DICT[Q])||void 0===t?void 0:t.placeholder,handleEvents:G,typeEvent:"ONCHANGE_INPUT_SEARCH",typeEventOnEnter:"CLICK_ON_SEARCH_BUTTON",storeFormProp:null===(n=r.SCREENS_DICT[Q])||void 0===n?void 0:n.storeFormProp},buttonSubmitProps:{icon:"MdSearch",classAdded:"Button_MdSearch",handleEvents:G,action:{typeEvent:"CLICK_ON_SEARCH_BUTTON"}}},buttonMobileSearchToggleProps:{icon:"MdSearch",classAdded:"Button_MobileSearchToggle",handleEvents:G,action:{typeEvent:"TOGGLE_IS_MOBILE_SEARCH_INPUT",data:{isMobileSearchInput:!w}}}},X=null;return Y?X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationMenuProps):T&&B?X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationAvatarProps,s.createElement(C.t,$.abInCircleProps)):T&&!B&&(X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationUnAuthorizedProps)),s.createElement("div",{className:(0,r.getClasses)("HeaderFrame",u)},s.createElement("div",{className:"_content"},s.createElement("div",{className:"__left"},b&&X,P&&s.createElement(y.w,$.avatarPlusInfoProps),f&&s.createElement(l._,$.pageActionsProps),I&&s.createElement(i.R,null),s.createElement("div",{className:"_itemButtonMobileToggle"},!w&&O&&s.createElement(r.ButtonYrl,$.buttonMobileSearchToggleProps),s.createElement(r.ButtonYrl,$.buttonQrCodeModalToggleProps))),s.createElement("div",{className:"__main"},O&&s.createElement("div",{className:"_itemInputGroupYrl"},s.createElement(r.InputGroupYrl,$.inputGroupProps))),s.createElement("div",{className:"__right"},N&&s.createElement("div",{className:"_itemButtonAddCourse"},s.createElement(r.ButtonYrl,$.buttonAddCourseProps)),s.createElement("div",{className:"_itemButtonQrCodeModalToggle"},s.createElement(r.ButtonYrl,$.buttonQrCodeModalToggleProps)),D&&s.createElement("div",{className:"_itemLanguageSelect"},s.createElement(c.j,$.selectLanguageProps)),S&&s.createElement("div",{className:"_itemButtonThemeToggle"},s.createElement(r.ButtonYrl,$.buttonThemeToggleProps))),(0,r.isMobile)()&&w&&O?s.createElement("div",{className:"__rightMobile"},s.createElement(r.InputGroupYrl,$.inputGroupProps)):null),s.createElement(o.E,null),s.createElement(g,null))},I=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["authAwsCognitoUserData","isSideNavLeftVisible","isMobileSearchInput","language","profiles","screenActive"],(0,r.withConditionalWrapperYrl)(function(e){var t;return(null==e||null===(t=e.storeStateSlice)||void 0===t?void 0:t.screenActive)!==r.ScreensEnumType.AcademyMatrix&&void 0===(null==e?void 0:e.isNoSeoIndexing)||!!e.isNoSeoIndexing},r.NoSeoIndexingYrl)(s.memo(b))))},10594:(e,t,n)=>{n.d(t,{j:()=>m});var s=n(96363),a=n(13478),o=n(78606),r=n(19952);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var s,a,o=[],r=!0,l=!1;try{for(n=n.call(e);!(r=(s=n.next()).done)&&(o.push(s.value),!t||o.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}var u=a.A.Option,d=n(80870),m=function(e){var t=e.languagesSelected,n=e.classAdded,l=e.LANGUAGES,c=e.language,m=e.mode,p=e.typeEvent,E=c||"en",_=function(){},v=function(e,t,n,a){return Object.keys(e).map(function(l){var c=e[l]["639-1"],d=i(e[l][t],1)[0],m=e[l]["639-1"],p=(0,o.nanoid)(),E=d;e[l][m];var _=e[l].svgFile,v={classAdded:"Image_languagesOptions ".concat(a),src:"".concat(n).concat(_),alt:E,handleEvents:function(){}};return s.createElement(u,{key:p,className:"_optionsAntd ".concat(a),value:c,isSelectOption:!0},s.createElement(r.ImageYrl,v),E)})}(l,E,r.SVG_FILE_DIR,n),A={selectAntdProps:{defaultOpen:!1,labelInValue:!0,value:t,defaultValue:[],filterOption:function(e,t){var n,s;return(null==t||null===(n=t.label)||void 0===n?void 0:n.toLowerCase().indexOf(e.toLowerCase()))>=0||(null==t||null===(s=t.value)||void 0===s?void 0:s.toLowerCase().indexOf(e.toLowerCase()))>=0},placeholder:r.DICTIONARY.select[E],showSearch:!0,className:"__selectAntd",mode:m,onBlur:_,onChange:function(e){return(0,d.o)({},{typeEvent:p,data:e})},onFocus:_,onSearch:_}};return s.createElement("div",{className:"SelectLanguage ".concat(n)},s.createElement(a.A,A.selectAntdProps,v))}},16142:(e,t,n)=>{n.d(t,{m:()=>p});var s=n(96363),a=n(45211),o=n(19952),r=n(97500),l=n.n(r);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){i(e,t,n[t])})}return e}function u(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function d(e,t){if(null==e)return{};var n,s,a=function(e,t){if(null==e)return{};var n,s,a={},o=Object.keys(e);for(s=0;s<o.length;s++)n=o[s],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)n=o[s],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m=function(e){var t,n,r,m,p=e.storeStateSlice.urlParamsQuery,E=p.sendCc,_=p.sendBcc,v=e.to,A=e.isExternal,h=e.isDisabled,N=void 0!==h&&h,T=e.isDisplaying,g=void 0===T||T,y=e.isVisible,C=void 0===y||y,b=e.classAdded,I=d(e,["storeStateSlice","to","isExternal","isDisabled","isDisplaying","isVisible","classAdded"]),S=null===(t=e.to)||void 0===t?void 0:t.pathname,P=null===(n=e.to)||void 0===n?void 0:n.search,f=null===(r=e.to)||void 0===r?void 0:r.searchStr,O=(0,o.getParsedUrlQuery)(),D=O.sendCc,F=O.sendBcc,L=E||D,B=_||F,M=f||(0,o.getCreatedUrlSearchQuery)(u(c({},P||{}),{sendCc:L,sendBcc:B})),Y={navLinkProps:u(c({className:l()("NavLinkWithQuery",(m={},i(m,b,!!b),i(m,"NavLinkWithQuery_cursor_pointer",!N),i(m,"NavLinkWithQuery_cursor_not_allowed",N),i(m,"NavLinkWithQuery_display_none",!1===g),i(m,"NavLinkWithQuery_visible_none",!1===C),m))},I,v?{to:{pathname:S,search:M}}:{}),{"aria-disabled":N,onClick:function(e){return N&&e.preventDefault()},end:!0})};return A?s.createElement("a",c({href:"".concat((null==v?void 0:v.pathname)||"").concat(M)},Y.navLinkProps)):s.createElement(a.NavLink,Y.navLinkProps)},p=(0,o.withStoreStateSelectedYrl)(["urlParamsQuery"],s.memo(m))},20656:(e,t,n)=>{n.d(t,{t:()=>r});var s=n(96363),a=n(19952),o=function(e){var t=e.classAdded,n=e.text,o=e.colors2;if(!n||!n.length)return null;var r=n[0].toUpperCase(),l=n[1].toUpperCase();Array.isArray(n)&&(r=n[0][0].toUpperCase(),l=n[1][0].toUpperCase());var i=o&&o[r]||"",c=o&&o[l]||"",u="#".concat(i).concat(c),d="".concat(r).concat(l);return s.createElement("div",{className:(0,a.getClasses)("AbInCircle",t),style:{borderColor:u,background:u}},s.createElement("div",{className:"_text"},d))},r=(0,a.withPropsYrl)({colors2:{A:"219",B:"F80",C:"FF0",D:"AB4",E:"0D9",F:"26C",G:"9C6",H:"86E",I:"793",J:"09C",K:"3B8",L:"F08",M:"C72",N:"A4C",O:"4E5",P:"673",Q:"09C",R:"26C",S:"9C6",T:"793",U:"86E",V:"F08",W:"C72",X:"A4C",Y:"4E5",Z:"673"}})(s.memo(o))},29263:(e,t,n)=>{n.d(t,{I:()=>r});var s=n(96363),a=n(19952),o=function(e){var t=e.classAdded,n=e.buildData,o=(e.storeStateSlice,n.commit),r=n.author,l=r.name,i=r.email,c=n.dateBuild,u=n.dateCommit,d=n.message,m=n.branchCurrent,p=n.copyright,E=a.YOURAILS_ORGANIZATION.brand,_=a.YOURAILS_ORGANIZATION.description;return s.createElement("div",{className:(0,a.getClasses)("AcademyAboutBody",t)},s.createElement("h1",{className:"_titleBodyAbout"},"About ",E),s.createElement("div",{className:"_aboutAcademyContent"},s.createElement("div",{className:"_paragraph"},(0,a.getTagLine)()),s.createElement("div",{className:"_paragraph"},_)),s.createElement("div",{className:"_sectionBuildData"},s.createElement("h3",{className:"_titleTableBuild"},"Current build"),s.createElement("section",{className:"_tableBuild"},s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Date build"),s.createElement("div",{className:"_cell _cell_text"},c)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Date commit"),s.createElement("div",{className:"_cell _cell_text"},u)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Current branch"),s.createElement("div",{className:"_cell _cell_text"},m)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Authors"),s.createElement("div",{className:"_cell _cell_text"},"".concat(l,", ").concat(i))),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Message"),s.createElement("div",{className:"_cell _cell_text"},d)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Commit"),s.createElement("div",{className:"_cell _cell_text"},o)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Copyright"),s.createElement("div",{className:"_cell _cell_text"},p)))))},r=(0,a.withPropsYrl)({buildData:{commit:"b5546f09e2fdecbbabbea8863a8972126110fb1b",author:{name:"Roman Ches",email:"contact@yourails.com"},dateCommit:"2026-05-11 14:27",message:"perf-feat-Add-new-route-II",branchCurrent:"B-0.98.0",dateBuild:"2026-06-01 02:46",copyright:"© 2021-2026 Userto Inc."}})((0,a.withStoreStateSelectedYrl)([],s.memo(o)))},36586:(e,t,n)=>{n.d(t,{w:()=>i});var s=n(96363),a=n(16142),o=n(83621),r=n(19952),l=n(80870),i=s.memo((0,r.withPropsYrl)({handleEvents:l.o})(function(e){var t=e.classProps,n=e.pathname,l=e.handleEvents,i=(e.typeEvent,e.imgSrc),c=e.capture,u=e.text,d=e.isTitle,m=void 0!==d&&d,p=((0,o.Zp)(),{imageProps:{classAdded:"_avatarPlusInfo",handleEvents:l,action:{typeEvent:null,data:{}},src:i,alt:c},navLinkProps:{className:(0,r.getClasses)("_link",t),to:{pathname:n||"/"}}});return s.createElement("div",{className:(0,r.getClasses)("AvatarPlusInfo",t)},s.createElement(a.m,p.navLinkProps,s.createElement(r.ImageYrl,p.imageProps),s.createElement("div",{className:"_captureText"},m?s.createElement(s.Fragment,null,s.createElement("h1",{className:"_capture"},c),s.createElement("h2",{className:"_text"},u)):s.createElement(s.Fragment,null,s.createElement("div",{className:"_capture"},c),s.createElement("div",{className:"_text"},u)))))}))},51504:(e,t,n)=>{n.d(t,{b:()=>l});var s=n(96363),a=n(19952),o=n(80870),r=function(e){e.classAdded;var t=e.documentID,n=e.storeStateSlice,o=(n.documents,n.sendTo),r=n.sendCc,l=e.handleEvents,i={inputEmailToProps:{classAdded:"Input_email",key:"InputEmailToKey",type:"text",placeholder:"email...",handleEvents:l,typeEvent:"ONCHANGE_EMAIL_TO",storeFormProp:"sendTo"},inputEmailCcProps:{classAdded:"Input_email",key:"InputEmailCcKey",type:"text",placeholder:"email cc...",handleEvents:l,typeEvent:"ONCHANGE_EMAIL_CC",storeFormProp:"sendCc"},buttonForwardProps:{icon:"MdForward",classAdded:"Button_MdForward",handleEvents:l,action:{typeEvent:"SEND_EMAIL_DOCUMENT",data:{documentID:t,sendTo:o,sendCc:r,sendBcc:"",isSendingBcc:!1}}}};return s.createElement("div",{className:"EmalInputs"},s.createElement("form",{className:"_form"},s.createElement("div",{className:"_group"},s.createElement("label",{className:"_label"},"Email to send document*"),s.createElement(a.InputYrl,i.inputEmailToProps)),s.createElement("div",{className:"_group"},s.createElement("label",{className:"_label"},"Email CC"),s.createElement(a.InputYrl,i.inputEmailCcProps)),s.createElement("div",{className:"_buttons"},s.createElement(a.ButtonYrl,i.buttonForwardProps))))},l=(0,a.withPropsYrl)({handleEvents:o.o})((0,a.withStoreStateSelectedYrl)(["documents","sendTo","sendCc"],s.memo(r)))},51985:(e,t,n)=>{n.d(t,{c:()=>m});var s=n(96363),a=n(19952),o=n(80870),r=a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse,l=(0,a.withTryCatchFinallyWrapper)(function(e,t){var n=e.result,s=e.sub,o=e.nameFirst,r=e.nameLast;a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse;return n===a.QuestionsAnswersCaseEnumType.successTrue?s?o&&r?a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue:a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse:a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse:s?o&&r?a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue:a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse:a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse},{optionsDefault:{funcParent:"getQuestionScoresCase"},resDefault:r,funcMode:a.FuncModeEnumType.common,isFinally:!1});function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){i(e,t,n[t])})}return e}var u=(0,a.withTryCatchFinallyWrapper)(function(e){var t=e.modules,n=e.moduleActive,s=e.queryUrl,o=e.documentIDActive,r=e.handleEvents,l=e.scenarioCase,i=e.isEditNameVisible,u=e.language,d=e.score,m=e.questionsWrongAnswered,p=d.total,E=d.right,_=t;l!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&l!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse&&l!==a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||(_=t.map(function(e){return e.moduleID===n.moduleID&&(e.isCompleted=!0),e}));var v=(0,a.getPathNextTask)({modules:_}),A=function(e){var t=e.scenarioCase,n=e.language,s=e.right,o=e.total,r=e.capture,l=e.isEditNameVisible,i=e.pathNextTask,c=(0,a.getQuesionString)(n,s),u=a.DICTIONARY.Authorise_to_receive_certificate[n],d=a.DICTIONARY.correctAnsweresFrom[n],m=a.DICTIONARY.is_completed_with[n],p=a.DICTIONARY.Congratulations[n],E=a.DICTIONARY.YouCanTryOnceAgain[n],_=a.DICTIONARY.from[n],v=a.DICTIONARY.andThisTimeAnswered[n],A=a.DICTIONARY.YouWereCommittedToSuccess[n],h={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:l?"".concat(a.DICTIONARY.Add_edit_name[n],"."):"".concat(i?a.DICTIONARY.Keep_going[n]:a.DICTIONARY.You_have_finished_the_mission_successfully[n],"!")}},N={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:"".concat(a.DICTIONARY.Add_edit_name[n],".")}},T={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:"".concat(u,".")}},g={message:{title:A,line1:'"'.concat(r,'"'),line2:"".concat(v," ").concat(s," ").concat(c," ").concat(_," ").concat(o,"."),line3:"".concat(E,"!")}};return{successTrue_AuthTrue_NamesTrue:h,successTrue_AuthTrue_NamesFalse:N,successTrue_AuthFalse_NamesFalse:T,successFalse_AuthTrue_NamesTrue:g,successFalse_AuthTrue_NamesFalse:g,successFalse_AuthFalse_NamesFalse:g}[t]}({scenarioCase:l,isEditNameVisible:i,language:u,right:E,total:p,capture:n.capture,pathNextTask:v}),h=[{messageTileProps:c({classAdded:"MessageTile_QuestionScores"},A.message)},{navLinkProps:{classAdded:"NavLink_SignInUp",to:(0,a.getNavLinkSIngInUpToProp)(),isExternal:!0,isDisabled:!1,isDisplaying:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse)},buttonYrlProps:{classAdded:"Button_SignInUp",icon:"",handleEvents:r,action:{typeEvent:"CLICK_ON_SIGN_IN",data:{typeEvent:"SET_MODAL_FRAMES",data:[]}},captureLeft:a.DICTIONARY.Sign_in_up[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse)}},{navLinkProps:{classAdded:"NavLink_NextTask",to:{pathname:v,search:s},isDisabled:!1,isDisplaying:!!v&&!i},buttonYrlProps:{classAdded:"Button_NextTask",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Next_task[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!!v&&!i}},{navLinkProps:{classAdded:"NavLink_BackToTopic",to:{pathname:"/",search:s},isDisabled:!1,isDisplaying:!i},buttonYrlProps:{classAdded:"Button_BackToTopic",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Back_to_topic[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i}},{navLinkProps:{classAdded:"NavLink_Credit",to:{pathname:"/d/".concat(o,"/").concat((0,a.getSlug)(n.capture)),search:s},isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i},buttonYrlProps:{classAdded:"Button_Credit",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.View_certificate[u],tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{buttonYrlProps:{classAdded:"Button_IsEditName",icon:"",handleEvents:r,action:{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!0}},captureLeft:"".concat(a.DICTIONARY.Add_edit_name[u]),tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{formInputNamesWithButtonsProps:{formInputNamesProps:{language:u,handleEvents:r},buttonCancelEditNameProps:{classAdded:"Button_CancelEditName",icon:"",handleEvents:r,action:{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!1}},captureLeft:a.DICTIONARY.Cancel[u],tooltipText:a.DICTIONARY.Cancel[u],tooltipPosition:"top",isDisabled:!1,isDisplaying:!0},buttonConfirmEditNameProps:{classAdded:"Button_ConfirmForward",icon:"",handleEvents:r,action:{typeEvent:"CLICK_ON_CONFIRM_NAMES",data:{}},captureLeft:a.DICTIONARY.Confirm[u],tooltipText:a.DICTIONARY.Confirm[u],tooltipPosition:"top",isDisabled:!1,isDisplaying:!0},isDisplaying:i}},{navLinkProps:{classAdded:"NavLink_Achievements",to:{pathname:"/my-documents",search:s},isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i},buttonYrlProps:{classAdded:"Button_Achievements",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Achievements[u],tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{buttonYrlProps:{classAdded:"Button_BackToModule",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Back[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i&&!(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse)}},{questionsCapturesProps:{classAdded:"QuestionsCaptures_QuestionScores",language:u,questions:m,isDisplaying:l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse,isVisible:!0}}],N=(0,a.getClonedDeep)(h);return l!==a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue&&l!==a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse&&l!==a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse||(N=(0,a.getRearrangedQuestionScoresProps)(N)),N},{optionsDefault:{funcParent:"getQuestionScoresPropsOut"},resDefault:[],funcMode:a.FuncModeEnumType.common,isFinally:!1}),d=n(54917),m=s.memo((0,a.withPropsYrl)({handleEvents:o.o,comp:"QuestionScores"})((0,a.withStoreStateSelectedYrl)(["language","moduleIDActive","modules","nameFirst","nameMiddle","nameLast","sub","profiles","isEditNameVisible","documentIDActive"],function(e){var t=e.stopVideoHandler,n=e.storeStateSlice,o=n.language,r=n.moduleIDActive,i=n.modules,c=n.nameFirst,m=(n.nameMiddle,n.nameLast),p=n.sub,E=n.isEditNameVisible,_=n.profiles,v=n.documentIDActive,A=e.handleEvents,h=(0,a.useIsFirstRenderYrl)(),N=(0,a.getModuleByModuleID)({moduleID:r||"",modules:i},{parentFunction:"QuestionScoresComponent"}),T=N.passRate,g=N.questions,y=(0,a.getParsedUrlQuery)(),C=y.rp,b=y.pr,I=C||b;I=(I=(I=I&&(0,a.isParsableFloat)(I)&&parseFloat(I))||T)<.5?.5:I;var S=(0,a.getQuestionsWrongAnswered)(g),P=(0,a.getAnswersChecked2)(g,I),f=P.result,O=l({result:f,sub:p,nameFirst:c,nameLast:m});(0,s.useEffect)(function(){t&&t({},{}),O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||(O===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse?A({},{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!0}}):A({},{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!1}}),h&&A({},{typeEvent:"TOGGLE_IS_CONFETTI",data:!0}),setTimeout(function(){return A({},{typeEvent:"TOGGLE_IS_CONFETTI",data:!1})},5e3),v||O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||A({},{typeEvent:"CREATE_DOCUMENT",data:{isEditNameVisible:!1}}))},[JSON.stringify({sub:p,profiles:_,scenarioCase:O,documentIDActive:v})]);var D=(0,a.getParsedUrlQueryBrowserApi)(),F=u({modules:i,moduleActive:N,documentIDActive:v,queryUrl:D,scenarioCase:O,isEditNameVisible:E,language:o,score:P,questionsWrongAnswered:S,handleEvents:A});return s.createElement("div",{className:"QuestionScores"},(0,d.D)(F))})))},54917:(e,t,n)=>{n.d(t,{D:()=>y});var s=n(96363),a=n(78606),o=n(19952),r=n(16142),l=n(97500),i=n.n(l),c=n(69504);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t,n=e.classAdded,a=e.formInputNamesProps,r=e.buttonCancelEditNameProps,l=e.buttonConfirmEditNameProps,d=e.isDisplaying,m=e.isVisible,p={formInputNamesProps:a,buttonCancelEditNameProps:r,buttonConfirmEditNameProps:l};return s.createElement("div",{className:i()("FormInputNamesWithButtons",(t={},u(t,n,!!n),u(t,"FormInputNamesWithButtons_display_none",!1===d),u(t,"FormInputNamesWithButtons_visible_none",!1===m),t))},s.createElement(c.r,p.formInputNamesProps),s.createElement("div",{className:"_buttonsWrapper"},s.createElement(o.ButtonYrl,p.buttonCancelEditNameProps),s.createElement(o.ButtonYrl,p.buttonConfirmEditNameProps)))},m=s.memo(d);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){var t,n=e.classAdded,a=e.title,o=e.line1,r=e.line2,l=e.line3,c=e.isDisplaying,u=e.isVisible;return s.createElement("div",{className:i()("MessageTile",(t={},p(t,n,!!n),p(t,"MessageTile_display_none",!1===c),p(t,"MessageTile_visible_none",!1===u),t))},s.createElement("div",{className:"_capture"},a),s.createElement("p",null,o),s.createElement("p",null,r),s.createElement("p",null,l))},_=s.memo(E);function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){var t,n=e.classAdded,a=e.isDisplaying,r=e.isVisible,l=e.language,c=e.questions;return s.createElement("div",{className:i()("QuestionsCaptures",(t={},v(t,n,!!n),v(t,"QuestionsCaptures_display_none",!1===a),v(t,"QuestionsCaptures_visible_none",!1===r),t))},s.createElement("div",{className:"_capture"},o.DICTIONARY.QuestionsWithIncorrectAnswers[l]),s.createElement("ul",{className:"_ul"},c.map(function(e){var t=e.questionID,n=e.capture;return s.createElement("li",{key:t,className:"_li"},n)})))},h=s.memo(A);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){N(e,t,n[t])})}return e}function g(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var y=function(e){var t=e.map(function(e){return T({id:(0,a.nanoid)()},e)});o.ButtonYrl,r.m;return t.map(function(e){var t=e.id,n=e.navLinkProps,a=e.buttonYrlProps,l=e.formInputNamesWithButtonsProps,i=e.messageTileProps,c=e.questionsCapturesProps;return n&&a?s.createElement(r.m,g(T({key:t},n),{classAdded:(null==n?void 0:n.classAdded)?"".concat(n.classAdded," _item"):"_item"}),s.createElement(o.ButtonYrl,a)):n&&!a?s.createElement(r.m,g(T({key:t},n),{classAdded:(null==n?void 0:n.classAdded)?"".concat(n.classAdded," _item"):"_item"})):a?s.createElement(o.ButtonYrl,g(T({key:t},a),{classAdded:"".concat(a.classAdded," _item")})):l?s.createElement(m,l):i?s.createElement(_,i):c?s.createElement(h,c):void 0})}},69504:(e,t,n)=>{n.d(t,{r:()=>d});var s=n(96363),a=n(97500),o=n.n(a),r=n(19952),l=n(80870),i=n(97835);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t,n=e.classAdded,a=e.language,l=e.handleEvents,u=e.isDisplaying,d=e.isVisible,m=r.DICTIONARY.nameLast[a],p=r.DICTIONARY.nameFirst[a],E=r.DICTIONARY.nameMiddle[a],_={inputFirstNameProps:{classAdded:"Input_name",type:"text",placeholder:"first name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameFirst"},inputMiddleNameProps:{classAdded:"Input_name",type:"text",placeholder:"second name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameMiddle"},inputLastNameProps:{classAdded:"Input_name",type:"text",placeholder:"last name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameLast"}};return s.createElement("div",{className:o()("FormInputNames",(t={},c(t,n,!!n),c(t,"FormInputNames_display_none",!1===u),c(t,"FormInputNames_visible_none",!1===d),t))},s.createElement("form",{className:"_form"},s.createElement(i.A,{className:"_collapse",collapsible:"icon",defaultActiveKey:["0","1"],ghost:!0,expandIconPosition:"left",items:[{key:"0",label:s.createElement("label",{className:"_label"},p," *"),children:s.createElement(r.InputYrl,_.inputFirstNameProps),showArrow:!1},{key:"1",label:s.createElement("label",{className:"_label"},m," *"),children:s.createElement(r.InputYrl,_.inputLastNameProps),showArrow:!1},{key:"2",label:s.createElement("label",{className:"_label"},E),children:s.createElement(r.InputYrl,_.inputMiddleNameProps)}]})))},d=(0,r.withPropsYrl)({handleEvents:l.o})(s.memo(u))},75522:(e,t,n)=>{n.d(t,{E:()=>u});var s=n(96363),a=n(80870),o=n(19952),r=n(10594),l=n(67109),i=n(54917),c=function(e){e.classAdded;var t=e.storeStateSlice,n=t.sub,a=t.language,c=t.isSideNavLeftVisible,u=e.handleEvents,d=function(e){var t=e.language,n=e.sub,s=e.handleEvents;return[{navLinkProps:{to:(0,o.getNavLinkSIngInUpToProp)(),isExternal:!0,isDisabled:!1,isDisplaying:(0,l.Bb)()&&!n},buttonYrlProps:{icon:"MdLogin",captureRight:o.DICTIONARY.Login[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"CLICK_ON_SIGN_IN"},isDisplaying:(0,l.Bb)()&&!n}},{navLinkProps:{to:{pathname:"/"}},buttonYrlProps:{icon:"MdHome",captureRight:o.DICTIONARY.Home[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/m"}},buttonYrlProps:{icon:"MdOutlineVideocam",captureRight:o.DICTIONARY.See_all[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/t"}},buttonYrlProps:{icon:"MdOutlineTag",captureRight:o.DICTIONARY.All_tags[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/my-documents"}},buttonYrlProps:{icon:"MdAssignmentTurnedIn",captureRight:o.DICTIONARY.My_documents[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!!n}},{navLinkProps:{to:{pathname:"/my-modules"}},buttonYrlProps:{icon:"MdCastForEducation",captureRight:o.DICTIONARY.My_courses[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!!n&&(0,l.L$)()}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdLightbulbOutline",captureRight:o.DICTIONARY.About[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"SET_MODAL_FRAMES",data:[{childName:"AcademyAboutBody",isActive:!0,childProps:{}}]},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/profiles"}},buttonYrlProps:{icon:"MdPerson",captureRight:o.DICTIONARY.My_profile[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!1}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdAddShoppingCart",captureRight:o.DICTIONARY.Services[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"DEV_STAGE"},isDisplaying:!1}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdLogout",captureRight:o.DICTIONARY.Logout[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"CLICK_ON_SIGN_OUT"},isDisplaying:(0,l.Bb)()&&!!n}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdContactMail",captureRight:o.DICTIONARY.Contacts[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"DEV_STAGE"},isDisplaying:!1}}]}({sub:n,language:a,handleEvents:u}),m=c?"SideNavigation_show":"",p={LANGUAGES:o.LANGUAGES_APP,language:a,mode:null,typeEvent:"SELECT_LANGUAGE_APP",classAdded:"SelectLanguage__AppLanguage",languagesSelected:[{value:a}]};return s.createElement("div",{className:"SideNavigation ".concat(m),onClick:function(e){return u(e,{typeEvent:"SET_SIDE_NAVIGATION_LEFT"})}},s.createElement("div",{className:"__content"},s.createElement("div",{className:"__menuGroup"},s.createElement("div",{className:"_groupItem _languageSelect"},s.createElement(r.j,p)),(0,i.D)(d))))},u=(0,o.withPropsYrl)({handleEvents:a.o})((0,o.withStoreStateSelectedYrl)(["sub","language","isSideNavLeftVisible"],s.memo(c)))},83970:(e,t,n)=>{n.d(t,{_:()=>l});var s=n(96363),a=n(19952),o=n(80870),r=function(e){var t=e.moduleCapture,n=e.documentID,o=e.moduleID,r=e.contentID,l=e.tagID,i=e.storeStateSlice.language,c=e.handleEvents,u={buttonPrintProps:{icon:"MdPrint",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"PRINT_DOCUMENT",data:{moduleCapture:t,documentID:n,moduleID:o,contentID:r,tagID:l}},tooltipText:a.DICTIONARY.sendToPrint[i],tooltipPosition:"bottom"},buttonEmailProps:{icon:"MdMailOutline",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"SET_MODAL_FRAMES",data:[{childName:"EmalInputs",isActive:!0,childProps:{documentID:n}}]},tooltipText:a.DICTIONARY.sendToEmail[i],tooltipPosition:"bottom"},buttonCopyLinkProps:{icon:"BsLink45Deg",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"COPY_URL_TO_CLIPBOARD",data:{moduleCapture:t,documentID:n,moduleID:o,contentID:r}},tooltipText:a.DICTIONARY.copyLinkToClipboard[i],tooltipPosition:"bottom"}};return s.createElement("div",{className:"PageActions"},s.createElement("div",{className:"_buttons"},s.createElement(a.ButtonYrl,u.buttonPrintProps),s.createElement(a.ButtonYrl,u.buttonEmailProps),s.createElement(a.ButtonYrl,u.buttonCopyLinkProps)))},l=(0,a.withPropsYrl)({handleEvents:o.o})((0,a.withStoreStateSelectedYrl)(["language"],s.memo(r)))},85863:(e,t,n)=>{n.d(t,{R:()=>T});var s=n(96363),a=n(30356),o=n(43934),r=n(65998),l=n(23468),i=n(84379),c=n(38191),u=n(34603),d=n(29023),m=n(81051),p=n(81967),E=n(33990),_=n(82612),v=n(80870);function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var N=[{ButtonComponent:c.A,url:"https://telegram.me/share/url",netTitleField:"title",netTitle:"Telegram",IconComponent:i.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/31356360/share-a-link-via-url-scheme-to-telegram"},{ButtonComponent:_.A,url:"https://api.whatsapp.com/send",netTitleField:"title",netTitle:"Whatsapp",IconComponent:E.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/33426752/linkedin-share-post-url"},{ButtonComponent:o.A,url:"https://www.facebook.com/sharer/sharer.php?u=#url",netTitleField:"quote",netTitle:"Facebook",IconComponent:a.A,iconSize:41},{ButtonComponent:p.A,url:"https://vk.com/share.php",netTitleField:"title",netTitle:"VKontakte",IconComponent:m.A,iconSize:41},{ButtonComponent:l.A,url:"https://www.linkedin.com/sharing/share-offsite/?url=https://www.linkedin.com%2Fsharing%2Fshare-offsite%2F%3Furl%3D%22%22",netTitleField:"title",netTitle:"Linkedin",IconComponent:r.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/33426752/linkedin-share-post-url"},{ButtonComponent:d.A,url:"http://twitter.com/share",netTitleField:"title",netTitle:"Twitter",IconComponent:u.A,iconSize:41,linkRef:"https://habr.com/ru/post/156185/"}],T=function(e){return s.createElement("div",{className:"ShareButtons"},function(e){return e.map(function(e){var t=e.ButtonComponent,n=e.url,a=e.netTitleField,o=e.netTitle,r=e.IconComponent,l=e.iconSize,i=A({key:n,url:n},a,o),c={size:l};return s.createElement(t,h(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){A(e,t,n[t])})}return e}({},i),{onClick:function(t){return(0,v.o)(t,{typeEvent:"CLICK_SOCIAL_NET_BUTTON",data:{buttonProps:e}})}}),s.createElement(r,c))})}(N))}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkyourails_sep_academy_web=self.webpackChunkyourails_sep_academy_web||[]).push([[528],{10528:(e,t,n)=>{n.d(t,{H:()=>I});var s=n(96363),a=n(83621),o=n(75522),r=n(19952),l=n(83970),i=n(85863),c=n(10594),u=n(4545),d=n(82932),m=n(80870),p=n(51504),E=n(51985),_=n(29263),v=n(37988),A=function(e){var t,a,o=e.classAdded,l=e.storeStateSlice,i=l.language,c=l.screenActive,u=void 0===c?"QrCodeModal":c,d=l.isSendBccInputVisible,m=e.handleEvents,p=r.DICTIONARY.Link_to_URL[i],E=location.pathname,_=location.search,A="".concat(r.SERVERS_MAIN.remote).concat(E).concat(_),h=(0,r.getMediaSizeCrossBrowser)(n.g),N=h.width,T=h.height,g={qRCodeSvgProps:{value:A,size:Math.min(N,T)/2},inputSendBccProps:{inputProps:{classAdded:"Input_search",type:"email",placeholder:null===(t=r.SCREENS_DICT[u])||void 0===t?void 0:t.placeholder,handleEvents:m,typeEvent:"ONCHANGE_INPUT_SEARCH",typeEventOnEnter:"CLICK_ON_SEND_BCC_CONFIRM",storeFormProp:null===(a=r.SCREENS_DICT[u])||void 0===a?void 0:a.storeFormProp},buttonSubmitProps:{icon:"MdOutlineEmail",classAdded:"Button_MdSearch",handleEvents:m,action:{typeEvent:"CLICK_ON_SEND_BCC_CONFIRM"},isDisplaying:!0}},buttonIsSendBccVisibleProps:{icon:"MdOutlineEmail",classAdded:"Button_MdSearch",handleEvents:m,action:{typeEvent:"TOGGLE_IS_SEND_BCC_INPUT_VISIBLE"},isDisplaying:!d}};return s.createElement("div",{className:(0,r.getClasses)("QrCodeModalBody",o)},s.createElement("h2",null,p),s.createElement("div",{className:"_qRCodeSVG"},s.createElement(v.h,g.qRCodeSvgProps)),d&&s.createElement("div",{className:"_inputSendBcc"},s.createElement(r.InputGroupYrl,g.inputSendBccProps)),s.createElement("div",{className:"_buttonIsSendBccVisible"},s.createElement(r.ButtonYrl,g.buttonIsSendBccVisibleProps)))},h=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["language","isSendBccInputVisible"],s.memo(A))),N={ConfirmationYesNoBodyYrl:r.ConfirmationYesNoBodyYrl,EmalInputs:p.b,QuestionScores:E.c,AcademyAboutBody:_.I,QrCodeModalBody:h},T=function(e){var t=e.storeStateSlice,n=t.modalFrames,a=t.isConfetti,o=e.handleEvents,l=(0,u.A)(),i=l.width,c=l.height;return s.createElement(s.Fragment,null,n.map(function(e){var t=e.childName,n=e.isActive,l=e.childProps,u=N[t],m=JSON.stringify({childName:t,childProps:l});if(!u)return null;var p={typeEvent:"SET_MODAL_FRAMES",data:[{childName:t,isActive:!1,childProps:l}]},E=n?"ModalFrames_display":"",_={buttonCloseProps:{icon:"MdClose",classAdded:"Button_MdClose",handleEvents:o,action:p},childProps:l,confettiProps:{width:i,height:c,run:!0,opacity:a?1:0}};return s.createElement("div",{key:m,id:"modalFrames",className:"ModalFrames ".concat(E," ModalFrames_").concat(t),onClick:function(e){return o(e,p)}},s.createElement("div",{className:"__content"},s.createElement("span",{className:"_close"},s.createElement(r.ButtonYrl,_.buttonCloseProps)),s.createElement("div",{className:"_inner",onClick:function(e){return o(e,{typeEvent:"STOP_PROPAGATION"})}},s.createElement(u,_.childProps))),a?s.createElement(d.A,_.confettiProps):null)}))},g=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["modalFrames","isConfetti"],s.memo(T))),y=n(36586),C=n(20656),b=function(e){var t,n,u=e.classAdded,d=e.contentID,m=void 0===d?"":d,p=e.moduleCapture,E=void 0===p?"":p,_=e.moduleID,v=void 0===_?"":_,A=e.documentID,h=void 0===A?"":A,N=e.isButtonAddCourse,T=e.isButtonAuthUser,b=(e.isButtonBack,e.isButtonSideMenuLeft),I=e.isButtonsShare,S=e.isButtonThemeToggle,P=e.isLogoGroup,f=e.isPageActionsGroup,O=e.isSeachGroup,D=e.isSelectLanguage,F=e.storeStateSlice,L=F.authAwsCognitoUserData,B=L.sub,M=L.email,Y=F.isSideNavLeftVisible,w=F.isMobileSearchInput,R=F.language,k=F.profiles,Q=F.screenActive,G=e.handleEvents,j=r.YOURAILS_ORGANIZATION.brand,x=(0,r.getTagLine)(),U="".concat(r.SERVERS_MAIN.remote,"/images/logoYouRails.png"),V=(0,a.Zp)(),W=r.DICTIONARY.createCourseQuiz[R],H=r.DICTIONARY["Toggle site theme"][R],q=r.DICTIONARY.Show_QR_code[R],K=(0,r.getArrayItemByProp)({arr:k,propName:"userID",propValue:B}),z=(null==K?void 0:K.nameFirst)||M&&M[0],Z=(null==K?void 0:K.nameLast)||M&&M[1],J=z&&Z?[z,Z]:[],$={selectLanguageProps:{LANGUAGES:r.LANGUAGES_APP,language:R,mode:null,typeEvent:"SELECT_LANGUAGE_APP",classAdded:"SelectLanguage__AppLanguage",languagesSelected:[{value:R}]},buttonLeftSideNavigationMenuProps:{icon:"MdMenu",classAdded:"Button_MdMenu",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonLeftSideNavigationAvatarProps:{classAdded:"Button_buttonLeftSideNavigationAvatar",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonLeftSideNavigationUnAuthorizedProps:{icon:"FaUserCircle",classAdded:"Button_buttonLeftSideNavigationAvatar",handleEvents:G,action:{typeEvent:"SET_SIDE_NAVIGATION_LEFT"}},buttonBackProps:{icon:"MdForward",classAdded:"Button_MdBackward3",handleEvents:G,action:{typeEvent:"GO_BACK_FROM_CERTIFICATE",data:{history:V,moduleCapture:E}},tooltipText:r.DICTIONARY.backToCourse[R],tooltipPosition:"bottom"},buttonAddCourseProps:{icon:"MdQueue",classAdded:"Button_AddCourse",tooltipText:W,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"CREATE_COURSE",data:{contentComponentName:"searchFormSep"}},isDisplaying:!1},buttonQrCodeModalToggleProps:{icon:"MdQrCode2",classAdded:"Button_QrCodeModalToggle",tooltipText:q,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"SET_QR_CODE_MODAL",data:{isActive:!0}}},buttonThemeToggleProps:{icon:"CgDarkMode",classAdded:"Button_ThemeToggle",tooltipText:H,tooltipPosition:"bottom",handleEvents:G,action:{typeEvent:"TOGGLE_THEME"}},pageActionsProps:{moduleCapture:E,documentID:h,moduleID:v,contentID:m},avatarPlusInfoProps:{classProps:{_link:"_logoGroup"},typeEvent:"GO_SCREEN",capture:j,text:x,imgSrc:U,pathname:"/",isTitle:Q===r.ScreensEnumType.AcademyMatrix||Q===r.ScreensEnumType.ModulesPresent||Q===r.ScreensEnumType.TagsCloud},abInCircleProps:{classAdded:"",text:J},inputGroupProps:{inputProps:{classAdded:"Input_search",type:"text",placeholder:null===(t=r.SCREENS_DICT[Q])||void 0===t?void 0:t.placeholder,handleEvents:G,typeEvent:"ONCHANGE_INPUT_SEARCH",typeEventOnEnter:"CLICK_ON_SEARCH_BUTTON",storeFormProp:null===(n=r.SCREENS_DICT[Q])||void 0===n?void 0:n.storeFormProp},buttonSubmitProps:{icon:"MdSearch",classAdded:"Button_MdSearch",handleEvents:G,action:{typeEvent:"CLICK_ON_SEARCH_BUTTON"}}},buttonMobileSearchToggleProps:{icon:"MdSearch",classAdded:"Button_MobileSearchToggle",handleEvents:G,action:{typeEvent:"TOGGLE_IS_MOBILE_SEARCH_INPUT",data:{isMobileSearchInput:!w}}}},X=null;return Y?X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationMenuProps):T&&B?X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationAvatarProps,s.createElement(C.t,$.abInCircleProps)):T&&!B&&(X=s.createElement(r.ButtonYrl,$.buttonLeftSideNavigationUnAuthorizedProps)),s.createElement("div",{className:(0,r.getClasses)("HeaderFrame",u)},s.createElement("div",{className:"_content"},s.createElement("div",{className:"__left"},b&&X,P&&s.createElement(y.w,$.avatarPlusInfoProps),f&&s.createElement(l._,$.pageActionsProps),I&&s.createElement(i.R,null),s.createElement("div",{className:"_itemButtonMobileToggle"},!w&&O&&s.createElement(r.ButtonYrl,$.buttonMobileSearchToggleProps),s.createElement(r.ButtonYrl,$.buttonQrCodeModalToggleProps))),s.createElement("div",{className:"__main"},O&&s.createElement("div",{className:"_itemInputGroupYrl"},s.createElement(r.InputGroupYrl,$.inputGroupProps))),s.createElement("div",{className:"__right"},N&&s.createElement("div",{className:"_itemButtonAddCourse"},s.createElement(r.ButtonYrl,$.buttonAddCourseProps)),s.createElement("div",{className:"_itemButtonQrCodeModalToggle"},s.createElement(r.ButtonYrl,$.buttonQrCodeModalToggleProps)),D&&s.createElement("div",{className:"_itemLanguageSelect"},s.createElement(c.j,$.selectLanguageProps)),S&&s.createElement("div",{className:"_itemButtonThemeToggle"},s.createElement(r.ButtonYrl,$.buttonThemeToggleProps))),(0,r.isMobile)()&&w&&O?s.createElement("div",{className:"__rightMobile"},s.createElement(r.InputGroupYrl,$.inputGroupProps)):null),s.createElement(o.E,null),s.createElement(g,null))},I=(0,r.withPropsYrl)({handleEvents:m.o})((0,r.withStoreStateSelectedYrl)(["authAwsCognitoUserData","isSideNavLeftVisible","isMobileSearchInput","language","profiles","screenActive"],(0,r.withConditionalWrapperYrl)(function(e){var t;return(null==e||null===(t=e.storeStateSlice)||void 0===t?void 0:t.screenActive)!==r.ScreensEnumType.AcademyMatrix&&void 0===(null==e?void 0:e.isNoSeoIndexing)||!!e.isNoSeoIndexing},r.NoSeoIndexingYrl)(s.memo(b))))},10594:(e,t,n)=>{n.d(t,{j:()=>m});var s=n(96363),a=n(13478),o=n(78606),r=n(19952);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,s=new Array(t);n<t;n++)s[n]=e[n];return s}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var s,a,o=[],r=!0,l=!1;try{for(n=n.call(e);!(r=(s=n.next()).done)&&(o.push(s.value),!t||o.length!==t);r=!0);}catch(e){l=!0,a=e}finally{try{r||null==n.return||n.return()}finally{if(l)throw a}}return o}}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}var u=a.A.Option,d=n(80870),m=function(e){var t=e.languagesSelected,n=e.classAdded,l=e.LANGUAGES,c=e.language,m=e.mode,p=e.typeEvent,E=c||"en",_=function(){},v=function(e,t,n,a){return Object.keys(e).map(function(l){var c=e[l]["639-1"],d=i(e[l][t],1)[0],m=e[l]["639-1"],p=(0,o.nanoid)(),E=d;e[l][m];var _=e[l].svgFile,v={classAdded:"Image_languagesOptions ".concat(a),src:"".concat(n).concat(_),alt:E,handleEvents:function(){}};return s.createElement(u,{key:p,className:"_optionsAntd ".concat(a),value:c,isSelectOption:!0},s.createElement(r.ImageYrl,v),E)})}(l,E,r.SVG_FILE_DIR,n),A={selectAntdProps:{defaultOpen:!1,labelInValue:!0,value:t,defaultValue:[],filterOption:function(e,t){var n,s;return(null==t||null===(n=t.label)||void 0===n?void 0:n.toLowerCase().indexOf(e.toLowerCase()))>=0||(null==t||null===(s=t.value)||void 0===s?void 0:s.toLowerCase().indexOf(e.toLowerCase()))>=0},placeholder:r.DICTIONARY.select[E],showSearch:!0,className:"__selectAntd",mode:m,onBlur:_,onChange:function(e){return(0,d.o)({},{typeEvent:p,data:e})},onFocus:_,onSearch:_}};return s.createElement("div",{className:"SelectLanguage ".concat(n)},s.createElement(a.A,A.selectAntdProps,v))}},16142:(e,t,n)=>{n.d(t,{m:()=>p});var s=n(96363),a=n(45211),o=n(19952),r=n(97500),l=n.n(r);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){i(e,t,n[t])})}return e}function u(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function d(e,t){if(null==e)return{};var n,s,a=function(e,t){if(null==e)return{};var n,s,a={},o=Object.keys(e);for(s=0;s<o.length;s++)n=o[s],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)n=o[s],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var m=function(e){var t,n,r,m,p=e.storeStateSlice.urlParamsQuery,E=p.sendCc,_=p.sendBcc,v=e.to,A=e.isExternal,h=e.isDisabled,N=void 0!==h&&h,T=e.isDisplaying,g=void 0===T||T,y=e.isVisible,C=void 0===y||y,b=e.classAdded,I=d(e,["storeStateSlice","to","isExternal","isDisabled","isDisplaying","isVisible","classAdded"]),S=null===(t=e.to)||void 0===t?void 0:t.pathname,P=null===(n=e.to)||void 0===n?void 0:n.search,f=null===(r=e.to)||void 0===r?void 0:r.searchStr,O=(0,o.getParsedUrlQuery)(),D=O.sendCc,F=O.sendBcc,L=E||D,B=_||F,M=f||(0,o.getCreatedUrlSearchQuery)(u(c({},P||{}),{sendCc:L,sendBcc:B})),Y={navLinkProps:u(c({className:l()("NavLinkWithQuery",(m={},i(m,b,!!b),i(m,"NavLinkWithQuery_cursor_pointer",!N),i(m,"NavLinkWithQuery_cursor_not_allowed",N),i(m,"NavLinkWithQuery_display_none",!1===g),i(m,"NavLinkWithQuery_visible_none",!1===C),m))},I,v?{to:{pathname:S,search:M}}:{}),{"aria-disabled":N,onClick:function(e){return N&&e.preventDefault()},end:!0})};return A?s.createElement("a",c({href:"".concat((null==v?void 0:v.pathname)||"").concat(M)},Y.navLinkProps)):s.createElement(a.NavLink,Y.navLinkProps)},p=(0,o.withStoreStateSelectedYrl)(["urlParamsQuery"],s.memo(m))},20656:(e,t,n)=>{n.d(t,{t:()=>r});var s=n(96363),a=n(19952),o=function(e){var t=e.classAdded,n=e.text,o=e.colors2;if(!n||!n.length)return null;var r=n[0].toUpperCase(),l=n[1].toUpperCase();Array.isArray(n)&&(r=n[0][0].toUpperCase(),l=n[1][0].toUpperCase());var i=o&&o[r]||"",c=o&&o[l]||"",u="#".concat(i).concat(c),d="".concat(r).concat(l);return s.createElement("div",{className:(0,a.getClasses)("AbInCircle",t),style:{borderColor:u,background:u}},s.createElement("div",{className:"_text"},d))},r=(0,a.withPropsYrl)({colors2:{A:"219",B:"F80",C:"FF0",D:"AB4",E:"0D9",F:"26C",G:"9C6",H:"86E",I:"793",J:"09C",K:"3B8",L:"F08",M:"C72",N:"A4C",O:"4E5",P:"673",Q:"09C",R:"26C",S:"9C6",T:"793",U:"86E",V:"F08",W:"C72",X:"A4C",Y:"4E5",Z:"673"}})(s.memo(o))},29263:(e,t,n)=>{n.d(t,{I:()=>r});var s=n(96363),a=n(19952),o=function(e){var t=e.classAdded,n=e.buildData,o=(e.storeStateSlice,n.commit),r=n.author,l=r.name,i=r.email,c=n.dateBuild,u=n.dateCommit,d=n.message,m=n.branchCurrent,p=n.copyright,E=a.YOURAILS_ORGANIZATION.brand,_=a.YOURAILS_ORGANIZATION.description;return s.createElement("div",{className:(0,a.getClasses)("AcademyAboutBody",t)},s.createElement("h1",{className:"_titleBodyAbout"},"About ",E),s.createElement("div",{className:"_aboutAcademyContent"},s.createElement("div",{className:"_paragraph"},(0,a.getTagLine)()),s.createElement("div",{className:"_paragraph"},_)),s.createElement("div",{className:"_sectionBuildData"},s.createElement("h3",{className:"_titleTableBuild"},"Current build"),s.createElement("section",{className:"_tableBuild"},s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Date build"),s.createElement("div",{className:"_cell _cell_text"},c)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Date commit"),s.createElement("div",{className:"_cell _cell_text"},u)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Current branch"),s.createElement("div",{className:"_cell _cell_text"},m)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Authors"),s.createElement("div",{className:"_cell _cell_text"},"".concat(l,", ").concat(i))),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Message"),s.createElement("div",{className:"_cell _cell_text"},d)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Commit"),s.createElement("div",{className:"_cell _cell_text"},o)),s.createElement("div",{className:"_row"},s.createElement("div",{className:"_cell _cell_capture"},"Copyright"),s.createElement("div",{className:"_cell _cell_text"},p)))))},r=(0,a.withPropsYrl)({buildData:{commit:"b5546f09e2fdecbbabbea8863a8972126110fb1b",author:{name:"Roman Ches",email:"contact@yourails.com"},dateCommit:"2026-05-11 14:27",message:"perf-feat-Add-new-route-II",branchCurrent:"B-0.98.0",dateBuild:"2026-06-01 03:05",copyright:"© 2021-2026 Userto Inc."}})((0,a.withStoreStateSelectedYrl)([],s.memo(o)))},36586:(e,t,n)=>{n.d(t,{w:()=>i});var s=n(96363),a=n(16142),o=n(83621),r=n(19952),l=n(80870),i=s.memo((0,r.withPropsYrl)({handleEvents:l.o})(function(e){var t=e.classProps,n=e.pathname,l=e.handleEvents,i=(e.typeEvent,e.imgSrc),c=e.capture,u=e.text,d=e.isTitle,m=void 0!==d&&d,p=((0,o.Zp)(),{imageProps:{classAdded:"_avatarPlusInfo",handleEvents:l,action:{typeEvent:null,data:{}},src:i,alt:c},navLinkProps:{className:(0,r.getClasses)("_link",t),to:{pathname:n||"/"}}});return s.createElement("div",{className:(0,r.getClasses)("AvatarPlusInfo",t)},s.createElement(a.m,p.navLinkProps,s.createElement(r.ImageYrl,p.imageProps),s.createElement("div",{className:"_captureText"},m?s.createElement(s.Fragment,null,s.createElement("h1",{className:"_capture"},c),s.createElement("h2",{className:"_text"},u)):s.createElement(s.Fragment,null,s.createElement("div",{className:"_capture"},c),s.createElement("div",{className:"_text"},u)))))}))},51504:(e,t,n)=>{n.d(t,{b:()=>l});var s=n(96363),a=n(19952),o=n(80870),r=function(e){e.classAdded;var t=e.documentID,n=e.storeStateSlice,o=(n.documents,n.sendTo),r=n.sendCc,l=e.handleEvents,i={inputEmailToProps:{classAdded:"Input_email",key:"InputEmailToKey",type:"text",placeholder:"email...",handleEvents:l,typeEvent:"ONCHANGE_EMAIL_TO",storeFormProp:"sendTo"},inputEmailCcProps:{classAdded:"Input_email",key:"InputEmailCcKey",type:"text",placeholder:"email cc...",handleEvents:l,typeEvent:"ONCHANGE_EMAIL_CC",storeFormProp:"sendCc"},buttonForwardProps:{icon:"MdForward",classAdded:"Button_MdForward",handleEvents:l,action:{typeEvent:"SEND_EMAIL_DOCUMENT",data:{documentID:t,sendTo:o,sendCc:r,sendBcc:"",isSendingBcc:!1}}}};return s.createElement("div",{className:"EmalInputs"},s.createElement("form",{className:"_form"},s.createElement("div",{className:"_group"},s.createElement("label",{className:"_label"},"Email to send document*"),s.createElement(a.InputYrl,i.inputEmailToProps)),s.createElement("div",{className:"_group"},s.createElement("label",{className:"_label"},"Email CC"),s.createElement(a.InputYrl,i.inputEmailCcProps)),s.createElement("div",{className:"_buttons"},s.createElement(a.ButtonYrl,i.buttonForwardProps))))},l=(0,a.withPropsYrl)({handleEvents:o.o})((0,a.withStoreStateSelectedYrl)(["documents","sendTo","sendCc"],s.memo(r)))},51985:(e,t,n)=>{n.d(t,{c:()=>m});var s=n(96363),a=n(19952),o=n(80870),r=a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse,l=(0,a.withTryCatchFinallyWrapper)(function(e,t){var n=e.result,s=e.sub,o=e.nameFirst,r=e.nameLast;a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse;return n===a.QuestionsAnswersCaseEnumType.successTrue?s?o&&r?a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue:a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse:a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse:s?o&&r?a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue:a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse:a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse},{optionsDefault:{funcParent:"getQuestionScoresCase"},resDefault:r,funcMode:a.FuncModeEnumType.common,isFinally:!1});function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){i(e,t,n[t])})}return e}var u=(0,a.withTryCatchFinallyWrapper)(function(e){var t=e.modules,n=e.moduleActive,s=e.queryUrl,o=e.documentIDActive,r=e.handleEvents,l=e.scenarioCase,i=e.isEditNameVisible,u=e.language,d=e.score,m=e.questionsWrongAnswered,p=d.total,E=d.right,_=t;l!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&l!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse&&l!==a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||(_=t.map(function(e){return e.moduleID===n.moduleID&&(e.isCompleted=!0),e}));var v=(0,a.getPathNextTask)({modules:_}),A=function(e){var t=e.scenarioCase,n=e.language,s=e.right,o=e.total,r=e.capture,l=e.isEditNameVisible,i=e.pathNextTask,c=(0,a.getQuesionString)(n,s),u=a.DICTIONARY.Authorise_to_receive_certificate[n],d=a.DICTIONARY.correctAnsweresFrom[n],m=a.DICTIONARY.is_completed_with[n],p=a.DICTIONARY.Congratulations[n],E=a.DICTIONARY.YouCanTryOnceAgain[n],_=a.DICTIONARY.from[n],v=a.DICTIONARY.andThisTimeAnswered[n],A=a.DICTIONARY.YouWereCommittedToSuccess[n],h={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:l?"".concat(a.DICTIONARY.Add_edit_name[n],"."):"".concat(i?a.DICTIONARY.Keep_going[n]:a.DICTIONARY.You_have_finished_the_mission_successfully[n],"!")}},N={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:"".concat(a.DICTIONARY.Add_edit_name[n],".")}},T={message:{title:p,line1:'"'.concat(r,'"'),line2:"".concat(m," ").concat(s," ").concat(d," ").concat(o,"."),line3:"".concat(u,".")}},g={message:{title:A,line1:'"'.concat(r,'"'),line2:"".concat(v," ").concat(s," ").concat(c," ").concat(_," ").concat(o,"."),line3:"".concat(E,"!")}};return{successTrue_AuthTrue_NamesTrue:h,successTrue_AuthTrue_NamesFalse:N,successTrue_AuthFalse_NamesFalse:T,successFalse_AuthTrue_NamesTrue:g,successFalse_AuthTrue_NamesFalse:g,successFalse_AuthFalse_NamesFalse:g}[t]}({scenarioCase:l,isEditNameVisible:i,language:u,right:E,total:p,capture:n.capture,pathNextTask:v}),h=[{messageTileProps:c({classAdded:"MessageTile_QuestionScores"},A.message)},{navLinkProps:{classAdded:"NavLink_SignInUp",to:(0,a.getNavLinkSIngInUpToProp)(),isExternal:!0,isDisabled:!1,isDisplaying:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse)},buttonYrlProps:{classAdded:"Button_SignInUp",icon:"",handleEvents:r,action:{typeEvent:"CLICK_ON_SIGN_IN",data:{typeEvent:"SET_MODAL_FRAMES",data:[]}},captureLeft:a.DICTIONARY.Sign_in_up[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse)}},{navLinkProps:{classAdded:"NavLink_NextTask",to:{pathname:v,search:s},isDisabled:!1,isDisplaying:!!v&&!i},buttonYrlProps:{classAdded:"Button_NextTask",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Next_task[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!!v&&!i}},{navLinkProps:{classAdded:"NavLink_BackToTopic",to:{pathname:"/",search:s},isDisabled:!1,isDisplaying:!i},buttonYrlProps:{classAdded:"Button_BackToTopic",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Back_to_topic[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i}},{navLinkProps:{classAdded:"NavLink_Credit",to:{pathname:"/d/".concat(o,"/").concat((0,a.getSlug)(n.capture)),search:s},isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i},buttonYrlProps:{classAdded:"Button_Credit",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.View_certificate[u],tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{buttonYrlProps:{classAdded:"Button_IsEditName",icon:"",handleEvents:r,action:{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!0}},captureLeft:"".concat(a.DICTIONARY.Add_edit_name[u]),tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{formInputNamesWithButtonsProps:{formInputNamesProps:{language:u,handleEvents:r},buttonCancelEditNameProps:{classAdded:"Button_CancelEditName",icon:"",handleEvents:r,action:{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!1}},captureLeft:a.DICTIONARY.Cancel[u],tooltipText:a.DICTIONARY.Cancel[u],tooltipPosition:"top",isDisabled:!1,isDisplaying:!0},buttonConfirmEditNameProps:{classAdded:"Button_ConfirmForward",icon:"",handleEvents:r,action:{typeEvent:"CLICK_ON_CONFIRM_NAMES",data:{}},captureLeft:a.DICTIONARY.Confirm[u],tooltipText:a.DICTIONARY.Confirm[u],tooltipPosition:"top",isDisabled:!1,isDisplaying:!0},isDisplaying:i}},{navLinkProps:{classAdded:"NavLink_Achievements",to:{pathname:"/my-documents",search:s},isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i},buttonYrlProps:{classAdded:"Button_Achievements",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Achievements[u],tooltipText:"",tooltipPosition:"top",isDisabled:!i&&(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse),isDisplaying:!i}},{buttonYrlProps:{classAdded:"Button_BackToModule",icon:"",handleEvents:r,action:{typeEvent:"SET_MODAL_FRAMES",data:[]},captureLeft:a.DICTIONARY.Back[u],tooltipText:"",tooltipPosition:"top",isDisabled:!1,isDisplaying:!i&&!(l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse)}},{questionsCapturesProps:{classAdded:"QuestionsCaptures_QuestionScores",language:u,questions:m,isDisplaying:l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse||l===a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue||l===a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse,isVisible:!0}}],N=(0,a.getClonedDeep)(h);return l!==a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesTrue&&l!==a.QuestionsScoresCaseEnumType.successFalse_AuthTrue_NamesFalse&&l!==a.QuestionsScoresCaseEnumType.successFalse_AuthFalse_NamesFalse||(N=(0,a.getRearrangedQuestionScoresProps)(N)),N},{optionsDefault:{funcParent:"getQuestionScoresPropsOut"},resDefault:[],funcMode:a.FuncModeEnumType.common,isFinally:!1}),d=n(54917),m=s.memo((0,a.withPropsYrl)({handleEvents:o.o,comp:"QuestionScores"})((0,a.withStoreStateSelectedYrl)(["language","moduleIDActive","modules","nameFirst","nameMiddle","nameLast","sub","profiles","isEditNameVisible","documentIDActive"],function(e){var t=e.stopVideoHandler,n=e.storeStateSlice,o=n.language,r=n.moduleIDActive,i=n.modules,c=n.nameFirst,m=(n.nameMiddle,n.nameLast),p=n.sub,E=n.isEditNameVisible,_=n.profiles,v=n.documentIDActive,A=e.handleEvents,h=(0,a.useIsFirstRenderYrl)(),N=(0,a.getModuleByModuleID)({moduleID:r||"",modules:i},{parentFunction:"QuestionScoresComponent"}),T=N.passRate,g=N.questions,y=(0,a.getParsedUrlQuery)(),C=y.rp,b=y.pr,I=C||b;I=(I=(I=I&&(0,a.isParsableFloat)(I)&&parseFloat(I))||T)<.5?.5:I;var S=(0,a.getQuestionsWrongAnswered)(g),P=(0,a.getAnswersChecked2)(g,I),f=P.result,O=l({result:f,sub:p,nameFirst:c,nameLast:m});(0,s.useEffect)(function(){t&&t({},{}),O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthFalse_NamesFalse||(O===a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse?A({},{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!0}}):A({},{typeEvent:"SET_EDIT_NAME_VISIBILITY",data:{isEditNameVisible:!1}}),h&&A({},{typeEvent:"TOGGLE_IS_CONFETTI",data:!0}),setTimeout(function(){return A({},{typeEvent:"TOGGLE_IS_CONFETTI",data:!1})},5e3),v||O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesTrue&&O!==a.QuestionsScoresCaseEnumType.successTrue_AuthTrue_NamesFalse||A({},{typeEvent:"CREATE_DOCUMENT",data:{isEditNameVisible:!1}}))},[JSON.stringify({sub:p,profiles:_,scenarioCase:O,documentIDActive:v})]);var D=(0,a.getParsedUrlQueryBrowserApi)(),F=u({modules:i,moduleActive:N,documentIDActive:v,queryUrl:D,scenarioCase:O,isEditNameVisible:E,language:o,score:P,questionsWrongAnswered:S,handleEvents:A});return s.createElement("div",{className:"QuestionScores"},(0,d.D)(F))})))},54917:(e,t,n)=>{n.d(t,{D:()=>y});var s=n(96363),a=n(78606),o=n(19952),r=n(16142),l=n(97500),i=n.n(l),c=n(69504);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t,n=e.classAdded,a=e.formInputNamesProps,r=e.buttonCancelEditNameProps,l=e.buttonConfirmEditNameProps,d=e.isDisplaying,m=e.isVisible,p={formInputNamesProps:a,buttonCancelEditNameProps:r,buttonConfirmEditNameProps:l};return s.createElement("div",{className:i()("FormInputNamesWithButtons",(t={},u(t,n,!!n),u(t,"FormInputNamesWithButtons_display_none",!1===d),u(t,"FormInputNamesWithButtons_visible_none",!1===m),t))},s.createElement(c.r,p.formInputNamesProps),s.createElement("div",{className:"_buttonsWrapper"},s.createElement(o.ButtonYrl,p.buttonCancelEditNameProps),s.createElement(o.ButtonYrl,p.buttonConfirmEditNameProps)))},m=s.memo(d);function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=function(e){var t,n=e.classAdded,a=e.title,o=e.line1,r=e.line2,l=e.line3,c=e.isDisplaying,u=e.isVisible;return s.createElement("div",{className:i()("MessageTile",(t={},p(t,n,!!n),p(t,"MessageTile_display_none",!1===c),p(t,"MessageTile_visible_none",!1===u),t))},s.createElement("div",{className:"_capture"},a),s.createElement("p",null,o),s.createElement("p",null,r),s.createElement("p",null,l))},_=s.memo(E);function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){var t,n=e.classAdded,a=e.isDisplaying,r=e.isVisible,l=e.language,c=e.questions;return s.createElement("div",{className:i()("QuestionsCaptures",(t={},v(t,n,!!n),v(t,"QuestionsCaptures_display_none",!1===a),v(t,"QuestionsCaptures_visible_none",!1===r),t))},s.createElement("div",{className:"_capture"},o.DICTIONARY.QuestionsWithIncorrectAnswers[l]),s.createElement("ul",{className:"_ul"},c.map(function(e){var t=e.questionID,n=e.capture;return s.createElement("li",{key:t,className:"_li"},n)})))},h=s.memo(A);function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){N(e,t,n[t])})}return e}function g(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var y=function(e){var t=e.map(function(e){return T({id:(0,a.nanoid)()},e)});o.ButtonYrl,r.m;return t.map(function(e){var t=e.id,n=e.navLinkProps,a=e.buttonYrlProps,l=e.formInputNamesWithButtonsProps,i=e.messageTileProps,c=e.questionsCapturesProps;return n&&a?s.createElement(r.m,g(T({key:t},n),{classAdded:(null==n?void 0:n.classAdded)?"".concat(n.classAdded," _item"):"_item"}),s.createElement(o.ButtonYrl,a)):n&&!a?s.createElement(r.m,g(T({key:t},n),{classAdded:(null==n?void 0:n.classAdded)?"".concat(n.classAdded," _item"):"_item"})):a?s.createElement(o.ButtonYrl,g(T({key:t},a),{classAdded:"".concat(a.classAdded," _item")})):l?s.createElement(m,l):i?s.createElement(_,i):c?s.createElement(h,c):void 0})}},69504:(e,t,n)=>{n.d(t,{r:()=>d});var s=n(96363),a=n(97500),o=n.n(a),r=n(19952),l=n(80870),i=n(97835);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=function(e){var t,n=e.classAdded,a=e.language,l=e.handleEvents,u=e.isDisplaying,d=e.isVisible,m=r.DICTIONARY.nameLast[a],p=r.DICTIONARY.nameFirst[a],E=r.DICTIONARY.nameMiddle[a],_={inputFirstNameProps:{classAdded:"Input_name",type:"text",placeholder:"first name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameFirst"},inputMiddleNameProps:{classAdded:"Input_name",type:"text",placeholder:"second name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameMiddle"},inputLastNameProps:{classAdded:"Input_name",type:"text",placeholder:"last name...",handleEvents:l,typeEvent:"ONCHANGE_FORMS_GROUP_PROP",storeFormGroup:"profileActive",storeFormProp:"nameLast"}};return s.createElement("div",{className:o()("FormInputNames",(t={},c(t,n,!!n),c(t,"FormInputNames_display_none",!1===u),c(t,"FormInputNames_visible_none",!1===d),t))},s.createElement("form",{className:"_form"},s.createElement(i.A,{className:"_collapse",collapsible:"icon",defaultActiveKey:["0","1"],ghost:!0,expandIconPosition:"left",items:[{key:"0",label:s.createElement("label",{className:"_label"},p," *"),children:s.createElement(r.InputYrl,_.inputFirstNameProps),showArrow:!1},{key:"1",label:s.createElement("label",{className:"_label"},m," *"),children:s.createElement(r.InputYrl,_.inputLastNameProps),showArrow:!1},{key:"2",label:s.createElement("label",{className:"_label"},E),children:s.createElement(r.InputYrl,_.inputMiddleNameProps)}]})))},d=(0,r.withPropsYrl)({handleEvents:l.o})(s.memo(u))},75522:(e,t,n)=>{n.d(t,{E:()=>u});var s=n(96363),a=n(80870),o=n(19952),r=n(10594),l=n(67109),i=n(54917),c=function(e){e.classAdded;var t=e.storeStateSlice,n=t.sub,a=t.language,c=t.isSideNavLeftVisible,u=e.handleEvents,d=function(e){var t=e.language,n=e.sub,s=e.handleEvents;return[{navLinkProps:{to:(0,o.getNavLinkSIngInUpToProp)(),isExternal:!0,isDisabled:!1,isDisplaying:(0,l.Bb)()&&!n},buttonYrlProps:{icon:"MdLogin",captureRight:o.DICTIONARY.Login[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"CLICK_ON_SIGN_IN"},isDisplaying:(0,l.Bb)()&&!n}},{navLinkProps:{to:{pathname:"/"}},buttonYrlProps:{icon:"MdHome",captureRight:o.DICTIONARY.Home[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/m"}},buttonYrlProps:{icon:"MdOutlineVideocam",captureRight:o.DICTIONARY.See_all[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/t"}},buttonYrlProps:{icon:"MdOutlineTag",captureRight:o.DICTIONARY.All_tags[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/my-documents"}},buttonYrlProps:{icon:"MdAssignmentTurnedIn",captureRight:o.DICTIONARY.My_documents[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!!n}},{navLinkProps:{to:{pathname:"/my-modules"}},buttonYrlProps:{icon:"MdCastForEducation",captureRight:o.DICTIONARY.My_courses[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!!n&&(0,l.L$)()}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdLightbulbOutline",captureRight:o.DICTIONARY.About[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"SET_MODAL_FRAMES",data:[{childName:"AcademyAboutBody",isActive:!0,childProps:{}}]},isDisplaying:!0}},{navLinkProps:{to:{pathname:"/profiles"}},buttonYrlProps:{icon:"MdPerson",captureRight:o.DICTIONARY.My_profile[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{},isDisplaying:!1}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdAddShoppingCart",captureRight:o.DICTIONARY.Services[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"DEV_STAGE"},isDisplaying:!1}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdLogout",captureRight:o.DICTIONARY.Logout[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"CLICK_ON_SIGN_OUT"},isDisplaying:(0,l.Bb)()&&!!n}},{navLinkProps:void 0,buttonYrlProps:{icon:"MdContactMail",captureRight:o.DICTIONARY.Contacts[t],classAdded:"Button_sideMenuItems",handleEvents:s,action:{typeEvent:"DEV_STAGE"},isDisplaying:!1}}]}({sub:n,language:a,handleEvents:u}),m=c?"SideNavigation_show":"",p={LANGUAGES:o.LANGUAGES_APP,language:a,mode:null,typeEvent:"SELECT_LANGUAGE_APP",classAdded:"SelectLanguage__AppLanguage",languagesSelected:[{value:a}]};return s.createElement("div",{className:"SideNavigation ".concat(m),onClick:function(e){return u(e,{typeEvent:"SET_SIDE_NAVIGATION_LEFT"})}},s.createElement("div",{className:"__content"},s.createElement("div",{className:"__menuGroup"},s.createElement("div",{className:"_groupItem _languageSelect"},s.createElement(r.j,p)),(0,i.D)(d))))},u=(0,o.withPropsYrl)({handleEvents:a.o})((0,o.withStoreStateSelectedYrl)(["sub","language","isSideNavLeftVisible"],s.memo(c)))},83970:(e,t,n)=>{n.d(t,{_:()=>l});var s=n(96363),a=n(19952),o=n(80870),r=function(e){var t=e.moduleCapture,n=e.documentID,o=e.moduleID,r=e.contentID,l=e.tagID,i=e.storeStateSlice.language,c=e.handleEvents,u={buttonPrintProps:{icon:"MdPrint",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"PRINT_DOCUMENT",data:{moduleCapture:t,documentID:n,moduleID:o,contentID:r,tagID:l}},tooltipText:a.DICTIONARY.sendToPrint[i],tooltipPosition:"bottom"},buttonEmailProps:{icon:"MdMailOutline",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"SET_MODAL_FRAMES",data:[{childName:"EmalInputs",isActive:!0,childProps:{documentID:n}}]},tooltipText:a.DICTIONARY.sendToEmail[i],tooltipPosition:"bottom"},buttonCopyLinkProps:{icon:"BsLink45Deg",classAdded:"Button_Certificate",handleEvents:c,action:{typeEvent:"COPY_URL_TO_CLIPBOARD",data:{moduleCapture:t,documentID:n,moduleID:o,contentID:r}},tooltipText:a.DICTIONARY.copyLinkToClipboard[i],tooltipPosition:"bottom"}};return s.createElement("div",{className:"PageActions"},s.createElement("div",{className:"_buttons"},s.createElement(a.ButtonYrl,u.buttonPrintProps),s.createElement(a.ButtonYrl,u.buttonEmailProps),s.createElement(a.ButtonYrl,u.buttonCopyLinkProps)))},l=(0,a.withPropsYrl)({handleEvents:o.o})((0,a.withStoreStateSelectedYrl)(["language"],s.memo(r)))},85863:(e,t,n)=>{n.d(t,{R:()=>T});var s=n(96363),a=n(30356),o=n(43934),r=n(65998),l=n(23468),i=n(84379),c=n(38191),u=n(34603),d=n(29023),m=n(81051),p=n(81967),E=n(33990),_=n(82612),v=n(80870);function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,s)}return n}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var N=[{ButtonComponent:c.A,url:"https://telegram.me/share/url",netTitleField:"title",netTitle:"Telegram",IconComponent:i.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/31356360/share-a-link-via-url-scheme-to-telegram"},{ButtonComponent:_.A,url:"https://api.whatsapp.com/send",netTitleField:"title",netTitle:"Whatsapp",IconComponent:E.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/33426752/linkedin-share-post-url"},{ButtonComponent:o.A,url:"https://www.facebook.com/sharer/sharer.php?u=#url",netTitleField:"quote",netTitle:"Facebook",IconComponent:a.A,iconSize:41},{ButtonComponent:p.A,url:"https://vk.com/share.php",netTitleField:"title",netTitle:"VKontakte",IconComponent:m.A,iconSize:41},{ButtonComponent:l.A,url:"https://www.linkedin.com/sharing/share-offsite/?url=https://www.linkedin.com%2Fsharing%2Fshare-offsite%2F%3Furl%3D%22%22",netTitleField:"title",netTitle:"Linkedin",IconComponent:r.A,iconSize:41,linkRef:"https://stackoverflow.com/questions/33426752/linkedin-share-post-url"},{ButtonComponent:d.A,url:"http://twitter.com/share",netTitleField:"title",netTitle:"Twitter",IconComponent:u.A,iconSize:41,linkRef:"https://habr.com/ru/post/156185/"}],T=function(e){return s.createElement("div",{className:"ShareButtons"},function(e){return e.map(function(e){var t=e.ButtonComponent,n=e.url,a=e.netTitleField,o=e.netTitle,r=e.IconComponent,l=e.iconSize,i=A({key:n,url:n},a,o),c={size:l};return s.createElement(t,h(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},s=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(s=s.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),s.forEach(function(t){A(e,t,n[t])})}return e}({},i),{onClick:function(t){return(0,v.o)(t,{typeEvent:"CLICK_SOCIAL_NET_BUTTON",data:{buttonProps:e}})}}),s.createElement(r,c))})}(N))}}}]);
|