<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>640</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\asmat\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<CustomCSS>.blue{
color:red;
}
ul.marker li::marker {
    content: &quot;⦾ &quot;;
    color: red;
    margin: 0.5rm;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.rotate {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

.mydate {
    color: gray;
    padding: 2px 5px 2px 5px;
    background: rgba(230, 230, 230, 0.30);
    border-radius: 2px;
    font-size: 8pt;
}

.item:focus {
    outline: none;
}

.item .imageURL {
    width: 100px;
    height: 100px;
    border: 5px solid red;
    border-radius: 50%;
}

.item {
    background: white;
    margin-top: 8px;
    /*display: flex;*/
    padding: 8px;
    /*justify-content: stretch;
    align-items: center;
    align-content: center;*/
    border: 1px solid #d5dedd;
    /*flex-wrap: wrap;*/
    transition: all 0.4s;
    position: relative;
}

.hidden {
    display: none;
}

.rotate-90 {
    transform: rotate(-90deg);
    transition: transform 0.3s;
}



.btnOrange {
    background:#f64417;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: &quot;sans&quot;;
    /*&apos;Arial&apos;, sans-serif; */
    font-size: 10pt;
    font-weight: bold;
    color: white;
    border-radius: 40px;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
    padding: 3px 12px;
    user-select: none;
    -webkit-user-select: none;
}

.btnOrange:hover {
    background-color: red;
}

.btnOrange svg {
    margin-right: 5px;
}


.flexLeft{display:flex;align-items:center;justify-content:flex-start;}
.flexRight{display:flex;align-items:center;justify-content:flex-end;}</CustomCSS>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<PwaScope>/</PwaScope>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="toggleShowAndHideClassBody">
					<Code>event.stopPropagation(); // Prevent event bubbling

// Find the closest parent .item
let item = event.currentTarget.closest(&apos;.item&apos;);
// Find the .body within the item
let body = item.querySelector(&apos;.body&apos;);
const svgElement = event.currentTarget.querySelector(&apos;svg&apos;);

// Hide all bodys and reset all SVG rotations
document.querySelectorAll(&apos;.item .body&apos;).forEach(itembody =&gt; {
    if (itembody !== body) {
        itembody.style.display = &apos;none&apos;;
    }
});

document.querySelectorAll(&apos;.item svg&apos;).forEach(itemSvg =&gt; {
    if (itemSvg !== svgElement) {
        itemSvg.classList.remove(&apos;rotate-90&apos;);
    }
});

// Toggle the display of the body for the clicked item
if (body.style.display === &apos;none&apos; || body.style.display === &apos;&apos;) {
    body.style.display = &apos;block&apos;;
    svgElement.classList.add(&apos;rotate-90&apos;);
} else {
    body.style.display = &apos;none&apos;;
    svgElement.classList.remove(&apos;rotate-90&apos;);
}</Code>
					<Params>event|STRING|</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<pageenter>BEGINJS
$App.pinnedNews =   { &quot;body&quot;: &quot;شمسیه فرزند محمدنسیم از لیسه محمد آصف مایل شهر کابل با گرفتن ۳۵۳.۱۸۵ نمره مقام اول را به خود اختصاص داده و در دانشکده‌ی طب دانشگاه طبی کابل کامیاب شده است.&quot;,
    &quot;imageURL&quot;: &quot;https://firebasestorage.googleapis.com/v0/b/kankor-plus-80e20.appspot.com/o/news%2FIMG_20200924_200913.JPG?alt=media&amp;token=1a03edfe-cb8d-47de-96fd-4b5adb578d4b&quot;,
    &quot;mydate&quot;: &quot;2020-09-24T15:34:00&quot;,
    &quot;title&quot;: &quot;اول نمره عمومی کانکور سال 1399&quot;,
    &quot;readmore&quot; :&quot;&lt;p class=&apos;blue&apos;&gt; This line must be rendered&lt;/p&gt;&quot;
}
ENDJS</pageenter>
					<Components>
						<Container id="pinned">
							<left>130px</left>
							<top>31px</top>
							<width>400px</width>
							<style>direction:rtl;font-family:sans;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;overflow-x:visible;overflow-y:visible</style>
							<margin_bottom>10px</margin_bottom>
							<html>&lt;div class=&quot;item&quot; tabindex=&quot;0&quot; style=&quot;box-shadow:0 3px 26px #00000010;&quot;&gt;
&lt;svg style=&quot;position:absolute;left:6px;top:8px;witdth:18px;height:18px;&quot; fill=&quot;#f64417&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;title&gt;pin&lt;/title&gt;&lt;path d=&quot;M16,12V4H17V2H7V4H8V12L6,14V16H11.2V22H12.8V16H18V14L16,12Z&quot; /&gt;&lt;/svg&gt;

    &lt;span style=&quot;position:absolute;left:5px;top:5px;z-index:10;&quot; class=&quot;mydate&quot;&gt;&lt;/span&gt;
    &lt;div style=&quot;position:relative; padding: 5px;min-height:110px;&quot;&gt;
        &lt;a class=&quot;link&quot; href=&quot;[pinnedNews.imageURL]&quot;&gt;
           &lt;img style=&quot;float:right;&quot; class=&quot;imageURL&quot; alt=&quot;news&quot; src=&quot;[pinnedNews.imageURL]&quot;&gt;
        &lt;/a&gt;
        &lt;h4 class=&quot;title&quot; style=&quot;padding-left:10px;padding-right:10px;color: #FE2712;font-weight:bold;font-family:sans;&quot;&gt;
            [pinnedNews.title]
        &lt;/h4&gt;
        &lt;p class=&quot;readmore&quot; style=&quot;color:gray;font-size:9pt;padding-left:10px;padding-right:10px;&quot;&gt;
           [pinnedNews.readmore]
        &lt;/p&gt;
        &lt;div class=&quot;flexRight&quot;&gt;
            &lt;span class=&quot;btnOrange&quot;
                onclick=&quot;neo.toggleShowAndHideClassBody(event)&quot;&gt;
                خواندن
                &lt;svg style=&quot;width:24px;height:24px&quot; viewBox=&quot;0 0 24 24&quot; id=&quot;id74&quot; aria-describedby=&quot;tippy-75&quot;&gt;
                    &lt;path fill=&quot;currentColor&quot; d=&quot;M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z&quot;&gt;&lt;/path&gt;
                &lt;/svg&gt;
            &lt;/span&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;div style=&quot;background:#F5F5F5;display:none;padding:8px;&quot; class=&quot;body&quot;&gt;
        [pinnedNews.body]
    &lt;/div&gt;
&lt;/div&gt;</html>
						</Container>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>640px</width>
							<height>480px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
